Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This 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.


  Search this Thread
Old 11-29-2003, 09:50 PM   #1
Registered: Sep 2003
Distribution: Gentoo
Posts: 74

Rep: Reputation: 15
Wanted: Halt/Reboot buttons in XDM. Red Hat 5

I would like to use xdm for logins. However I have found it very hard to make it easy for my mom to shutdown my Red Hat 5 box when I'm gone and its lighting.

I would like to have a simple Halt button or if this can't work have a halt user name (I have this set up in consle mode and works fine.)

I have used google and have found a few mailing list arvhives that say "I will e-mail you the code." A lot of good that helps me.

Any help would be appreacthed.

If anyonemight need more info on my box let me know.

I also have a very small working knowloge of Tk.

Old 11-29-2003, 10:07 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
What window manager is she using?

You could always add her to wheel,
and make "halt" suid, chgrp wheel,
and then put a button on her desktop :)

Old 11-30-2003, 01:40 PM   #3
Registered: Sep 2003
Distribution: Gentoo
Posts: 74

Original Poster
Rep: Reputation: 15
My mom does not really use Linux very much, but she sometimes needs to shut it down.

We use fvwm2, with the default AfterStep configuration.

I have tried compileing xdm-photo, because I have herd that it has a button that presents a menu with color, lang., halt etc.
But I'm haveing missing/misplaced librarys that I can't find to ln -s to.
Old 11-30-2003, 08:38 PM   #4
Registered: Sep 2003
Distribution: Gentoo
Posts: 74

Original Poster
Rep: Reputation: 15
I have gotten a Tk script to work that halts and reboots the computer (I peaced it together from little snippits from

However, I can't get rid of the buttons.
Ihave read the kill and grep man pages but have not come up with a way to get rid of the buttons.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't reboot or halt without being root. alex1986 Linux - Newbie 10 12-03-2005 07:25 PM
Can only reboot or halt as root Kernel 2.6.5 Slackware 2 05-20-2004 08:07 AM
halt and reboot in gnome tuggy Debian 1 08-28-2003 10:25 PM
Red Hat Kernel does not update on reboot. Buckinator Linux - Software 4 08-23-2003 08:50 PM
halt, shutdown, and reboot HappyDude Linux - Software 29 07-24-2003 02:05 PM

All times are GMT -5. The time now is 09:11 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration