TTY1 bis 6 reparieren

Post Reply
Message
Author
Andreas 1967
Posts: 152
Joined: 18. May 2013 5:01

TTY1 bis 6 reparieren

#1 Post by Andreas 1967 »

Hallo.
Bei mir Ubuntu 14.04.1 (64 Bit) funktionieren die TTY 1 bis TTY 6 Konsolen nicht.
Kann man das irgendwie reparieren oder kontrollieren?

Andreas 1967
Posts: 152
Joined: 18. May 2013 5:01

#2 Post by Andreas 1967 »

Kann oder muss man die Runlevel kontrollieren oder reparieren? Und wenn ja wie?

hhmmm

früher

#3 Post by hhmmm »

Früher ... wurde das in der /etc/inittab definiert.
Wie das nun mit dem neumodischen Zeugs ist, wer hat zeit sich jedesmal umzuorientieren?

Andreas 1967
Posts: 152
Joined: 18. May 2013 5:01

keine /etc/inittab ??

#4 Post by Andreas 1967 »

Bei mir hier Ubuntu 14.04.1 (64 Bit) habe ich keine /etc/inittab ??

User avatar
Janka
Posts: 3585
Joined: 11. Feb 2006 19:10

#5 Post by Janka »

In der Inittab steht das nur, wenn die Distribution SystemV-Sysinit benutzt.

Ubuntu benutzt aber üblicherweise Upstart, da werden die Getty-Logins in /etc/init/ttyN.conf mit N von 1 bis 6 konfiguriert

Wird Systemd benutzt (andere Distributionen), konfiguriert man es in /etc/systemd/logind.conf. man 5 logind.conf

Janka
Ich vertonne Spam immer in /dev/dsp statt /dev/null.
Ich mag die Schreie.

Andreas 1967
Posts: 152
Joined: 18. May 2013 5:01

#6 Post by Andreas 1967 »

Das folgende ist '/etc/init/tty1.conf'

Code: Select all

# 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
exec /sbin/getty -8 38400 tty1
Ist das so richtig??

User avatar
Janka
Posts: 3585
Joined: 11. Feb 2006 19:10

#7 Post by Janka »

Sieht nicht falsch aus. Was sagt

Code: Select all

# initctl list
Siehe auch http://upstart.ubuntu.com/getting-started.html, Abschnitt "Job Control".

Janka
Ich vertonne Spam immer in /dev/dsp statt /dev/null.
Ich mag die Schreie.

Andreas 1967
Posts: 152
Joined: 18. May 2013 5:01

Error 404

#8 Post by Andreas 1967 »

Leider funktioniert der link nicht.
Siehe auch http://upstart.ubuntu.com/getting-started.html, Abschnitt "Job Control".
Not Found

The requested URL /getting-started.html, was not found on this server.
Apache/2.2.22 (Ubuntu) Server at upstart.ubuntu.com Port 80

sojasau
Posts: 68
Joined: 30. Oct 2012 18:20
Location: umme Ecke

#9 Post by sojasau »

Nachdem Du den Link in dem Browser kopiert hast, lösche das , hinter .html
Dann funktioniert es.
Greetz
sojasau

Andreas 1967
Posts: 152
Joined: 18. May 2013 5:01

#10 Post by Andreas 1967 »

Ja sojasau du hattest recht das
,
war zu viel.

Post Reply