How to install and configure VNC under AIX6.1
This article mainly shows you how to install and configure VNC under AIX6.1. The content is simple and easy to understand. I hope it can help you solve your doubts. Let Xiaobian lead you to study and learn this article "How to install and configure VNC under AIX6.1".
1. Download VNC http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/date.html
ctl+f search vnc and download and install this package
Installation: rpm -ivh vnc-3.3.3r2-6.aix5.1.ppc.rpm
You can also use AIX's smitty install_latest installation:
root@nkgaix20-ts # smitty install_latest
After " INPUT device / directory for software ", fill in the path of software/oracle/software
Write software installation name [vnc-3.3.3r2-6.aix5.1.ppc.rpm] after " SOFTWARE to install "
The following results are seen during installation, indicating successful installation:
Command: OK stdout: yes stderr: no
2. Set up vncserver
root@nkgaix20-ts # which vncserver
/usr/bin/X11/vncserver
# chmod 777 /usr/bin/X11/vncserver
# cp /usr/bin/X11/vncserver /usr/bin/X11/vncserver.bak
# vi /usr/bin/X11/vncserver
1) Find # $cmd .= " -fp /usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/"; --on line 150
Remove the #from the front.
2)$cmd .= " -fp /usr/lib/X11/fonts/,/usr/lib/X11/fonts/misc/,/usr/lib/X11/fonts/75dpi/";
The requested URL/usr/lib/X11/fonts/was not found on this server.
3) Change $vncClasses = "/usr/local/vnc/classes"; to $vncClasses = "/opt/freeware/vnc/classes";
3. Start vncserver (prompt for password for first startup)
$ vncserver
Then close vncserver -kill :1
4. Modify ~/.vnc/xstartup
#!/ bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 1024x768+10+10 -ls -title "$VNCDESKTOP Desktop, WARING:you are ROOT! " &
#startkde &
#exec gnome-session &
/usr/dt/bin/dtsession &
5. Start vncserver
vncserver
If a gray background appears, it may be that the ip and hostname correspondence is not correctly set in/etc/hosts.
The above is "how to install and configure VNC under AIX 6.1" all the contents of this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to the industry information channel!