让linux下的vnc也能使用xwinodws窗口
使用vi 编辑 /root/.vnc/xstartup文件。把 #unset SESSION_MANAGER
#exec /etc/X11/xinit/xinitrc
这两行的注释#号处理。就可以
#!/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 &
页:
[1]

