Allowing X11 forwarding for root with virt-manager
Alex
mysqlstudent at gmail.com
Thu Feb 14 20:26:42 UTC 2013
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"
The solution for me was to install xorg-x11-xauth on the server side.
Then using "ssh -Y remotehost" worked properly for virt-manager as
root to a fedora 17 client.
Make sure you have "X11Forwarding yes" enabled in your sshd_config on
the server. It's enabled by default on fc18.
Thanks,
Alex
More information about the users
mailing list