You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Saturday, July 15th 2006, 11:59pm

Remove "Switch User" from Kmenu... is possible?

I would like to remove the Switch User menu from Kmenu.



Is it possible? Remove completely, forever.. not for control/kiosk pourposes!

bram85

Professional

Posts: 948

Location: Eindhoven

Occupation: Software Engineer

  • Send private message

2

Thursday, July 20th 2006, 5:37pm

RE: Remove "Switch User" from Kmenu... is possible?

I'm not really sure since I haven't tested it, but you could change the line in $KDEDIR/share/config/kdmrc from

Source code

1
ReserveServers=:1,:2,:3
to

Source code

1
ReserveServers=:1
Bram Schoenmakers
KDE Netherlands (www.kde.nl)

3

Friday, March 9th 2007, 10:37pm

didn't works ?(

4

Sunday, March 11th 2007, 11:16pm

I ask for developer help, please Is there a way to remove "Switch User" entry from Kmenu?

5

Monday, March 12th 2007, 10:45am

this is a user forum, not a developer forum :)

You can't remove switch user from the menu, but you can disable it.

Change the line bram mentioned into this:

Source code

1
ReserveServers=:0


or this:

Source code

1
ReserveServers=



that way only one X-server can be started, and that is the current one.
Help mee om KDE 3.5.5 in het Nederlands te vertalen

This post has been edited 1 times, last edit by "Rinse" (Mar 12th 2007, 10:46am)


6

Tuesday, March 27th 2007, 7:32pm

Well, I found 2 solutions for this:

1. In Kubuntu, choose the recovery option you will be logged as root and start the KDE with startx command. The Switch User is not shown at Kmenu.

2. Get a distro shipping with KDE 3.3: Debian Sarge, CentOS or Linspire/Freespire.

7

Tuesday, March 27th 2007, 8:09pm

see my comment at
Remove Switch User From K Menu

the reason kmenu does not show the option is because kdm needs to be running for that.
and kdm does not run in a non grafical runlevel.

you can also replace kdm with another display manager, like xdm or another..
if you choose an alternative display manager that does not support multiple sessions of kde, then the option will dissapear as well.
Help mee om KDE 3.5.5 in het Nederlands te vertalen