裝了vnc4server後
在terminal輸入
vncpasswd //設定密碼
然後
vim ~/.vnc/xstartup
增加最後敘述 和註解上面兩行敘述
===================
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
gnome-terminal &
gnome-session &
====================
接著
sudo chmod a+x /etc/X11/xinit/xinitrc
啟動vnc server
vncserver :1 -extension XFIXES
最後啟動嘗試連線
vncviewer localhost:1
進去後畫面還是一個終端機加上旁邊是灰色....= =
沒有gnome視窗
是哪裡沒作到嗎
謝謝
--
All Comments