Allowing X11 forwarding for root with virt-manager

Rick Stevens ricks at alldigital.com
Fri Feb 15 01:56:28 UTC 2013


On 02/14/2013 11:33 AM, Alex issued this missive:
> Hi all,
>
> I have an fc18 install and it seems that X11 forwarding over ssh has
> changed. I used to be able to just "ssh -Y root at remotehost" and be
> allowed to run programs to my display. However, now it seems this is
> no longer allowed:
>
> $ ssh -X root at mytest
> X11 forwarding request failed on channel 0
>
> Does anyone know how to fix this? None of the previous methods,
> including exporting the Xauthority variable, seem to work.
>
> I'm specifically trying to run virt-manager and it fails with
> "RuntimeError: could not open display"

Have you checked /etc/ssh/sshd_config and verified that you have

	X11Forwarding yes

set in there? If not, set it and restart sshd.
----------------------------------------------------------------------
- Rick Stevens, Systems Engineer, AllDigital    ricks at alldigital.com -
- AIM/Skype: therps2        ICQ: 22643734            Yahoo: origrps2 -
-                                                                    -
-        Brain:  The organ with which we think that we think.        -
----------------------------------------------------------------------


More information about the users mailing list