You are not logged in.

#1 2014-11-19 20:40:14

nixIT
Member
Registered: 2010-01-13
Posts: 548

[SOLVED] Xorg is not starting

Greetings all,

Finally finished installing Arch64 on my work laptop, following the beginners guide.  Installed Lightdm, lightdm-gtk2-greeter, and xfce. I enabled lightdm system service, and when I reboot, I get:

Failed to start Light Display Manager
See "systemctl status lightdm.service" for details



systemctl status lightdm.service

$ systemctl status lightdm.service
● lightdm.service - Light Display Manager
   Loaded: loaded (/usr/lib/systemd/system/lightdm.service; enabled)
   Active: failed (Result: start-limit) since Wed 2014-11-19 15:35:22 EST; 2min 2s ago
     Docs: man:lightdm(1)
  Process: 396 ExecStart=/usr/bin/lightdm (code=exited, status=1/FAILURE)
 Main PID: 396 (code=exited, status=1/FAILURE)

cat /var/log/lightdm/lightdm.log

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.12.2, UID=0 PID=396
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.00s] DEBUG: Monitoring logind for seats
[+0.00s] DEBUG: New seat added from logind: seat0
[+0.00s] DEBUG: Seat seat0: Starting
[+0.00s] DEBUG: Seat seat0: Creating greeter session
[+0.00s] DEBUG: Seat seat0: Creating display server of type x
[+0.00s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.00s] DEBUG: Using VT 1
[+0.00s] DEBUG: Seat seat0: Starting local X display on VT 1
[+0.00s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.00s] DEBUG: DisplayServer x-0: Writing X server authority to /run/lightdm/root/:0
[+0.00s] DEBUG: DisplayServer x-0: Launching X Server
[+0.00s] DEBUG: Launching process 401: /usr/sbin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt1 -novtswitch
[+0.00s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.00s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.00s] WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
[+0.00s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+0.00s] DEBUG: User nixIT added
[+0.02s] DEBUG: Process 401 exited with return value 1
[+0.02s] DEBUG: DisplayServer x-0: X server stopped
[+0.02s] DEBUG: Releasing VT 1
[+0.02s] DEBUG: DisplayServer x-0: Removing X server authority /run/lightdm/root/:0
[+0.02s] DEBUG: Seat seat0: Display server stopped
[+0.02s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.02s] DEBUG: Seat seat0: Stopping
[+0.02s] DEBUG: Seat seat0: Stopping session
[+0.02s] DEBUG: Seat seat0: Session stopped
[+0.02s] DEBUG: Seat seat0: Stopped
[+0.02s] DEBUG: Required seat has stopped
[+0.02s] DEBUG: Stopping display manager
[+0.02s] DEBUG: Display manager stopped
[+0.02s] DEBUG: Stopping daemon
[+0.02s] DEBUG: Seat seat0: Stopping session
[+0.02s] DEBUG: Exiting with return value 1

I modified /etc/lightdm/lightdm.conf  and added lightdm-gtk-greeter to the SeatDefault section.

Not sure what's going on.

any ideas?

--nixIT

EDIT... changed title since it didn't matter what display manager I'm using, it appears to be an Xserver issue.

Last edited by nixIT (2014-11-21 15:47:28)


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#2 2014-11-20 21:31:28

nixIT
Member
Registered: 2010-01-13
Posts: 548

Re: [SOLVED] Xorg is not starting

Just tried LXDM as my display manager and same results.  It appears that X is not starting properly.  I followed the wiki, https://wiki.archlinux.org/index.php/Xorg#Installation and have only ever done the pacman -S xorg-server and utils.

Has something changed with the last 6months to a year where I'd have to do more configuration?  Should this work out of the box?

here is my Xorg.0.log file, not sure what to look for as the cause of the issue, any help is appreciated.

