That's it, at least for Linux. I put "vncconfig -nowin &" as a line in
~/.vnc/xstartup before running gnome-session and it works now!
However, that change doesn't work using a Solaris server (olvwm) with
Windows viewer. TightVNC does work for Solaris copy/paste (see my
~/.vnc/xstartup below). Any ideas on Solaris?
Thanks!
- Mark
#!/bin/tcsh
# copy/past sync-up between different X-window buffers
if (-x /cadtools/contrib/bin/autocutsel) then
/cadtools/contrib/bin/autocutsel -fork
endif
# using realvnc?
if ($VNCHOME =~ /cadtools/apps/vnc/real*) then
# makes copy/paste work for realvnc
vncconfig -nowin &
else
# keyboard mapping for tightvnc
if (-r $HOME/xmodmap/vnc.txt) then
xmodmap $HOME/xmodmap/vnc.txt
endif
endif
# .Xdefaults loadings
if (-r $HOME/.Xdefaults) then
xrdb $HOME/.Xdefaults
endif
# Window manager startup
if (`/bin/uname -s` == "Linux") then
### gnome Linux RHELv3 or RH8 ###
unset SESSION_MANAGER
unsetenv SESSION_MANAGER
unsetenv LD_LIBRARY_PATH
exec gnome-session
else
### olvwm legacy Solaris env ###
exec olvwm
endif
-----Original Message-----
From: B. Scott Smith [mailto:[EMAIL PROTECTED]
Sent: Friday, March 03, 2006 3:02 PM
To: Moe, Mark
Cc: [email protected]
Subject: Re: copy/paste from Windows to Linux and back, not working
Are you running "vncconfig -nowin" on the server?
Your xstartup file needs to contain the line: vncconfig -nowin&
before launching the window manager.
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list