View previous topic :: View next topic |
Author |
Message |
Boyscout n00b

Joined: 19 Jan 2007 Posts: 3
|
Posted: Fri Jan 19, 2007 10:05 am Post subject: gksudo/gksu not working |
|
|
When invoking any command with gksudo or gksu I get an entry "granting rights" in the taskbar, sometimes also an entry for the command I wanted to start and then both vanish. Without any error, notice or message whatsoever. I have no clue where I can even start to look for clues.
Any help is appreciated. |
|
Back to top |
|
 |
struhs n00b

Joined: 14 Jun 2005 Posts: 44
|
Posted: Fri Feb 09, 2007 7:24 pm Post subject: |
|
|
I have the same problem (e.g. with gksu nautilus); it is funny, but gksu gnome-terminal works fine.
I tried to run the same command from gnome-terminal and see the following (afterwards nothing happens and I have to cancel the program with ctrl+c):
Quote: |
(nautilus:27377): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed.
|
Regards,
Stefan |
|
Back to top |
|
 |
HTS Guru


Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Mon Apr 02, 2007 10:03 pm Post subject: |
|
|
Same problem. Noticed that my "/etc/gksu.conf" did not exist... _________________ Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs |
|
Back to top |
|
 |
Bones McCracker Veteran


Joined: 14 Mar 2006 Posts: 1611 Location: U.S.A.
|
Posted: Tue Apr 03, 2007 2:04 am Post subject: |
|
|
try gksu -gk |
|
Back to top |
|
 |
HTS Guru


Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Tue Apr 03, 2007 3:36 am Post subject: |
|
|
Dunno what's wrong. I unmerged gksu then remerged again. And now it works, but gdmsetup does not work anymore... like even as root (used xhost +):
DISPLAY=:0.0 gdmsetup
hangs forever without any error message...
This used to work... Not my comp so I'll just give up on this for now.
Not such big a deal anyway, thanks for the reply. _________________ Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs |
|
Back to top |
|
 |
Bones McCracker Veteran


Joined: 14 Mar 2006 Posts: 1611 Location: U.S.A.
|
Posted: Tue Apr 03, 2007 3:41 am Post subject: |
|
|
visudo
Do you have this line UN-commented?
Defaults:%wheel !env_reset |
|
Back to top |
|
 |
HTS Guru


Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Tue Apr 03, 2007 10:53 pm Post subject: |
|
|
Let me check that...
No I didn't! _________________ Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs |
|
Back to top |
|
 |
terracotta_shore Tux's lil' helper

Joined: 05 Dec 2006 Posts: 87
|
Posted: Wed Apr 04, 2007 10:05 am Post subject: |
|
|
HTS wrote: | Dunno what's wrong. I unmerged gksu then remerged again. And now it works, but gdmsetup does not work anymore... like even as root (used xhost +):
DISPLAY=:0.0 gdmsetup
hangs forever without any error message...
This used to work... Not my comp so I'll just give up on this for now. |
Have you tried: 'gksu dbus-launch gdmsetup' ?
See this thread for more details. |
|
Back to top |
|
 |
HTS Guru


Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Fri Apr 06, 2007 12:53 am Post subject: |
|
|
OK let me try that. The hack with DISPLAY works though. Thanks for the line in sudoers.
EDIT: yay!
Code: | gksu dbus-launch gdmsetup | works! Thanks for that. _________________ Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs |
|
Back to top |
|
 |
pm.it n00b

Joined: 07 Apr 2007 Posts: 1
|
Posted: Sat Apr 07, 2007 7:25 am Post subject: |
|
|
Quote: | (nautilus:27377): GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed. |
To stop this message launch gedit, nautilus or other with or |
|
Back to top |
|
 |
HTS Guru


Joined: 20 Feb 2006 Posts: 410 Location: Bristol, UK
|
Posted: Sun Apr 08, 2007 1:15 am Post subject: |
|
|
I got the warning but it doesn't prevent gedit from starting. man gksu wrote: |
--login, -l
Make this a login shell. Beware this may cause problems with the
Xauthority magic. Run xhost to allow the target user to open
windows on your display! |
_________________ Plasma desktop on Core i7 8086K OC @ 5GHz, 64GB DDR4, 2 x M.2 Samsung 970 PRO 1TB SSDs |
|
Back to top |
|
 |
|