cat /var/log/Xorg.0.log
[    21.897] 
X.Org X Server 1.16.2
Release Date: 2014-11-10
[    21.897] X Protocol Version 11, Revision 0
[    21.897] Build Operating System: Linux 3.17.2-1-ARCH x86_64 
[    21.897] Current Operating System: Linux gain-doit 3.17.3-1-ARCH #1 SMP PREEMPT Fri Nov 14 23:13:48 CET 2014 x86_64
[    21.897] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=598a064c-1788-4af8-9d01-910a4aa86d53 rw quiet
[    21.897] Build Date: 10 November 2014  07:52:13PM
[    21.897]  
[    21.897] Current version of pixman: 0.32.6
[    21.897] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    21.897] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    21.897] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 20 21:13:38 2014
[    21.940] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    21.950] (==) No Layout section.  Using the first Screen section.
[    21.950] (==) No screen section available. Using defaults.
[    21.950] (**) |-->Screen "Default Screen Section" (0)
[    21.950] (**) |   |-->Monitor "<default monitor>"
[    21.958] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    21.958] (==) Automatically adding devices
[    21.958] (==) Automatically enabling devices
[    21.958] (==) Automatically adding GPU devices
[    21.999] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[    21.999] 	Entry deleted from font path.
[    21.999] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[    21.999] 	Entry deleted from font path.
[    21.999] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[    21.999] 	Entry deleted from font path.
[    21.999] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    21.999] 	Entry deleted from font path.
[    21.999] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    22.000] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    22.000] 	Entry deleted from font path.
[    22.000] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    22.000] (==) FontPath set to:
	/usr/share/fonts/misc/
[    22.000] (==) ModulePath set to "/usr/lib/xorg/modules"
[    22.000] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    22.010] (II) Loader magic: 0x818d80
[    22.010] (II) Module ABI versions:
[    22.010] 	X.Org ANSI C Emulation: 0.4
[    22.010] 	X.Org Video Driver: 18.0
[    22.010] 	X.Org XInput driver : 21.0
[    22.010] 	X.Org Server Extension : 8.0
[    22.011] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c1
[    22.011] (II) xfree86: Adding drm device (/dev/dri/card1)
[    22.012] (II) systemd-logind: got fd for /dev/dri/card1 226:1 fd 8 paused 0
[    22.012] (II) xfree86: Adding drm device (/dev/dri/card0)
[    22.012] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 9 paused 0
[    22.013] (--) PCI:*(0:0:2:0) 8086:0416:103c:1909 rev 6, Mem @ 0xcc400000/4194304, 0xa0000000/268435456, I/O @ 0x00006000/64
[    22.013] (--) PCI: (0:1:0:0) 10de:0ff6:103c:1909 rev 161, Mem @ 0xcb000000/16777216, 0x50000000/268435456, 0x60000000/33554432, I/O @ 0x00005000/128, BIOS @ 0x????????/524288
[    22.013] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    22.013] (II) LoadModule: "glx"
[    22.038] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    22.649] (II) Module glx: vendor="NVIDIA Corporation"
[    22.649] 	compiled for 4.0.2, module version = 1.0.0
[    22.649] 	Module class: X.Org Server Extension
[    22.658] (II) NVIDIA GLX Module  343.22  Thu Sep 11 15:55:13 PDT 2014
[    22.670] (II) Applying OutputClass "nvidia" to /dev/dri/card1
[    22.670] 	loading driver: nvidia
[    22.670] (==) Matched intel as autoconfigured driver 0
[    22.670] (==) Matched nvidia as autoconfigured driver 1
[    22.670] (==) Matched nouveau as autoconfigured driver 2
[    22.670] (==) Matched nvidia as autoconfigured driver 3
[    22.670] (==) Matched nv as autoconfigured driver 4
[    22.670] (==) Matched intel as autoconfigured driver 5
[    22.670] (==) Matched modesetting as autoconfigured driver 6
[    22.670] (==) Matched fbdev as autoconfigured driver 7
[    22.670] (==) Matched vesa as autoconfigured driver 8
[    22.670] (==) Assigned the driver to the xf86ConfigLayout
[    22.670] (II) LoadModule: "intel"
[    22.671] (WW) Warning, couldn't open module intel
[    22.671] (II) UnloadModule: "intel"
[    22.671] (II) Unloading intel
[    22.671] (EE) Failed to load module "intel" (module does not exist, 0)
[    22.671] (II) LoadModule: "nvidia"
[    22.671] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    22.754] (II) Module nvidia: vendor="NVIDIA Corporation"
[    22.754] 	compiled for 4.0.2, module version = 1.0.0
[    22.754] 	Module class: X.Org Video Driver
[    22.761] (II) LoadModule: "nouveau"
[    22.761] (WW) Warning, couldn't open module nouveau
[    22.761] (II) UnloadModule: "nouveau"
[    22.761] (II) Unloading nouveau
[    22.761] (EE) Failed to load module "nouveau" (module does not exist, 0)
[    22.761] (II) LoadModule: "nv"
[    22.761] (WW) Warning, couldn't open module nv
[    22.761] (II) UnloadModule: "nv"
[    22.761] (II) Unloading nv
[    22.761] (EE) Failed to load module "nv" (module does not exist, 0)
[    22.761] (II) LoadModule: "modesetting"
[    22.761] (WW) Warning, couldn't open module modesetting
[    22.761] (II) UnloadModule: "modesetting"
[    22.761] (II) Unloading modesetting
[    22.761] (EE) Failed to load module "modesetting" (module does not exist, 0)
[    22.761] (II) LoadModule: "fbdev"
[    22.761] (WW) Warning, couldn't open module fbdev
[    22.761] (II) UnloadModule: "fbdev"
[    22.761] (II) Unloading fbdev
[    22.761] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    22.761] (II) LoadModule: "vesa"
[    22.762] (WW) Warning, couldn't open module vesa
[    22.762] (II) UnloadModule: "vesa"
[    22.762] (II) Unloading vesa
[    22.762] (EE) Failed to load module "vesa" (module does not exist, 0)
[    22.762] (II) NVIDIA dlloader X Driver  343.22  Thu Sep 11 15:34:47 PDT 2014
[    22.762] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[    22.762] (++) using VT number 1

