From: "J. Roeleveld" <joost@antarean.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Remotely working on Gentoo systems
Date: Wed, 9 Jun 2010 08:41:04 +0200 [thread overview]
Message-ID: <201006090841.05029.joost@antarean.org> (raw)
In-Reply-To: <4C0EDA8C.6060305@gmail.com>
On Wednesday 09 June 2010 02:04:28 Jake Moe wrote:
> On 09/06/10 09:58, Alex Schuster wrote:
> > Jake Moe writes:
> >> jmoe@aus10224 ~ $ ssh -Y jhb5970
> >> Password:
> >> Last login: Wed Jun 9 08:05:09 EST 2010 from 192.168.0.114 on pts/0
> >> jmoe@jhb5970 ~ $ firefox
> >> Error: no display specified
> >> jmoe@jhb5970 ~ $ konqueror
> >> konqueror: cannot connect to X server
> >> jmoe@jhb5970 ~ $
> >
> > Try "echo $DISPLAY", this should give something like localhost:10.0. If
> > it is empty, the forwarding did not work. I guess you have to set
> > X11Forwarding to yes in /etc/ssh/sshd_config on jhb5970, and restart ssh
> > with /etc/init.d/sshd restart. /etc/init.d/sshd reload should also work.
> >
> > Wonko
>
> Excellent, thanks for that. I had read about that config option, but it
> sounded like it only needed to be set if you wanted all ssh connections
> globally to have X11Forwarding turned on, or you use ssh -Y for a single
> connection.
>
> Jake Moe
>
The SSH-server needs to support it.
If the SSH-server does not have this option enabled (in the sshd_config), the
"-Y" flag does not work when connecting to that server.
If you set the flag in the client-configuration (ssh_config, note, no 'D') then
it will add the '-Y' option by default to all outgoing ssh-connection
attempts.
Hope this makes sense?
--
Joost Roeleveld
next prev parent reply other threads:[~2010-06-09 6:41 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-08 0:14 [gentoo-user] Remotely working on Gentoo systems Jake Moe
2010-06-08 6:48 ` J. Roeleveld
2010-06-08 23:36 ` Jake Moe
2010-06-08 23:58 ` Alex Schuster
2010-06-09 0:04 ` Jake Moe
2010-06-09 6:41 ` J. Roeleveld [this message]
2010-06-11 9:00 ` SpaceCake
2010-06-11 9:33 ` AG
2010-06-11 14:36 ` Kevin O'Gorman
2010-06-09 0:00 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201006090841.05029.joost@antarean.org \
--to=joost@antarean.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox