|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
I installed the vnc4server package on Etch. When launching vncserver, I want to get a "normal" desktop environment, so I uncommented the two lines in the ~/.vnc/xstartup file which is automatically created: # Uncomment the following two lines for normal desktop: unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc But anyway, all I got was the typical grey screen with the X mouse pointer. I looked at the vncserver log, and the error reported was: /username/.vnc/xstartup: line 5: /etc/X11/xinit/xinitrc: Permission denied /username/.vnc/xstartup: line 5: exec: /etc/X11/xinit/xinitrc: cannot execute: Success Indeed, the /etc/X11/xinit/xinitrc file did not have any executable bit set by default. I did a "chmod +x" on it, and now vncserver works fine. What I'm wondering now is: 1. How is it that I also have a Sarge machine where the same file is NOT executable, and vncserver works fine anyway? The xinitrc file is called from ~/.vnc/xstartup exactly like in Etch, but of course vncserver is version 3 instead of 4. 2. is it a bad thing having an executable xinitrc? Any ideas? Thanks. -- Ciao, Marco. -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
On Sat, 10 Mar 2007 16:21:48 GMT
Marco De Vitis <starless@spin.it> wrote: > Hi, > I installed the vnc4server package on Etch. When launching vncserver, > I want to get a "normal" desktop environment, so I uncommented the > two lines in the ~/.vnc/xstartup file which is automatically created: > > # Uncomment the following two lines for normal desktop: > unset SESSION_MANAGER > exec /etc/X11/xinit/xinitrc > > But anyway, all I got was the typical grey screen with the X mouse > pointer. I looked at the vncserver log, and the error reported was: > > /username/.vnc/xstartup: line 5: /etc/X11/xinit/xinitrc: Permission > denied /username/.vnc/xstartup: line 5: exec: /etc/X11/xinit/xinitrc: > cannot execute: Success > > Indeed, the /etc/X11/xinit/xinitrc file did not have any executable > bit set by default. I did a "chmod +x" on it, and now vncserver works > fine. > > What I'm wondering now is: > > 1. How is it that I also have a Sarge machine where the same file is > NOT executable, and vncserver works fine anyway? The xinitrc file is > called from ~/.vnc/xstartup exactly like in Etch, but of course > vncserver is version 3 instead of 4. > > 2. is it a bad thing having an executable xinitrc? > > Any ideas? > Thanks. > In my ~/.vnc/xstartup file I put the line exec sh /etc/X11/xinit/xinitrc Thus I avoided the need to change the permissions of a system file. -- Liam -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
Marco De Vitis wrote:
> Hi, > I installed the vnc4server package on Etch. When launching vncserver, I > want to get a "normal" desktop environment, so I uncommented the two > lines in the ~/.vnc/xstartup file which is automatically created: > I use kde. To get the usual KDE session inside a vnc session, I have $cat /home/rajulocal/.vnc/xstartup #!/bin/sh startkde & $ls -al /home/rajulocal/.vnc/xstartup -rwxr-xr-x 1 rajulocal rajulocal 385 2007-03-08 13:44 /home/rajulocal/.vnc/xstartup hth raju -- Kamaraju S Kusumanchi http://www.people.cornell.edu/pages/kk288/ http://malayamaarutham.blogspot.com/ -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|