New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unetbootin doesn't run under Wayland #94
Comments
|
On Fedora 25 the magic workaround:
I can not explain why it is necessary. =/ |
|
i do, x server is the program that manages access to the graphic devices drivers, xhosts allows users to connect to those drivers. since sudo doesn't have an active session nor it's allow to access the server, unetbootin cannot create an instance of it's GUI once you run that you give sudo access to the device drivers and hence allow unetbootin (since it's running as sudo) to create a nice looking window :) |
|
The workaround is not sustainable, though. unetbootin needs to use Polkit rather than demanding to be run as root. |
|
Even with Polkit, Wayland won't let a GUI run as root (not without using "legacy" options at least). I've had trouble finding the suggested way to get around this. |
|
This works for me: |
|
@DonyorM the point is, it would need to be rewritten to run as a normal user, and use polkit to request elevated privileges when necessary. |
|
Yeah, that's what I was getting at. I wish there was more documentation on how one does that though. Polkit docs are a bit messy. |
|
I had to add the user to the sudoers file. |
|
What worked for me beesu xhost `hostname -s`
beesu QT_X11_NO_MITSHM=1 unetbootinEdit: I'm using Fedora 26 |
|
No working workaround for me on Fedora 26, anyway get: |
Techtonik's answer worked for me on Ubuntu 17.10.
|
|
same happened to me on Fedora 27, but @techtonik 's answer worked, thanks! |
|
Maybe this won't work for everyone but I tired of having to sudo each time I used Unetbootin. By a fluke chance I found it worked when I logged into Ubuntu 17.10 using the old XOrg option, NOT Ubuntu. |
|
You can add an alias to your bashrc: |
|
Nice work rubo77, hope it helps some people.
Not such an issue now tho, as I can access it if I log in via Xorg |
|
Does anyone know how to shortcut to desktop on Ubu 17-10 please? Thx |
|
@bicyu I guess you need WIN Key + d, if it doesn't work try Ctrl + Win Key + d. |
|
@aminvakil Cheers for that mate, both work. |
|
you should try to run unetbootin with https://unix.stackexchange.com/questions/422040/will-wayland-ever-support-graphical-sudo |
|
just tested here, sudo -EH isn't enough by itself and will output a permission error by setting |
I'm using Fedora 25 with Wayland, so there is no X server. If I log into an X session instead of Wayland, unetbootin works.
This is because Wayland doesn't permit GUI programs to run as root. Instead, they are expected to run the main GUI as the user and request elevated privileged for only what's needed.
The text was updated successfully, but these errors were encountered: