small issue with vnc4server default xstartup file
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vnc4 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: vnc4server
noticed that even though I uncomment the referred 2 lines and restart vncserver, when I connect to the vnc session the gnome desktop is not initiated:
triesz@
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/
[ -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 &
triesz@
the reason looks 2 b:
triesz@
-rw-r--r-- 1 root root 226 2008-05-29 13:53 /etc/X11/
triesz@
bash: /etc/X11/
bash: exec: /etc/X11/
triesz@
changing the startup file like this resolves the problem:
triesz@
5c5
< . /etc/X11/
---
> exec /etc/X11/
triesz@
Default ~/.vnc/xstartup file shall be generated accordingly.
SUT:
triesz@ptrtbl:~$ uname -a
Linux ptrtbl 2.6.27-14-generic #1 SMP Wed Apr 15 18:59:16 UTC 2009 i686 GNU/Linux
triesz@ptrtbl:~$ cat /etc/debian_version
lenny/sid
triesz@ptrtbl:~$
triesz@ptrtbl:~$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
triesz@ptrtbl:~$
triesz@ptrtbl:~$ apt-cache policy vnc4server
vnc4server:
Installed: 4.1.1+xorg1.
Candidate: 4.1.1+xorg1.
Version table:
*** 4.1.1+xorg1.
500 http://
100 /var/lib/
triesz@ptrtbl:~$
I have problems with this too and this minor change worked.
Thanks for the advice.