You are not logged in.

#1 2014-12-24 18:21:59

nrms
Member
Registered: 2014-12-24
Posts: 6

startx not working as a regular user.

Hello

At start up slim is the one supposed to handle things and it raises failed to connect to X sever or something. Then I systemctl stop it and try startx.
I have troubles with startx which ends up with a black screen when I launch it with my user. With root it works fine (.xStuff are all the same for both).
It started today after I rebooted my computer for the first time after last update 4 days ago + today (previous update was about a month and a half ago).
So I suppose it is some permission related issue since root can do it. My startx attempts don't seem to produce any log file (nothing new appears in
/var/log or .local/share/xorg). I got the root output through 2&>, but doing so completely froze the terminal when normal user.


Here is the /var/log/Xorg.0.log generated at boot.

[    76.021] 
X.Org X Server 1.16.3
Release Date: 2014-12-20
[    76.021] X Protocol Version 11, Revision 0
[    76.021] Build Operating System: Linux 3.17.4-1-ARCH x86_64 
[    76.021] Current Operating System: Linux lu-tze 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64
[    76.021] Kernel command line: initrd=\initramfs-linux.img root=/dev/sdb6 rw
[    76.021] Build Date: 20 December 2014  01:34:48PM
[    76.021]  
[    76.021] Current version of pixman: 0.32.6
[    76.021] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    76.021] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    76.021] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 24 17:28:44 2014
[    76.021] (==) Using config file: "/etc/X11/xorg.conf"
[    76.021] (==) Using config directory: "/etc/X11/xorg.conf.d"
[    76.021] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    76.021] (==) No Layout section.  Using the first Screen section.
[    76.021] (==) No screen section available. Using defaults.
[    76.021] (**) |-->Screen "Default Screen Section" (0)
[    76.021] (**) |   |-->Monitor "<default monitor>"
[    76.021] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    76.021] (==) Automatically adding devices
[    76.021] (==) Automatically enabling devices
[    76.021] (==) Automatically adding GPU devices
[    76.021] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[    76.021] 	Entry deleted from font path.
[    76.021] 	(Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[    76.021] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[    76.021] 	Entry deleted from font path.
[    76.021] 	(Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[    76.021] (==) FontPath set to:
	/usr/share/fonts/misc/,
	/usr/share/fonts/TTF/,
	/usr/share/fonts/OTF/,
	/usr/share/fonts/Type1/
[    76.021] (==) ModulePath set to "/usr/lib/xorg/modules"
[    76.021] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    76.021] (II) Loader magic: 0x818d40
[    76.021] (II) Module ABI versions:
[    76.021] 	X.Org ANSI C Emulation: 0.4
[    76.021] 	X.Org Video Driver: 18.0
[    76.021] 	X.Org XInput driver : 21.0
[    76.021] 	X.Org Server Extension : 8.0
[    76.022] (EE) systemd-logind: failed to get session: PID 1017 does not belong to any known session
[    76.022] (II) xfree86: Adding drm device (/dev/dri/card0)
[    76.023] (--) PCI:*(0:0:2:0) 8086:0416:1025:0781 rev 6, Mem @ 0xd3000000/4194304, 0xc0000000/268435456, I/O @ 0x00005000/64
[    76.023] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[    76.023] (II) LoadModule: "glx"
[    76.023] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    76.024] (II) Module glx: vendor="X.Org Foundation"
[    76.024] 	compiled for 1.16.3, module version = 1.0.0
[    76.024] 	ABI class: X.Org Server Extension, version 8.0
[    76.024] (==) AIGLX enabled
[    76.024] (==) Matched intel as autoconfigured driver 0
[    76.024] (==) Matched intel as autoconfigured driver 1
[    76.024] (==) Matched modesetting as autoconfigured driver 2
[    76.024] (==) Matched fbdev as autoconfigured driver 3
[    76.024] (==) Matched vesa as autoconfigured driver 4
[    76.024] (==) Assigned the driver to the xf86ConfigLayout
[    76.024] (II) LoadModule: "intel"
[    76.024] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[    76.024] (II) Module intel: vendor="X.Org Foundation"
[    76.024] 	compiled for 1.16.1, module version = 2.99.916
[    76.024] 	Module class: X.Org Video Driver
[    76.024] 	ABI class: X.Org Video Driver, version 18.0
[    76.024] (II) LoadModule: "modesetting"
[    76.024] (WW) Warning, couldn't open module modesetting
[    76.024] (II) UnloadModule: "modesetting"
[    76.024] (II) Unloading modesetting
[    76.024] (EE) Failed to load module "modesetting" (module does not exist, 0)
[    76.024] (II) LoadModule: "fbdev"
[    76.024] (WW) Warning, couldn't open module fbdev
[    76.024] (II) UnloadModule: "fbdev"
[    76.024] (II) Unloading fbdev
[    76.024] (EE) Failed to load module "fbdev" (module does not exist, 0)
[    76.024] (II) LoadModule: "vesa"
[    76.024] (WW) Warning, couldn't open module vesa
[    76.024] (II) UnloadModule: "vesa"
[    76.024] (II) Unloading vesa
[    76.024] (EE) Failed to load module "vesa" (module does not exist, 0)
[    76.024] (II) intel: Driver for Intel(R) Integrated Graphics Chipsets:
	i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G,
	915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
	Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33,
	GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[    76.024] (II) intel: Driver for Intel(R) HD Graphics: 2000-6000
