You are not logged in.

#1 2021-07-02 23:39:55

big_slime_99
Member
Registered: 2021-06-13
Posts: 4

Having trouble starting X

I dual booted arch with Ubuntu Studio. Needless to say things didn't go 100% according to plan but after a few days of troubleshooting I got the dual boot set up.
However I now cannot start the X server on arch. The knowledge to solve this problem is beyond me and I really don't want to reinstall arch since I only just got everything working again. Any help or input is appreciated.



N9vj1j2.jpg

/home/k/.local/share/xorg/Xorg.0.log:

[    23.398] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[    23.399] 
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[    23.399] Build Operating System: Linux Archlinux
[    23.399] Current Operating System: Linux f12 5.12.14-arch1-1 #1 SMP PREEMPT Thu, 01 Jul 2021 07:26:06 +0000 x86_64
[    23.399] Kernel command line: BOOT_IMAGE=/vmlinuz-linux root=/dev/sdb3
[    23.399] Build Date: 13 April 2021  03:12:10PM
[    23.399]  
[    23.399] Current version of pixman: 0.40.0
[    23.399] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    23.399] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    23.399] (==) Log file: "/home/k/.local/share/xorg/Xorg.0.log", Time: Fri Jul  2 23:11:16 2021
[    23.411] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    23.412] (==) No Layout section.  Using the first Screen section.
[    23.412] (==) No screen section available. Using defaults.
[    23.412] (**) |-->Screen "Default Screen Section" (0)
[    23.412] (**) |   |-->Monitor "<default monitor>"
[    23.412] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    23.412] (==) Automatically adding devices
[    23.412] (==) Automatically enabling devices
[    23.412] (==) Automatically adding GPU devices
[    23.412] (==) Automatically binding GPU devices
[    23.413] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    23.413] (WW) The directory "/usr/share/fonts/misc" does not exist.
[    23.413] 	Entry deleted from font path.
[    23.414] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/TTF".
[    23.414] 	Entry deleted from font path.
[    23.414] 	(Run 'mkfontdir' on "/usr/share/fonts/TTF").
[    23.414] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[    23.414] 	Entry deleted from font path.
[    23.414] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[    23.414] 	Entry deleted from font path.
[    23.414] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[    23.414] 	Entry deleted from font path.
[    23.414] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[    23.414] 	Entry deleted from font path.
[    23.414] (==) FontPath set to:
	
[    23.414] (==) ModulePath set to "/usr/lib/xorg/modules"
[    23.414] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    23.414] (II) Module ABI versions:
[    23.414] 	X.Org ANSI C Emulation: 0.4
[    23.414] 	X.Org Video Driver: 24.1
[    23.414] 	X.Org XInput driver : 24.1
[    23.414] 	X.Org Server Extension : 10.0
[    23.414] (--) using VT number 2

