Mailinglist Archive: opensuse (818 mails)

< Previous Next >
Re: [opensuse] ssh -X localhost
On Fri, Sep 9, 2011 at 12:13 PM, phanisvara das <listmail@xxxxxxxxxxxxxx> wrote:
On Fri, 09 Sep 2011 21:38:44 +0530, Ken Schneider - openSUSE
<suse-list3@xxxxxxxxxxxxx> wrote:

On 09/09/2011 10:38 AM, Silviu Marin-Caea pecked at the keyboard and

This doesn't work in 11.4 Tumbleweed:

ssh -X localhost
Error: Can't open display:

The same works on SLES11. What has changed, why isn't X forwarded
anymore and what's the "approved" way to do it now?

Do you have the sshd daemon enabled and running? If it is not running on
the host you cannot access ssh to the host.

works for me on 11.4, non-tumbleweed.

there are dozens of things that could be wrong. the sshd_config in
/etc/sshd could be set to not allow X forwarding for some reason, if
you did an inplace upgrade/overlay install and didn't change/reformat
/home, you could have a keys mismatch in ~/.ssh/known_hosts (could
nuke or edit the file and try again). those are the most likely
things I can think of to try/fix.

if you run xclock before you do the ssh command, does it work?
this seems like a very odd thing to be doing.

ssh -vvvv -X localhost might give some better clues as to what's
breaking down. my default install of 11.4 (just downloaded and
installed to a vm today) does not have sshd turned on by default, for
some reason.
Even the Magic 8 ball has an opinion on email clients: Outlook not so good.
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >