You are not logged in.
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 ~
$
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'.
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
Offline
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
Offline
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 )
Offline
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
Offline
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 )
Offline
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
Offline
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
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
Offline
@ brontosaurusrex
THANK YOU! Thank You Thank You Thank You!
That did it. I owe you one.
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline
Thanks Bronto, will make use of this tip as well!
Real Men Use Linux
Offline
just found in the debian forum
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
Maybe runuser will fill the bill?
Real Men Use Linux
Offline
Hey guys what brontosaurusrex worked perfectly.
gksu-properties
and set authority mode to "sudo"
Debian 12 Beardog, SoxDog and still a Conky 1.9er
Offline