SSH, remote X-applications and 9.1

From: Andrew P (spam_at_dev.null)
Date: 06/25/04


Date: Thu, 24 Jun 2004 23:51:33 +0100

I have two PCs, one a headless server running SuSE 8.2 Pro and the other a
desktop machine which I've just upgraded from 8.2 Pro to 9.1 Pro.

Previously (i.e with 8.2), I was able to ssh from the desktop machine onto
the server, set the DISPLAY variable and run X apps on the server, but
displaying on the desktop machine.

However, now that I've updated the desktop machine to 9.1, I get the "Can't
open display" error message when starting X apps.

So, to specify a few things.....
I am using ssh -X server.
The DISPLAY variable is set to "desktop:0.0"
On the desktop, /etc/ssh/ssh_config has ForwardAgent and ForwardX11 set to
yes.
On the server, /etc/ssh/sshd_config has X11Forwarding set to yes.

What else do I need to enable / alter? I found some information about
altering xdmcp settings in kdmrc.SuSEconfig but I can't make them stick.

The desktop is not running a firewall as far as I can tell through the
runlevel editor.

www.openssh.org mentions this:

2.8 - After upgrading OpenSSH I lost SSH2 support.
Between versions changes can be made to sshd_config or ssh_config. You
should always check on these changes when upgrading versions of OpenSSH.
After OpenSSH Version 2.3.0 you need to add the following to your
sshd_config
    HostKey /etc/ssh_host_dsa_key
    HostKey /etc/ssh_host_rsa_key

However, I haven't upgraded the server (sshd), just the desktop (ssh).

Anyone any ideas? Is there anyway of looking at ssh logs to do with the
connection?

Thanks,

Andrew



Relevant Pages

  • Re: What is prisoner.iana.org?
    ... Is the lack of an in-addr.arpa zone going to cause my desktop machine to ... >> server DNS/prisoner.iana.org. ... > for a private address that the DNS server can't handle. ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: I dont need an MTA
    ... I've been using Debian at ... Anyone running X is running a server even though a "desktop machine" ... Back to exim, if i have X i have x11-common ...
    (Debian-User)
  • Re: Backing up a Web
    ... OTOH, when one inherits a Web developed my someone over the horizon into the past with nothing but a URL and a logon, editing on the server seems very convenient. ... form now on if ever asked I'll recommend Publishing to a desktop machine and working in the more correct manner. ...
    (microsoft.public.frontpage.programming)
  • Re: server security :: user accounts, ssh, passphrases, etc.
    ... ftp or http server in the DMZ ... desktop machine in the LAN from which the sysop maintains the ... Is there a major or unreasonable security risk if the sysop ...
    (Debian-User)
  • connecting to network printer
    ... I have XP Pro on a desktop machine. ... to a shared printer on our server, ...
    (microsoft.public.windowsxp.general)