[    22.762] (--) controlling tty is VT number 1, auto-enabling KeepTty
[    22.762] (EE) No devices detected.
[    22.762] (EE) 
Fatal server error:
[    22.762] (EE) no screens found(EE) 
[    22.762] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[    22.762] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[    22.762] (EE) 

ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

#3 2014-11-20 22:25:23

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,722

Re: [SOLVED] Xorg is not starting

It does not appear that you installed the Xorg driver for your video system.
Verify you have the right driver installed using pacman -Ss xf86-video to see your choices and which ones are installed.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2014-11-20 22:42:15

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: [SOLVED] Xorg is not starting

ewaller wrote:

It does not appear that you installed the Xorg driver for your video system.
Verify you have the right driver installed using pacman -Ss xf86-video to see your choices and which ones are installed.

It's not actually that simple, he has an Optimus machine.

@nixIT: Above I gave the hint you need to get things running properly - Optimus. There's two choices:

a) Use the Nvidia card all the time. The Optimus wiki page has info on how to do that.
b) Run everything on the integrated Intel GPU and only activate the Nvidia card for specific applications. This is the intended purpose of Optimus. You need Bumblebee to get this to work, so check out the Bumblebee wiki page.

Last edited by Gusar (2014-11-20 22:42:46)

Offline

#5 2014-11-20 23:05:50

nixIT
Member
Registered: 2010-01-13
Posts: 548

Re: [SOLVED] Xorg is not starting

@Gusar

Thanx, I was reading about Optimus today and bumblebee.  I think I may just turn off the Intel drive (I assume through the bios).  I'll give it a shot. Thanx.

--nixIT


ASRock X570 PG VELOCITA AM4 AMD X570  | AMD Ryzen 5900x | 128GB G.SKILL RipjawsV  | ASRock Radeon RX 6700 XT Challenger D

Offline

Board footer

Powered by FluxBB