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

What Do You Think?

Reader Comments

Post a Comment

Comment Etiquette:

  • 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 or appear to be advertisments, will not be published.
  • Comments that appear to be created for the purpose of linkbuilding to commercial sites will be removed.

We are all adults here so play nice.

*
*



Archives Blog Listing

Tag Listing

Learn CF In A Week

Treehouse

 
Fork me on GitHub