You are not logged in.
Hello everyone! I have tried my very best to find a solution to my problem, and I have found many that were very similar. Still, I don't know how to get my x server working after I login to a user account. There are no issues, however if I run the startx command as root.
Here are the errors I get in my Xorg.log. I just grepped out the (EE)'s. If you think I should post the entire log, I can do that.
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5700.959] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 5700.959] (EE) Failed to load module "nv" (module does not exist, 0)
[ 5700.959] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 5700.960] (EE) Failed to load module "vesa" (module does not exist, 0)
I just installed Arch Linux, and I have installed and uninstalled all three of my nvidia card driver options. I finally settled on nouveau.
I also see an error about my .Xauthority not locking, though this isn't in the log file. It only appears in the initial shell (is that the right term) that you start in after logging in.
Also, if I try to sudo startx from the user account, I see three white terminals as I do when I start it from root. The difference is when I run sudo startx from the user account, those three terminals are frozen and I can't type anything. I usually have to power the computer off to get out of that screen.
I'm at a loss, and I would greatly appreciate any help toward my post style (since I'm new here too) and my installation.
Thanks guys!
Last edited by apsalus (2014-08-07 02:25:55)
Offline
Read the news:
https://www.archlinux.org/news/xorg-ser … available/
You probably need logind or startx from the same VT you logged in as, or use xorg.wrap..
Offline
Please do post the full log - either in code tags, or link to an external source where you've posted it.
Also, please describe the actual problem when you run startx as a regular user. All I can gather from your post is that it doesn't work - but how does it not work? How does it fail? System crash, black screen, white screen, blinking cursor, returned to command prompt, abducted by aliens and probed, something else?
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thanks! I will read what's in that link and read more about "wrap". What does VT stand for?
Trilby: I run startx from the command prompt, and after some rolling text, I am returned to the command prompt. Sorry, that is likely still vague. I am posting from the same machine so I need to log off and write down the text that appears.
Here is the full Xorg.0.log:
[ 5700.952]
X.Org X Server 1.16.0
Release Date: 2014-07-16
[ 5700.952] X Protocol Version 11, Revision 0
[ 5700.952] Build Operating System: Linux 3.15.5-2-ARCH x86_64
[ 5700.952] Current Operating System: Linux swordfish 3.15.8-1-ARCH #1 SMP PREEMPT Fri Aug 1 08:51:42 CEST 2014 x86_64
[ 5700.952] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=d25f94b9-981a-410e-8701-58bcdeb03254 rw quiet
[ 5700.952] Build Date: 31 July 2014 11:53:19AM
[ 5700.952]
[ 5700.952] Current version of pixman: 0.32.6
[ 5700.952] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 5700.952] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 5700.952] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Aug 5 14:18:43 2014
[ 5700.952] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 5700.952] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 5700.952] (==) No Layout section. Using the first Screen section.
[ 5700.952] (==) No screen section available. Using defaults.
[ 5700.952] (**) |-->Screen "Default Screen Section" (0)
[ 5700.952] (**) | |-->Monitor "<default monitor>"
[ 5700.952] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 5700.952] (==) Automatically adding devices
[ 5700.952] (==) Automatically enabling devices
[ 5700.953] (==) Automatically adding GPU devices
[ 5700.953] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 5700.953] Entry deleted from font path.
[ 5700.953] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 5700.953] Entry deleted from font path.
[ 5700.953] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 5700.953] Entry deleted from font path.
[ 5700.953] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 5700.953] Entry deleted from font path.
[ 5700.953] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 5700.953] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 5700.953] Entry deleted from font path.
[ 5700.953] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 5700.953] (==) FontPath set to:
/usr/share/fonts/misc/
[ 5700.953] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 5700.953] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 5700.953] (II) Loader magic: 0x818d80
[ 5700.953] (II) Module ABI versions:
[ 5700.953] X.Org ANSI C Emulation: 0.4
[ 5700.953] X.Org Video Driver: 18.0
[ 5700.953] X.Org XInput driver : 21.0
[ 5700.953] X.Org Server Extension : 8.0
[ 5700.954] (II) systemd-logind: took control of session /org/freedesktop/login1/session/c9
[ 5700.954] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 5700.955] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 8 paused 0
[ 5700.957] (--) PCI:*(0:1:0:0) 10de:0648:1043:1892 rev 161, Mem @ 0xfc000000/16777216, 0xd0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000cc00/128, BIOS @ 0x????????/524288
[ 5700.957] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[ 5700.957] (II) LoadModule: "glx"
[ 5700.957] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 5700.958] (II) Module glx: vendor="X.Org Foundation"
[ 5700.958] compiled for 1.16.0, module version = 1.0.0
[ 5700.958] ABI class: X.Org Server Extension, version 8.0
[ 5700.958] (==) AIGLX enabled
[ 5700.958] (==) Matched nouveau as autoconfigured driver 0
[ 5700.958] (==) Matched nvidia as autoconfigured driver 1
[ 5700.958] (==) Matched nv as autoconfigured driver 2
[ 5700.958] (==) Matched nouveau as autoconfigured driver 3
[ 5700.958] (==) Matched nvidia as autoconfigured driver 4
[ 5700.958] (==) Matched nv as autoconfigured driver 5
[ 5700.958] (==) Matched modesetting as autoconfigured driver 6
[ 5700.958] (==) Matched fbdev as autoconfigured driver 7
[ 5700.958] (==) Matched vesa as autoconfigured driver 8
[ 5700.958] (==) Assigned the driver to the xf86ConfigLayout
[ 5700.958] (II) LoadModule: "nouveau"
[ 5700.958] (II) Loading /usr/lib/xorg/modules/drivers/nouveau_drv.so
[ 5700.958] (II) Module nouveau: vendor="X.Org Foundation"
[ 5700.958] compiled for 1.16.0, module version = 1.0.10
[ 5700.958] Module class: X.Org Video Driver
[ 5700.958] ABI class: X.Org Video Driver, version 18.0
[ 5700.958] (II) LoadModule: "nvidia"
[ 5700.959] (WW) Warning, couldn't open module nvidia
[ 5700.959] (II) UnloadModule: "nvidia"
[ 5700.959] (II) Unloading nvidia
[ 5700.959] (EE) Failed to load module "nvidia" (module does not exist, 0)
[ 5700.959] (II) LoadModule: "nv"
[ 5700.959] (WW) Warning, couldn't open module nv
[ 5700.959] (II) UnloadModule: "nv"
[ 5700.959] (II) Unloading nv
[ 5700.959] (EE) Failed to load module "nv" (module does not exist, 0)
[ 5700.959] (II) LoadModule: "modesetting"
[ 5700.959] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 5700.959] (II) Module modesetting: vendor="X.Org Foundation"
[ 5700.959] compiled for 1.16.0, module version = 0.9.0
[ 5700.959] Module class: X.Org Video Driver
[ 5700.959] ABI class: X.Org Video Driver, version 18.0
[ 5700.959] (II) LoadModule: "fbdev"
[ 5700.959] (WW) Warning, couldn't open module fbdev
[ 5700.959] (II) UnloadModule: "fbdev"
[ 5700.959] (II) Unloading fbdev
[ 5700.959] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 5700.959] (II) LoadModule: "vesa"
[ 5700.960] (WW) Warning, couldn't open module vesa
[ 5700.960] (II) UnloadModule: "vesa"
[ 5700.960] (II) Unloading vesa
[ 5700.960] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 5700.960] (II) NOUVEAU driver
[ 5700.960] (II) NOUVEAU driver for NVIDIA chipset families :
[ 5700.960] RIVA TNT (NV04)
[ 5700.960] RIVA TNT2 (NV05)
[ 5700.960] GeForce 256 (NV10)
[ 5700.960] GeForce 2 (NV11, NV15)
[ 5700.960] GeForce 4MX (NV17, NV18)
[ 5700.960] GeForce 3 (NV20)
[ 5700.960] GeForce 4Ti (NV25, NV28)
[ 5700.960] GeForce FX (NV3x)
[ 5700.960] GeForce 6 (NV4x)
[ 5700.960] GeForce 7 (G7x)
[ 5700.960] GeForce 8 (G8x)
[ 5700.960] GeForce GTX 200 (NVA0)
[ 5700.960] GeForce GTX 400 (NVC0)
[ 5700.960] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 5700.960] (++) using VT number 1
[ 5700.960] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 5700.960] (II) systemd-logind: releasing fd for 226:0
[ 5700.960] (II) [drm] nouveau interface version: 1.1.1
[ 5700.960] (WW) Falling back to old probe method for modesetting
[ 5700.961] (II) Loading sub module "dri2"
[ 5700.961] (II) LoadModule: "dri2"
[ 5700.961] (II) Module "dri2" already built-in
[ 5700.961] (--) NOUVEAU(0): Chipset: "NVIDIA NV96"
[ 5700.961] (II) NOUVEAU(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 5700.961] (==) NOUVEAU(0): Depth 24, (--) framebuffer bpp 32
[ 5700.961] (==) NOUVEAU(0): RGB weight 888
[ 5700.961] (==) NOUVEAU(0): Default visual is TrueColor
[ 5700.961] (==) NOUVEAU(0): Using HW cursor
[ 5700.961] (==) NOUVEAU(0): GLX sync to VBlank disabled.
[ 5700.961] (==) NOUVEAU(0): Page flipping enabled
[ 5700.961] (==) NOUVEAU(0): Swap limit set to 2 [Max allowed 2]
[ 5701.007] (II) NOUVEAU(0): Output LVDS-1 has no monitor section
[ 5701.028] (II) NOUVEAU(0): Output VGA-1 has no monitor section
[ 5701.030] (II) NOUVEAU(0): Output HDMI-1 has no monitor section
[ 5701.062] (II) NOUVEAU(0): EDID for output LVDS-1
[ 5701.062] (II) NOUVEAU(0): Manufacturer: AUO Model: 8174 Serial#: 0
[ 5701.062] (II) NOUVEAU(0): Year: 2006 Week: 1
[ 5701.062] (II) NOUVEAU(0): EDID Version: 1.3
[ 5701.062] (II) NOUVEAU(0): Digital Display Input
[ 5701.062] (II) NOUVEAU(0): Max Image Size [cm]: horiz.: 33 vert.: 21
[ 5701.062] (II) NOUVEAU(0): Gamma: 2.20
[ 5701.063] (II) NOUVEAU(0): No DPMS capabilities specified
[ 5701.063] (II) NOUVEAU(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[ 5701.063] (II) NOUVEAU(0): First detailed timing is preferred mode
[ 5701.063] (II) NOUVEAU(0): redX: 0.590 redY: 0.345 greenX: 0.315 greenY: 0.555
[ 5701.063] (II) NOUVEAU(0): blueX: 0.155 blueY: 0.155 whiteX: 0.313 whiteY: 0.329
[ 5701.063] (II) NOUVEAU(0): Manufacturer's mask: 0
[ 5701.063] (II) NOUVEAU(0): Supported detailed timing:
[ 5701.063] (II) NOUVEAU(0): clock: 71.1 MHz Image Size: 331 x 207 mm
[ 5701.063] (II) NOUVEAU(0): h_active: 1280 h_sync: 1328 h_sync_end 1360 h_blank_end 1440 h_border: 0
[ 5701.063] (II) NOUVEAU(0): v_active: 800 v_sync: 803 v_sync_end 809 v_blanking: 823 v_border: 0
[ 5701.063] (II) NOUVEAU(0): Unknown vendor-specific block f
[ 5701.063] (II) NOUVEAU(0): AUO
[ 5701.063] (II) NOUVEAU(0): B154EW08 V1
[ 5701.063] (II) NOUVEAU(0): EDID (in hex):
[ 5701.063] (II) NOUVEAU(0): 00ffffffffffff0006af748100000000
[ 5701.063] (II) NOUVEAU(0): 01100103802115780a1cf59758508e27
[ 5701.063] (II) NOUVEAU(0): 27505400000001010101010101010101
[ 5701.063] (II) NOUVEAU(0): 010101010101c71b00a0502017303020
[ 5701.063] (II) NOUVEAU(0): 36004bcf100000180000000f00000000
[ 5701.063] (II) NOUVEAU(0): 00000000000000000020000000fe0041
[ 5701.063] (II) NOUVEAU(0): 554f0a202020202020202020000000fe
[ 5701.063] (II) NOUVEAU(0): 004231353445573038205631200a0043
[ 5701.063] (II) NOUVEAU(0): Printing probed modes for output LVDS-1
[ 5701.063] (II) NOUVEAU(0): Modeline "1280x800"x60.0 71.11 1280 1328 1360 1440 800 803 809 823 -hsync -vsync (49.4 kHz eP)
[ 5701.063] (II) NOUVEAU(0): Modeline "1024x768"x59.9 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync (47.8 kHz e)
[ 5701.063] (II) NOUVEAU(0): Modeline "800x600"x59.9 38.25 800 832 912 1024 600 603 607 624 -hsync +vsync (37.4 kHz e)
[ 5701.063] (II) NOUVEAU(0): Modeline "640x480"x59.4 23.75 640 664 720 800 480 483 487 500 -hsync +vsync (29.7 kHz e)
[ 5701.063] (II) NOUVEAU(0): Modeline "720x400"x59.6 22.25 720 744 808 896 400 403 413 417 -hsync +vsync (24.8 kHz e)
[ 5701.063] (II) NOUVEAU(0): Modeline "640x400"x60.0 20.00 640 664 720 800 400 403 409 417 -hsync +vsync (25.0 kHz e)
[ 5701.063] (II) NOUVEAU(0): Modeline "640x350"x59.8 17.50 640 664 720 800 350 353 363 366 -hsync +vsync (21.9 kHz e)
[ 5701.084] (II) NOUVEAU(0): EDID for output VGA-1
[ 5701.086] (II) NOUVEAU(0): EDID for output HDMI-1
[ 5701.086] (II) NOUVEAU(0): Output LVDS-1 connected
[ 5701.086] (II) NOUVEAU(0): Output VGA-1 disconnected
[ 5701.086] (II) NOUVEAU(0): Output HDMI-1 disconnected
[ 5701.086] (II) NOUVEAU(0): Using exact sizes for initial modes
[ 5701.086] (II) NOUVEAU(0): Output LVDS-1 using initial mode 1280x800
[ 5701.086] (II) NOUVEAU(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[ 5701.086] (--) NOUVEAU(0): Virtual size is 1280x800 (pitch 0)
[ 5701.086] (**) NOUVEAU(0): Driver mode "1280x800": 71.1 MHz (scaled from 0.0 MHz), 49.4 kHz, 60.0 Hz
[ 5701.086] (II) NOUVEAU(0): Modeline "1280x800"x60.0 71.11 1280 1328 1360 1440 800 803 809 823 -hsync -vsync (49.4 kHz eP)
[ 5701.086] (**) NOUVEAU(0): Driver mode "1024x768": 63.5 MHz (scaled from 0.0 MHz), 47.8 kHz, 59.9 Hz
[ 5701.086] (II) NOUVEAU(0): Modeline "1024x768"x59.9 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync (47.8 kHz e)
[ 5701.086] (**) NOUVEAU(0): Driver mode "800x600": 38.2 MHz (scaled from 0.0 MHz), 37.4 kHz, 59.9 Hz
[ 5701.086] (II) NOUVEAU(0): Modeline "800x600"x59.9 38.25 800 832 912 1024 600 603 607 624 -hsync +vsync (37.4 kHz e)
[ 5701.086] (**) NOUVEAU(0): Driver mode "640x480": 23.8 MHz (scaled from 0.0 MHz), 29.7 kHz, 59.4 Hz
[ 5701.086] (II) NOUVEAU(0): Modeline "640x480"x59.4 23.75 640 664 720 800 480 483 487 500 -hsync +vsync (29.7 kHz e)
[ 5701.086] (**) NOUVEAU(0): Driver mode "720x400": 22.2 MHz (scaled from 0.0 MHz), 24.8 kHz, 59.6 Hz
[ 5701.086] (II) NOUVEAU(0): Modeline "720x400"x59.6 22.25 720 744 808 896 400 403 413 417 -hsync +vsync (24.8 kHz e)
[ 5701.086] (**) NOUVEAU(0): Driver mode "640x400": 20.0 MHz (scaled from 0.0 MHz), 25.0 kHz, 60.0 Hz
[ 5701.086] (II) NOUVEAU(0): Modeline "640x400"x60.0 20.00 640 664 720 800 400 403 409 417 -hsync +vsync (25.0 kHz e)
[ 5701.086] (**) NOUVEAU(0): Driver mode "640x350": 17.5 MHz (scaled from 0.0 MHz), 21.9 kHz, 59.8 Hz
[ 5701.086] (II) NOUVEAU(0): Modeline "640x350"x59.8 17.50 640 664 720 800 350 353 363 366 -hsync +vsync (21.9 kHz e)
[ 5701.086] (==) NOUVEAU(0): DPI set to (96, 96)
[ 5701.086] (II) Loading sub module "fb"
[ 5701.086] (II) LoadModule: "fb"
[ 5701.086] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 5701.087] (II) Module fb: vendor="X.Org Foundation"
[ 5701.087] compiled for 1.16.0, module version = 1.0.0
[ 5701.087] ABI class: X.Org ANSI C Emulation, version 0.4
[ 5701.087] (II) Loading sub module "exa"
[ 5701.087] (II) LoadModule: "exa"
[ 5701.087] (II) Loading /usr/lib/xorg/modules/libexa.so
[ 5701.087] (II) Module exa: vendor="X.Org Foundation"
[ 5701.087] compiled for 1.16.0, module version = 2.6.0
[ 5701.087] ABI class: X.Org Video Driver, version 18.0
[ 5701.087] (II) Loading sub module "shadowfb"
[ 5701.087] (II) LoadModule: "shadowfb"
[ 5701.087] (II) Loading /usr/lib/xorg/modules/libshadowfb.so
[ 5701.087] (II) Module shadowfb: vendor="X.Org Foundation"
[ 5701.087] compiled for 1.16.0, module version = 1.0.0
[ 5701.087] ABI class: X.Org ANSI C Emulation, version 0.4
[ 5701.087] (II) UnloadModule: "modesetting"
[ 5701.087] (II) Unloading modesetting
[ 5701.087] (--) Depth 24 pixmap format is 32 bpp
[ 5701.088] (II) NOUVEAU(0): Opened GPU channel 0
[ 5701.094] (II) NOUVEAU(0): [DRI2] Setup complete
[ 5701.094] (II) NOUVEAU(0): [DRI2] DRI driver: nouveau
[ 5701.094] (II) NOUVEAU(0): [DRI2] VDPAU driver: nouveau
[ 5701.095] (II) EXA(0): Driver allocated offscreen pixmaps
[ 5701.095] (II) EXA(0): Driver registered support for the following operations:
[ 5701.095] (II) Solid
[ 5701.095] (II) Copy
[ 5701.095] (II) Composite (RENDER acceleration)
[ 5701.095] (II) UploadToScreen
[ 5701.095] (II) DownloadFromScreen
[ 5701.095] (==) NOUVEAU(0): Backing store enabled
[ 5701.095] (==) NOUVEAU(0): Silken mouse enabled
[ 5701.095] (II) NOUVEAU(0): [XvMC] Associated with Nouveau GeForce 8/9 Textured Video.
[ 5701.095] (II) NOUVEAU(0): [XvMC] Extension initialized.
[ 5701.095] (==) NOUVEAU(0): DPMS enabled
[ 5701.095] (II) NOUVEAU(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 5701.095] (--) RandR disabled
[ 5701.125] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[ 5701.125] (II) AIGLX: enabled GLX_ARB_create_context
[ 5701.125] (II) AIGLX: enabled GLX_ARB_create_context_profile
[ 5701.125] (II) AIGLX: enabled GLX_EXT_create_context_es2_profile
[ 5701.125] (II) AIGLX: enabled GLX_INTEL_swap_event
[ 5701.125] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[ 5701.125] (II) AIGLX: enabled GLX_EXT_framebuffer_sRGB
[ 5701.125] (II) AIGLX: enabled GLX_ARB_fbconfig_float
[ 5701.125] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[ 5701.125] (II) AIGLX: Loaded and initialized nouveau
[ 5701.125] (II) GLX: Initialized DRI2 GL provider for screen 0
[ 5701.127] (II) NOUVEAU(0): NVEnterVT is called.
[ 5701.145] (II) NOUVEAU(0): Setting screen physical size to 338 x 211
[ 5701.145] resize called 1280 800
[ 5701.179] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 5701.179] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 5701.179] (II) LoadModule: "evdev"
[ 5701.179] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 5701.179] (II) Module evdev: vendor="X.Org Foundation"
[ 5701.179] compiled for 1.16.0, module version = 2.9.0
[ 5701.179] Module class: X.Org XInput Driver
[ 5701.179] ABI class: X.Org XInput driver, version 21.0
[ 5701.180] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 15 paused 0
[ 5701.180] (II) Using input driver 'evdev' for 'Power Button'
[ 5701.180] (**) Power Button: always reports core events
[ 5701.180] (**) evdev: Power Button: Device: "/dev/input/event3"
[ 5701.180] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 5701.180] (--) evdev: Power Button: Found keys
[ 5701.180] (II) evdev: Power Button: Configuring as keyboard
[ 5701.180] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input7/event3"
[ 5701.180] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 5701.180] (**) Option "xkb_rules" "evdev"
[ 5701.180] (**) Option "xkb_model" "pc104"
[ 5701.180] (**) Option "xkb_layout" "us"
[ 5701.206] (II) config/udev: Adding input device Video Bus (/dev/input/event6)
[ 5701.206] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[ 5701.206] (II) systemd-logind: got fd for /dev/input/event6 13:70 fd 16 paused 0
[ 5701.206] (II) Using input driver 'evdev' for 'Video Bus'
[ 5701.206] (**) Video Bus: always reports core events
[ 5701.206] (**) evdev: Video Bus: Device: "/dev/input/event6"
[ 5701.206] (--) evdev: Video Bus: Vendor 0 Product 0x6
[ 5701.206] (--) evdev: Video Bus: Found keys
[ 5701.207] (II) evdev: Video Bus: Configuring as keyboard
[ 5701.207] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:18/LNXVIDEO:00/input/input10/event6"
[ 5701.207] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[ 5701.207] (**) Option "xkb_rules" "evdev"
[ 5701.207] (**) Option "xkb_model" "pc104"
[ 5701.207] (**) Option "xkb_layout" "us"
[ 5701.207] (II) config/udev: Adding input device Lid Switch (/dev/input/event2)
[ 5701.207] (II) No input driver specified, ignoring this device.
[ 5701.207] (II) This device may have been added with another device file.
[ 5701.207] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[ 5701.207] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[ 5701.208] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 17 paused 0
[ 5701.208] (II) Using input driver 'evdev' for 'Sleep Button'
[ 5701.208] (**) Sleep Button: always reports core events
[ 5701.208] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[ 5701.208] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[ 5701.208] (--) evdev: Sleep Button: Found keys
[ 5701.208] (II) evdev: Sleep Button: Configuring as keyboard
[ 5701.208] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input5/event1"
[ 5701.208] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[ 5701.208] (**) Option "xkb_rules" "evdev"
[ 5701.208] (**) Option "xkb_model" "pc104"
[ 5701.208] (**) Option "xkb_layout" "us"
[ 5701.208] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event12)
[ 5701.208] (II) No input driver specified, ignoring this device.
[ 5701.208] (II) This device may have been added with another device file.
[ 5701.209] (II) config/udev: Adding input device HDA Intel Mic (/dev/input/event13)
[ 5701.209] (II) No input driver specified, ignoring this device.
[ 5701.209] (II) This device may have been added with another device file.
[ 5701.209] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event14)
[ 5701.209] (II) No input driver specified, ignoring this device.
[ 5701.209] (II) This device may have been added with another device file.
[ 5701.209] (II) config/udev: Adding input device HDA Intel Headphone (/dev/input/event15)
[ 5701.209] (II) No input driver specified, ignoring this device.
[ 5701.209] (II) This device may have been added with another device file.
[ 5701.209] (II) config/udev: Adding input device HDA Intel HDMI/DP,pcm=3 Phantom (/dev/input/event16)
[ 5701.209] (II) No input driver specified, ignoring this device.
[ 5701.209] (II) This device may have been added with another device file.
[ 5701.210] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event9)
[ 5701.210] (**) Logitech USB Receiver: Applying InputClass "evdev pointer catchall"
[ 5701.210] (II) systemd-logind: got fd for /dev/input/event9 13:73 fd 18 paused 0
[ 5701.210] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[ 5701.210] (**) Logitech USB Receiver: always reports core events
[ 5701.210] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event9"
[ 5701.210] (--) evdev: Logitech USB Receiver: Vendor 0x46d Product 0xc510
[ 5701.210] (--) evdev: Logitech USB Receiver: Found 20 mouse buttons
[ 5701.210] (--) evdev: Logitech USB Receiver: Found scroll wheel(s)
[ 5701.210] (--) evdev: Logitech USB Receiver: Found relative axes
[ 5701.210] (--) evdev: Logitech USB Receiver: Found x and y relative axes
[ 5701.210] (II) evdev: Logitech USB Receiver: Configuring as mouse
[ 5701.210] (II) evdev: Logitech USB Receiver: Adding scrollwheel support
[ 5701.210] (**) evdev: Logitech USB Receiver: YAxisMapping: buttons 4 and 5
[ 5701.210] (**) evdev: Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 5701.210] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.1/usb7/7-1/7-1:1.0/0003:046D:C510.0001/input/input17/event9"
[ 5701.210] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: MOUSE, id 9)
[ 5701.210] (II) evdev: Logitech USB Receiver: initialized for relative axes.
[ 5701.210] (**) Logitech USB Receiver: (accel) keeping acceleration scheme 1
[ 5701.210] (**) Logitech USB Receiver: (accel) acceleration profile 0
[ 5701.211] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[ 5701.211] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[ 5701.211] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse1)
[ 5701.211] (II) No input driver specified, ignoring this device.
[ 5701.211] (II) This device may have been added with another device file.
[ 5701.211] (II) config/udev: Adding input device USB2.0 1.3M UVC WebCam (/dev/input/event10)
[ 5701.211] (**) USB2.0 1.3M UVC WebCam: Applying InputClass "evdev keyboard catchall"
[ 5701.211] (II) systemd-logind: got fd for /dev/input/event10 13:74 fd 19 paused 0
[ 5701.211] (II) Using input driver 'evdev' for 'USB2.0 1.3M UVC WebCam'
[ 5701.211] (**) USB2.0 1.3M UVC WebCam: always reports core events
[ 5701.211] (**) evdev: USB2.0 1.3M UVC WebCam: Device: "/dev/input/event10"
[ 5701.211] (--) evdev: USB2.0 1.3M UVC WebCam: Vendor 0x4f2 Product 0xb033
[ 5701.212] (--) evdev: USB2.0 1.3M UVC WebCam: Found keys
[ 5701.212] (II) evdev: USB2.0 1.3M UVC WebCam: Configuring as keyboard
[ 5701.212] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb3/3-5/3-5:1.0/input/input18/event10"
[ 5701.212] (II) XINPUT: Adding extended input device "USB2.0 1.3M UVC WebCam" (type: KEYBOARD, id 10)
[ 5701.212] (**) Option "xkb_rules" "evdev"
[ 5701.212] (**) Option "xkb_model" "pc104"
[ 5701.212] (**) Option "xkb_layout" "us"
[ 5701.212] (II) config/udev: Adding input device Asus Laptop extra buttons (/dev/input/event7)
[ 5701.212] (**) Asus Laptop extra buttons: Applying InputClass "evdev keyboard catchall"
[ 5701.212] (II) systemd-logind: got fd for /dev/input/event7 13:71 fd 20 paused 0
[ 5701.212] (II) Using input driver 'evdev' for 'Asus Laptop extra buttons'
[ 5701.212] (**) Asus Laptop extra buttons: always reports core events
[ 5701.212] (**) evdev: Asus Laptop extra buttons: Device: "/dev/input/event7"
[ 5701.212] (--) evdev: Asus Laptop extra buttons: Vendor 0 Product 0
[ 5701.212] (--) evdev: Asus Laptop extra buttons: Found keys
[ 5701.212] (II) evdev: Asus Laptop extra buttons: Configuring as keyboard
[ 5701.212] (**) Option "config_info" "udev:/sys/devices/platform/asus_laptop/input/input11/event7"
[ 5701.212] (II) XINPUT: Adding extended input device "Asus Laptop extra buttons" (type: KEYBOARD, id 11)
[ 5701.212] (**) Option "xkb_rules" "evdev"
[ 5701.212] (**) Option "xkb_model" "pc104"
[ 5701.213] (**) Option "xkb_layout" "us"
[ 5701.213] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
[ 5701.213] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 5701.213] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 21 paused 0
[ 5701.213] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[ 5701.213] (**) AT Translated Set 2 keyboard: always reports core events
[ 5701.213] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event0"
[ 5701.213] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[ 5701.213] (--) evdev: AT Translated Set 2 keyboard: Found keys
[ 5701.213] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[ 5701.213] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input0/event0"
[ 5701.213] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 12)
[ 5701.213] (**) Option "xkb_rules" "evdev"
[ 5701.213] (**) Option "xkb_model" "pc104"
[ 5701.213] (**) Option "xkb_layout" "us"
[ 5701.214] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event11)
[ 5701.214] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[ 5701.214] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[ 5701.214] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[ 5701.214] (II) LoadModule: "synaptics"
[ 5701.214] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[ 5701.214] (II) Module synaptics: vendor="X.Org Foundation"
[ 5701.214] compiled for 1.16.0, module version = 1.8.0
[ 5701.214] Module class: X.Org XInput Driver
[ 5701.214] ABI class: X.Org XInput driver, version 21.0
[ 5701.214] (II) systemd-logind: got fd for /dev/input/event11 13:75 fd 22 paused 0
[ 5701.214] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[ 5701.214] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 5701.215] (**) Option "Device" "/dev/input/event11"
[ 5701.266] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472 (res 66)
[ 5701.266] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448 (res 100)
[ 5701.266] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[ 5701.266] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[ 5701.266] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right
[ 5701.266] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[ 5701.266] (**) Option "TapButton1" "1"
[ 5701.266] (**) Option "TapButton2" "2"
[ 5701.266] (**) Option "TapButton3" "3"
[ 5701.266] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 5701.266] (**) SynPS/2 Synaptics TouchPad: always reports core events
[ 5701.266] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio4/input/input16/event11"
[ 5701.266] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 13)
[ 5701.266] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[ 5701.266] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MaxSpeed is now 1.75
[ 5701.266] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) AccelFactor is now 0.040
[ 5701.266] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[ 5701.266] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[ 5701.266] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[ 5701.266] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[ 5701.266] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 5701.266] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse2)
[ 5701.266] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[ 5701.267] (II) config/udev: Adding input device PC Speaker (/dev/input/event8)
[ 5701.267] (II) No input driver specified, ignoring this device.
[ 5701.267] (II) This device may have been added with another device file.
[ 5701.267] (II) config/udev: Adding input device MCE IR Keyboard/Mouse (ite-cir) (/dev/input/event5)
[ 5701.267] (**) MCE IR Keyboard/Mouse (ite-cir): Applying InputClass "evdev pointer catchall"
[ 5701.267] (**) MCE IR Keyboard/Mouse (ite-cir): Applying InputClass "evdev keyboard catchall"
[ 5701.268] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 23 paused 0
[ 5701.268] (II) Using input driver 'evdev' for 'MCE IR Keyboard/Mouse (ite-cir)'
[ 5701.268] (**) MCE IR Keyboard/Mouse (ite-cir): always reports core events
[ 5701.268] (**) evdev: MCE IR Keyboard/Mouse (ite-cir): Device: "/dev/input/event5"
[ 5701.268] (--) evdev: MCE IR Keyboard/Mouse (ite-cir): Vendor 0 Product 0
[ 5701.268] (--) evdev: MCE IR Keyboard/Mouse (ite-cir): Found 3 mouse buttons
[ 5701.268] (--) evdev: MCE IR Keyboard/Mouse (ite-cir): Found relative axes
[ 5701.268] (--) evdev: MCE IR Keyboard/Mouse (ite-cir): Found x and y relative axes
[ 5701.268] (--) evdev: MCE IR Keyboard/Mouse (ite-cir): Found keys
[ 5701.268] (II) evdev: MCE IR Keyboard/Mouse (ite-cir): Configuring as mouse
[ 5701.268] (II) evdev: MCE IR Keyboard/Mouse (ite-cir): Configuring as keyboard
[ 5701.268] (**) evdev: MCE IR Keyboard/Mouse (ite-cir): YAxisMapping: buttons 4 and 5
[ 5701.268] (**) evdev: MCE IR Keyboard/Mouse (ite-cir): EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 5701.268] (**) Option "config_info" "udev:/sys/devices/virtual/input/input9/event5"
[ 5701.268] (II) XINPUT: Adding extended input device "MCE IR Keyboard/Mouse (ite-cir)" (type: KEYBOARD, id 14)
[ 5701.268] (**) Option "xkb_rules" "evdev"
[ 5701.268] (**) Option "xkb_model" "pc104"
[ 5701.268] (**) Option "xkb_layout" "us"
[ 5701.268] (II) evdev: MCE IR Keyboard/Mouse (ite-cir): initialized for relative axes.
[ 5701.268] (**) MCE IR Keyboard/Mouse (ite-cir): (accel) keeping acceleration scheme 1
[ 5701.268] (**) MCE IR Keyboard/Mouse (ite-cir): (accel) acceleration profile 0
[ 5701.268] (**) MCE IR Keyboard/Mouse (ite-cir): (accel) acceleration factor: 2.000
[ 5701.268] (**) MCE IR Keyboard/Mouse (ite-cir): (accel) acceleration threshold: 4
[ 5701.268] (II) config/udev: Adding input device MCE IR Keyboard/Mouse (ite-cir) (/dev/input/mouse0)
[ 5701.268] (II) No input driver specified, ignoring this device.
[ 5701.268] (II) This device may have been added with another device file.
[ 5701.269] (II) config/udev: Adding input device ITE8708 CIR transceiver (/dev/input/event4)
[ 5701.269] (**) ITE8708 CIR transceiver: Applying InputClass "evdev keyboard catchall"
[ 5701.269] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 24 paused 0
[ 5701.269] (II) Using input driver 'evdev' for 'ITE8708 CIR transceiver'
[ 5701.269] (**) ITE8708 CIR transceiver: always reports core events
[ 5701.269] (**) evdev: ITE8708 CIR transceiver: Device: "/dev/input/event4"
[ 5701.269] (--) evdev: ITE8708 CIR transceiver: Vendor 0x1283 Product 0
[ 5701.269] (--) evdev: ITE8708 CIR transceiver: Found keys
[ 5701.269] (II) evdev: ITE8708 CIR transceiver: Configuring as keyboard
[ 5701.269] (**) Option "config_info" "udev:/sys/devices/virtual/rc/rc0/input8/event4"
[ 5701.269] (II) XINPUT: Adding extended input device "ITE8708 CIR transceiver" (type: KEYBOARD, id 15)
[ 5701.269] (**) Option "xkb_rules" "evdev"
[ 5701.269] (**) Option "xkb_model" "pc104"
[ 5701.269] (**) Option "xkb_layout" "us"
[ 6306.138] (II) AIGLX: Suspending AIGLX clients for VT switch
[ 6306.138] (II) NOUVEAU(0): NVLeaveVT is called.
[ 6306.199] (II) systemd-logind: got pause for 13:67
[ 6306.199] (II) systemd-logind: got pause for 13:70
[ 6306.199] (II) systemd-logind: got pause for 13:65
[ 6306.199] (II) systemd-logind: got pause for 13:73
[ 6306.199] (II) systemd-logind: got pause for 13:74
[ 6306.199] (II) systemd-logind: got pause for 13:71
[ 6306.199] (II) systemd-logind: got pause for 13:64
[ 6306.199] (II) systemd-logind: got pause for 13:75
[ 6306.199] (II) systemd-logind: got pause for 13:69
[ 6306.199] (II) systemd-logind: got pause for 13:68
[ 6311.586] (II) systemd-logind: got resume for 13:67
[ 6312.283] (II) AIGLX: Resuming AIGLX clients after VT switch
[ 6312.283] (II) NOUVEAU(0): NVEnterVT is called.
[ 6312.365] (II) NOUVEAU(0): EDID vendor "AUO", prod id 33140
[ 6312.365] (II) NOUVEAU(0): Printing DDC gathered Modelines:
[ 6312.365] (II) NOUVEAU(0): Modeline "1280x800"x0.0 71.11 1280 1328 1360 1440 800 803 809 823 -hsync -vsync (49.4 kHz eP)
[ 6312.391] (II) systemd-logind: got resume for 13:70
[ 6312.391] (II) systemd-logind: got resume for 13:65
[ 6312.391] (II) systemd-logind: got resume for 13:73
[ 6312.391] (II) systemd-logind: got resume for 13:74
[ 6312.391] (II) systemd-logind: got resume for 13:71
[ 6312.391] (II) systemd-logind: got resume for 13:64
[ 6312.392] (II) systemd-logind: got resume for 13:75
[ 6312.392] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[ 6312.392] (II) systemd-logind: got resume for 13:69
[ 6312.392] (II) systemd-logind: got resume for 13:68
Here is the message I get from the command prompt after the startx fails to work.
Unable to get master: Permission denied
resize called 1280x800
xinit: connection to X server lost
waiting for x server to shut down Error dropping master: -13(Permission denied)
(EE) Server terminated successfully (0). Closing log file.
Last edited by apsalus (2014-08-05 23:14:44)
Offline
I don't see relevant errors in your Xorg log, do you have an ~/.xinitrc ? What's in there ?
https://wiki.archlinux.org/index.php/xorg#Manually
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
(EE) Server terminated successfully (0). Closing log file.
I really wish the "EE" would be removed from that message upstream. That is not an error. That - as the message implies - is the X server ending successfully.
So nothing (fatal) went wrong. This also fits with being returned to the command prompt as was what I expected. X is doing everything it was told to do, then exiting happy. Something is wrong with what you told it to do in your xinitrc. The most common cause of this is either not having a WM in the xinitrc, or trying to background the WM.*
Although in this case it looks like it may be a little more invovled - perhaps an xrandr command is failing and causing subsequent commands to fail or not execute.
In any case, as rebootl suggested, we need to see your xinitrc.
EDIT: * this is why running as root works - as it uses the root's xinitrc, or as that likely does not exist, it uses the systemwide default xinitrc which works as intended.
Last edited by Trilby (2014-08-06 13:34:42)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Thanks for your speedy replies everyone!
Here is my xinitrc file's contents. I went to etc/X11/xinit as root to retreive this.
GNU nano 2.2.6 File: xinitrc
#!/bin/sh
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f "$userresources" ]; then
xrdb -merge "$userresources"
fi
if [ -f "$usermodmap" ]; then
xmodmap "$usermodmap"
fi
# start some nice programs
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login
Offline
I really wish the "EE" would be removed from that message upstream.
Apparently this is for scripts parsing "EE", or so... http://lists.x.org/archives/xorg-devel/ … 23957.html if I understand correctly.
I went to etc/X11/xinit as root to retreive this.
Ok, so there is no .xinitrc inside your home directory ? Output of:
ls ~/.xinitrc
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
Ok, again as root, I typed:
ls ~/.xinitrc
and the output was:
ls: cannot access /root/.xinitrc: No such file or directory
so then I tried this:
su -- apsalus ls ~/.xinitrc
and the output from that was:
/usr/bin/ls: /usr/bin/ls: cannot execute binary file
send help
Offline
You need to check for ~/.xinitrc as a regular user, not as root. Or just look for /home/<username>/.xinitrc where username is ... well, your username.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
That's what I was hoping to achieve with the "su -- username [command]" command. Apparently I misunderstand how that works.
I checked my /home/apsalus/ directory and found it to be empty. There's nothing in it, let alone the /.xinitrc, so I assume the next step is creating one.
Should I just copy the .xinitrc from the /etc/X11/xinit/ directory?
Update: I did copy the file to my home/username directory, but I have the same errors.
Last edited by apsalus (2014-08-06 16:04:17)
Offline
Are you logged in as root or your user? (You need to be logged in as your user, not root.) Then, from your (non-root) /home/apsalus folder, do:
ls -la
Then just go to the .home folder and (this time as root) do again:
ls- la
Let us know what those output.
Matt
"It is very difficult to educate the educated."
Offline
Offline
... trying to background the WM.
Here is my xinitrc file's contents. I went to etc/X11/xinit as root to retreive this.
... twm & ...
But whether the Constitution really be one thing, or another, this much is certain - that it has either authorized such a government as we have had, or has been powerless to prevent it. In either case, it is unfit to exist.
-Lysander Spooner
Offline
Alphaniner, in that case it's fine - for two reasons. First, that same xinitrc is used for root which works. Second, it works because after that line there is a non-backgrounded controlling xterm.
My statement was a bit too general. A window manager *can* be backgrounded, but there must be a non-backgrounded controlling process. Normally this just happens to be the window manager, in the case of the default xinitrc, it is an xterm.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
Update: I did copy the file to my home/username directory, but I have the same errors.
Checklist:
1) - [ X ] /home/apsalus/.xinitrc file exists? From what I understood, you just copied it, okay.
2) - [ ] But what are the permissions of this file? Do a
ls -al /home/apsalus/.xinitrc
and tell us the output of it. I'm just suspecting this file is owned by root, however it should be owned by the apsalus user.
Offline
While ensuring the ownership is correct is important, lets not let that draw us off point. As that file didn't exist before, the systemwide default was being used. So the original problem has nothing to do with xinitrc - we can rule that part out.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
As that file didn't exist before, the systemwide default was being used. So the original problem has nothing to do with xinitrc - we can rule that part out.
I don't want to be pedantic on this but until we actually see it I'm not convinced of this, also since there are no relevant errors in the Xorg log.
Note: I just checked creating a new user yields this:
[root@hplaptop home]# useradd -m test
[root@hplaptop home]# cd test
[root@hplaptop test]# ls
[root@hplaptop test]# ls -a
. .. .bash_logout .bash_profile .bashrc .xinitrc .xsession
Edit: So, also because this contradicts somehow to:
I checked my /home/apsalus/ directory and found it to be empty. There's nothing in it, [...]
@apsalus: Note that these files all start with a ".", so called dotfiles, meaning they are "hidden", not shown by a simple ls. Also note that /etc/X11/xinit/xinitrc is not.
Last edited by rebootl (2014-08-06 20:38:45)
Personal website: reboot.li
GitHub: github.com/rebootl
Offline
mrunion:
Here is my output for
ls -la
as apsalus(user):
total 44
drwx------ 4 apsalus apsalus 4096 Aug 6 20:55 .
drwxr-xr-x 5 root root 4096 Aug 5 12:48 ..
-rw------- 1 apsalus apsalus 1033 Aug 6 11:02 .bash_history
-rw-r--r-- 1 apsalus apsalus 21 Jun 11 09:20 .bash_logout
-rw-r--r-- 1 apsalus apsalus 57 Jun 11 09:20 .bash_profile
-rw-r--r-- 1 apsalus apsalus 141 Jun 11 09:20 .bashrc
drwx------ 3 apsalus apsalus 4096 Aug 5 12:41 .dbus
drwxr-xr-x 3 apsalus apsalus 4096 Aug 5 12:41 .local
-rw-r--r-- 1 apsalus apsalus 0 Aug 6 20:55 lsla.txt
-rw------- 1 apsalus apsalus 0 Aug 6 11:02 .Xauthority
-rw-r--r-- 1 root root 738 Aug 6 11:01 xinitrc
-rw-r--r-- 1 apsalus apsalus 312 Dec 9 2013 .xinitrc
-rw-r--r-- 1 apsalus apsalus 100 Dec 9 2013 .xsession
and as root:
drwxr-xr-x 17 root root 4096 Aug 3 22:30 .
drwxr-xr-x 17 root root 4096 Aug 3 22:30 ..
lrwxrwxrwx 1 root root 7 Jul 4 12:44 bin -> usr/bin
drwxr-xr-x 3 root root 4096 Aug 3 23:41 boot
drwxr-xr-x 19 root root 3120 Aug 6 21:04 dev
drwxr-xr-x 57 root root 4096 Aug 6 20:40 etc
drwxr-xr-x 5 root root 4096 Aug 5 12:48 home
lrwxrwxrwx 1 root root 7 Jul 4 12:44 lib -> usr/lib
lrwxrwxrwx 1 root root 7 Jul 4 12:44 lib64 -> usr/lib
drwx------ 2 root root 16384 Aug 3 22:16 lost+found
drwxr-xr-x 2 root root 4096 Jul 4 12:44 mnt
drwxr-xr-x 2 root root 4096 Jul 4 12:44 opt
dr-xr-xr-x 123 root root 0 Aug 5 12:43 proc
drwxr-x--- 14 root root 4096 Aug 6 21:00 root
drwxr-xr-x 19 root root 480 Aug 5 12:45 run
lrwxrwxrwx 1 root root 7 Jul 4 12:44 sbin -> usr/bin
drwxr-xr-x 4 root root 4096 Jul 4 12:44 srv
dr-xr-xr-x 13 root root 0 Aug 5 12:43 sys
drwxrwxrwt 7 root root 180 Aug 6 21:00 tmp
drwxr-xr-x 8 root root 4096 Aug 3 22:30 usr
drwxr-xr-x 12 root root 4096 Aug 3 23:49 var
reboot1:
You are right, the .xinitrc file was present. I just didn't place the period in front of the name.
Here are the contents of /home/apsalus/.xinitrc (retrieved as root, because I can use the gui to type here at the same time).
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice
Last edited by apsalus (2014-08-07 02:13:00)
Offline
Huh. I stand corrected - I didn't expect anything that off. I'm glad you were more skeptical rebootl. Apsalus, I gather when you copied the file from /etc/X11/xinitrc you didn't actually copy it to ~/.xinitrc, but rather to ~/xinitrc ... and you did so as root.
Please get out of the habit of running commands as root before you really break something.
Now, to see the relevant contents of your ~/.xinitrc, you need to be logged in as your regular user and execute the following command then post the output here:
cat ~/.xinitrc
EDIT: cross posted with the above edit. There is your problem - as I initially suspected: you need to put *something* in the xinitrc or X just exits because it has nothing to do.
Last edited by Trilby (2014-08-07 02:12:19)
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Offline
I would just like to thank everyone who contributed to this thread for helping me. I fixed the problem by adding:
exec i3
to the end of my /home/apsalus/.xinitrc.
Though this was a huge oversight I could have likely avoided with more thorough reading, I appreciate you guys bearing with my inexperience behind a command line.
*posted from my user account*
Last edited by apsalus (2014-08-07 02:41:13)
Offline