You are not logged in.

#1 2023-03-23 11:33:32

pasturegliding
Member
Registered: 2022-03-24
Posts: 24

[SOLVED] Can't login to TTY1. Can't startx on TTY2.

I am unable to login to TTY1 as a user on a fresh install. I can login as root.
I can also login to other TTYs, but I can't use startx because "no screens found"

My journalctl when I started:
http://ix.io/4rBr

My journalctl after adding i915 parameters to grub (I had forgotten about that. It didn't help.):
http://ix.io/4rBz

My Xorg.0.log:
http://ix.io/4rBF

I don't see anything in the journal about an error in the login except for a nondescript "systemd-homed is not available"

I have searched here on the forums and found:
1. a similar issue that was marked solved years ago with no real explanation (something like, "systemd update solved it")
2. One from 2015 saying ncurses was to blame and to reinstall everything, but that user couldn't login as root, and I don't think that's my problem.

It just says "1 client rule loaded" then "session closed for user"

It worked right after installing, but it began failing after the first reboot.

Really at a loss on what to do next.

Last edited by pasturegliding (2023-03-23 14:46:54)

Offline

#2 2023-03-23 14:16:22

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

Re: [SOLVED] Can't login to TTY1. Can't startx on TTY2.

[   219.870] (II) LoadModule: "intel"
[   219.870] (WW) Warning, couldn't open module intel
[   219.870] (EE) Failed to load module "intel" (module does not exist, 0)
[   219.870] (EE) No drivers available.
[   219.870] (EE) 

because of

	Using the first device section listed.
[   219.864] (**) |   |-->Device "Intel Graphics"
grep -ri intel /{etc,usr/share}/X11/xorg.conf*

and get rid of that config.

Edit:

Mar 23 10:58:26 citric systemd[1]: Started Session 1 of User citric.
Mar 23 10:58:26 citric login[691]: LOGIN ON tty1 BY citric
Mar 23 10:58:26 citric acpid[651]: client connected from 770[1000:1000]
Mar 23 10:58:26 citric acpid[651]: 1 client rule loaded
Mar 23 10:58:26 citric login[691]: pam_unix(login:session): session closed for user citric
Mar 23 10:58:26 citric systemd[1]: getty@tty1.service: Deactivated successfully.
Mar 23 10:58:26 citric systemd-logind[654]: Session 1 logged out. Waiting for processes to exit.

You log in fine and then immeiately out.
I guess because your shell rc tries to run startx on that TTY, running into the Xorg error above.

Last edited by seth (2023-03-23 14:18:11)

Offline

#3 2023-03-23 14:43:49

pasturegliding
Member
Registered: 2022-03-24
Posts: 24

Re: [SOLVED] Can't login to TTY1. Can't startx on TTY2.

seth wrote:
[   219.870] (II) LoadModule: "intel"
[   219.870] (WW) Warning, couldn't open module intel
[   219.870] (EE) Failed to load module "intel" (module does not exist, 0)
[   219.870] (EE) No drivers available.
[   219.870] (EE) 

because of

	Using the first device section listed.
[   219.864] (**) |   |-->Device "Intel Graphics"
grep -ri intel /{etc,usr/share}/X11/xorg.conf*

and get rid of that config.

Edit:

Mar 23 10:58:26 citric systemd[1]: Started Session 1 of User citric.
Mar 23 10:58:26 citric login[691]: LOGIN ON tty1 BY citric
Mar 23 10:58:26 citric acpid[651]: client connected from 770[1000:1000]
Mar 23 10:58:26 citric acpid[651]: 1 client rule loaded
Mar 23 10:58:26 citric login[691]: pam_unix(login:session): session closed for user citric
Mar 23 10:58:26 citric systemd[1]: getty@tty1.service: Deactivated successfully.
Mar 23 10:58:26 citric systemd-logind[654]: Session 1 logged out. Waiting for processes to exit.

You log in fine and then immeiately out.
I guess because your shell rc tries to run startx on that TTY, running into the Xorg error above.

*Facepalm*
Totally forgot I made that conf file.
That solved it. Thank you.

Offline

Board footer

Powered by FluxBB