You are not logged in.
Hi my Xorg server fails to start. I'm using Thinkpad P52 with two graphics card and I would like to use only Intel card.
I'm starting Xorg with startx as a user and it fails with
Root user can run Xorg with startx
This is my `id`
`uid=1000(po1nt) gid=1000(po1nt) groups=1000(po1nt),54(lock),56(bumblebee),108(vboxusers),150(wireshark),970(docker),985(video),986(uucp),1001(sudo)`
This is my dmesg containing all nvidia related logs
```
[ 726.978993] nvidia: module license 'NVIDIA' taints kernel.
[ 727.341884] nvidia-nvlink: Nvlink Core is being initialized, major device number 510
[ 727.342613] nvidia 0000:01:00.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=none:owns=none
[ 728.953983] nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms 530.41.03 Thu Mar 16 19:23:04 UTC 2023
[ 729.128805] nvidia-modeset: Unloading
[ 729.170247] nvidia-nvlink: Unregistered Nvlink Core, major device number 510
```
I have deleted my xorg.conf and have no video related configs in xorg.conf.d
This is my pacman -Q
Thank you very much for any help
Last edited by justpo1nt (2023-05-29 10:54:37)
Offline
I'm starting Xorg with startx as a user and it fails with
https://pastebin.com/9yRCGxR3
[ 357.995] (==) Using config file: "/etc/X11/xorg.conf"I have deleted my xorg.conf and have no video related configs in xorg.conf.d
Combined that can mean 2 things :
- You posted an old/irrelevant log
OR
- you didn't remove everything
Please verify which is correct and post a fresh xorg log .
Welcome to archlinux forums.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Thank you for the welcome.
Yes you were right and I posted wrong log. This is the correct one
Offline
[ 2907.469] (II) Server terminated successfully (0). Closing log file.There are no errors in the log and according to X everything is fine. On systems using startx that usually means the issue is in .xinitrc .
Please post your ~/.xinitrc .
(https://wiki.archlinux.org/title/Xinit should help to determine what is wrong with it).
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Well thank you very much. I just removed .xinitrc and Xorg is working.
I have no clue why it failed because the content of .xinitrc was
setxkbmap sk
Which worked fine to this date and works fine when I run it by myself and returns zero.
The permissions to xinitrc were correct.
Everything works just fine now. Thank you very much.
Offline
I have no clue why it failed because the content of .xinitrc was
setxkbmap sk
Which
… sets your keyboard layout and then exits, so your session effectively does nothing.
Last link below.
Offline