There might be more than one section that you have to change in your kdmrc file.
Here are the different sections that might be in your kmdrc file: The section that says X-:0-Core maps to the X connection number 0. The section that says X-:*-Core maps for all X connections from the local machine. If you have a section that says X-*-Core, this maps to all X connections from all machines. You may have sections starting with something like X-ws001: instead of X-:, these map to the X connections only from that device, in this case the client named ws001. The settings with the smallest scope overide the settings with a larger scope. The lines you modified below would modify shutdown for all the sessions from your local machine, ie, your LTSP server. If you want to shut it down for all clients, add the AllowShutDown settings to your X-*-Core section to turn it off then add a setting to turn it on in your X-:*-Core section. What I do with my home network is to allow root to always do a shutdown and enable root to log on from anywhere (note that this could be a security problem). So I have the following in my kdmrc file: [X-*-Core] AllowRootLogin=true AllowShutDown=Root But since my server is locked up, anyone that logs locally onto it should be able to shut it down, so I also have this: [X-:*-Core] AllowShutDown=All If you want to do the same thing for the logon screen, just replace "Core" with "Greeter". Hope this helps, Darryl ----- Original Message ----- From: "Remi BERNHARD" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, November 04, 2002 9:38 AM Subject: Re: [Ltsp-discuss] Disable Server X shutdown from the client > Jim, > > I found in the /usr/share/config/kdm/kdmrc two sections : > [X-:*-Core] > AllowShutDown=All > ... > [X-:*-Greeter] > AllowShutDown=All > ... > I changed the "All" by "false" but nothing else appens. > I would like to forbid the "shutdown computer" within the gnome session, > and the "shutdown" within the login window (before entering gnome or Kde). > > Regards, > Remi. > > > > >Remi, > > > >If you are running Mandrake, then most likely you are also > >using kdm. So, find your kdmrc file. Within that file > >is a line that enables/disables shutdown. It should contain > >enough comments to make it obvious how to do it. > > > >Jim McQuillan > >[EMAIL PROTECTED] > > > > > >On Mon, 4 Nov 2002, Remi BERNHARD wrote: > > > > > Hello, > > > > > > I have an LTSP server running on a mandrake 8.2 upgraded -> 9.0. Currently > > > all my clients are able to shutdown the server, wich is a little annoying > > > ... ;) > > > Does anyone know how to forbid server power shutdown from the client, > > please ? > > > > > > Regards, > > > Remi. ------------------------------------------------------- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com _____________________________________________________________________ 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.openprojects.net