Re: Allowing X11 forwarding for root with virt-manager

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@remotehost" and be
> allowed to run programs to my display. However, now it seems this is
> no longer allowed:
>
> $ ssh -X root@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
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux