Re: exporting DISPLAY question/problem



On Nov 20, 12:24 pm, Huub <"v.niekerk at hccnet.nl"> wrote:
Hi,

I'm trying to export the display from my 5.3 server to my linux laptop.
Both have static IPs. Logging into the server with "ssh -Xl <user>
<IPserver>" (capital X, small letter el), then "export DISPLAY=<IP
laptop>:0", "xclock &", nothing happens. Then after some time I get
"host: 0827-803 Cannot find address 192.168.30.110.".
Then adding IP laptop> to xhost "xhost +>IP laptop>" gives "1356-200
xhost unable to open display <IP laptop>".

I suppose I'm forgetting something essential, but what?

Thanks.

When login using ssh and -X, ssh will set the DISPLAY variable for you
since it is creating a tunnel for you. Thus you should NOT reexport
the DISPLAY variable to something else.

hth
Hajo



.



Relevant Pages

  • Re: X applications fail to run on ssh -X
    ... Error: Can't open display: ... sure DISPLAY is not unset/overwritten. ... Also check your client SSH config. ... Stop the current sshd. ...
    (comp.unix.aix)
  • Re: X applications fail to run on ssh -X
    ... Error: Can't open display: ... sure DISPLAY is not unset/overwritten. ... It will be recreated as soon as you log in using SSH if your setup is proper. ... Stop the current sshd. ...
    (comp.unix.aix)
  • Re: which port(s) does the X server listen on?
    ... > but remote X clients are unable to display to it. ... things just quietly fail to display. ... Most of the time one would ssh to the box they want to run the ... If everything is setup ...
    (Fedora)
  • Re: Attempting to run remote X app
    ... > I'm attempting to ssh into a central server and run an X app, ... Make sure the ssh server is forwarding X connections: ... DISPLAY environment variable is set), the connection to the X11 display ...
    (comp.os.linux.x)
  • X11 Forwarding with OpenSSH
    ... We are able to do the X11 forwarding and it works as the user ... go into the environment as their ssh IDs. ... functional accounts with no direct access into the account). ... another way to set your Display or gettaround this limitation? ...
    (SunManagers)

Quantcast