ssh -X (-Y) not working

Karl Pearson karlp at ourldsfamily.com
Wed Sep 24 01:33:31 UTC 2008


On Tue, 23 Sep 2008, Aldo Foot wrote:

> 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>

No joy. echo $DISPLAY still shows a blank line.

>
> ~af
>
> P.S. Trim your replies a bit for legibility.
>
> _______________________________________________
> Redhat-install-list mailing list
> Redhat-install-list at redhat.com
> https://www.redhat.com/mailman/listinfo/redhat-install-list
> To Unsubscribe Go To ABOVE URL or send a message to:
> redhat-install-list-request at redhat.com
> Subject: unsubscribe
>

---
        _/  _/      _/      _/_/_/       ____________   __o
       _/ _/       _/      _/    _/     ____________  _-\\<._
      _/_/        _/      _/_/_/                     (_)/ (_)
     _/ _/       _/      _/           ......................
    _/   _/ arl _/_/_/  _/ earson    KarlP at ourldsfamily.com
---
http://consulting.ourldsfamily.com
---




More information about the Redhat-install-list mailing list