LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices



Reply
 
Search this Thread
Old 12-27-2009, 06:40 PM   #1
EmtYskY
LQ Newbie
 
Registered: Apr 2005
Posts: 12

Rep: Reputation: 0
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.
 
Old 12-28-2009, 06:56 AM   #2
zQUEz
Member
 
Registered: Jun 2007
Distribution: Fedora, RHEL, Centos
Posts: 294

Rep: Reputation: 53
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.
 
Old 12-28-2009, 02:15 PM   #3
EmtYskY
LQ Newbie
 
Registered: Apr 2005
Posts: 12

Original Poster
Rep: Reputation: 0
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!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
failed to attach to process in root terminal threatingbehaviour Linux - Software 3 09-21-2009 09:45 PM
X Error of failed request - when open a new tab in gnome-terminal quanta Fedora 0 03-17-2008 11:02 PM
Failed to run/usr/bin/x-terminal-emulator as user root hongnguyen70 Linux - Newbie 3 01-23-2008 06:13 PM
why lftp command run failed when user isn't root, but ok when logining as root steven_yu Linux - Software 0 06-06-2007 09:36 PM
how do i run GNOME from the terminal? help! kissmeimgerman Linux - Software 1 04-03-2004 02:35 AM


All times are GMT -5. The time now is 08:51 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration