View previous topic :: View next topic |
Author |
Message |
sixtysixtysix Tux's lil' helper
Joined: 28 Jun 2021 Posts: 86
|
Posted: Tue Jul 13, 2021 6:31 pm Post subject: Successful auto login via X, but now I have warning messages |
|
|
Hi all,
Like many (I imagine) I abandoned display managers after too much messing about for no real gain, and now just log in from tty1 once I boot.
I've searched for and used information that would 'auto' log in i.e. I would not need to keep tying stuff just to boot to the desktop.
I used the following suggestions to get past the password barrier: Code: | /etc/login.defs
NO_PASSWORD_CONSOLE tty1 | followed by Code: | /etc/inittab
c1:12345:respawn:/sbin/agetty --noclear --autologin <user> 38400 tty1 linux |
Works great, except that now, when I'm using terminal, if I'm required to input a password for anything, I get the following warning message Code: | ~$
Password:
configuration error - unknown item 'NO_PASSWORD_CONSOLE' (notify administrator)
|
Logging in works as expected but now the above message, which is annoying and intrusive. Please note that in the second code above, the entries --noclear and linux were there by default, I merely added the login stuff further to search results.
Is there any way to suppress it, or should I be using some other method? I accept that the code I'm using came via the Ubuntu website. |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
sixtysixtysix Tux's lil' helper
Joined: 28 Jun 2021 Posts: 86
|
Posted: Tue Jul 13, 2021 10:23 pm Post subject: |
|
|
Thank you!
So simple. Also very helpful. Worked like a charm (of course). Marvellous |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|