ssh -X (-Y) not working

Aldo Foot lunixer at gmail.com
Wed Sep 24 00:37:20 UTC 2008


On Tue, Sep 23, 2008 at 12:06 PM, Karl Pearson <karlp at ourldsfamily.com> wrote:
> I like remote managing my server using ssh -X or ssh -Y and then running gui
> apps sometimes.
>
> I've check workstation and server X11Forwarding yes and then restarted sshd
> so don't know where else to go.
>
> I've checked the logs and there's nothing about it. The error I get is:
>
> [root at mail root]# system-config-printer
> system-config-printer: could not open display
> This is a graphical application and requires DISPLAY to be set.
>
> or:
>
> [karlp at mail ~/]$ xterm
> xterm Xt error: Can't open display:
> xterm: DISPLAY is not set
>
> Of course, the obvious is to set $DISPLAY, which doesn't work either.

>
> Any ideas where to go next?
>
> ---

On the ssh client:
 $ xhost +<sshServer>

~af

P.S. Trim your replies a bit for legibility.




More information about the Redhat-install-list mailing list