[NZLUG] VNC server/viewer setup help required

Cliff Pratt enkidu at cliffp.com
Thu Jul 14 10:46:33 NZST 2016



On 12/07/16 21:37, Patrick Connolly wrote:
> What's in the xstartup file?
>
> #!/bin/sh
>
> # unset SESSION_MANAGER
> unset DBUS_SESSION_BUS_ADDRESS
>
> #######################
> if [ -x /etc/X11/xinit/xinitrc ]; then
>    exec /etc/X11/xinit/xinitrc
> fi
> if [ -f /etc/X11/xinit/xinitrc ]; then
>    exec sh /etc/X11/xinit/xinitrc
> fi
> ######################################
>
> [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
> xsetroot -solid grey
> xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
> startkde &
>
>
If nothing else works, try replacing the 'startkde &' line with 'exec 
startkde'.  But I would try other solutions first, as I'm no expert. In 
my xstartup I have "exec ck-launch-session startlxde" at the end but I 
don't know what it means.

If you don't have any success, try removing the 'startkde &' line and 
see if you get the xterm.

But I have no great hopes for my 'solution'!

Cheers,

Cliff


More information about the NZLUG mailing list