|
OpenBSD Installation and Upgrading Installing and upgrading OpenBSD. |
|
Thread Tools | Display Modes |
|
|||
hide ALL users from gnome login screen
I prefer gnome not display user names. How do I configure gnome so I have to manually enter user name and pw?
|
|
|||
Quote:
From the above link, I tried the greeter string ((Exclude=user1,user2)(under the empty [greeter] section )) in /etc/gdm/custom.conf and it did not work for me. note: I tried adding "nobody" after the users, as mentioned in the above instructions, and it still did not work. further down the post, it's mentioned by several users, that it no longer works in gnome 3.x, although some say that it should work. however in the gnome configuration page the instructions are the same as above (modifying the /etc/gdm/custom.conf file) with the following added. Quote:
The above may be workable if I knew how to enter that list, plus the additional user names I want to keep out of the login screen. Another solution was to create a file called the 'actual user name' and stick in /var/lib/AccountsService/users and add the following to it. Code:
[User] Language= XSession=gnome SystemAccount=true I posted this question in ubuntuforums since they have a lot of gnome users, and I was basically referred to similar posts. I joined several gnome irc relay chats to no avail. Here is what worked: I logged in as root. I then changed the uid of the user I wanted to hide from the login in screen to 999 using Code:
usermod -u 999 user Then I logged in as root again, returned the uid of that user to the original (1000 or above) and rebooted. That user no longer shows up on the login screen, and it has an uid of 1000 or higher. I have done this with 2 users and confirmed their uid are 1000 or above with userinfo. There must be a default static file gnome uses to keep track of uids below 1000. It seems, once uids go below 1000, they can't be set above 1000, probably, for security reasons, and why the above solution works. How can I find this file, so I can edit it directly? Last edited by jjstorm; 10th March 2016 at 11:49 PM. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gnome Installation Login Error | Peter_APIIT | OpenBSD Packages and Ports | 7 | 2nd September 2015 08:41 AM |
Gnome 3.8 + OpenBSD 5.4 - error on login (GDM) | harishankar | OpenBSD Packages and Ports | 10 | 7th December 2013 05:42 PM |
Why does the screen shift right ? | sw2wolf | OpenBSD General | 1 | 30th March 2012 03:56 AM |
screen casting via v4l | ddekok | Other BSD and UNIX/UNIX-like | 2 | 17th July 2008 03:27 PM |
How to take a screen in xfce? | aleunix | OpenBSD Packages and Ports | 23 | 4th June 2008 02:54 PM |