Public bug reported:

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:

tri...@ptrtbl:~/.vnc$ cat xstartup 
#!/bin/sh

# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc

[ -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 &
tri...@ptrtbl:~/.vnc$

the reason looks 2 b:

tri...@ptrtbl:~/.vnc$ ls -la /etc/X11/xinit/xinitrc 
-rw-r--r-- 1 root root 226 2008-05-29 13:53 /etc/X11/xinit/xinitrc
tri...@ptrtbl:~/.vnc$ exec /etc/X11/xinit/xinitrc
bash: /etc/X11/xinit/xinitrc: Permission denied
bash: exec: /etc/X11/xinit/xinitrc: cannot execute: Success
tri...@ptrtbl:~/.vnc$ 

changing the startup file like this resolves the problem:

tri...@ptrtbl:~/.vnc$ diff xstartup xstartup.orig 
5c5
< . /etc/X11/xinit/xinitrc
---
> exec /etc/X11/xinit/xinitrc
tri...@ptrtbl:~/.vnc$ 

Default ~/.vnc/xstartup file shall be generated accordingly.

SUT:

tri...@ptrtbl:~$ uname -a
Linux ptrtbl 2.6.27-14-generic #1 SMP Wed Apr 15 18:59:16 UTC 2009 i686 
GNU/Linux
tri...@ptrtbl:~$ cat /etc/debian_version 
lenny/sid
tri...@ptrtbl:~$ 
tri...@ptrtbl:~$ lsb_release -rd
Description:    Ubuntu 8.10
Release:        8.10
tri...@ptrtbl:~$ 

tri...@ptrtbl:~$ apt-cache policy vnc4server
vnc4server:
  Installed: 4.1.1+xorg1.0.2-0ubuntu7
  Candidate: 4.1.1+xorg1.0.2-0ubuntu7
  Version table:
 *** 4.1.1+xorg1.0.2-0ubuntu7 0
        500 http://ie.archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status
tri...@ptrtbl:~$

** Affects: vnc4 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
small issue with vnc4server default xstartup file
https://bugs.launchpad.net/bugs/377101
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to