ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] new commands putsel and getsel


From: Joe Corneli
Subject: Re: [RP] new commands putsel and getsel
Date: Sat, 12 Feb 2005 11:53:02 -0600

   > How do I know what ... is supposed to be?

   Worked example follows.

   I have two machines, "rocinante" and "sancho".  I am sitting in front of
   an X session on sancho, running ratpoison.  I have a shell on rocinante
   (via SSH) in an xterm.

   In the xterm, I can run "ratpoison -d sancho:0 -c FOO" to talk to the
   local display.  But if sancho is configured securely, it will ignore
   remote X clients.  I can modify permissions with the "xhost" program.

   A better technique is to open a SSH connection with the "-X" option.
   This allows X clients to tunnel through the SSH connection.  Since it
   also sets the DISPLAY variable, I can then simply say "ratpoison -c FOO"
   to talk to my X session on sancho.  I have to start emacs with "-nw" to
   prevent it using the X tunnel.

Thanks for clearing that up.  Since I start ssh with the -X I should
be in business pretty quickly.

Joe




reply via email to

[Prev in Thread] Current Thread [Next in Thread]