Short and simple:
Code:
:~$ pkexec gedit
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/bin/gedit' as the super user
Authenticating as: ****...****,,, (****...****)
Password:
==== AUTHENTICATION COMPLETE ===
gdk_mir_display_open
Failed to connect to Mir: Failed to connect to server socket: No such file or directory
(gedit:8984): Gtk-WARNING **: cannot open display:
:~$ pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY gedit
==== AUTHENTICATING FOR org.freedesktop.policykit.exec ===
Authentication is needed to run `/usr/bin/env' as the super user
Authenticating as: ****...****,,, (****...****)
Password:
==== AUTHENTICATION COMPLETE ===
In second case GEdit works like it is supposed to. In first it did not show up. So, nothing new at that front except that „Mir“ is there, at least, as...
Code:
:~$ dpkg -l|grep mir
ii libmirclient8:amd64 0.8.0+14.10.20141010-0ubuntu1 amd64 Display server for Ubuntu - client library
ii libmirclient8driver-mesa:amd64 0.8.0+14.10.20141010-0ubuntu1 amd64 Display server for Ubuntu - client platform library for Mesa
ii libmircommon2:amd64 0.8.0+14.10.20141010-0ubuntu1 amd64 Display server for Ubuntu - shared library