You are not logged in.
Pages: 1
Hey guys,
I have a problem while running applications through the "Run Program" in the menu. If I run, for instance, geany normally I don't get any error. But if i try to run it with sudo I get a terminator windows saying "unable to find a shell". This started to happen after I installed the "dist-upgrade".
I tried searching a solution but came back empty. Hope that you can help since I don't know much about linux.
Offline
Does this happen to every program or specific ones?
Generally you don't really need to do dist-upgrade, did you update your packages before with
sudo apt-get install update
If not, try that, and perhaps do:
sudo apt-get install upgrade
Also can you switch to a different TTY (ctl + alt + f2) and try to run a command as sudo from there?
"I have not failed, I have found 10,000 ways that will not work" -Edison
Offline
For starting gui applications as root in the Run dialog you should use
gksudo geany
...or you may get the error you have described.
'sudo geany' should work if typed in a terminal.
Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt «» BunsenLabs on DeviantArt
Offline
To expand on damo's answer, to run a command as root using sudo or gksu you have to enter your password. That's possible on a terminal so 'sudo command' works, but with the "Run Program" menu item, gmrun has no mechanism for entering a password. gksu opens the necessary password box.
btw, strictly speaking, 'gksu command' is preferred to 'sudo command' even in a terminal when running GTK applications (ie apps that open their own window), although in most cases sudo works.
...and welcome to the BunsenLabs forum!
Last edited by johnraff (2016-08-16 02:39:45)
...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
I have a problem while running applications through the "Run Program" in the menu. If I run, for instance, geany normally I don't get any error. But if i try to run it with sudo I get a terminator windows saying "unable to find a shell". This started to happen after I installed the "dist-upgrade".
what happens when you just open a terminator terminal? you should be getting the same error.
also, dist-upgrade isn't something you install.
which exact commands did you use?
did you complete the welcome script after installation?
Offline
I think the recommendation is to use:
pkexec geany
rather than the obsoleted `gksudo`/`gksu`
Offline
(Apologies to ulala.)
[OFF-TOPIC]We had a little discussion about this in early 2015: http://crunchbang.org/forums/viewtopic. … 51#p420851
Maybe time to take pkexec more seriously?[/OFF-TOPIC]
Last edited by johnraff (2016-08-16 08:23:06)
...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
Pages: 1