You are not logged in.

#1 2019-04-18 09:36:19

bdr
Member
Registered: 2019-04-18
Posts: 5

[SOLVED] boot freeze at "reached target graphical interface"

I'm trying to install arch + i3 on a lenovo S130.
I've installed archlinux with an encrypted root partition and using direct EFI boot (without GRUB).
* https://wiki.archlinux.org/index.php/Dm … _partition
* https://wiki.archlinux.org/index.php/EFISTUB
First problem, the keyboard in EN layout (I am french).
How to configure that ? I've already added 'keymap' in mkinitcpio hooks.

Then I have a problem with graphical environnement.
I don't use any display manager :
* https://wiki.archlinux.org/index.php/Xi … X_at_login
I configure my bash_profile and initrc to start graphical environement and i3.
But when I boot, the system hang at : "Reached target Graphical Interface"
If I manually log in Maj+Alt+F2 and run startx, the graphical environement works.
But the first console stay frozen. I don't manage to find out what's going on. Can someone help ?

Last edited by bdr (2019-04-23 09:19:55)

Offline

#2 2019-04-18 09:45:33

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: [SOLVED] boot freeze at "reached target graphical interface"

But when I boot, the system hang at : "Reached target Graphical Interface"
If I manually log in Maj+Alt+F2 and run startx, the graphical environement works.
But the first console stay frozen. I don't manage to find out what's going on. Can someone help ?

Usually that means something is starting X incorrectly .
You could try to find it, but if you don't need a display manager there's a simple solution/workaround  :

switch to multi-user.target as default target so systemd will NOT start the graphical environment.
see https://wiki.archlinux.org/index.php/Sy … _boot_into .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2019-04-18 09:47:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,659

Re: [SOLVED] boot freeze at "reached target graphical interface"

Post your mkinitcpio.conf in [ code ] tags. Did you also add /etc/vconsole.conf to your FILES arraay?

Offline

#4 2019-04-18 09:57:27

mmdamin
Member
From: Iran
Registered: 2019-02-19
Posts: 205
Website

Re: [SOLVED] boot freeze at "reached target graphical interface"

if you want set keymap for X11, you should use xkbd.

Offline

#5 2019-04-18 10:28:41

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED] boot freeze at "reached target graphical interface"

bdr wrote:

First problem, the keyboard in EN layout (I am french).
How to configure that ?

https://wiki.archlinux.org/index.php/In … calization

Or use localectl(1).

Offline

#6 2019-04-18 13:16:59

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] boot freeze at "reached target graphical interface"

Moving to Newbie Corner.

Offline

#7 2019-04-18 15:44:20

bdr
Member
Registered: 2019-04-18
Posts: 5

Re: [SOLVED] boot freeze at "reached target graphical interface"

I tried to change to boot to multi-user.target without success. The system freeze at : Reached target multi-user

Yes I added KEYMAP=fr-latin1 when installing arch. The problem with keymap is only at boot (when decrypting root part from initramfs).

Last edited by bdr (2019-04-18 15:48:57)

Offline

#8 2019-04-18 15:46:42

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,659

Re: [SOLVED] boot freeze at "reached target graphical interface"

V1del wrote:

Post your mkinitcpio.conf in [ code ] tags. Did you also add /etc/vconsole.conf to your FILES array?

^

When this freeze happens, does it unfreeze if you start to randomly press buttons?

Offline

#9 2019-04-18 15:50:18

bdr
Member
Registered: 2019-04-18
Posts: 5

Re: [SOLVED] boot freeze at "reached target graphical interface"

No, I can't do anything except CTRL+Alt+Del to shutdown

Offline

#10 2019-04-18 16:21:20

mmdamin
Member
From: Iran
Registered: 2019-02-19
Posts: 205
Website

Re: [SOLVED] boot freeze at "reached target graphical interface"

try 'systemctl enable getty'

Offline

#11 2019-04-18 16:32:50

seth
Member
Registered: 2012-09-03
Posts: 51,029

Re: [SOLVED] boot freeze at "reached target graphical interface"

From your OP it sounds as if you were engaging in some sort of autologin mechanism.
If this is the case, please confirm, describe and post all relevant config files, notably your entire bashrc.

Offline

#12 2019-04-18 16:34:23

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED] boot freeze at "reached target graphical interface"

mmdamin wrote:

try 'systemctl enable getty'

The (a)getty unit files are instances so the OP would have to use

# systemctl enable --now getty@tty1

But it should already be enabled hmm

bdr wrote:

I can't do anything except CTRL+Alt+Del to shutdown

Can you not switch to another TTY?

Offline

#13 2019-04-18 16:41:49

mmdamin
Member
From: Iran
Registered: 2019-02-19
Posts: 205
Website

Re: [SOLVED] boot freeze at "reached target graphical interface"

Head_on_a_Stick wrote:
mmdamin wrote:

try 'systemctl enable getty'

The (a)getty unit files are instances so the OP would have to use

# systemctl enable --now getty@tty1

But it should already be enabled hmm

I didn't know, thanks.
After reaching multiuser target getty should be started then asking login name, if it's not started means it's either disabled or failed.

Offline

#14 2019-04-18 17:01:25

bdr
Member
Registered: 2019-04-18
Posts: 5

Re: [SOLVED] boot freeze at "reached target graphical interface"

Yes, i can switch to another tty.
status: of getty@tty1 tell it's loaded inactive (dead)
enable: tell it already exists
restart: unfreeze the first tty

Offline

#15 2019-04-18 17:06:09

mmdamin
Member
From: Iran
Registered: 2019-02-19
Posts: 205
Website

Re: [SOLVED] boot freeze at "reached target graphical interface"

there should be errors on the bottom of systemctl status.
please send it and also check what is in /etc/systemd/user/multi-user.target/ or /etc/systemd/system/multi-user.target/
as @seth said may you have configured some autologin.

Offline

#16 2019-04-18 17:09:18

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: [SOLVED] boot freeze at "reached target graphical interface"

bdr wrote:

status: of getty@tty1 tell it's loaded inactive (dead)

Investigate using the journal:

journalctl -u getty@tty1

And also answer seth's questions please.

Offline

#17 2019-04-23 09:19:25

bdr
Member
Registered: 2019-04-18
Posts: 5

Re: [SOLVED] boot freeze at "reached target graphical interface"

Hi,

Thanks all for the help. The problem was in getty@tty1.service.
I restore the initial config file and modify it again. Now everything works perfectly.

Offline

#18 2019-04-23 10:13:40

mmdamin
Member
From: Iran
Registered: 2019-02-19
Posts: 205
Website

Re: [SOLVED] boot freeze at "reached target graphical interface"

Another Note: When getty@tty1 is running, if I start lightdm (min-vt is 7) it will kill getty@tty1 and I get same loaded inactive dead status.

Offline

Board footer

Powered by FluxBB