Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to configure vnc under aix5.3

Shulou Source: shulou.com Published: 2022-06-01 01:30:15 11月15日 Update

Editor to share with you how to configure vnc under aix5.3, I believe most people do not know much about it, so share this article for your reference, I hope you can learn a lot after reading this article, let's learn about it!

First, install VNC and client first

Search Baidu for the vnc rpm package (vnc-3.3.3r2-6.aix5.1.ppc.rpm) under AIX and the UltraVNC Viewer client tool under WINDOWS.

Install the vnc server on the AIX server

# rpm-ivh vnc-3.3.3r2-6.aix5.1.ppc.rpm

# # #

Or you can install the package through # smitty install_latest

Select the directory and press enter to perform the installation. This example is in the current directory.

The UltraVNC Viewer client tools under WINDOWS are relatively easy to install, so I won't say much about it.

II. Configuration of VNC

Start vncserver after installation. Note that you need to enter a user name and password when starting for the first time.

# vncserver

You will require a password to access your desktops.

Password:

Verify:

Just enter the same password twice. Note that this password is used to log in to VNC, not the password of ROOT.

Don't rush to log in with the client, we still need to modify two files

# startup script for vi / opt/freeware/bin/vncserver, before modification:

$geometry = "1024x768"

$depth = "24"

$desktopName = "X"

$vncClasses = "/ opt/freeware/vnc/classes"

$vncUserDir = "$ENV {HOME} / .vnc"

$xauthorityFile = "$ENV {HOME} / .Xauthority"

$defaultXStartup

= ("#! / bin/sh/n/n".

"xrdb / $HOME/.Xresources/n".

Xsetroot-solid grey/n.

"xterm-geometry 80x24+10+10-ls-title /" / $VNCDESKTOP Desktop/ "& / n".

"twm & / n")

After modification

$geometry = "1024x768"

$depth = "24"

$desktopName = "X"

$vncClasses = "/ opt/freeware/vnc/classes"

$vncUserDir = "$ENV {HOME} / .vnc"

$xauthorityFile = "$ENV {HOME} / .Xauthority"

$defaultXStartup

= ("#! / bin/sh/n/n".

"xrdb / $HOME/.Xresources/n".

Xsetroot-solid grey/n.

"xterm-geometry 1024x768+10+10-ls-title /" / $VNCDESKTOP Desktop/ "& / n".

"startkde & / n")

Then save the exit.

Then modify the file / .vnc / xstartup

#! / bin/sh

Xrdb $HOME/.Xresources

Xsetroot-solid grey

Xterm-geometry 1024x768+10+10-ls-title "$VNCDESKTOP Desktop, WARING:you are ROOT!" # twm &

# startkde &

# exec gnome-session &

/ usr/dt/bin/dtsession & (add this sentence at the end)

Then restart vncserver:

Stop the server process

# vncserver-kill: 1

Killing Xvnc process ID 158869

Start the server process

# vncserver: 1

III. Login of the client

1. To log in using ULTRAVNC VIEWER, simply type 10.4.41.143 1 and click CONNECT, then enter the password to connect.

After entering the interface screenshot, find the WAS installer to install.

The above is all the contents of the article "how to configure vnc under aix5.3". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!

Tags: Customers passwords clients services login input configuration articles content tools files directories processes anxious not so two just can pass most screenshots Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Microsoft OPPO Reno Shulou Tech Info Shulou Technology Shulou Information