You are not logged in.
So, I began installing Arch Linux and Plasma yesterday and have had nothing but issues. Trudging through everything, I finally got to the point where I could boot into Plasma using the Start X at login
Now, the process hangs and just shows this screen:
In order to boot, I have to Alt+F2 and login with my account, then it automatically boots into Plasma. The login screen for sddm almost never appears.
However, now the desktop environment is glitched to Hell. The window decorations are just these green rectangles that don't disappear when the window is closed: (that green box to the left of the settings window is what is left when i close the konsole window)
When I double click on that little green box, it reopens the window that I just closed??
When I open a window it shows this weird grid:
And I have to click just to get the damn thing to render.
The global theme doesn't do anything, its stuck on oxygen.
Basically, I'm all out of ideas. I've tried everything from other forum answers and literally nothing has worked. Is Plasma corrupted or something?
Its worth noting, every so often the computer will skip the screen (first image) and go directly to the login screen for sddm. When this happens, Plasma begins to work perfectly fine. However, when I reboot/shut down the system it goes back to hanging at the first screen and then glitching out.
If anyone knows what to do I'm all ears, I am completely stumped.
Last edited by geniye (2019-10-17 23:40:21)
Offline
Welcome to the arch linux forums geniye. sddm is enabled but fails then you change to another terminal, login and execute startx?
Please post the journal for such a boot. Please also post the journal from when sddm succeeds.
Please also post the contents of any X configuration files you have created and the output of
lspci | grep -e VGA -e 3D
Offline
First, thank you so much for getting back to me!
I issued the command you requested and got this in return:
lspci | grep -e VGA -e 3D
00:02.0 VGA compatible controller: Intel Corporation UHD Graphics 620 (rev 07)
As for the rest, yes I added this code to the ~/.bash_profile:
if [[ -z $DISPLAY ]]; then
exec startx
fi
This allowed my machine to, supposedly boot directly into the Login GUI, however it sticks me at that first screen.
As for the journal part, I am sorry but I am very new to the journal command and this forum so I don't know how to do that, could you tell me? Specifically, how to get the journal/what to specifically search for/how to paste it into a reply here.
Thank you
Offline
The tip box from pastebin covers posting a file from the console. The # at the start of the command indicates it should be run with root privileges.
# journalctl -b | curl -F 'f:1=<-' ix.io
Or you can copy it from the console and paste it in a post. The --no-pager option stops the output being passed to a pager that could truncate lines.
journalctl --no-pager -b
Please also post the contents of ~/.xinitrc and Xorg.n.log which will be in either ~/.local/share/xorg/ or /var/log/
Offline
Sorry, just realized I forgot to post the config files I have as well. The only config file for Xorg that I manipulated was xinitrc which has:
#!bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login &
exec startplasma-x11
Apologies if any of it is mistyped, I have to use another computer to make this post and im not sure if there is any way to do it any other way.
The only thing I have altered from the config was that I added "exec startplasma-x11" to the bottom, as per the wiki.
If you need any other configs, let me know
Thank you
Last edited by geniye (2019-10-17 19:45:54)
Offline
exec xterm -geometry 80x66+0+0 -name login &
exec startplasma-x11
Remember that lines following a command using exec would be ignored.
Offline
Ok, so should I delete the exec startplasma-x11 line?
Also I ran the journalctl command you posted and it ran successfully, however I'm unsure of how to post it to this reply still. Sorry, I have never used pastebin before. How do I get the output from that command into this reply?
Offline
twm &
You are also starting (and backgrounding) another window manager first...
Offline
Oh my god, that was it. I can't believe literally a day was taken up over a single line! The windows have returned to normal and Plasma is acting correctly now however I still am not booting into the graphical login GUI?
Offline
# journalctl -b | curl -F 'f:1=<-' ix.io
Would generate a link you post.
Offline
Sorry, for some reason it didn't generate a link the first time. Perhaps I mistyped the command?
Here it is:
Journal
Offline
Hold on, do you know why it output that? I don't think that was right, the journalctl command shows me all the logs from my terminal?
Offline
Terribly sorry, it worked this time:
Offline
hmm the contents of that link is
hevvcclvcxvxcvxcvxvxlo
which is nothing the journal should be producing. Lets try the other way
# journalctl --no-pager -b
then copy the output.
Edit:
Ah cross post I see the journal now
Edit2:
What is the status of sddm?
systemctl status sddm.service
Also the contents of /var/log/Xorg.0.log
Last edited by loqs (2019-10-17 20:10:43)
Offline
I posted the correct link, not entirely sure why it did that the first time:
Offline
It says that sddm is active (running) and I completely forgot about Xorg.0.log, here it is:
Offline
That log looks to be from when you ran:
# Xorg :0 -configure
Is there a more recent Xorg.0.log in ~/.local/share/xorg/ ?
Xorg.1.log should be the log from when you run startx.
Offline
Ah, I didn't even realize there was a difference! Here is the latest log:
Offline
That also looks to be from startx. The output of the following please
ps aux | grep -e X -e sddm
Offline
Here it is:
Offline
I just attempted to remove the 'exec startplasma-x11' line from the bottom of the xinitrc file and place it like so:
...
startplasma-x11 &
exec xterm -geometry 80x66+0+0 -name login &
However, when I did so it made it impossible to access the desktop environment as my user account, so I had to login as root and change it back and now it is back to working.
Did I place the exec call incorrectly? Why would it have crashed the entire system?
Offline
Update: Tried it the other way like this:
...
xterm -geometry 80x66+0+0 -name login &
exec startplasma-x11
However, it merely reproduced the same results: it got stuck at the first image once again and I had to Alt+F4 into the terminal, login, and then it opened Plasma.
Offline
Stop backgrounding random applications. Just exec plasma and when you get that working properly you can experiment.
Offline
I see what you mean, but plasma is working properly now, however my issue is that the login GUI isn't appearing, I have to login via the main terminal (refer back to first image of the first post of this thread).
Offline
Well, xinitrc is irrelevant in that case. Read your journal for the display manager entries.
Also, read the wiki page on display mangers carefully. This is likely to be another misconfiguration issue.
Actually, this is now a separate topic. Mark this as solved and, after doing some research and debugging, open another of it still doesn't work.
Last edited by jasonwryan (2019-10-17 22:55:10)
Offline