You are not logged in.
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
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
Post your mkinitcpio.conf in [ code ] tags. Did you also add /etc/vconsole.conf to your FILES arraay?
Offline
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
Moving to Newbie Corner.
Offline
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
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
No, I can't do anything except CTRL+Alt+Del to shutdown
Offline
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
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
I can't do anything except CTRL+Alt+Del to shutdown
Can you not switch to another TTY?
Offline
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
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
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
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
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
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