-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I finally got around to looking into this. While I am not running CDE, I did 
use one of the CDE apps (dtpad) to investigate this.

To understand what is going on, you need to know that X (including the Xvnc) 
has two copy and paste mechanisms: the cut buffer, and the selection 
mechanism. In addition, the selection mechanism can support multiple copy and 
paste buffers.

Most modern applications, including CDE and KDE, use only the selection 
mechanism.

With VNC, there are two problems:
  1) The VNC Server (Xvnc) cannot set the 'selection' mechanism used by CDE 
(and others) for the copy and paste buffer; it can only set the cut buffer.
  2) CDE uses the selection name of 'CLIPBOARD'; the VNC viewer uses the name 
'PRIMARY'. CDE does not use the cut buffer at all.

What this means is that for your configuration (where you are viewing a VNC 
server), at least, there currently is no solution outside of 'autocutsel'. It 
may be possible to have some sort of VNC-specific helper app, but regardless 
one will need to run a helper app of some sort. This helper application could 
be a pure X application (like 'autocutsel') or a VNC client (based on x2vnc, 
for example).

For the viewer, by the way, one could modify the source to use the 'CLIPBOARD' 
selection instead of (or as well as) the 'PRIMARY' selection.

If you want a modified version of 'x2vnc' that just transfers the copy and 
paste buffer, I can do that for you.

On November 19, 2002 11:51 am, Kevin Minney wrote:
> Can someone please help me with this cut/paste buffer problem? Is it
> something unique to my setup, has anyone seen this problem before?
>
> thanks,
>
> Kevin
>
> -----Original Message-----
> From: Kevin Minney
> Sent: Tuesday, November 12, 2002 2:29 PM
> To: [EMAIL PROTECTED]
> Subject: 3.3.5: Solaris7&8, cut/paste buffers not working
>
>
> Hi,
>
> first of all, many thanks to all of you that helped debug my first problem,
> that of needing to use 8bit mode to get the server to start.
>
>
> Now I have the server running it is working as well as the old 3.3.2r2
> version and I am back to trying to sort out the problem of the cut/paste
> buffers not working. This problem is nothing new, up till now I have had to
> use Autocutsel to facilitate the cut/paste buffers but this doesn't work
> reliably (although it is much better than not having it at all).
>
> My problems with cut/paste started when I had to modify my xstartup file to
> get vncserver to run correctly on Solaris7 platform. My xstartup file has
> the 'dtwm &' line commented out, instead I use '/usr/dt/bin/Xsession &'.
>
> I made this change some time ago when I migrated my server onto a solaris7
> machine. With this setting my CDE windows look reasonable, all the buttons
> work, the colors look ok. The downside to using this sort of configuration
> is that the native cut/paste support in VNC no longer works (or at least
> not for me).
>
> Are there any users out there using a similar setup (i.e.
> '/usr/dt/bin/Xsession &' in their xstartup) that have got the cut/paste
> buffers to work without the need to have autocutsel running in the
> background?
>
> thanks in advance,
>
> Kevin
> _______________________________________________
> VNC-List mailing list
> [EMAIL PROTECTED]
> http://www.realvnc.com/mailman/listinfo/vnc-list
> _______________________________________________
> VNC-List mailing list
> [EMAIL PROTECTED]
> http://www.realvnc.com/mailman/listinfo/vnc-list

- -- 

Grant McDorman <[EMAIL PROTECTED]>, Sr. Software Design Consultant
Cedara Software Corp.  <URL:http://www.cedara.com>
  (formerly I.S.G. Technologies Inc.)
Mississauga, Ontario, Canada

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.0 (SunOS)

iD8DBQE99m2fLVa+EmyjizARAnfaAJ4pCFPZoPxHZB46V55+UHZb9m83vgCfbfq9
dTMF6jiOPhlcfM6l0+MHRgY=
=2zyz
-----END PGP SIGNATURE-----
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to