Hi Dominique On Tue, Jul 20, 2010 at 05:13:32PM -0400, Dominique Brazziel wrote: > vncconfig is started automatically by 'vnc4server', but > if a custom startup script exists in '$HOME/.vnc/xstartup' that > script will be executed. If 'xstartup' has been altered to > start an X server (rather than just xterm), vncconfig doesn't > get a chance to run:
Now I'm not fully sure I understand. Do you mean that this is a fault in any way? Isn't it quite obvious that if you alter the script in a way that it execute /etc/X11/xinit/xinitrc (which will not terminate) that the rest of the code will not execute? Or do you mean that vncconfig should be before this line in the default? // Ola > #!/bin/bash > > # Uncomment the following two lines for normal desktop: > unset SESSION_MANAGER > exec sh /etc/X11/xinit/xinitrc > # > # Statements below never get executed > # > [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup > [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources > xsetroot -solid grey > vncconfig -iconic & > #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP > Desktop" & > x-window-manager & > > I've been running vncserver for a couple of years and just > noticed this is why I could never get clipboard access to work > even though the options in the viewer (F8) have all the items > pertaining to clipboard checked. I just thought clipboard > functionality was broken. > > >From 'man vncconfig': > > "Note that without a running instance of vncconfig there will be no > clipboard support." > > So, while it is documented, in certain instances the user would have > to be thinking about manually running it to know it was needed. > In my case, since after executing 'xinitrc' I no longer have control, > I added 'vncconfig -nowin &' to the GDM startup applications. > > > > -- --------------------- Ola Lundqvist --------------------------- / [email protected] Annebergsslingan 37 \ | [email protected] 654 65 KARLSTAD | | http://inguza.com/ +46 (0)70-332 1551 | \ gpg/f.p.: 7090 A92B 18FE 7994 0C36 4FE4 18A1 B1CF 0FE5 3DD9 / --------------------------------------------------------------- -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

