文章出處

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#

看文倉www.kanwencang.com網友整理上傳,為您提供最全的知識大全,期待您的分享,轉載請注明出處。
歡迎轉載:http://www.kanwencang.com/bangong/20170217/103305.html

文章列表


不含病毒。www.avast.com
arrow
arrow
    全站熱搜
    創作者介紹
    創作者 大師兄 的頭像
    大師兄

    IT工程師數位筆記本

    大師兄 發表在 痞客邦 留言(0) 人氣()