vnc notes on Linux

To start vncserver: $ vncserver

To stop vncserver: $ vncserver -kill :1

To make the vnc view screen larger, edit /usr/bin/vncserver script:
sudo chmod a+w /usr/bin/vncserver
vim !$

#$geometry = "1024x768";
$geometry = "1500x1050";
A sample $HOME/.vnc/xstartup file:
#!/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 &

Followers

Pageviews Last 7 Days