Skip to main content
Topic: Error can't get to the login screen and so can't get to xfce env (Read 1123 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Error can't get to the login screen and so can't get to xfce env

Yesterday I installed artix linux on my machine everything was working well on it then today I booted my pc but artix should pop up the login but instead it shows this :
alpha-satellitec870192 login: starting up with netlink and input layer
1 rule loaded
waiting for events: event logging is off
Then when I hit enter I ask me for the login I put my username and then the password and then I get to a normal bash
I tried running startx manually but here is the output :
A LOT OF TEXT AND THEN
waiting for X server to shut down (2) Server terminated successfully (0). Closing log file.m: line 53: xterm :command not found
I don't think that xterm is the problem since artix was running ok back when this problem didn't show up
Any help to get around this ??

Re: Error can't get to the login screen and so can't get to xfce env

Reply #1
https://forum.artixlinux.org/index.php/topic,3523.msg22801.html#msg22801

Addendum to that post: if you don't have any of the programs: twm, xclock, xterm, then X exits. Solution: edit your ~/.xinitrc to execute some existing X program following the wiki page: https://wiki.archlinux.org/title/Xinit#Configuration

Update: Since you said you are usually using XFCE, you can also use this wiki page: https://wiki.archlinux.org/title/Xfce#Starting (exec startxfce4 part).

If you want to automatically run X set up in this way at login, see https://wiki.archlinux.org/title/Xinit#Autostart_X_at_login

If you want to start your DM instead, please provide relevant logs (use https://paste.artixlinux.org). Above all else, Xorg.0.log and your DM's log (/var/log/sddm.log or /var/log/lightdm.log or similar).

Re: Error can't get to the login screen and so can't get to xfce env

Reply #2
Hmm there is no .xinitrc under my home dir

Re: Error can't get to the login screen and so can't get to xfce env

Reply #3
Well I'll just use the xinitrc in etc

Re: Error can't get to the login screen and so can't get to xfce env

Reply #4
Hmm there is no .xinitrc under my home dir
Well I'll just use the xinitrc in etc
You know you can
Code: [Select]
$ cp /etc/X11/xinit/xinitrc ~/.xinitrc
and then edit/comment out the lines containing programs you don't have or need, right?

Re: Error can't get to the login screen and so can't get to xfce env

Reply #5
Well I tried to use the exec startxfce4 but when I run startx it shows that an error about libffi.so
7

Re: Error can't get to the login screen and so can't get to xfce env

Reply #6
If you want to start your DM instead, please provide relevant logs (use https://paste.artixlinux.org). Above all else, Xorg.0.log and your DM's log (/var/log/sddm.log or /var/log/lightdm.log or similar).