In Karmic, I could run an app as user gdm by issuing the following command (assume the app is gconf-editor)
Now that I've switched to Marverick when I issu the same command I get this:
gksudo -u gdm dbus-launch gconf-editor
I checked my environment variable DISPLAY using:
towheed@GA1A4CH:~$ gksudo -u gdm dbus-launch gconf-editor
No protocol specifiedNo protocol specified
** (gconf-editor:19812): CRITICAL **: Failed to parse arguments: Cannot open display:
and it returned:
towheed@GA1A4CH:~$ echo $DISPLAY
Now I ran the command:
and got the same error as before.
gksudo -u gdm dbus-launch gconf-editor --display=:0.0
Has either or both dbus-launch or gksudo changed their behavior os is this a bug. Note that the command does not work with any applications being run as the user gdm.
Can anyone help me?