solaris配置VNC 远程桌面配置

bash-3.00# export PATH=$PATH:/usr/sbin:/usr/bin:/usr/local/bin:/usr/openwin/bin:/usr/openwin/bin:/usr/X11/bin
bash-3.00# cd /usr/bin
bash-3.00# ./vncserver

You will require a password to access your desktops.

Password:
Verify:


bash-3.00# cd /.vnc
bash-3.00# ls
WEB-1:1.log  WEB-1:1.pid  passwd       xstartup
bash-3.00# vi xstartup
"xstartup" 7 行,172 字符
#!/bin/sh

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
/usr/bin/gnome-session &

bash-3.00# vncserver -kill :1
Killing Xvnc process ID 10494
bash-3.00# cd /usr/bin
bash-3.00# ./vncserver

New 'WEB-1:1 (root)' desktop is WEB-1:1

Starting applications specified in //.vnc/xstartup
Log file is //.vnc/WEB-1:1.log

bash-3.00#

原文地址:https://www.cnblogs.com/jdonson/p/1633087.html