top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

Disabling user switching in CentOS 6

0 votes
507 views

Installing CentOS 6 on a lab full of workstations, and I want to disable fast user switching. With CentOS 5, I simply made sure that the "user_switch_enabled" entry in /etc/gconf/schemas/gnome-screensaver.schemas was set to false. However, that doesn't work with CentOS 6.

I've found various proposed solutions to this issue, such as

gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory
--type bool --set "/apps/gnome-screensaver/user_switch_enabled" "false" gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory
--type bool --set "/desktop/gnome/lockdown/disable_user_switching" "true"

neither of which work, either. Does anyone know the proper way to disable user switching with CentOS 6?

posted Jul 8, 2013 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

There is an open Bugzilla case about this: - which doesn't seem to be going anywhere ...

We've applied the patch available from to the gnome-session SRPM - which works for us (with the above gconf settings)

answer Jul 8, 2013 by anonymous
Interestingly, I have just done the same thing, but the user switching is still enabled and functioning.
I've just 'downgraded' gnome-session to the default version - and now when I logout, I have a (working) 'Switch User' button on the 'Log out of this system now?' window

Upgrading to our modified gnome-session RPM and, after a reboot, that button is gone ...
Similar Questions
+2 votes

I tried to install CentOS 7 on a new system. It works.

However, I'm noticing small things:
1. system-config-network-tui is not installed and yum cannot find it. I realized for this -- nmtui
2. What about firewall? I can't seem to understand the replacement from system-config-firewall-tui

+1 vote

Can't get yumex or xfce on centos 6.4, any suggestions...

0 votes

I am trying to run a set of applications (which was build and run on CentOS 5 successfully) on CentOS 6.2 (x86_64). I can't find following packages

 fonts-chinese
 liberation-fonts
 freeradius2
 freeradius2-utils

Why are these packages not available in CentOS6? What are the replacement for these packages?

0 votes

I have a big performance problem with a mail server using dovecot and authenticating users via ldap.
The architecture of the machine is a local ldap and mysql server, they are used by dovecot for authenticating the mail users.

If i use pam_sss the mail server has about 1/8 - 1/10 the performances it has if i use the pam_ldap.
Even doing a 'time ls -l' on the mail tree (there are about 3000 ldap users in that directory) it is very very slow, the first time I try to do it after a reboot, it takes about 6 minutes with sssd, and about 8 seconds
with ldap.

Since I know sssd is recommended, anyone knows that there is anything in configuration I can try to increase the speed, avoiding me to use the old pam_ldap module?

0 votes

I have a CentOS 6 system, and I want to make several clones of it. I'm using Clonezilla to clone the drives; that's no problem. But the drive UUIDs are driving me up the wall. After cloning, the two drives have the same UUID, but I'd like each clone to have different UUIDs so there's no possibility of a conflict when I am running diagnostics with two drives installed, etc. But when I change the UUID of the /boot or / partition (even if I update /etc/fstab), the system won't boot; it GRUBs OK (after I use recovery mode to rerun grub-install), but never gets to the 'Welcome to CentOS " message. Do I need to "rebless" vmlinuz or initrd or initramfs in the /boot partition if I change the drive UUID?

Or should I just ignore UUID and go back to using labels in /etc/fstab (which is what I did in CentOS 5)?

...