[    76.024] (II) intel: Driver for Intel(R) Iris(TM) Graphics: 5100, 6100
[    76.024] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics: 5200, 6200, P6300
[    76.024] (++) using VT number 7

[    76.029] (II) intel(0): Using Kernel Mode Setting driver: i915, version 1.6.0 20140725
[    76.029] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD Graphics 4600
[    76.029] (--) intel(0): CPU: x86-64, sse2, sse3, ssse3, sse4.1, sse4.2, avx, avx2
[    76.029] (II) intel(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    76.029] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[    76.029] (==) intel(0): RGB weight 888
[    76.029] (==) intel(0): Default visual is TrueColor
[    76.029] (II) intel(0): Output eDP1 has no monitor section
[    76.029] (--) intel(0): Found backlight control interface intel_backlight (type 'raw') for output eDP1
[    76.029] (II) intel(0): Enabled output eDP1
[    76.029] (II) intel(0): Output VGA1 has no monitor section
[    76.029] (II) intel(0): Enabled output VGA1
[    76.029] (II) intel(0): Output HDMI1 has no monitor section
[    76.029] (II) intel(0): Enabled output HDMI1
[    76.029] (--) intel(0): Using a maximum size of 256x256 for hardware cursors
[    76.029] (II) intel(0): Output VIRTUAL1 has no monitor section
[    76.029] (II) intel(0): Enabled output VIRTUAL1
[    76.029] (--) intel(0): Output eDP1 using initial mode 1920x1080 on pipe 0
[    76.029] (==) intel(0): TearFree disabled
[    76.029] (==) intel(0): DPI set to (96, 96)
[    76.029] (II) Loading sub module "dri2"
[    76.029] (II) LoadModule: "dri2"
[    76.029] (II) Module "dri2" already built-in
[    76.029] (II) Loading sub module "present"
[    76.029] (II) LoadModule: "present"
[    76.029] (II) Module "present" already built-in
[    76.029] (==) Depth 24 pixmap format is 32 bpp
[    76.030] (II) intel(0): SNA initialized with Haswell (gen7.5, gt2) backend
[    76.030] (==) intel(0): Backing store enabled
[    76.030] (==) intel(0): Silken mouse enabled
[    76.030] (II) intel(0): HW Cursor enabled
[    76.030] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[    76.030] (==) intel(0): DPMS enabled
[    76.030] (II) intel(0): [DRI2] Setup complete
[    76.030] (II) intel(0): [DRI2]   DRI driver: i965
[    76.030] (II) intel(0): [DRI2]   VDPAU driver: i965
[    76.030] (II) intel(0): direct rendering: DRI2 enabled
[    76.030] (II) intel(0): hardware support for Present enabled
[    76.030] (==) intel(0): display hotplug detection enabled
[    76.030] (--) RandR disabled
[    76.044] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    76.044] (II) AIGLX: enabled GLX_ARB_create_context
[    76.044] (II) AIGLX: enabled GLX_ARB_create_context_profile
[    76.044] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[    76.044] (II) AIGLX: enabled GLX_INTEL_swap_event
[    76.044] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[    76.044] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[    76.044] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[    76.044] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[    76.044] (II) AIGLX: enabled GLX_ARB_create_context_robustness
[    76.044] (II) AIGLX: Loaded and initialized i965
[    76.044] (II) GLX: Initialized DRI2 GL provider for screen 0
[    76.046] (II) intel(0): switch to mode 1920x1080@60.0 on eDP1 using pipe 0, position (0, 0), rotation normal, reflection none
[    76.056] (II) intel(0): Setting screen physical size to 508 x 285
[    76.076] (II) config/udev: Adding input device Power Button (/dev/input/event5)
[    76.076] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    76.076] (II) LoadModule: "evdev"
[    76.076] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    76.076] (II) Module evdev: vendor="X.Org Foundation"
[    76.076] 	compiled for 1.16.2, module version = 2.9.1
[    76.076] 	Module class: X.Org XInput Driver
[    76.076] 	ABI class: X.Org XInput driver, version 21.0
[    76.076] (II) Using input driver 'evdev' for 'Power Button'
[    76.076] (**) Power Button: always reports core events
[    76.076] (**) evdev: Power Button: Device: "/dev/input/event5"
[    76.076] (--) evdev: Power Button: Vendor 0 Product 0x1
[    76.076] (--) evdev: Power Button: Found keys
[    76.076] (II) evdev: Power Button: Configuring as keyboard
[    76.076] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input9/event5"
[    76.076] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[    76.076] (**) Option "xkb_rules" "evdev"
[    76.076] (**) Option "xkb_model" "pc104"
[    76.076] (**) Option "xkb_layout" "us"
[    76.089] (II) config/udev: Adding input device Video Bus (/dev/input/event12)
[    76.089] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    76.089] (II) Using input driver 'evdev' for 'Video Bus'
[    76.089] (**) Video Bus: always reports core events
[    76.089] (**) evdev: Video Bus: Device: "/dev/input/event12"
[    76.089] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    76.089] (--) evdev: Video Bus: Found keys
[    76.089] (II) evdev: Video Bus: Configuring as keyboard
[    76.089] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:01/input/input19/event12"
[    76.089] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[    76.089] (**) Option "xkb_rules" "evdev"
[    76.089] (**) Option "xkb_model" "pc104"
[    76.089] (**) Option "xkb_layout" "us"
[    76.089] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[    76.089] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[    76.089] (II) Using input driver 'evdev' for 'Power Button'
[    76.089] (**) Power Button: always reports core events
[    76.089] (**) evdev: Power Button: Device: "/dev/input/event2"
[    76.089] (--) evdev: Power Button: Vendor 0 Product 0x1
[    76.089] (--) evdev: Power Button: Found keys
[    76.089] (II) evdev: Power Button: Configuring as keyboard
[    76.089] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/PNP0C0C:00/input/input6/event2"
[    76.089] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[    76.089] (**) Option "xkb_rules" "evdev"
[    76.089] (**) Option "xkb_model" "pc104"
[    76.089] (**) Option "xkb_layout" "us"
[    76.089] (II) config/udev: Adding input device Sleep Button (/dev/input/event3)
[    76.089] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[    76.090] (II) Using input driver 'evdev' for 'Sleep Button'
[    76.090] (**) Sleep Button: always reports core events
[    76.090] (**) evdev: Sleep Button: Device: "/dev/input/event3"
[    76.090] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[    76.090] (--) evdev: Sleep Button: Found keys
[    76.090] (II) evdev: Sleep Button: Configuring as keyboard
[    76.090] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/PNP0C0E:00/input/input7/event3"
[    76.090] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[    76.090] (**) Option "xkb_rules" "evdev"
[    76.090] (**) Option "xkb_model" "pc104"
[    76.090] (**) Option "xkb_layout" "us"
[    76.090] (II) config/udev: Adding input device Video Bus (/dev/input/event11)
[    76.090] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[    76.090] (II) Using input driver 'evdev' for 'Video Bus'
[    76.090] (**) Video Bus: always reports core events
[    76.090] (**) evdev: Video Bus: Device: "/dev/input/event11"
[    76.090] (--) evdev: Video Bus: Vendor 0 Product 0x6
[    76.090] (--) evdev: Video Bus: Found keys
[    76.090] (II) evdev: Video Bus: Configuring as keyboard
[    76.090] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:46/LNXVIDEO:00/input/input18/event11"
[    76.090] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 10)
[    76.090] (**) Option "xkb_rules" "evdev"
[    76.090] (**) Option "xkb_model" "pc104"
[    76.090] (**) Option "xkb_layout" "us"
[    76.090] (II) config/udev: Adding input device Lid Switch (/dev/input/event4)
[    76.090] (II) No input driver specified, ignoring this device.
[    76.090] (II) This device may have been added with another device file.
[    76.090] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=3 (/dev/input/event13)
[    76.090] (II) No input driver specified, ignoring this device.
[    76.090] (II) This device may have been added with another device file.
[    76.090] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=7 (/dev/input/event14)
[    76.090] (II) No input driver specified, ignoring this device.
[    76.090] (II) This device may have been added with another device file.
[    76.091] (II) config/udev: Adding input device HDA Intel HDMI HDMI/DP,pcm=8 (/dev/input/event15)
[    76.091] (II) No input driver specified, ignoring this device.
[    76.091] (II) This device may have been added with another device file.
[    76.091] (II) config/udev: Adding input device HD WebCam (/dev/input/event10)
[    76.091] (**) HD WebCam: Applying InputClass "evdev keyboard catchall"
[    76.091] (II) Using input driver 'evdev' for 'HD WebCam'
[    76.091] (**) HD WebCam: always reports core events
[    76.091] (**) evdev: HD WebCam: Device: "/dev/input/event10"
[    76.091] (--) evdev: HD WebCam: Vendor 0x4f2 Product 0xb374
[    76.091] (--) evdev: HD WebCam: Found keys
[    76.091] (II) evdev: HD WebCam: Configuring as keyboard
[    76.091] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb3/3-5/3-5:1.0/input/input17/event10"
[    76.091] (II) XINPUT: Adding extended input device "HD WebCam" (type: KEYBOARD, id 11)
[    76.091] (**) Option "xkb_rules" "evdev"
[    76.091] (**) Option "xkb_model" "pc104"
[    76.091] (**) Option "xkb_layout" "us"
[    76.091] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event16)
[    76.091] (II) No input driver specified, ignoring this device.
[    76.091] (II) This device may have been added with another device file.
[    76.091] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event17)
[    76.091] (II) No input driver specified, ignoring this device.
[    76.091] (II) This device may have been added with another device file.
[    76.091] (II) config/udev: Adding input device HDA Intel PCH Headphone (/dev/input/event18)
[    76.091] (II) No input driver specified, ignoring this device.
[    76.091] (II) This device may have been added with another device file.
[    76.091] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[    76.091] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[    76.091] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[    76.091] (**) AT Translated Set 2 keyboard: always reports core events
[    76.091] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[    76.091] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[    76.091] (--) evdev: AT Translated Set 2 keyboard: Found keys
[    76.091] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[    76.091] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[    76.091] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12)
[    76.091] (**) Option "xkb_rules" "evdev"
[    76.091] (**) Option "xkb_model" "pc104"
[    76.091] (**) Option "xkb_layout" "us"
[    76.092] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event7)
[    76.092] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[    76.092] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    76.092] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[    76.092] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[    76.092] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[    76.092] (II) LoadModule: "synaptics"
[    76.092] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[    76.092] (II) Module synaptics: vendor="X.Org Foundation"
[    76.092] 	compiled for 1.16.0, module version = 1.8.1
[    76.092] 	Module class: X.Org XInput Driver
[    76.092] 	ABI class: X.Org XInput driver, version 21.0
[    76.092] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[    76.092] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    76.092] (**) Option "Device" "/dev/input/event7"
[    76.196] (II) synaptics: SynPS/2 Synaptics TouchPad: found clickpad property
[    76.196] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5662 (res 42)
[    76.196] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4656 (res 46)
[    76.196] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[    76.196] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[    76.196] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left double triple
[    76.196] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[    76.196] (**) Option "VertEdgeScroll" "on"
[    76.196] (**) Option "HorizEdgeScroll" "on"
[    76.196] (**) Option "TapButton1" "1"
[    76.197] (**) Option "TapButton2" "2"
[    76.197] (**) Option "TapButton3" "3"
[    76.197] (**) Option "CircularScrolling" "on"
[    76.197] (**) Option "CircScrollTrigger" "1"
[    76.197] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[    76.197] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    76.197] (**) SynPS/2 Synaptics TouchPad: always reports core events
[    76.250] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio4/input/input14/event7"
[    76.250] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 13)
[    76.250] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[    76.250] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[    76.250] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.038
[    76.250] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[    76.250] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[    76.250] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[    76.250] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[    76.250] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[    76.250] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[    76.250] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[    76.250] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[    76.250] (II) No input driver specified, ignoring this device.
[    76.250] (II) This device may have been added with another device file.
[    76.251] (II) config/udev: Adding input device Acer WMI hotkeys (/dev/input/event8)
[    76.251] (**) Acer WMI hotkeys: Applying InputClass "evdev keyboard catchall"
[    76.251] (II) Using input driver 'evdev' for 'Acer WMI hotkeys'
[    76.251] (**) Acer WMI hotkeys: always reports core events
[    76.251] (**) evdev: Acer WMI hotkeys: Device: "/dev/input/event8"
[    76.251] (--) evdev: Acer WMI hotkeys: Vendor 0 Product 0
[    76.251] (--) evdev: Acer WMI hotkeys: Found keys
[    76.251] (II) evdev: Acer WMI hotkeys: Configuring as keyboard
[    76.251] (**) Option "config_info" "udev:/sys/devices/virtual/input/input15/event8"
[    76.251] (II) XINPUT: Adding extended input device "Acer WMI hotkeys" (type: KEYBOARD, id 14)
[    76.251] (**) Option "xkb_rules" "evdev"
[    76.251] (**) Option "xkb_model" "pc104"
[    76.251] (**) Option "xkb_layout" "us"
[    76.251] (II) config/udev: Adding input device Acer BMA150 accelerometer (/dev/input/event9)
[    76.251] (II) No input driver specified, ignoring this device.
[    76.251] (II) This device may have been added with another device file.
[    76.251] (II) config/udev: Adding input device Acer BMA150 accelerometer (/dev/input/js0)
[    76.251] (II) No input driver specified, ignoring this device.
[    76.251] (II) This device may have been added with another device file.
[    76.251] (II) config/udev: Adding input device Speakup (/dev/input/event1)
[    76.251] (**) Speakup: Applying InputClass "evdev keyboard catchall"
[    76.251] (II) Using input driver 'evdev' for 'Speakup'
[    76.251] (**) Speakup: always reports core events
[    76.251] (**) evdev: Speakup: Device: "/dev/input/event1"
[    76.251] (--) evdev: Speakup: Vendor 0 Product 0
[    76.251] (--) evdev: Speakup: Found keys
[    76.251] (II) evdev: Speakup: Configuring as keyboard
[    76.251] (**) Option "config_info" "udev:/sys/devices/virtual/input/input5/event1"
[    76.251] (II) XINPUT: Adding extended input device "Speakup" (type: KEYBOARD, id 15)
[    76.251] (**) Option "xkb_rules" "evdev"
[    76.251] (**) Option "xkb_model" "pc104"
[    76.251] (**) Option "xkb_layout" "us"
[    77.676] (II) AIGLX: Suspending AIGLX clients for VT switch
[    79.138] (II) evdev: Speakup: Close
[    79.138] (II) UnloadModule: "evdev"
[    79.138] (II) evdev: Acer WMI hotkeys: Close
[    79.138] (II) UnloadModule: "evdev"
[    79.138] (II) UnloadModule: "synaptics"
[    79.138] (II) evdev: AT Translated Set 2 keyboard: Close
[    79.138] (II) UnloadModule: "evdev"
[    79.138] (II) evdev: HD WebCam: Close
[    79.138] (II) UnloadModule: "evdev"
[    79.138] (II) evdev: Video Bus: Close
[    79.138] (II) UnloadModule: "evdev"
[    79.138] (II) evdev: Sleep Button: Close
[    79.138] (II) UnloadModule: "evdev"
[    79.138] (II) evdev: Power Button: Close
[    79.138] (II) UnloadModule: "evdev"
[    79.138] (II) evdev: Video Bus: Close
[    79.138] (II) UnloadModule: "evdev"
[    79.138] (II) evdev: Power Button: Close
[    79.138] (II) UnloadModule: "evdev"
[    79.140] (EE) Server terminated successfully (0). Closing log file.

