Thank you for the responses. My clients primarily use gnome and not KDE. Most of the users will not switch for various reasons. Also my bios does not have a setting related to the timing of the button. The only setting is either to put the PC to sleep or to shut it down. I guess I will have to wait and see if this feature is added in the future.
Thanks again. Jason -----Original Message----- From: Anselm Martin Hoffmeister [mailto:[EMAIL PROTECTED] Sent: Friday, April 16, 2004 4:46 AM To: Kai Schmidt Cc: Jason Dravet; [EMAIL PROTECTED] Subject: Re[2]: [Ltsp-discuss] LTSP kernel and ACPI for client Hello Kai, Friday, April 16, 2004, 8:53:17 AM, you wrote: > Am Donnerstag, 15. April 2004 17:14 schrieb Jason Dravet: > Hi, > a simple button to safely turn on and off the thin client is imho a nice thing > to acomplish. > We would have to have a 2.6 ltsp kernel with working acpi[d] and power-button > acpi event configured. >> My custom kernel for the terminals has acpi compiled into the kernel and so >> are the button and fan options (compiled in, not modules). When the >> clients boots from my kernel it loads acpi and the client comes up and does >> its thing, but there is no way I know of to do a clean shutdown. When I >> want to turn off the PC I have to hold the power button for 5 seconds. >> What do I have to do to make the client shutdown when the power button is >> pressed. >> >> I realize that the script that controls the power down is in /proc/acpi/ >> but there is no acpi directory in /opt/ltsp/i386/proc. So I created a >> symbolic link to the acpi directory on the server (/proc/acpi) but then the >> ltsp client stopped booting. >> >> Any suggestions? >> >> Jason I remember having had some discussion with Jim about that shutdown problem. Must have been in October or so. At that time, I played a bit with the just-released KDE 3.1, and Jim started work on his ltspinfod. I seem to remember he implemented something like a SHUTDOWN command that allowed the server to selectively shutdown a single client machine. The intention behind this was that with a moddified :-) kdm one could use the shutdown button (which everyone uses to disable cause he does not want his users to shutdown the server) for shutting down the client machine that the request came from. A pity this is only possible - at least in 3.1 and older - with modified kdm source code. Anyway, this was in my opinion a desirable feature. I didn't follow that idea though as my main ltsp setup chose not to use kdm iirc, at least not KDE, for resource reasons. After all, they run 20 clients on a Duron 1200! Icewm seemed the better choice then. If there is some interest, I'll go and implement that in KDE 3.2 and publish the patch. Perhaps Jim can comment on how far he went in ltspinfod, so I don't need to dig the sources for it. This does not primarily have to do with power button pressing, but there's usually more than one way to do things. If you need just the machine to turn off after a *short* (not 4-sec) keypress, there often is a BIOS setting for this. I tend to set it to the "4-second" or "delayed" or whatever setting for my customers' machines as this disallows unwanted machine shutdowns ("I just wanted to remove the floppy and the machine went dead"). In your case (if your BIOS allows) change this setting and you can go without acpid probably. Regards, Anselm ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net
