I think I got the problem now. It has nothing to do with the access rights of vncconfig. They are on rwx-rwx-r-x.
But there is a problem after the server start. Then I get an extra login screen (GDM), because of the option "-query localhost" in my global vncserver config file. Before I login in locally through the GDM, the vncconfig works fine. I tested it with the option -iconic, so that i can see this little window. But after the login, the vncconfig will be stopped by the gnome-session but I don't know why and I don't know how to change that. But this is a gnome specific problem. Thanks for all your help. Felix 2005/11/28, James Weatherall <[EMAIL PROTECTED]>: > Felix, > > There is an error "execvp: Permission denied" where the vncconfig startup > text should be. This suggests that the problem is that the permissions on > your vncconfig executable do not allow the relevant user to run it. > > You just need to fix the permissions on the executable and it should then > work as expected. > > Cheers, > > Wez @ RealVNC Ltd. > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Felix Steffenhagen > > Sent: 28 November 2005 10:30 > > To: [email protected] > > Subject: Re: copy and paste between windows and linux > > > > Hello all, > > > > a few days ago, i opened a new case with a cut&paste problem between > > vncviewer and the machine it is running. > > The server and viewer are the new enterprise editions from > > RealVNC (4.1.8). > > Running on different systems (WinXP, Solaris, Redhat). > > > > I got cut&paste working by starting vncconfig manually after > > vncserver startup, > > but it would be great if this could be done automatically via > > xstartup. > > > > In my xstartup there is a line that should start vncconfig, but after > > server startup > > cut&paste didn't work. > > Someone got the idea to have a look to the server log file, but there > > seems nothing > > special in it, that could explain this behaviour. > > At the end of this mail I pasted the files xstartup, a server log file > > and my vnc server config. > > Perhaps anyone can see the problem there. > > > > Regards, > > Felix > > > > # xstartup > > ============================== > > #!/bin/sh > > [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources > > xsetroot -solid grey > > vncconfig -nowin & > > # xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & > > > > #------------------------------------------- > > # WindowManager section > > #------------------------------------------- > > # Commands for running VNC under SunOS > > if [ `uname -s` = "SunOS" ] > > then > > /usr/dt/bin/dtsession && exit 0 > > # If running under Linux, GDM login should work because of > > enabled XDMCP > > elif [ `uname -s` = "Linux" ] > > then > > GDM_RUNNING=`ps -A | grep gdm-binary` > > # if GDM running run twm for the case, something goes wrong > > if [ "$GDM_RUNNING" != "" ] > > then > > twm & > > # run normal gnome session if GDM is not running > > else > > gnome-session && exit 0 > > fi > > fi > > ============================== > > > > # server log > > ============================== > > Xvnc Enterprise Edition 4.1.8 - built Sep 29 2005 16:22:25 > > Copyright (C) 2002-2005 RealVNC Ltd. > > See http://www.realvnc.com for information on VNC. > > Underlying X server release 40201000, The XFree86 Project, Inc > > > > > > Mon Nov 28 10:55:43 2005 > > vncext: VNC extension running! > > vncext: created VNC server for screen 0 > > TcpListener: listening on IPv4, port 5901 > > error opening security policy file > > /usr/X11R6/lib/X11/xserver/SecurityPolicy > > Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, > > removing from list! > > execvp: Permission denied (13) > > Mon Nov 28 10:55:47 2005 > > Connections: accepted: 172.17.81.44::32924 > > SConnection: Client needs protocol version 4.0 > > SConnection: Client requests security type RA2(5) > > RSA: reading 2048-bit private key (default is 2048) > > RSA: reading 2048-bit private key (default is 2048) > > RSA: RSA keys match > > > > Mon Nov 28 10:55:48 2005 > > RSA: reading 2048-bit public key (default is 2048) > > SecurityRA2: using AES-128 > > > > Mon Nov 28 10:55:52 2005 > > SConnection: Authentication successful > > SConnection: Server default pixel format depth 16 (16bpp) > > little-endian rgb565 > > SConnection: Client pixel format depth 6 (8bpp) rgb222 > > > > Mon Nov 28 10:56:02 2005 > > SConnection: Client pixel format depth 24 (32bpp) > > little-endian rgb888 > > ============================== > > > > # vnc server config file > > ============================== > > # Default vncserver configuration. See the vncserver man page > > for details. > > -UserPasswdVerifier UnixAuth # Use the Unix User Authentification > > -geometry 1024x768 # Remote screen resolution > > -depth 16 # pixel depth of > > remote desktop > > -AllowedUsers $USER:f # allow only the user, who started the > > -NeverShared=0 # Share the > > connection with others. > > # Works only, > > if other users are allowed > > # to use the session. > > > > -AlwaysShared=1 > > -DisconnectClients=0 # Don't disconnect existing client, > > -pn # Continue even if > > standard ports fail > > -once # Shutdown > > VNC Server when client > > -desktop "$HOSTNAME:$DISPLAYNUM ($USER)" # Desktop name > > -query localhost # query for user login > > ============================== > > _______________________________________________ > > VNC-List mailing list > > [email protected] > > To remove yourself from the list visit: > > http://www.realvnc.com/mailman/listinfo/vnc-list _______________________________________________ VNC-List mailing list [email protected] To remove yourself from the list visit: http://www.realvnc.com/mailman/listinfo/vnc-list
