On Sun, Nov 02, 2003 at 01:06:03PM -0500, Jeff Mincy wrote:
On Sun, 02 Nov 2003, hniksic(a)xemacs.org wrote:
> Scott Blachowicz <scott.xemacs(a)mail.dsab.rresearch.com> writes:
>
>> 1) I ssh into a Linux box
>> 2) run 'xemacs -q'
>> 3) Within xeamcs, do `M-x gnuserv-start'
>> 4) Within xemacs, do `M-x shell'
>> 5) Within the *shell* buffer, type 'gnuclient foobar'
>>
>> At this point, if I have a usable $DISPLAY setting, I would get a new
>> frame. If I do NOT have a usable $DISPLAY, it complains about:
If you have a usable DISPLAY, then ssh X11 forwarding is working.
How are you doing the different ssh commands. If you don't have a
usable DISPLAY don't you have to run xemacs -nw?
My "usable DISPLAY" case is when I'm sitting in front of my work box, using
its X display. My "unusable DISPLAY" case is when I'm dialed up from home
over a modem connection and the system I'm on doesn't have an X display.
So, I generally leave an xemacs running on my work box with its gnuserv
running. Then, I can dial up from home (from a system that has no X display)
and do 'gnuclient foo' to connect to the xemacs running on my desktop at
work and have it use the tty from my ssh session. It's a really convenient
thing to be able to do.
Scott