LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices



Reply
 
Search this Thread
Old 11-29-2003, 10:50 PM   #1
tmillard
Member
 
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.

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

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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 :)


Cheers,
Tink
 
Old 11-30-2003, 02:40 PM   #3
tmillard
Member
 
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, 09:38 PM   #4
tmillard
Member
 
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 lists.debian.org).

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.
 
  


Reply


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 08:25 PM
Can only reboot or halt as root Kernel 2.6.5 Slackware 2 05-20-2004 09:07 AM
halt and reboot in gnome tuggy Debian 1 08-28-2003 11:25 PM
Red Hat Kernel does not update on reboot. Buckinator Linux - Software 4 08-23-2003 09:50 PM
halt, shutdown, and reboot HappyDude Linux - Software 29 07-24-2003 03:05 PM


All times are GMT -5. The time now is 12:22 AM.

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