[SOLVED]First virtual console is "occupied"

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
pythagorasmk
Posts: 148
Joined: 2015-01-18 03:40
Been thanked: 2 times

[SOLVED]First virtual console is "occupied"

#1 Post by pythagorasmk »

After installing Debian 11, first virtual console is "occupied" by messages from the kernel and I cannot use it to logon to the system.
On Debian 10 this was different, after booting process, the virtual console was freed.
Can I do something about it, or this is the "natural" behavior of the Debian 11?
Last edited by pythagorasmk on 2021-11-10 04:35, edited 1 time in total.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: First virtual console is "occupied"

#2 Post by kedaha »

I'm using sddm and noticed that tty1 was "occupied" as you say. Assuming you're using sddm, to quote bugreport.cgi?bug=953328
This seems to be caused by entries in /lib/systemd/system/sddm.service

Changing:

Code: Select all

   Conflicts=getty@tty1.service getty@tty7.service
   After=getty@tty1.service getty@tty7.service
back to [as per the previous version]:

Code: Select all

   Conflicts=getty@tty7.service
   After=getty@tty7.service
fixes the problem.
So I commented the two entries and added the above two lines and and tty1 is back to normal.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

pythagorasmk
Posts: 148
Joined: 2015-01-18 03:40
Been thanked: 2 times

Re: First virtual console is "occupied"

#3 Post by pythagorasmk »

Replacing the two lines, indeed solved the problem.
Thanks man.

User avatar
sunrat
Site admin
Site admin
Posts: 7504
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 135 times
Been thanked: 678 times

Re: First virtual console is "occupied"

#4 Post by sunrat »

Please edit the title of your first post to add [SOLVED] so it may help others with the same issue.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Post Reply