Fred Kiefer wrote:

Wolfgang Lux schrieb:
While at the topic of GNUstep's pasteboard: I've recently started using
GNUstep applications remotely through an ssh connection. This works
quite well for me except for copy and paste. Both interact with the
pasteboard server on the remote machine not with my local X server. Is there any way to tell GNUstep applications to contact the gpbs server on
my local machine instead of the remote one?

If I remember correctly (Richard will know better) you have to start
gpbs manually
and provide the "NSHost" parameter to it. That should get it to interact
with your local X server.

Thanks for your answer Fred. Unfortunately, it doesn't work. Even after
starting gpbs with the -NSHost argument (it took me quite a while to notice that it is -NSHost and not --NSHost), the applications still contacted the
local gpbs server.

Browsing through the source, I found that the +_pbs method of NSPasteboard always contacts the local pasteboard server unless the NSHost user default
is set. Yet, if I invoke an application with a -NSHost argument, the X
backend insists on using this hostname to set the name of the X display to be opened in XGServer's _initXContext method, which obviously fails because
my X server does not open a TCP/IP port in the first place.

Wolfgang



_______________________________________________
Discuss-gnustep mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/discuss-gnustep

Reply via email to