[HOME] [DOWNLOAD] [DOCS] [BLOG] [SUPPORT] [TIPS] [ISSUES] [Priority Support]

kdesudo error popup window ( sdwdate-gui )

sdwdate-gui
kdesudo
bug

#1

in multiple test instances in virtualbox, either the gateway or the workstation begin to regularly return the following error in a popup window on boot:

“No command arguments supplied!
Usage: kdesudo [-u ]
KdeSudo will now exit…”

i have not been able to determine what causes this regularly. is anyone else having similar issues? i’ve seen this mentioned in one other thread. but, i’m not sure if it is related.


sdwdate and sdwdate-gui development thread
#2

Mysterious. Please kindly help to debug this.

  1. This might be fixed in proposed-updates / testers repository.
  2. If not…

Create log.

touch /home/user/kdesudo.log
chmod o+r /home/user/kdesudo.log
chmod g+r /home/user/kdesudo.log

Move the real kdesudo elsewhere.

sudo mv /usr/bin/kdesudo /usr/bin/kdesudo-real

Create the wrapper.

kdesudo kwrite /usr/bin/kdesudo

Paste.

#!/bin/bash
echo "$(whoami) $@" > /home/user/kdesudo.log
kdesudo-real "$@"

Save.


#3

Me too, it throws the same error when booting up. In both the Gateway as in Workstation.

“No command arguments supplied! Usage: kdesudo [-u ] KdeSudo will now exit…”.

@tempest, @Patrick

It was fine couple days ago. Is it a security risk? And how to fix it?
I am using the latest Whonix from the site.


#5

I would like to help, but “kdesudo kwrite /usr/bin/kdesudo” wont work. It gives me “could not find the database of available applications, run update-command-not-found as root to this” and “kdesudo: command not found”

@Patrick


#6

when popup shown

ps axu | grep kdesudo

user 1154 0.0 0.4 330908 32988 ? Sl 21:27 0:00 kdesudo -session <long id>


#8

That doesn’t give me any clues. kdesudo error popup window required.

Please create a separate forum thread for that.


#9

@Patrick. here is the output of kdesudo.log after error on boot:

user -u sdwdate-gui /usr/lib/sdwdate-gui/sdwdate-gui


#10

Ok thanks I will.
I hope we can fix this popup. Its annoying and maybe a security breach.


#11

https://www.whonix.org/wiki/FAQ#Compromise_Indicators


#12

That moves us a lot closer! Thanks!

Does your file /etc/sudoers.d/sdwdate-gui look like https://github.com/Whonix/sdwdate-gui/blob/master/etc/sudoers.d/sdwdate-gui?

sudo cat /etc/sudoers.d/sdwdate-gui

What happens if you manually run…?

sdwdate-gui

What happens if you manually run…?

/usr/lib/sdwdate-gui/start-maybe

What happens if you manually run…?

kdesudo -u sdwdate-gui /usr/lib/sdwdate-gui/sdwdate-gui

#13

“System Settings” > “Startup and Shutdown” > “Desktop Session” > “Start with empty Session”

Will solve the issue


#14

works for me


#15

Did sdwdate-gui autostart for you before doing “System Settings” > “Startup and Shutdown” > “Desktop Session” > “Start with empty Session”? I guess not.

And after “System Settings” > “Startup and Shutdown” > “Desktop Session” > “Start with empty Session” sdwdate-gui autostarts for you?

I can’t reproduce this.

We should still find out what “System Settings” > “Startup and Shutdown” > “Desktop Session” > “Start with empty Session” has to do with it anyway.

^ in worst case this does nothing. In best case it prevents the popup but sdwdate-gui still doesn’t autostart. Might also help us to debug this issue.


#16

Thanks for the solving this. But it still bother me what the cause is? What are the consequences?


#17

Unknown.

sdwdate-gui does not automatically start. Usability issue. More so once we implement https://phabricator.whonix.org/T551.


#18

yes.

an additional gui icon appears in the lower right corner. no error.

same as above. no error window.

also the same as above. no error.


#19

Could you try this version please?