星期二, 11月 16, 2004

如何設定vncserver的window manager

215 vncserver -name stan -depth 24 -geometry 800x600
223 vncserver -kill :1

設定樣本 ~/.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 "#666688"
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
#twm &
gnome-session &

參考
http://www.freebsddiary.org/tightvnc.php
/etc/X11/xinit/Xclients

沒有留言: