LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   unetbootin: cannot connect to X server (https://www.linuxquestions.org/questions/linux-newbie-8/unetbootin-cannot-connect-to-x-server-4175647612/)

fosser 02-04-2019 11:38 AM

unetbootin: cannot connect to X server
 
I'm trying to run unetbootin as root in the terminal. I am running Fedora 29 in Gnome. I'm not new to linux but I've been away from computers for 5 years so my skills are... diminished.

[root@localhost ~]# unetbootin
unetbootin: cannot connect to X server

Help?

hydrurga 02-04-2019 12:10 PM

Googling for the specific error message within quotes ("unetbootin: cannot connect to X server") returns the following:

https://github.com/unetbootin/unetbootin/issues/94

suggesting a workaround for running unetbootin under Wayland.

Does that help?

fosser 02-05-2019 12:07 PM

techtonik's workaround

Quote:

On Fedora 25 the magic workaround:

1. under user run


```
$ xhost local:root
non-network local connections being added to access control list
```

1. then with `sudo`


```
$ sudo QT_X11_NO_MITSHM=1 /usr/bin/unetbootin
```

I can not explain why it is necessary. =/
Well that workaround gets unetbootin to open but then it fails when i tried to burn an .img to the usb drive



libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile



shows in the terminal

suggestions?

hydrurga 02-05-2019 12:44 PM

Googling for "libpng warning: iCCP: known incorrect sRGB profile" returns:

https://stackoverflow.com/questions/...t-srgb-profile

Any use?

fosser 02-10-2019 03:06 PM

No I still can't get it to work. Very frustrating. I've had no issues with unetbootin in the past. It worked fine until I installed Fedora 29.


All times are GMT -5. The time now is 06:21 PM.