Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Auto login on virtual console not working

Featured Replies

Hello,

 

I have been trying to get a user to automatically log in onto one of the virtual consoles and everything I try seems to fail.

 

1. I crested the device with 'systemctl edit getty@tty2'

2. The resulting '/etc/systemd/system/getty@tty1.service.d/overide.conf' file has 

    ExecStart=/sbin/agetty --autologin root tty1 38400 linux

3. systemctl daemon-reload

4. systemctl enable getty@tty1

5. systemctl start getty@tty1

6. systemctl status getty@tty1

 

Output:

● getty@tty1.service - Getty on tty1
   Loaded: loaded (/lib/systemd/system/getty@.service; enabled; vendor preset: e
  Drop-In: /lib/systemd/system/getty@tty1.service.d
           └─10-noclear.conf
        /etc/systemd/system/getty@tty1.service.d
           └─override.conf
   Active: active (running) since Thu 2018-11-15 09:23:59 UTC; 1min 11s ago
     Docs: man:agetty(8)
           man:systemd-getty-generator(8)
          http://0pointer.de/blog/projects/serial-console.html
 Main PID: 5795 (agetty)
    Tasks: 1 (limit: 4915)
   CGroup: /system.slice/system-getty.slice/getty@tty1.service
           └─5795 /sbin/agetty --noclear tty1 linux

 

And then nothing happens, I get a login prompt on all the first 6 consoles and  it makes no difference which tty I use I just cannot get a user to autologin on one of the consoles.

 

I have seen this error: Nov 15 09:32:40 dlogger systemd[1]: [/etc/systemd/system/getty@tty1.service.d/override.conf:1] Assignment outside of section. Ignoring.

 

What have i done wrong or missed out?

 

Thank you,

 

Rick

  

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.