2

I am using Ubuntu Studio 17.10 with the Gnome 3 Desktop and would love to use Wayland, however, when I do I find certain programs such as Gufw will not open, and will only work under the Xorg session.

Is there a way to make Xorg only programs open on Wayland? Or is it just a case of waiting for them to make the transition themselves?

Wayland seems to be making good progress so I think it would be a shame to continue to use the older Xorg, but until I can run ALL of my programs on Wayland I will be forced to stick with Xorg.

5

Is there a way to make Xorg only programs open on Wayland?

Technically speaking, yes. Actually there are more Xorg programs running in your Wayland session than you think, like Google Chrome and Firefox. This is thanks to XWayland server, a backward compatibility implementation in Wayland that allows running legacy X programs in Wayland. And it is already configured in your Wayland session.

I do I find certain programs such as Gufw will not open, and will only work under the Xorg session

Note that graphical applications that need to run as root such as gufw and gparted no longer work under Wayland, as a security mesure, and therefore they won't launch with XWayland too.

There is a way to bypass this security measure and launch gufw and such applications under Wayland but its not recommended, and that's by adding root user to xhost access control list:

xhost +SI:localuser:root

To automatically launch this command in every session after login, you can refer to this answer.

Hope this answers your question about running Xorg programs on Wayland.

  • "Note that graphical applications that need to run as root such as gufw and gparted no longer work under Wayland" What kind of crap is that ? Can we kill it with fire ? – WitchCraft May 4 at 13:27

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.