[Solved] Gparted - Gtk-WARNING **: cannot open display: :0

Everything about X, Gnome, KDE, ... and everything running on it

Re: [Solved] Gparted - Gtk-WARNING **: cannot open display:

Postby pylkko » 2017-03-22 05:06

phenest wrote:
pylkko wrote:It means that you need to log out of Wayland session and thus go back to the login in screen and select "Gnome" without wayland and then you can use gparted... but after you have used it, you would need to log out once again and log in again in order to continue using Wayland. Wayland is a more modern display protocol, but some older programs don't work on it.

I have a package installed called xwayland which "provides an X server running on top of wayland". Does that mean I'm running both, sort of? I'm running Gnome on Stretch and gparted works fine, and I'm logged in with the default Gnome session.


You are running the X session. If you log on with Gnome with Wayland then gparted will no longer work. You can always verify this by looking at the output of top. If X is started then you are on X, if xwayland is in the list, you are on Wayland. The few x apps that require privileges will not run on xwayland at all (gparted, synaptic package manager )
User avatar
pylkko
 
Posts: 910
Joined: 2014-11-06 19:02

Re: [Solved] Gparted - Gtk-WARNING **: cannot open display:

Postby pylkko » 2017-03-22 05:11

pylkko wrote:
phenest wrote:
pylkko wrote:It means that you need to log out of Wayland session and thus go back to the login in screen and select "Gnome" without wayland and then you can use gparted... but after you have used it, you would need to log out once again and log in again in order to continue using Wayland. Wayland is a more modern display protocol, but some older programs don't work on it.

I have a package installed called xwayland which "provides an X server running on top of wayland". Does that mean I'm running both, sort of? I'm running Gnome on Stretch and gparted works fine, and I'm logged in with the default Gnome session.


You are running the X session. If you log on selecting 'Gnome with Wayland', then gparted will no longer work. You can always verify this by looking at the output of top. If X is started then you are on X, if xwayland is in the list, you are on Wayland. The few x apps that require privileges will not run on xwayland at all (gparted, synaptic package manager )
User avatar
pylkko
 
Posts: 910
Joined: 2014-11-06 19:02

Previous

Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable