Arch installation works, but no GUI
I am toying with the idea of moving my main workflow from Opensuse 15.4 which has started showing signs of aging. This was installed at least 4-5 years back and the accumulated tools, git installs etc are now slowly stagnating the system.
So, I thought of vanilla Arch and then installing the specific packages to set up the environment etc. I am following tutorials from the official arch wiki and two more, https://www.learnlinux.tv/arch-linux...llation-guide/ and https://www.freecodecamp.org/news/ho...ll-arch-linux/ I managed to set up uefi multi boot (arch, Opensuse and win10) after a few stutters, I can boot into arch, but a graphical login (w/ KDE plasma, Wayland/xorg and sddm) is not possible. The graphical prompt, upon taking my user password, slowly going into black screen w/nothing kind of an unresponsive state and then reboots after a while. I can however open a console and work in multi-user mode instead of graphical mode (ssh from outside works too) if I don't use the graphical terminal. I do not see a traditional /var/log/messages but "journalctl -xe" has no errors. I don't see anything in the dmesg either. Can you please help me identify and troubleshoot the GUI woes ? Is there an error log about kde session that gets saved somewhere ? Edited to add: I have already installed nvidia drivers (rtx 3060), xorg, sddm etc, just as stated in the user guides I referenced. They are same or similar to what the arch wiki suggests. |
How did you start xorg?
Did you start sddm using the daemon? systemctl start sddm Quote:
|
Take a look at journalctl. You can narrow the results more accurately. https://wiki.archlinux.org/title/Systemd/Journal
|
Quote:
Yes, after a while the machine reboots. I'll update with a more specific value later. |
Quote:
|
Quote:
Can you launch a graphical environment without a display manager? With startx https://wiki.archlinux.org/title/Xinit https://wiki.archlinux.org/title/Systemd/Journal https://wiki.archlinux.org/title/SDDM https://wiki.archlinux.org/title/KDE https://wiki.archlinux.org/title/PKGBUILD https://wiki.archlinux.org/title/Makepkg https://wiki.archlinux.org/title/Arch_Build_System https://wiki.archlinux.org/title/Pacman https://wiki.archlinux.org/title/Pacman/Rosetta You haven't said anything about your graphics hardware. https://wiki.archlinux.org/title/Pas...tebin_services You can post logs and relevent part of journals without graphical environment. Code:
lspci -k | curl -F 'file=@-' 0x0.st |
|
I did reference the arch wiki. The other two links I gave were merely for reference and I watched the youtube video of arch installation by LearnLinuxTV to familiarize myself with the task.
I also stated that I do have a rtx 3060. My CPU is a ryzen 5800x which does not come with on-board graphics. error logs from journal -- "journalctl --grep=kde" Code:
-- Boot 66dc39e8e328473d8cd073b3bcd0a12a -- Code:
pacman -Syu xorg plasma plasma-wayland-session kde-applications pulseaudio pulseaudio-alsa xorg-xinit sddm xorg-server nvidia nvidia-lts nvidia-utils Code:
[root@abarch ~]# lspci | grep -i vga So I setup rsyslog as directed from wiki (my first AUR compile) Code:
[root@abarch ~]# grep -Ev "^#|^$" /etc/rsyslog.conf https://pastebin.com/e7g2vjLL I know its long and tedious, but I do not know enough about KDE/wayland/xorg as I have never had the opportunity to troubleshoot these stuff. |
Did you install the full plasma package? Install the plasma-meta package. https://wiki.archlinux.org/title/KDE
Otherwise try starting xorg by itself using startx. Add exec startplasma-x11 to your empty ~/.xinitrc file. Create it if it doesn't exist. https://wiki.archlinux.de/title/Desk...e_Loginmanager You can also try another login manager like lightdm. Start it using the daemon - systemctl start lightdm. |
Also note the time when the system reboots and show the journalctl output. Usually I don't think a simple userspace issue should lead to a complete reboot. (or it's a behaviour of KDE?)
|
Quote:
from arch wiki Quote:
Quote:
Code:
[anirban@abarch ~]$ cat .xinitrc This made me wonder if I could now select plasma-x11 from the drop down of the usual graphical login screen. (upto this point, I was trying plasma-wayland, since that works flawlessly on openSUSE and linux mint). A reboot later, I gave this a shot and it worked as well. :hattip: Quote:
I also found this on arch wiki - https://wiki.archlinux.org/title/KDE#Starting_Plasma Quote:
I still have a lot of work to do. Compiling rsyslog was a time consuming activity and I am missing zypper/apt/nala like streamlined dependency handling, but I knew what I was getting into. :study: For now, I would like to stay on the linux-lts kernel , have a backup regular kernel in case I break things. |
Quote:
I recommend trizen. Install base-devel before installing it. |
You can also spare yourself the display manager alltogether and put this in your .bashrc, so every time you log into tty1 x is started automatically;
Code:
if [ "$(tty)" = "/dev/tty1" ]; then |
https://wiki.archlinux.org/title/Start_X_at_login
Quote:
Quote:
https://aur.archlinux.org/packages/rsyslog https://aur.archlinux.org/cgit/aur.g...UILD?h=rsyslog Also see: pacman -Si metalog pacman -Si syslog-ng |
Thanks all. Looks like I have it going for now.
@teckk, what I really meant was AUR could have been a repository onto itself (like epel or codeready in Redhat) and we could save a bit of time. The makepkg gives me an archaic feeling and if any dependency needs another package from AUR, we go into a loop of dependency hell. I know I'm thinking wishfully and mean no disrespect to arch users or arch's way of doing things. Nor do I mean distro X is better than arch. It just means a bit more time configuring and a lot of factors to consider for the kernel upgrade. Perhaps with time and patience I'll get accustomed. |
All times are GMT -5. The time now is 10:06 PM. |