You are not logged in.

#1 2017-07-23 23:00:01

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

[SOLVED] Cannot use "gksu" on a fresh Debian 9 install

EDIT:  See Post #7

I'm building a Debian 9 Stretch system ... I'm having a problem using "gksu"

 23 Jul 17 @ 19:41:30 ~
   $ s11
System:    Host: d67 Kernel: 4.9.0-3-amd64 x86_64 (64 bit gcc: 6.3.0) Desktop: Openbox 3.6.1
           Distro: Debian GNU/Linux 9 (stretch)
Machine:   Device: desktop Mobo: ECS model: MCP61M-M3 v: 7.0 BIOS: American Megatrends v: 080015 date: 11/03/2010
CPU:       Triple core AMD Athlon II X3 450 (-MCP-) cache: 1536 KB
           flags: (lm nx sse sse2 sse3 sse4a svm) bmips: 19287
           clock speeds: max: 3200 MHz 1: 800 MHz 2: 2000 MHz 3: 2500 MHz
Graphics:  Card: NVIDIA GT218 [GeForce 210] bus-ID: 02:00.0
           Display Server: X.Org 1.19.2 driver: N/A Resolution: 1920x1080@60.00hz
           GLX Renderer: Gallium 0.4 on NVA8 GLX Version: 3.0 Mesa 13.0.6 Direct Rendering: Yes
Audio:     Card-1 NVIDIA MCP61 High Definition Audio driver: snd_hda_intel bus-ID: 00:05.0
           Card-2 NVIDIA High Definition Audio Controller driver: snd_hda_intel bus-ID: 02:00.1
           Sound: Advanced Linux Sound Architecture v: k4.9.0-3-amd64
Network:   Card: NVIDIA MCP61 Ethernet driver: forcedeth port: d480 bus-ID: 00:07.0
           IF: enp0s7 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives:    HDD Total Size: 500.1GB (24.0% used)
           ID-1: /dev/sda model: WDC_WD5000AAKX size: 500.1GB
Partition: ID-1: / size: 20G used: 4.2G (23%) fs: ext4 dev: /dev/sda6
           ID-2: /media/sda2 size: 20G used: 4.3G (23%) fs: ext4 dev: /dev/sda2
           ID-3: /media/10 size: 142G used: 49G (37%) fs: ext4 dev: /dev/sda10
           ID-4: /home size: 20G used: 4.3G (23%) fs: ext4 dev: /dev/sda7
           ID-5: /media/5 size: 197G used: 51G (28%) fs: ext4 dev: /dev/sda5
Sensors:   System Temperatures: cpu: 29.2C mobo: N/A gpu: 41.0
           Fan Speeds (in rpm): cpu: N/A
Weather:   Conditions: 57 F (14 C) - Clear Wind: From the ESE at 10 MPH
           Time: July 23, 7:41 PM -03 (America/Argentina/Buenos_Aires)
Info:      Processes: 133 Uptime: 1:17 Memory: 572.0/5971.7MB
           Init: systemd runlevel: 5 Gcc sys: 6.3.0 Client: Shell (bash 4.4.121) inxi: 2.3.5
 
 23 Jul 17 @ 19:41:35 ~
   $ 

2017-07-23_192504_Scrot11.th.jpg

Any ideas as to what I am missing?  I've been in the sudoers file for a few days now, have rebooted a few times, it just will not accept my password.

I can use "sudo" no problem but "sudo GUI program" is a no no right?

I'm using the same OB Menu from BL-Debian 8 (had to change 'command' to 'execute' in the menu.xml file) and for Debian 10 it will probably revert back to 'command'.  smile

If you need more info ask.

Last edited by Sector11 (2017-07-24 20:37:40)


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Online

#2 2017-07-24 01:48:11

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: [SOLVED] Cannot use "gksu" on a fresh Debian 9 install

Something else to add:

Terninal:

