How to enable "switch user" in Gnome on CentOS 5

published Mar 12, 2008 11:53   by admin ( last modified Mar 12, 2008 11:53 )

At my work I have reasonably fast Linux workstation running CentOS 5. It also has a good 24" screen.  I prefer not to switch it off between work sessions and sometimes one of the other guys would like to run his stuff on my machine.

 

Problem is I am logged in and the screen is locked with my password. My colleague is running Ubuntu and he has a nifty "switch user" option on the menu.

Now I have figured out how to get the same functionality in CentOS 5. You need to follow these steps.

Install the Gnome configuration editor. Start "Add/Remove Software" from the "Applications" menu

MWSnap143 2008-03-12, 22_58_02.png

 

and search for "gconf".

 

MWSnap144 2008-03-12, 22_59_45.png

 

Select gconf-editor and apply.

 

Then start gconf-editor from the command line:

gconf-editor&

 

Select "Find" from the "edit" menu:

MWSnap147 2008-03-12, 23_01_54.png

Search for "user_switch" and rember to also search in keys:

MWSnap148 2008-03-12, 23_02_55.png

find the key user_switch_enabled in the top right pane and tick its value:

 MWSnap149 2008-03-12, 23_03_41.png

Close the editor (there is no save button or command).

Now select Lock Screen" from the "System" menu.

MWSnap150 2008-03-12, 23_04_21.png

The password box will now have a "Switch User" button! remember that the user you're switching to must also have his settings changed as above to get a "Switch User" button from his or her account.