Gentoo Archives: gentoo-user

From: Jake Moe <jakesaddress@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Remotely working on Gentoo systems
Date: Wed, 09 Jun 2010 00:02:54
Message-Id: 4C0EDA8C.6060305@gmail.com
In Reply to: Re: [gentoo-user] Remotely working on Gentoo systems by Alex Schuster
1 On 09/06/10 09:58, Alex Schuster wrote:
2 > Jake Moe writes:
3 >
4 >
5 >> jmoe@aus10224 ~ $ ssh -Y jhb5970
6 >> Password:
7 >> Last login: Wed Jun 9 08:05:09 EST 2010 from 192.168.0.114 on pts/0
8 >> jmoe@jhb5970 ~ $ firefox
9 >> Error: no display specified
10 >> jmoe@jhb5970 ~ $ konqueror
11 >> konqueror: cannot connect to X server
12 >> jmoe@jhb5970 ~ $
13 >>
14 > Try "echo $DISPLAY", this should give something like localhost:10.0. If it
15 > is empty, the forwarding did not work. I guess you have to set
16 > X11Forwarding to yes in /etc/ssh/sshd_config on jhb5970, and restart ssh
17 > with /etc/init.d/sshd restart. /etc/init.d/sshd reload should also work.
18 >
19 > Wonko
20 >
21 >
22 Excellent, thanks for that. I had read about that config option, but it
23 sounded like it only needed to be set if you wanted all ssh connections
24 globally to have X11Forwarding turned on, or you use ssh -Y for a single
25 connection.
26
27 Jake Moe

Replies

Subject Author
Re: [gentoo-user] Remotely working on Gentoo systems "J. Roeleveld" <joost@××××××××.org>