Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Auto login terminal
Thank you for your donation

Thread Closed 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Auto login terminal
22nd Mar, 2020, 04:55 AM
Post: #1
joehc Offline
Registered
Posts: 15
Joined: Jul 2016
Reputation: 0
Auto login terminal
Hello

Can someone help me in guiding me to enable auto login at terminal at startup?

I have a script I would like to run when pressing a key, but the key bindings are only triggered at the terminal aften login.

I cant seem to find anything related to auto login at xbian-config

Thx
Find all posts by this user
28th Mar, 2020, 12:16 AM
Post: #2
Nachteule Offline
Administrator
******
Posts: 2,405
Joined: Dec 2014
Reputation: 122
RE: Auto login terminal
Usually Kodi is running in the foreground, so autologin does not make sense in this case.

Anyway, you can to this by editing /etc/init/tty1.conf in following way


Code:
# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.

start on stopped rc RUNLEVEL=[2345] and (
            not-container or
            container CONTAINER=lxc or
            container CONTAINER=lxc-libvirt)

stop on runlevel [!2345]

respawn
#
# Modifications for autologin of user xbian
#
#exec /sbin/getty -8 38400 tty1
exec /sbin/getty --autologin xbian -8 38400 tty1
Find all posts by this user
9th Apr, 2020, 04:31 AM
Post: #3
joehc Offline
Registered
Posts: 15
Joined: Jul 2016
Reputation: 0
RE: Auto login terminal
(28th Mar, 2020 12:16 AM)Nachteule Wrote:  Usually Kodi is running in the foreground, so autologin does not make sense in this case.

Anyway, you can to this by editing /etc/init/tty1.conf in following way


Code:
# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.

start on stopped rc RUNLEVEL=[2345] and (
            not-container or
            container CONTAINER=lxc or
            container CONTAINER=lxc-libvirt)

stop on runlevel [!2345]

respawn
#
# Modifications for autologin of user xbian
#
#exec /sbin/getty -8 38400 tty1
exec /sbin/getty --autologin xbian -8 38400 tty1

Thx!
Find all posts by this user
30th Aug, 2021, 05:26 PM
Post: #4
AshleyBaudin Offline
Banned
Posts: 1
Joined: Aug 2021
RE: Auto login terminal
Auto login are have some of the recommended version forum on this that have some of affection among this. I need to have some of the formats that was on the essayontime this was the company that have all professionals on it that are making some aspects part among all of this.
Find all posts by this user
« Next Oldest | Next Newest »
Thread Closed 


  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 13th May, 2025, 12:27 PM Powered By MyBB, © 2002-2025 MyBB Group.