vnc連接後無法啓動圖形

vi /root/.vnc/xstartup


#!/bin/sh


# Uncomment the following two lines for normal desktop:

# unset SESSION_MANAGER  //此行註釋去掉

# exec /etc/X11/xinit/xinitrc  //此行註釋去掉


[ -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-session &


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章