[Bug 377101] [NEW] small issue with vnc4server default xstartup file
Peter Triesz
triesz at gmail.com
Fri May 15 22:02:11 UTC 2009
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:
triesz at 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 &
triesz at ptrtbl:~/.vnc$
the reason looks 2 b:
triesz at ptrtbl:~/.vnc$ ls -la /etc/X11/xinit/xinitrc
-rw-r--r-- 1 root root 226 2008-05-29 13:53 /etc/X11/xinit/xinitrc
triesz at ptrtbl:~/.vnc$ exec /etc/X11/xinit/xinitrc
bash: /etc/X11/xinit/xinitrc: Permission denied
bash: exec: /etc/X11/xinit/xinitrc: cannot execute: Success
triesz at ptrtbl:~/.vnc$
changing the startup file like this resolves the problem:
triesz at ptrtbl:~/.vnc$ diff xstartup xstartup.orig
5c5
< . /etc/X11/xinit/xinitrc
---
> exec /etc/X11/xinit/xinitrc
triesz at ptrtbl:~/.vnc$
Default ~/.vnc/xstartup file shall be generated accordingly.
SUT:
triesz at ptrtbl:~$ uname -a
Linux ptrtbl 2.6.27-14-generic #1 SMP Wed Apr 15 18:59:16 UTC 2009 i686 GNU/Linux
triesz at ptrtbl:~$ cat /etc/debian_version
lenny/sid
triesz at ptrtbl:~$
triesz at ptrtbl:~$ lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
triesz at ptrtbl:~$
triesz at 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
triesz at 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 at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list