LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Failed to run Gnome Root Terminal (https://www.linuxquestions.org/questions/linux-desktop-74/failed-to-run-gnome-root-terminal-778368/)

EmtYskY 12-27-2009 05:40 PM

Failed to run Gnome Root Terminal
 
Hi

I have trouble running Gnome Root Terminal. Instead, an error dialog box appears:

Failed to run /usr/bin/gnome-terminal as user root.

Failed to communicate with gksu-run-helper.

Received:
f_file(258)] RETURN conv_err(19) -> -3 bad
[pam_handlers.c:_pam_parse_conf_file(258)] RETURN authtok_err(20) -> -3 bad
[pam_handlers.c:_pam_parse_conf_file(258)] RETURN authtok_recover_err(21) -> -3 bad
[pam_handlers.c:_pam_parse_conf_file(258)] RETURN
While expecting:
gksu: waiting

At meantime, another message appears in syslog:
localhost kernel: su[5559]: segfault at 0 ip b7df2473 sp bff7958c error 4 in libc-2.11.so[b7d7b000+14c000]

However, I have no problem running a user terminal and then su.

Any suggestions? Bu the way, I have gnome 2.26.3 on Gentoo Linux

Thanks in advance.

zQUEz 12-28-2009 05:56 AM

I don't quite understand how you are getting to this point. Are you logging into Gnome UI as root and then trying to launch a terminal window? This is what is sounds like. I thought by default they disallowed root logins to Gnome now. I haven't tried lately so I don't know.
Either way, I would look at pam because that appears to be where it is stemming from.

Digressing somewhat, I can't think why you would want to do this anyway.

EmtYskY 12-28-2009 01:15 PM

Hi

In fact, I got this error since I recompiled pam with debug USE flag, 'cause I tried to find out why I wasn't able to reboot or shutdown my system every time I use Gnome Root Terminal (I was redirected to GDM instead) I even compiled hald DBus and ConsoleKit.I removes the debug flag on pam cause I suspect it is a ConsoleKit problem.Here are messages from syslog when using gksu gnome-terminal:
Dec 28 13:53:37 localhost su[4939]: Successful su for root by chiheb
Dec 28 13:53:37 localhost su[4939]: + pts/1 chiheb:root
Dec 28 13:53:37 localhost su[4939]: pam_limits(su:session): reading settings from '/etc/security/limits.conf'
Dec 28 13:53:37 localhost pam_ssh[4939]: can't write to /root/.ssh/agent-localhost
Dec 28 13:53:37 localhost su[4939]: pam_unix(su:session): session opened for user root by (uid=1000)

and here are other messages when I attempt to shutdown/reboot:
Dec 28 04:12:10 localhost gnome-session[8182]: WARNING: Unable to query client: Client is not registered
Dec 28 04:12:10 localhost gnome-session[8182]: WARNING: Unable to query client: Client is not registered
Dec 28 04:12:10 localhost hald[3887]: 04:12:10.382 [I] device.c:1894: Removing locks from ':1.80'
Dec 28 04:12:10 localhost hald[3887]: 04:12:10.397 [I] ci-tracker.c:212: Removing CICallerInfo object for :1.85
Dec 28 04:12:10 localhost hald[3887]: 04:12:10.397 [I] device.c:1894: Removing locks from ':1.85'
Dec 28 04:12:10 localhost gnome-session[8182]: ******************* START ********************************
Dec 28 04:12:10 localhost gnome-session[8182]: Frame 0: gnome-session() [0x8065047]
Dec 28 04:12:10 localhost gnome-session[8182]: Frame 1: [(nil)]
Dec 28 04:12:10 localhost gnome-session[8182]: ******************* END **********************************
Dec 28 04:12:10 localhost hald[3887]: 04:12:10.428 [I] device.c:1894: Removing locks from ':1.83'
Dec 28 04:12:10 localhost hald[3887]: 04:12:10.447 [I] ck-tracker.c:653: Received SessionRemoved '/org/freedesktop/ConsoleKit/Session4' from CK on seat '/org/freedesktop/ConsoleKit/Seat1'
Dec 28 04:12:10 localhost hald[3887]: 04:12:10.447 [I] hald_dbus.c:5729: In hald_dbus_session_removed for session 'Session4' on seat 'Seat1'
Dec 28 04:12:10 localhost hald[3887]: 04:12:10.459 [I] hald_dbus.c:5268: active=0 for session /org/freedesktop/ConsoleKit/Session4
Dec 28 04:12:10 localhost hald[3887]: 04:12:10.459 [I] ci-tracker.c:242: Set in_active_session=FALSE in CICallerInfo for :1.89 @ /org/freedesktop/ConsoleKit/Session4 (uid 1000, pid 8277)
Dec 28 04:12:10 localhost hald[3887]: 04:12:10.459 [I] ck-tracker.c:689: Received ActiveChanged to INACTIVE from CK on session '/org/freedesktop/ConsoleKit/Session4'
Dec 28 04:12:10 localhost hald[3887]: 04:12:10.459 [E] ck-tracker.c:705: No such session '/org/freedesktop/ConsoleKit/Session4'
Dec 28 04:12:10 localhost hald[3887]: 04:12:10.463 [I] device.c:1894: Removing locks from ':1.81'
Dec 28 04:12:10 localhost gdm[4396]: pam_unix(gdm:session): session closed for user chiheb

Any suggestions please ?
Thanks in advance!


All times are GMT -5. The time now is 06:15 AM.