I feel like a noob. I sort of am when it comes to Archlinux. I don't know why xorg is failing to start. By extension GDM is failing to start too. It started failing after I installed the stock 32bit grsec kernel. I was getting grsec denied RWX mmap on the xorg binary. So I ran "setfattr -n user.pax.flags -v emr /usr/lib/xorg-server/Xorg" that made the denied messages go away. Now I can't get it to start. I have the same setup on my laptop and everything works fine. The kernel on the laptop is x86_84 so maybe that has something to do with it? Any help anyone can give me is appricated.
[   294.423] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   294.424] (==) No Layout section.  Using the first Screen section.
[   294.424] (==) No screen section available. Using defaults.
[   294.424] (**) |   |-->Monitor "<default monitor>"
[   294.424] (==) No monitor specified for screen "Default Screen Section".
[   294.425] (==) ModulePath set to "/usr/lib/xorg/modules"
[   294.425] (II) The server relies on udev to provide the list of input devices.
[   294.430] (II) LoadModule: "glx"
[   294.433] (II) Module glx: vendor="X.Org Foundation"
[   294.433] (II) LoadModule: "qxl"
[   294.434] (II) UnloadModule: "qxl"
[   294.434] (II) LoadModule: "modesetting"
[   294.434] (II) Module modesetting: vendor="X.Org Foundation"
[   294.434] (II) LoadModule: "fbdev"
[   294.434] (II) Module fbdev: vendor="X.Org Foundation"
[   294.434] (II) LoadModule: "vesa"
[   294.435] (II) Module vesa: vendor="X.Org Foundation"
[   294.435] (II) Loading sub module "fbdevhw"
[   294.435] (II) LoadModule: "fbdevhw"
[   294.435] (II) Module fbdevhw: vendor="X.Org Foundation"
[   294.435] (II) Loading sub module "glamoregl"
[   294.435] (II) LoadModule: "glamoregl"
[   294.438] (II) Module glamoregl: vendor="X.Org Foundation"
[   294.438] (II) glamor: OpenGL accelerated X.org driver based.
[   294.475] (II) modeset(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[   294.475] (II) Loading sub module "fb"
[   294.475] (II) LoadModule: "fb"
[   294.475] (II) Module fb: vendor="X.Org Foundation"
[   294.475] (II) UnloadModule: "fbdev"
[   294.475] (II) UnloadSubModule: "fbdevhw"
[   294.476] (II) UnloadModule: "vesa"
[   294.476] (II) modeset(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   294.554] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   294.554] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   294.554] (II) LoadModule: "libinput"
[   294.555] (II) Module libinput: vendor="X.Org Foundation"
[   294.556] (**) Option "Device" "/dev/input/event1"
[   294.557] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event1"
[   294.558] (**) QEMU QEMU USB Tablet: Applying InputClass "evdev pointer catchall"
[   294.558] (**) QEMU QEMU USB Tablet: Applying InputClass "libinput pointer catchall"
[   294.610] (**) Option "Device" "/dev/input/event3"
[   294.610] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.7/usb1/1-1/1-1:1.0/0003:0627:0001.0001/input/input5/event3"
[   294.610] (**) Option "AccelerationScheme" "none"
[   294.611] (II) No input driver specified, ignoring this device.
[   294.611] (II) This device may have been added with another device file.
[   294.612] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[   294.612] (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
[   294.612] (**) Option "Device" "/dev/input/event0"
[   294.613] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[   294.613] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "evdev pointer catchall"
[   294.613] (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "libinput pointer catchall"
[   294.614] (**) Option "Device" "/dev/input/event4"
[   294.614] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input4/event4"
[   294.614] (**) Option "AccelerationScheme" "none"
[   294.614] (II) No input driver specified, ignoring this device.
[   294.614] (II) This device may have been added with another device file.
[   294.615] (II) No input driver specified, ignoring this device.
[   294.615] (II) This device may have been added with another device file.
[   294.648] (**) Option "fd" "14"
[   294.649] (**) Option "fd" "17"
[   294.649] (**) Option "fd" "18"
[   294.649] (**) Option "fd" "19"
[   294.649] (II) UnloadModule: "libinput"
[   294.660] (II) UnloadModule: "libinput"
[   294.680] (II) UnloadModule: "libinput"
[   294.700] (II) UnloadModule: "libinput"
[   294.730] (II) Server terminated successfully (0). Closing log file.
Dec 16 08:42:27 box systemd: Reached target Local File Systems (Pre).
Dec 16 08:42:27 box systemd: Started Flush Journal to Persistent Storage.
Dec 16 08:42:27 box systemd-cryptsetup: Set cipher aes, mode xts-plain64, key size 256 bits for device /swap.sys.
Dec 16 08:42:27 box systemd: Started udev Kernel Device Manager.
Dec 16 08:42:27 box systemd: Found device /dev/disk/by-uuid/2606a3d6-be8b-4a6f-882a-73f83d4c327a.
Dec 16 08:42:27 box mtp-probe: checking bus 1, device 2: "/sys/devices/pci0000:00/0000:00:06.7/usb1/1-1"
Dec 16 08:42:27 box systemd: Started File System Check on /dev/disk/by-uuid/2606a3d6-be8b-4a6f-882a-73f83d4c327a.
Dec 16 08:42:27 box systemd: Mounted /boot.
Dec 16 08:42:27 box systemd: Reached target Local File Systems.
Dec 16 08:42:27 box systemd: Started Create Volatile Files and Directories.
Dec 16 08:42:27 box systemd: Started Update UTMP about System Boot/Shutdown.
Dec 16 08:42:28 box systemd: Started Cryptography Setup for swap.
Dec 16 08:42:28 box systemd: Reached target Encrypted Volumes.
Dec 16 08:42:28 box systemd: Found device /dev/mapper/swap.
Dec 16 08:42:28 box systemd: Activated swap /dev/mapper/swap.
Dec 16 08:42:28 box systemd: Reached target Swap.
Dec 16 08:42:28 box systemd: Reached target System Initialization.
Dec 16 08:42:28 box systemd: Started Daily verification of password and group files.
Dec 16 08:42:28 box systemd: Listening on D-Bus System Message Bus Socket.
Dec 16 08:42:28 box systemd: Reached target Sockets.
Dec 16 08:42:28 box systemd: Started Daily Cleanup of Temporary Directories.
Dec 16 08:42:28 box systemd: Started Daily man-db cache update.
Dec 16 08:42:28 box systemd: Reached target Basic System.
Dec 16 08:42:28 box systemd: Started D-Bus System Message Bus.
Dec 16 08:42:28 box systemd: Started Daily rotation of log files.
Dec 16 08:42:28 box systemd: Reached target Timers.
Dec 16 08:42:28 box systemd: Started SSH Key Generation.
Dec 16 08:42:28 box systemd: Started Permit User Sessions.
Dec 16 08:42:28 box systemd-logind: New seat seat0.
Dec 16 08:42:28 box systemd: Started Login Service.
Dec 16 08:42:28 box systemd: Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
Dec 16 08:42:28 box systemd: Started Getty on tty1.
Dec 16 08:42:28 box systemd: Reached target Login Prompts.
Dec 16 08:42:28 box systemd: Started dhcpcd on all interfaces.
Dec 16 08:42:28 box systemd: Reached target Network.
Dec 16 08:42:28 box systemd: Started OpenSSH Daemon.
Dec 16 08:42:28 box systemd: Reached target Multi-User System.
Dec 16 08:42:28 box systemd: Reached target Graphical Interface.
Dec 16 08:42:28 box systemd: Startup finished in 1.363s (kernel) + 1.072s (userspace) = 2.435s.
Dec 16 08:42:28 box sshd: Server listening on 0.0.0.0 port 22.
Dec 16 08:42:28 box sshd: Server listening on :: port 22.
Dec 16 08:42:27 box systemd: Started Journal Service.
Dec 16 08:42:27 box systemd: Started udev Coldplug all Devices.
Dec 16 08:42:27 box systemd: Started Create Static Device Nodes in /dev.
Dec 16 08:42:28 box systemd: Reached target Sound Card.
Dec 16 08:42:28 box kernel: [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
Dec 16 08:42:28 box kernel: [drm] No driver support for vblank timestamp query.
Dec 16 08:47:17 box systemd: Created slice User Slice of plant.
Dec 16 08:47:17 box systemd-logind: New session c1 of user plant.
Dec 16 08:47:17 box systemd: Started Session c1 of user plant.
Dec 16 08:47:17 box systemd: Reached target Timers.
Dec 16 08:47:17 box systemd: Reached target Paths.
Dec 16 08:47:17 box systemd: Listening on Sound System.
Dec 16 08:47:17 box systemd: Starting D-Bus User Message Bus Socket.
Dec 16 08:47:17 box systemd: Listening on D-Bus User Message Bus Socket.
Dec 16 08:47:17 box systemd: Reached target Sockets.
Dec 16 08:47:17 box systemd: Reached target Basic System.
Dec 16 08:47:17 box systemd: Reached target Default.
Dec 16 08:47:17 box systemd: Startup finished in 54ms.
Dec 16 08:47:17 box systemd: Started User Manager for UID 1001.
Dec 16 08:47:20 box systemd: Started D-Bus User Message Bus.
Dec 16 08:48:32 box systemd: Created slice User Slice of vuser.
Dec 16 08:48:32 box systemd-logind: New session c2 of user vuser.
Dec 16 08:48:32 box systemd: Started Session c2 of user vuser.
Dec 16 08:48:32 box systemd: Reached target Timers.
Dec 16 08:48:32 box systemd: Starting D-Bus User Message Bus Socket.
Dec 16 08:48:32 box systemd: Reached target Paths.
Dec 16 08:48:32 box systemd: Listening on Sound System.
Dec 16 08:48:32 box systemd: Listening on D-Bus User Message Bus Socket.
Dec 16 08:48:32 box systemd: Reached target Sockets.
Dec 16 08:48:32 box systemd: Reached target Basic System.
Dec 16 08:48:32 box systemd: Reached target Default.
Dec 16 08:48:32 box systemd: Startup finished in 14ms.
Dec 16 08:48:32 box systemd: Started User Manager for UID 1000.
Dec 16 08:57:45 box systemd: Started Cleanup of Temporary Directories.
Xorg doesn't need any pax flags; this is a bug in qxl. See https://bbs.archlinux.org/viewtopic.php?id=205410 (workaround in post 5).
And, for the record, Xorg started normally and terminated normally. The Window Manager exited after which Xorg had nothing to do, so it exited.
Thank You both for your replies! I got Xorg working via startx but when i enable gdm as a service it doesn't start. i am getting thsese in the system logs.
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) UnloadModule: "libinput"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) Server terminated successfully (0). Closing log file.
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: to make sure that you have the latest version.
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (==) Using system config directory "/usr/share/X11/xorg.conf.d"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (==) No Layout section.  Using the first Screen section.
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (==) No screen section available. Using defaults.
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) |   |-->Monitor "<default monitor>"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (==) No monitor specified for screen "Default Screen Section".
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Using a default monitor configuration.
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (==) ModulePath set to "/usr/lib/xorg/modules"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) The server relies on udev to provide the list of input devices.
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: If no devices become available, reconfigure udev or disable AutoAddDevices.
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) LoadModule: "glx"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) Module glx: vendor="X.Org Foundation"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) LoadModule: "qxl"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) UnloadModule: "qxl"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) LoadModule: "modesetting"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) Module modesetting: vendor="X.Org Foundation"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) LoadModule: "fbdev"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) Module fbdev: vendor="X.Org Foundation"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) LoadModule: "vesa"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) Module vesa: vendor="X.Org Foundation"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) Loading sub module "fbdevhw"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) LoadModule: "fbdevhw"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) Module fbdevhw: vendor="X.Org Foundation"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (EE) Screen 0 deleted because of no matching config section.
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) UnloadModule: "modesetting"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) Loading sub module "fb"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) LoadModule: "fb"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) Module fb: vendor="X.Org Foundation"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) Loading sub module "shadow"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) LoadModule: "shadow"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) Module shadow: vendor="X.Org Foundation"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) UnloadModule: "vesa"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) Power Button: Applying InputClass "evdev keyboard catchall"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) Power Button: Applying InputClass "libinput keyboard catchall"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) LoadModule: "libinput"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) Module libinput: vendor="X.Org Foundation"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "_source" "server/udev"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "name" "Power Button"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "path" "/dev/input/event1"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "device" "/dev/input/event1"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "major" "13"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "minor" "65"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event1"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "driver" "libinput"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "fd" "14"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) Option "Device" "/dev/input/event1"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event1"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) QEMU QEMU USB Tablet: Applying InputClass "evdev pointer catchall"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) QEMU QEMU USB Tablet: Applying InputClass "libinput pointer catchall"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "name" "QEMU QEMU USB Tablet"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "path" "/dev/input/event3"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "device" "/dev/input/event3"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "minor" "67"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.7/usb2/2-1/2-1:1.0/0003:0627:0001.0001/input/input5/event3"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "fd" "17"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) Option "Device" "/dev/input/event3"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:06.7/usb2/2-1/2-1:1.0/0003:0627:0001.0001/input/input5/event3"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) Option "AccelerationScheme" "none"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) No input driver specified, ignoring this device.
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (II) This device may have been added with another device file.
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) AT Translated Set 2 keyboard: Applying InputClass "libinput keyboard catchall"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "name" "AT Translated Set 2 keyboard"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "path" "/dev/input/event0"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "device" "/dev/input/event0"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "minor" "64"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: Option "fd" "18"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) Option "Device" "/dev/input/event0"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "evdev pointer catchall"
Dec 17 06:48:52 box /usr/lib/gdm/gdm-x-session: (**) ImExPS/2 Generic Explorer Mouse: Applying InputClass "libinput pointer catchall"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: Option "_source" "server/udev"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: Option "name" "ImExPS/2 Generic Explorer Mouse"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: Option "path" "/dev/input/event4"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: Option "device" "/dev/input/event4"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: Option "major" "13"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: Option "minor" "68"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input4/event4"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: Option "driver" "libinput"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: Option "fd" "19"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: (**) Option "Device" "/dev/input/event4"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input4/event4"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: (**) Option "AccelerationScheme" "none"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: (II) No input driver specified, ignoring this device.
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: (II) This device may have been added with another device file.
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: (**) Option "fd" "14"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: (**) Option "fd" "17"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: (**) Option "fd" "18"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: (**) Option "fd" "19"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: (II) UnloadModule: "libinput"
Dec 17 06:48:53 box /usr/lib/gdm/gdm-x-session: (II) Server terminated successfully (0). Closing log file.
Edit: Nevermind I figured out what I was doing wrong.