[    23.414] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    23.415] (II) xfree86: Adding drm device (/dev/dri/card0)
[    23.417] (--) PCI:*(36@0:0:0) 10de:1380:19da:288a rev 162, Mem @ 0xfb000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000f000/128, BIOS @ 0x????????/131072
[    23.417] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    23.417] (II) LoadModule: "glx"
[    23.418] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    23.422] (II) Module glx: vendor="X.Org Foundation"
[    23.422] 	compiled for 1.20.11, module version = 1.0.0
[    23.422] 	ABI class: X.Org Server Extension, version 10.0
[    23.422] (==) Matched nouveau as autoconfigured driver 0
[    23.422] (==) Matched nv as autoconfigured driver 1
[    23.422] (==) Matched modesetting as autoconfigured driver 2
[    23.422] (==) Matched fbdev as autoconfigured driver 3
[    23.422] (==) Matched vesa as autoconfigured driver 4
[    23.422] (==) Assigned the driver to the xf86ConfigLayout
[    23.422] (II) LoadModule: "nouveau"
[    23.422] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[    23.423] (II) Module nouveau: vendor="X.Org Foundation"
[    23.423] 	compiled for 1.20.10, module version = 1.0.17
[    23.423] 	Module class: X.Org Video Driver
[    23.423] 	ABI class: X.Org Video Driver, version 24.1
[    23.423] (II) LoadModule: "nv"
[    23.423] (WW) Warning, couldn't open module nv
[    23.423] (EE) Failed to load module "nv" (module does not exist, 0)
[    23.423] (II) LoadModule: "modesetting"
[    23.423] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    23.424] (II) Module modesetting: vendor="X.Org Foundation"
[    23.424] 	compiled for 1.20.11, module version = 1.20.11
[    23.424] 	Module class: X.Org Video Driver
[    23.424] 	ABI class: X.Org Video Driver, version 24.1
[    23.424] (II) LoadModule: "fbdev"
[    23.424] (WW) Warning, couldn't open module fbdev
[    23.424] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    23.424] (II) LoadModule: "vesa"
[    23.424] (WW) Warning, couldn't open module vesa
[    23.424] (EE) Failed to load module "vesa" (module does not exist, 0)
[    23.424] (II) NOUVEAU driver 
[    23.424] (II) NOUVEAU driver for NVIDIA chipset families :
[    23.424] 	RIVA TNT            (NV04)
[    23.424] 	RIVA TNT2           (NV05)
[    23.424] 	GeForce 256         (NV10)
[    23.424] 	GeForce 2           (NV11, NV15)
[    23.424] 	GeForce 4MX         (NV17, NV18)
[    23.424] 	GeForce 3           (NV20)
[    23.424] 	GeForce 4Ti         (NV25, NV28)
[    23.424] 	GeForce FX          (NV3x)
[    23.424] 	GeForce 6           (NV4x)
[    23.424] 	GeForce 7           (G7x)
[    23.424] 	GeForce 8           (G8x)
[    23.424] 	GeForce 9           (G9x)
[    23.424] 	GeForce GTX 2xx/3xx (GT2xx)
[    23.424] 	GeForce GTX 4xx/5xx (GFxxx)
[    23.424] 	GeForce GTX 6xx/7xx (GKxxx)
[    23.424] 	GeForce GTX 9xx     (GMxxx)
[    23.424] 	GeForce GTX 10xx    (GPxxx)
[    23.424] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    23.424] (EE) 
Fatal server error:
[    23.424] (EE) xf86OpenConsole: Cannot open virtual console 2 (Permission denied)
[    23.424] (EE) 
[    23.424] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    23.424] (EE) Please also check the log file at "/home/k/.local/share/xorg/Xorg.0.log" for additional information.
[    23.424] (EE) 
[    23.424] (WW) xf86CloseConsole: KDSETMODE failed: Bad file descriptor
[    23.424] (WW) xf86CloseConsole: VT_GETMODE failed: Bad file descriptor
[    23.425] (EE) Server terminated with error (1). Closing log file.

Offline

#2 2021-07-02 23:49:31

loqs
Member
Registered: 2014-03-06
Posts: 18,463

Re: Having trouble starting X

Have you read Xinit?  You appear to be starting X directly which is not the recommended method.
Please also do not post oversized images of text.

Offline

#3 2021-07-03 00:58:52

big_slime_99
Member
Registered: 2021-06-13
Posts: 4

Re: Having trouble starting X

Hey thanks for the input. You are right, startx works as it should. Initially it didn't, but at some point it started working after I stopped testing it and started testing the X command (I think I just reinstalled some of my xorg-drivers), so the conclusion is a bit unsatisfying hmm. I've never actually seen X work, I only found out about it while troubleshooting.

Anyway thanks again, my issue is now solved.

Offline

#4 2021-07-03 06:27:30

seth
Member
Registered: 2012-09-03
Posts: 64,547

Re: Having trouble starting X

[    23.414] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration

https://wiki.archlinux.org/title/Xinit#xserverrc

Offline

Board footer

Powered by FluxBB