vnc4server startup script error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vnc4 (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
Binary package hint: vnc4server
UBUNTU VERSION: Ubuntu 8.04 LTS Desktop Edition - Supported to 2011
UBUNTU VERSION: Standard personal computer (x86 architecture, PentiumTM, CeleronTM, AthlonTM, SempronTM)
UBUNTU VERSION:
# lsb_release -rd
Description: Ubuntu 8.04.1
Release: 8.04
PACKAGE VERSION:
# 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/
FILE: /usr/bin/vnc4server
LINE: 47
CHANGE FROM: exec
CHANGE TO: .
DESCRIPTION:
The script (/etc/X11/
Without modification users are not able to set "normal desktop" as described in line 45.
Test in intrepid: xinit/xinitrc
0. sudo apt-get install vnc4server
1. vncserver
2. vncserver -kill :1
3. edit ~/.vnc/xstartup to be:
unset SESSION_MANAGER
exec /etc/X11/
4. vncserver
5. Open "Remote Desktop Viewer"
6. "Connect" to "localhost:13"
Expected:
GNOME session starts.
Bug:
Nothing starts.
I think the bug is in xinit. I checked Fedora 9, and they have xinitrc set to 755.
I modified xinit-1.0.9-2 to, at postinst, chmod o+x xinitrc.
It seems to fix it for me.