Re: ssh xterm -> HPUX fails

From: Adam Skeggs (adamskeg_at_au1.ibm.com)
Date: 02/05/04


Date: Thu, 5 Feb 2004 17:33:33 +1100


"Adam Skeggs" <adamskeg@au1.ibm.com> wrote in message
news:4021d927$0$28869$afc38c87@news.optusnet.com.au...
>
> "Adam Skeggs" <adamskeg@au1.ibm.com> wrote in message news:...
> > I can ssh an xterm to a Solaris machine but when I try the same to HPUX
I
> > get this:
> >
> > $ ssh myhost /usr/bin/X11/xterm
> > Enter passphrase for key '/home/myaccount/.ssh/id_dsa':
> > Error: Can't open display:
> > Error: Couldn't find per display information
> >
> > A shell works OK, ie. ssh myhost.
> >
> > It is interesting the there is no info after "Error: Can't open
display:"
> > that is, there is no display listed. Does this mean that the sshd is not
> > setting DISPLAY?
> >
> > Adam.
> >
> >
>
> Yes it's true as:
> ssh myhost
> echo $DISPLAY
> shows DISPLAY is not set whereas for the Solaris connection (which works)
> DISPLAY=localhost:10.0.
> Don't know why though.
>
> Adam.
>
>
>
OK I had my client .ssh/config with wrong domain name for the server.
Interesting that -X did not override that.

New problem:
X11 connection rejected because of wrong authentication.
X connection to localhost:10.0 broken (explicit kill or server shutdown).

Tried xhost +hostname
Tried xhost +

No good. Unless it's talking about authentication on the server side to the
dummy X server?

Adam.



Relevant Pages

  • Re: Suggestions for a square font?
    ... > ssh -X creates a tunnel from distant_computer to your real X server at ... > the tunneled X display, connecting directly to the X ... Let's say that the first line was for ssh users and the second ... connect through ssh and play a curses game. ...
    (rec.games.roguelike.development)
  • X11 session over ssh, problem
    ... The problem is that I ssh to a server, and then try to run a program that requires an X display. ... But if I do the same to B (i.e. xterm -e ssh B &), then try to run a program like xpdf which uses X, it doesn't work. ...
    (Debian-User)
  • RE: Problem with X server
    ... Try tunneling everything through ssh. ... This gets around the need to use the xhost and export display settings. ... Subject: Problem with X server ... On the local host, type: ...
    (RedHat)
  • 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)
  • Re: ssh X11forwarding wont work, please help
    ... whereas saying "export DISPLAY made me think "the display server". ... set by ssh, the shell freezes after i start an x application. ... rules and the X Server at machine1 is listening for TCP connections. ...
    (comp.os.linux.x)