Re: ssh xterm -> HPUX fails

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


Date: Thu, 5 Feb 2004 16:47:35 +1100


"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.



Relevant Pages

  • Re: ssh xterm -> HPUX fails
    ... >> I can ssh an xterm to a Solaris machine but when I try the same to HPUX ... there is no display listed. ... X connection to localhost:10.0 broken (explicit kill or server shutdown). ...
    (comp.security.ssh)
  • 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)
  • Re: Remote X over rsh
    ... all I'm doing is running X and ssh. ... the weak machine is the one where on he wishes to display, ... Possibly the "my client" confused the issue; ... just use X without ssh forwarding. ...
    (comp.os.linux.x)