Page 1 of 1

VNC

Posted: Sun Nov 30, 2008 7:13 pm
by jakac
I'm trying to set up tightvnc server. I'm able to login from a remote machine, but all I get is a blank screen.

Here's my xstartup file:

#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec sh /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
#xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
lxterminal&
openbox &

Here's the output:

kibuba@dardaj:~$ vncserver
xauth: error in locking authority file /home/kibuba/.Xauthority
xauth: error in locking authority file /home/kibuba/.Xauthority

New 'X' desktop is dardaj:1

Starting applications specified in /home/kibuba/.vnc/xstartup
Log file is /home/kibuba/.vnc/dardaj:1.log

And here's the log on starting vncserver:

30/11/08 20:35:02 Xvnc version TightVNC-1.3.9
30/11/08 20:35:02 Copyright (C) 2000-2007 TightVNC Group
30/11/08 20:35:02 Copyright (C) 1999 AT&T Laboratories Cambridge
30/11/08 20:35:02 All Rights Reserved.
30/11/08 20:35:02 See http://www.tightvnc.com/ for information on TightVNC
30/11/08 20:35:02 Desktop name 'X' (dardaj:1)
30/11/08 20:35:02 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
30/11/08 20:35:02 Listening for VNC connections on TCP port 5901
Font directory '/usr/share/fonts/X11/75dpi/' not found - ignoring
Font directory '/usr/share/fonts/X11/100dpi/' not found - ignoring

If I comment out lines 2 and 3 I'm able to up a terminal, but that' it.

Any ideas?

Re: VNC

Posted: Fri Feb 19, 2010 9:52 pm
by tiewrap
I got a vncserver session running with this xstartup:

#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid black
lxterminal &
/usr/bin/lxsession -s LXDE &