Here is the output of startx when root (I terminate with killall Xorg.bin because for some reason startx now use the current tty rather than always the F7)

X.Org X Server 1.16.3
Release Date: 2014-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.17.4-1-ARCH x86_64 
Current Operating System: Linux lu-tze 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64
Kernel command line: initrd=\initramfs-linux.img root=/dev/sdb6 rw
Build Date: 20 December 2014  01:34:48PM
 
Current version of pixman: 0.32.6
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 24 17:50:31 2014
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"

ERROR: Error resolving target specification '' (No targets match target
       specification), specified in assignment 'InitialPixmapPlacement=2'.


/home/nbrr/.Xresources:1: warning: Converted [CR+LF] to [LF]
    URxvt*loginShell:true
/home/nbrr/.Xresources:47: warning: End of input with no newline, supplemented newline
    URxvt.urlLauncher:           firefox
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
W: [pulseaudio] main.c: This program is not intended to be run as root (unless --system is specified).
No protocol specified
xscreensaver: 17:50:32: Can't open display: :0
xscreensaver: 17:50:32: initial effective uid/gid was root/root (0/0)
xscreensaver: 17:50:32: running as nobody/nobody (99/99)

xscreensaver: 17:50:32: This is probably because you're logging in as root.  You
              shouldn't log in as root: you should log in as a normal user,
              and then `su' as needed.  If you insist on logging in as
              root, you will have to turn off X's security features before
              xscreensaver will work.

              Please read the manual and FAQ for more information:

              http://www.jwz.org/xscreensaver/faq.html
              http://www.jwz.org/xscreensaver/man.html

The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning:          Type "ONE_LEVEL" has 1 levels, but <RALT> has 2 symbols
>                   Ignoring extra symbols
Errors from xkbcomp are not fatal to the X server
(II) AIGLX: Suspending AIGLX clients for VT switch
libgl-switcheroo: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
gtkglswitch: Fatal IO error 11 (Resource temporarily unavailable) on X server :0.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 3980 requests (3980 known processed) with 0 events remaining.
XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
      after 11 requests (11 known processed) with 0 events remaining.
xinit: connection to X server lost

waiting for X server to shut down (EE) Server terminated successfully (0). Closing log file.

I couldn't get the exact output from startx when user but it looks like the begining of the previous, with some complaints from (I suppose) xinitrc at the end.

X.Org X Server 1.16.3
Release Date: 2014-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.17.4-1-ARCH x86_64 
Current Operating System: Linux lu-tze 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64
Kernel command line: initrd=\initramfs-linux.img root=/dev/sdb6 rw
Build Date: 20 December 2014  01:34:48PM
 
Current version of pixman: 0.32.6
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Dec 24 17:50:31 2014
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitetd)
No Protocol specified.
waiting for X server to begin accepting connections.

Meet my .xinitrc

nvidia-settings --load-config-only
nvidia-settings -a InitialPixmapPlacement=2

# Read xprofile files
[ -f /etc/xprofile ] && source /etc/xprofile
[ -f ~/.xprofile ] && source ~/.xprofile

xrdb -merge ~/.Xresources

setxkbmap fr -option compose:menu

xsetroot -cursor_name left_ptr

xset +fp /usr/share/fonts/local
xset fp rehash

pulseaudio --start

xscreensaver&

exec xmonad

a few mod

-rwxr-xr-x 1 root root     277 Dec 20 14:36 /usr/bin/Xorg
-rwxr-xr-x 1 root root 2245152 Dec 20 14:36 /usr/bin/Xorg.bin
-rwsr-xr-x 1 root root   10472 Dec 20 14:36 /usr/bin/Xorg.wrap

-rw-r--r-- 1 root root 1667 Oct 28 18:33 50-synaptics.conf

/etc/X11/:
drwxr-xr-x 3 root root 4096 Oct 28 17:27 xinit
drwxr-xr-x 2 root root 4096 Oct 28 18:33 xorg.conf.d

/etc/X11/xinit:
-rw-r--r-- 1 root root  739 Sep 11 23:42 xinitrc
drwxr-xr-x 2 root root 4096 Dec 20 15:57 xinitrc.d
-rw-r--r-- 1 root root  132 Oct 27  2013 xserverrc

/etc/X11/xinit/xinitrc.d:
-rwxr-xr-x 1 root root 180 Dec  3 05:39 30-dbus
-rwxr-xr-x 1 root root 398 Jun  7  2013 40-libcanberra-gtk-module

/etc/X11/xorg.conf.d:
-rw-r--r-- 1 root root 1667 Oct 28 18:33 50-synaptics.conf

50-synaptics.conf is the only non empty xorg conf file in xorg.conf.d (something from archwiki about fancy scrolling on my touchpad)

Hope it's not something too complicated...

Offline

#2 2014-12-24 19:43:48

CarlD
Member
From: London
Registered: 2013-11-23
Posts: 128

Re: startx not working as a regular user.

Looks like you have a driver problem for your NVIDIA card. My advice would be to install and try another driver, perhaps:

* Nouveau (NVIDIA open source)
* xf86-video-modesetting (generic)
* xf86-video-fbdev

Permissions issue may be related to xorg now being rootless. Not sure about that.

Offline

#3 2014-12-24 20:07:01

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: startx not working as a regular user.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2014-12-24 23:48:35

CarlD
Member
From: London
Registered: 2013-11-23
Posts: 128

Re: startx not working as a regular user.

Thinking about it, I am now really starting to wonder if the newer NVIDIA drivers are having issues due to xorg being rootless...

Offline

#5 2014-12-25 00:31:44

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: startx not working as a regular user.

Some things are somewhat not consistent here.

In the log you posted there's no mention of NVIDIA, it doesn't even try to load it, or the log is old. But it is loading the intel driver.
In this log it says it's using /etc/X11/xorg.conf but in your 'ls' output it isn't there... Then you have nvidia-settings in your .xinitrc...

So, what is this setup actually, is it a hybrid ?

What exact command did you use to start ? Please try using 'startx' only (Edit: as user), and try to find the corresponding log to this, it should be on one of the locations you mentioned (Edit: e.g. check the date).

Regards

Edit: grammar/wording, clarify

Last edited by rebootl (2014-12-25 00:40:36)


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#6 2014-12-25 01:37:57

nrms
Member
Registered: 2014-12-24
Posts: 6

Re: startx not working as a regular user.

Thank you all for your answers.

CarID > I think I chose nividia driver because I had some issues with the open
source one at the time I installed everything. Maybe was it only that nvidia
worked fine on first shot and nouveau didn't. If I remember correctly, bumblebee
was unstable with the nouveau driver while nvidia behaved properly. I will try
nouveau again but I woudld like to understand why my system stopped working
after last update first.

jasonwryan > I saw that, but honestly I don't really understand what it says and
what are the consequencies. Since it's from July and my system was working fine
in November I thought it was unrelated. What is this supposed to mean ? I
suppose the "redirecting stderr also breaks rootless login" explains that I
failed when I attempted to redirect startx output with 2&> as a user ?

rebootl > My laptop has NVIDIA Optimus, so when I got my it a year ago I tried to
follow the wiki about Bumblebee. I don't really remember how well I did and the
nvidia-settings in .xinitrc might well be superstition.  /etc/X11/xorg.conf
exists and is empty.

When I startx as a user, I can't find any proper log
file. ~/.local/share/xorg/Xorg.0.log is created (correct date) but empty. I
get a black screen and the only way I found to get away is to killall Xorg.bin
from another tty. When I am back on the user tty after I killed Xorg.bin, I can
read something like that (not 100% accurate since I can only retype it so far...)

X.Org X Server 1.16.3
Release Date: 2014-12-20
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.17.4-1-ARCH x86_64 
Current Operating System: Linux lu-tze 3.17.6-1-ARCH #1 SMP PREEMPT Sun Dec 7 23:43:32 UTC 2014 x86_64
Kernel command line: initrd=\initramfs-linux.img root=/dev/sdb6 rw
Build Date: 20 December 2014  01:34:48PM
 
Current version of pixman: 0.32.6
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/nbrr/.local/share/xorg/Xorg.0.log", Time: Thu Dec 25 02:15:32 2014
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
No Protocol specified.

waiting for X server to begin accepting connections .(II) AIGLX: Suspending AIGLX clients for VT switch
No protocole specified
No protocole specified
No protocole specified
No protocole specified
No protocole specified
No protocole specified.(II) AIGLX: Suspending AIGLX clients for VT switch

(EE) Server terminated succesfully (0). Closing log file.

xinit: giving up
xinit: unable to connect to X server : Resource temporarily unavailable
xinit: server error

Offline

#7 2014-12-25 02:17:57

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: startx not working as a regular user.

Ok, sorry, I think the others were right about that. It seems to indicate that Xorg tries to start rootless (the logfile is created in the home), but this will not work with nvidia. For nvidia X needs to start as root (at least that was the case when rootless X came out in summer). This worked here automatically as well, up to now. I've updated now but I'll have to check it tomorrow...
Maybe this changed with an update. I don't have optimus and am using the legacy nvidia-340xx now, so I can't really tell for this.

Maybe effectively try to set up Xorg.wrap as described in the link of jasonwryan, to force starting X not rootless.

Edit: It seems to work fine here without Xwrapper.config, but as mentioned I'm using the legacy nvidia driver now.

Last edited by rebootl (2014-12-25 02:22:44)


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

Board footer

Powered by FluxBB