[SOLVED]"sudo/gksudo shutdown -h now" doesn't work from OpenBox menu
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 299
Rep:
[SOLVED]"sudo/gksudo shutdown -h now" doesn't work from OpenBox menu
This is my ~/.config/openbox/menu.xml All the items listed here used to work quite satisfactorily if not perfectly with sudo before i got too clever for my own good and installed gksu. They still do after i substituted "gksudo" where it used to be "sudo", all except for the Shutdown item. I mean, stuff on my window starts graying out at a snail's pace when it's been so long that i've forgotten about it and started working on something else..you can't call that working, right?
Edit: My fault entirely, invested too much emotionally into the OS, now that i have the workable minimal configuration i wanted i'll focus on learning and practicing Blender and not spare a minute more on the friggin' thing.
The usual problem is that sudo requires a password before it can do anything. gksudo should pop up a login window... However, frequently sudo requires a terminal access (or shutdown requires it...) and without a terminal the command aborts.
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 299
Original Poster
Rep:
Both sudo synaptic, sudo reboot used to work without a prompt before, and now gksudo synaptic, gksudo reboot still do after popping the prompt for password? Thought i'd put the command in a script and then place the path to it in the openbox menu as i did for the Blender executable..just one those stupid notions i get, nothing based on any sound principles, of course it didn't work..and it doesn't fully abort it either, just lodges itself somewhere and rots, and then seeps through slowly like slime.
Distribution: Linux Mint 9, Linux Mint 17.2(xfce), LMDE2(Mate), Debian Jessie minimal (with standalone OBox)
Posts: 299
Original Poster
Rep:
It's right there in the beginning of the Debian Reference Manual, sec 1.1.8 and i am an idiot, has something to do with multiuser/single-user mode, the pros can do the explaining, i don't care, i am done with this!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.