gksu thunar - does not work
gksudo thunar -works
sudo thunar - works <-- not a good plan though.
sudo apt(-get) install XX - works


OB Menu

gksu thunar - does not work
gksudo thunar - does not work
sudo thunar - does not work

[Alt]+F2

gksu thunar - does not work
gksudo thunar - works
sudo thunar - terminal pops up: unable to find shell


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Online

#3 2017-07-24 02:28:12

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,666
Website

Re: [SOLVED] Cannot use "gksu" on a fresh Debian 9 install

gksu pops up a window, but rejects your password?
gksudo works as normal, right?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#4 2017-07-24 04:45:39

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: [SOLVED] Cannot use "gksu" on a fresh Debian 9 install

Well nothing works in the OB Menu

But in [Alt]+F2 - gksu provokes a popup window that has some options  - remember password - and session only - if I see that popup password is not accepted.

If I see a popup with no options just an input field, the password is accepted.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Online

#5 2017-07-24 08:49:29

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,666
Website

Re: [SOLVED] Cannot use "gksu" on a fresh Debian 9 install

Do you get any error messages if you run gksu from a terminal?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#6 2017-07-24 12:44:31

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: [SOLVED] Cannot use "gksu" on a fresh Debian 9 install

 24 Jul 17 @ 09:41:59 ~
   $ gksu thunar

(gksu:1750): Gtk-WARNING **: Unable to locate theme engine in module_path: "pixmap",

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Online

#7 2017-07-24 20:09:45

brontosaurusrex
Middle Office
Registered: 2015-09-29
Posts: 2,755

Re: [SOLVED] Cannot use "gksu" on a fresh Debian 9 install

gksu-properties && set auth mode to sudo does anything? (If it's not that, then i have a vain memory of user not being in some group...)

Last edited by brontosaurusrex (2017-07-24 20:38:09)

Offline

#8 2017-07-24 20:26:31

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: [SOLVED] Cannot use "gksu" on a fresh Debian 9 install

I am in the sudoers file.  See image in the OP.  Will try what you suggest


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Online

#9 2017-07-24 20:36:19

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: [SOLVED] Cannot use "gksu" on a fresh Debian 9 install

@ brontosaurusrex

THANK YOU! Thank You Thank You Thank You!

That did it.  I owe you one.  wink


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Online

#10 2017-07-25 01:47:13

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Re: [SOLVED] Cannot use "gksu" on a fresh Debian 9 install

Thanks Bronto, will make use of this tip as well!


Real Men Use Linux

Offline

#11 2017-07-26 10:26:58

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,706

Re: [SOLVED] Cannot use "gksu" on a fresh Debian 9 install

just found in the debian forum smile

man runuser

DESCRIPTION
       runuser  allows  to  run  commands  with  substitute user and group ID.  If the option -u is not given, falls back to su compatible semantics and a shell is executed.  The difference between the commands runuser and su is that
       runuser does not ask for a password (because it may be executed by the root user only) and it uses a different PAM configuration.  The command runuser does not have to be installed with suid permissions.

       When called without arguments, runuser defaults to running an interactive shell as root.

       For backward compatibility runuser defaults to not change the current directory and to only set the environment variables HOME and SHELL (plus USER and LOGNAME if the target user is not root).  This version of runuser uses PAM
       for session management.

Offline

#12 2017-07-26 13:55:30

DeepDayze
Like sands through an hourglass...
From: In Linux Land
Registered: 2017-05-28
Posts: 1,901

Re: [SOLVED] Cannot use "gksu" on a fresh Debian 9 install

Maybe runuser will fill the bill?


Real Men Use Linux

Offline

#13 2017-07-26 15:31:04

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,030

Re: [SOLVED] Cannot use "gksu" on a fresh Debian 9 install

Hey guys what brontosaurusrex worked perfectly.

gksu-properties

and set authority mode to "sudo"
2017-07-26_122822_Scrot11.jpg


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Online

Board footer

Powered by FluxBB