You are not logged in.

#1 2011-05-08 07:18:02

Asaf K.
Member
Registered: 2011-05-04
Posts: 67

Starting GUI programs under su/sudo/gnomesu in gnome3

Since the upgrade to gnome3 it seems that I can no longer run some graphical programs from a terminal.

I can, for example, start xterm, xdvi, other "low gui" stuff as well. Trying to run gedit, for example yields:

# gedit

(gedit:1338): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

g_dbus_connection_real_closed: Remote peer vanished with error: Underlying GIOStream returned 0 bytes on an async read (g-io-error-quark, 0). Exiting.
Terminated
# 

Same if I try sudo from a non-root terminal, and gnomesu just closes without even showing me what sort of error/warning was given. My user is a member of the groups:

adm,wheel,video,audio,scanner,power,usbmux,vboxusers


Thanks in advance for any help.

Offline

#2 2011-05-12 16:34:59

twilight0
Member
From: Greece
Registered: 2011-05-01
Posts: 227
Website

Re: Starting GUI programs under su/sudo/gnomesu in gnome3

As normal user type gksu gedit for gedit... gksu foo.... for your foo program to run with root's privileges.

When in xterm type "su -" (without the quotes) to go in superuser mode.


Proud Arch Linux user since 2007.

Offline

#3 2011-05-13 01:48:43

schmidtbag
Member
From: NH, USA
Registered: 2011-02-08
Posts: 337

Re: Starting GUI programs under su/sudo/gnomesu in gnome3

i'm no longer a gnome user but to me this looks like a gnome issue.  if not, it could be a xorg issue, in which case run this as yourself:

xhost +local:

Offline

Board footer

Powered by FluxBB