TightVNC over SSH on Slackware 13 - page 3

Author: Steven Neiland
Published:

Warning: This blog entry was written two or more years ago. Therefore, it may contain broken links, out-dated or misleading content, or information that is just plain wrong. Please read on with caution.

Step 6: Configure the xstartup file

Finally we must first tell the vncserver to start kde. To do this we edit the vnc startup file 'xstartup' to read as follows. Note the file is located at '~/.vnc/xstartup'. This file is created when you first run the service.

#!/bin/sh
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startx &

Step 7: Fix the screen resolution

Edit "/etc/X11/xorg.conf"

Section "extensions"
Option "composite" off
Endsection

Addition Information

For more information on xstartup and tightvnc in general goto https://wiki.archlinux.org/index.php/Tightvnc

1 2 3

Reader Comments

  • Please keep comments on-topic.
  • Please do not post unrelated questions or large chunks of code.
  • Please do not engage in flaming/abusive behaviour.
  • Comments that contain advertisments or appear to be created for the purpose of link building, will not be published.

Archives Blog Listing