On login need to run Startx in TTY which will fail, but on my main screen X server will work

Hello forum users,

First time poster here.

I have got something weird. On boot I login, my DE/WM does not kick in, nothing works. I only see the loginscreen in the same state as it was when I pressed enter.

I figured that if I go to my 2nd tty crtl+alt+f2, login and run startx, in that tty startx will fail. When I went back to my DE it was working as intended. I honestly have no clue what is going on, I hope someone here does!

  Kernel: 5.4.64-1-MANJARO x86_64 bits: 64 compiler: gcc v: 10.2.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.4-x86_64 
  root=UUID=1cf4cabc-b60a-4742-a9c9-4bf249b425bd rw quiet 
  Desktop: i3 4.16.1-184-g582d9e9b info: polybar dm: SDDM 
  Distro: Manjaro Linux 
  Type: Desktop Mobo: Micro-Star model: B450M-A PRO MAX (MS-7C52) v: 1.0 
  serial: <filter> UEFI: American Megatrends v: 3.00 date: 08/13/2019 
  Topology: 8-Core model: AMD Ryzen 7 2700X bits: 64 type: MT MCP arch: Zen+ 
  family: 17 (23) model-id: 8 stepping: 2 microcode: 800820D 
  L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 132847 
  Speed: 3806 MHz min/max: N/A Core speeds (MHz): 1: 3806 2: 3327 3: 3354 
  4: 3330 5: 3848 6: 4005 7: 4069 8: 3377 9: 4149 10: 3522 11: 4140 12: 4114 
  13: 4037 14: 3805 15: 3635 16: 3345 
  Vulnerabilities: Type: itlb_multihit status: Not affected 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full AMD retpoline, IBPB: conditional, STIBP: 
  disabled, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
  Device-1: NVIDIA GM204 [GeForce GTX 970] vendor: Micro-Star MSI 
  driver: nvidia v: 450.66 alternate: nouveau,nvidia_drm bus ID: 29:00.0 
  chip ID: 10de:13c2 
  Display: x11 server: X.Org 1.20.8 driver: nvidia display ID: :0 screens: 1 
  Screen-1: 0 s-res: 5120x1440 s-dpi: 109 s-size: 1193x335mm (47.0x13.2") 
  s-diag: 1239mm (48.8") 
  Monitor-1: HDMI-0 res: 5120x1440 hz: 60 dpi: 130048 size: 1x1mm (0.0x0.0") 
  diag: 1mm (0.1") 
  OpenGL: renderer: GeForce GTX 970/PCIe/SSE2 v: 4.6.0 NVIDIA 450.66 
  direct render: Yes 
  Device-1: NVIDIA GM204 High Definition Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 29:00.1 chip ID: 10de:0fbb 
  Device-2: AMD Family 17h HD Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 2b:00.3 chip ID: 1022:1457 
  Device-3: Logitech G430 Surround Sound Gaming Headset type: USB 
  driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-3:5 chip ID: 046d:0a4d 
  Sound Server: ALSA v: k5.4.64-1-MANJARO 
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Micro-Star MSI driver: r8169 v: kernel modules: r8168 port: f000 
  bus ID: 25:00.0 chip ID: 10ec:8168 
  IF: enp37s0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
  IF-ID-1: enp3s0f0u7 state: unknown speed: N/A duplex: N/A mac: <filter> 
  Local Storage: total: 689.33 GiB used: 418.69 GiB (60.7%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 500GB size: 465.76 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> 
  rev: 2B6Q scheme: GPT 
  ID-2: /dev/sdb vendor: Kingston model: SA400S37240G size: 223.57 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> 
  rev: B1E1 scheme: GPT 
  ID-1: / raw size: 456.66 GiB size: 448.50 GiB (98.21%) 
  used: 418.69 GiB (93.4%) fs: ext4 dev: /dev/sda2 
  Kernel: swappiness: 60 (default) cache pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 8.80 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sda3 
  System Temperatures: cpu: 57.6 C mobo: N/A gpu: nvidia temp: 59 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 23% 
  Processes: 344 Uptime: 23m Memory: 15.65 GiB used: 4.87 GiB (31.1%) 
  Init: systemd v: 246 Compilers: gcc: 10.2.0 alt: 8/9 Packages: 1645 
  pacman: 1640 lib: 445 flatpak: 5 Shell: Bash v: 5.0.18 running in: konsole 
  inxi: 3.1.05

Run startx -- -logverbose 11 on the TTY after boot, then please provide the logs in ~/.local/share/xorg/.

No such folder or directory sadly. Did end up finding one:

maze .io /paste/p/sMuutszQkBAHgW1m (remove spaces, the forum does not allow me in any for or way to show this log, it’s driving me crazy. Not allowed to post links, and posting the log somehow has a link in it?).

That’s strange, Xorg running as root… Isn’t there an Xorg.?.log.old file somewhere? The log you posted is for the current session, but we need the log for a failed one.

I did not notice the root thing. However, there was a .old in the same log directory (/var/log)
maze .io /paste/p/7k4vSN11lsOBwx6V

[ 2963.829] (EE) Failed to open authorization file “/var/run/sddm/{116be1da-d341-476b-8f14-7807db00465a}”: No such file or directory

This might be the problem, but I’m not sure. Maybe it’s incorrect configuration? Please provide the Xorg configurations and the SDDM log for the failed session.


Thanks for everything already! Really appriciated.

Xorg: maze. io /paste/p/LmTg94ms58jei5TW (Remove spaces).
SDDM log is something different, as I cannot for the life of me find it. To go to the max I also tried to use find to get it, but sadly that did nothing.

[berm@berm-pc ~]$ sudo find / -name sddm.log

No results. Any tips?

What about

journalctl -u sddm