Re: X from remote machine

From: Peter Kuehnlein (p_at_uni-bielefeld.de)
Date: 06/19/05


Date: Sun, 19 Jun 2005 21:39:26 +0200

Dear Mike,

thanks for your suggestion. However, I am working through a router, so the
remote machine can see only the IP of the router. I tried to do it that
way, but the following happens:
(a) either I pass the router's IP to remote; then, of course, all the
machines behind the router have the same address from remote's point of
view. Or
(b) I pass the local IP (192.168.1.5, e.g.) to remote; but then all
machines on the net behind any router but with that same local address
have the same IP from the pov of the remote machine. So it's doomed to
fail on either account.
However, I was advised to explicitly enable X fowarding using the -X
switch for ssh. This turned out to work.

Thanks again for your help:
Peter

On Sat, 18 Jun 2005 15:20:45 -0700, mikekrupel@gmail.com wrote:

> What you need to do is to set the display parameter to point to the
> localhost.
>
>>>From your working computer first set the xhost + to disable any
> security setting that might interfere.
>
> Then ssh to the remote computer
>
> After successful login invoke the desired program with a display
> parameter i.e.
> emacs -display=localhost:0
>
> This will run emacs on the remote server and display the program on
> your current desktop.
>
> Mike
>
> Peter Kuehnlein wrote:
>> Dear list members,
>> I've set up FC3 on a machine and it's running by and large w/o problems
>> (now). There is only one thing that is going on my nerves: in the old
>> days last week, when I worked w/ ssh on a remote machine, RH9 used to
>> display the remote application, say, emacs, on the local screen. Somehow I
>> can't tell FC3 to do that. I, e.g., only get emacs within the xterm. Not
>> even setting xhost to "+" works, although I already fiddled around with
>> gdm.conf. Does someone know how to trick FC3 into doing what I want?
>>
>> Thx in advance:
>> Peter
>> --
>> http://www.peter-kuehnlein.net
>>
>> Upcoming event:
>> Jul 7: http://lubitsch.lili.uni-bielefeld.de/DMG
>>
>> "A man talking sense to himself is no madder than
>> a man talking nonsense not to himself."
>> (Rosencrantz & Guildenstern are dead)

-- 
http://www.peter-kuehnlein.net
Upcoming event:
Jul 7: http://lubitsch.lili.uni-bielefeld.de/DMG
"A man talking sense to himself is no madder than
 a man talking nonsense not to himself."
(Rosencrantz & Guildenstern are dead)


Relevant Pages


Loading