You are not logged in.

#1 2022-05-03 20:41:05

pradtf
Member
Registered: 2009-06-10
Posts: 149

SOLVED: stumpwm not starting except from terminal

having followed the wiki
https://wiki.archlinux.org/title/Stumpwm

i find i can start stumpwm if in ~/.xinitrc i have:

exec xterm -e stumpwm

but i get a blank screen if i just use (as per wiki)

exec stumpwm

i haven't been able to find anything either on bbs.archlinux or elsewhere including explanations of startx giving blank screens.

i know stumpwm is running because i can (from another console)

kill `pgrep stumpwm`

to get back to my first console.

i don't understand though why i'm not getting the welcome to stumpwm notice or why nothing works.

i have been using gnome, but have disabled gdm. i can get into gnome just fine with exec gnome-session in the .xinitrc file.

Last edited by pradtf (2022-05-04 16:01:27)


in friendship,
prad

Offline

#2 2022-05-03 20:47:03

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

Re: SOLVED: stumpwm not starting except from terminal

Paste your xinitrc and the full xorg log of a session started with `startx` from that xinitrc.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2022-05-03 21:01:38

pradtf
Member
Registered: 2009-06-10
Posts: 149

Re: SOLVED: stumpwm not starting except from terminal

thx jason. files copied below.

btw, the wiki says that a stumpwm.desktop file will be added to /usr/share/xsessions, but none was. i made one up, based on things i found on the net, but that didn't do anything.

also, when i installed the aur items, i used makepkg -sri (instead of pacman -U which i presume is fine since everything got installed ok, afaik).

.xinitrc

#!/bin/sh

#xrandr --setprovideroutputsource modesetting NVIDIA-0
#xrandr --auto

#exec gnome-session
#exec xterm -e stumpwm

exec stumpwm

Xorg.0.log

[   167.602] 
X.Org X Server 1.21.1.3
X Protocol Version 11, Revision 0
[   167.602] Current Operating System: Linux schnell 5.17.5-arch1-1 #1 SMP PREEMPT Wed, 27 Apr 2022 20:56:11 +0000 x86_64
[   167.602] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=c199ebf6-552a-4ce9-86ca-ff6915616cb3 rw loglevel=3 quiet resume=/dev/nvme0n1p2
[   167.603]  
[   167.604] Current version of pixman: 0.40.0
[   167.605] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[   167.605] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   167.608] (==) Log file: "/var/log/Xorg.0.log", Time: Tue May  3 13:52:26 2022
[   167.610] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   167.610] (==) No Layout section.  Using the first Screen section.
[   167.610] (==) No screen section available. Using defaults.
[   167.610] (**) |-->Screen "Default Screen Section" (0)
[   167.610] (**) |   |-->Monitor "<default monitor>"
[   167.611] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[   167.611] (==) Automatically adding devices
[   167.611] (==) Automatically enabling devices
[   167.611] (==) Automatically adding GPU devices
[   167.611] (==) Automatically binding GPU devices
[   167.611] (==) Max clients allowed: 256, resource mask: 0x1fffff
[   167.611] (WW) The directory "/usr/share/fonts/misc" does not exist.
[   167.611] 	Entry deleted from font path.
[   167.611] (WW) The directory "/usr/share/fonts/TTF" does not exist.
[   167.611] 	Entry deleted from font path.
[   167.611] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[   167.611] 	Entry deleted from font path.
[   167.611] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[   167.611] 	Entry deleted from font path.
[   167.611] (WW) The directory "/usr/share/fonts/100dpi" does not exist.
[   167.611] 	Entry deleted from font path.
[   167.611] (WW) The directory "/usr/share/fonts/75dpi" does not exist.
[   167.611] 	Entry deleted from font path.
[   167.611] (==) FontPath set to:
	
[   167.611] (==) ModulePath set to "/usr/lib/xorg/modules"
[   167.611] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[   167.611] (II) Module ABI versions:
[   167.611] 	X.Org ANSI C Emulation: 0.4
[   167.611] 	X.Org Video Driver: 25.2
[   167.611] 	X.Org XInput driver : 24.4
[   167.611] 	X.Org Server Extension : 10.0
[   167.611] (++) using VT number 1

[   167.613] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[   167.614] (II) xfree86: Adding drm device (/dev/dri/card0)
[   167.614] (II) Platform probe for /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0/drm/card0
[   167.614] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 11 paused 0
[   167.616] (**) OutputClass "nvidia" ModulePath extended to "/usr/lib/nvidia/xorg,/usr/lib/xorg/modules,/usr/lib/xorg/modules"
[   167.617] (--) PCI:*(1@0:0:0) 10de:1c81:103c:8338 rev 161, Mem @ 0xde000000/16777216, 0xc0000000/268435456, 0xd0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[   167.617] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   167.617] (II) LoadModule: "glx"
[   167.619] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[   167.624] (II) Module glx: vendor="X.Org Foundation"
[   167.624] 	compiled for 1.21.1.3, module version = 1.0.0
[   167.624] 	ABI class: X.Org Server Extension, version 10.0
[   167.624] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[   167.624] 	loading driver: nvidia
[   167.624] (==) Matched nvidia as autoconfigured driver 0
[   167.624] (==) Matched nouveau as autoconfigured driver 1
[   167.624] (==) Matched nv as autoconfigured driver 2
[   167.624] (==) Matched modesetting as autoconfigured driver 3
[   167.624] (==) Matched fbdev as autoconfigured driver 4
[   167.624] (==) Matched vesa as autoconfigured driver 5
[   167.624] (==) Assigned the driver to the xf86ConfigLayout
[   167.624] (II) LoadModule: "nvidia"
[   167.624] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[   167.626] (II) Module nvidia: vendor="NVIDIA Corporation"
[   167.626] 	compiled for 1.6.99.901, module version = 1.0.0
[   167.626] 	Module class: X.Org Video Driver
[   167.626] (II) LoadModule: "nouveau"
[   167.627] (WW) Warning, couldn't open module nouveau
[   167.627] (EE) Failed to load module "nouveau" (module does not exist, 0)
[   167.627] (II) LoadModule: "nv"
[   167.627] (WW) Warning, couldn't open module nv
[   167.627] (EE) Failed to load module "nv" (module does not exist, 0)
[   167.627] (II) LoadModule: "modesetting"
[   167.627] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[   167.629] (II) Module modesetting: vendor="X.Org Foundation"
[   167.629] 	compiled for 1.21.1.3, module version = 1.21.1
[   167.629] 	Module class: X.Org Video Driver
[   167.629] 	ABI class: X.Org Video Driver, version 25.2
[   167.629] (II) LoadModule: "fbdev"
[   167.629] (WW) Warning, couldn't open module fbdev
[   167.629] (EE) Failed to load module "fbdev" (module does not exist, 0)
[   167.629] (II) LoadModule: "vesa"
[   167.629] (WW) Warning, couldn't open module vesa
[   167.629] (EE) Failed to load module "vesa" (module does not exist, 0)
[   167.629] (II) NVIDIA dlloader X Driver  510.60.02  Wed Mar 16 11:23:40 UTC 2022
[   167.629] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[   167.629] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[   167.629] (II) systemd-logind: releasing fd for 226:0
[   167.630] (II) Loading sub module "fb"
[   167.630] (II) LoadModule: "fb"
[   167.630] (II) Module "fb" already built-in
[   167.630] (II) Loading sub module "wfb"
[   167.630] (II) LoadModule: "wfb"
[   167.631] (II) Loading /usr/lib/xorg/modules/libwfb.so
[   167.631] (II) Module wfb: vendor="X.Org Foundation"
[   167.631] 	compiled for 1.21.1.3, module version = 1.0.0
[   167.631] 	ABI class: X.Org ANSI C Emulation, version 0.4
[   167.631] (II) Loading sub module "ramdac"
[   167.631] (II) LoadModule: "ramdac"
[   167.631] (II) Module "ramdac" already built-in
[   167.632] (WW) Falling back to old probe method for modesetting
[   167.633] (II) NVIDIA(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[   167.633] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[   167.633] (==) NVIDIA(0): RGB weight 888
[   167.633] (==) NVIDIA(0): Default visual is TrueColor
[   167.633] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[   167.633] (II) Applying OutputClass "nvidia" options to /dev/dri/card0
[   167.633] (**) NVIDIA(0): Option "AllowEmptyInitialConfiguration"
[   167.633] (**) NVIDIA(0): Enabling 2D acceleration
[   167.633] (II) Loading sub module "glxserver_nvidia"
[   167.633] (II) LoadModule: "glxserver_nvidia"
[   167.633] (II) Loading /usr/lib/nvidia/xorg/libglxserver_nvidia.so
[   167.657] (II) Module glxserver_nvidia: vendor="NVIDIA Corporation"
[   167.657] 	compiled for 1.6.99.901, module version = 1.0.0
[   167.657] 	Module class: X.Org Server Extension
[   167.657] (II) NVIDIA GLX Module  510.60.02  Wed Mar 16 11:20:25 UTC 2022
[   167.657] (II) NVIDIA: The X server supports PRIME Render Offload.
[   168.373] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[   168.373] (--) NVIDIA(0):     DFP-0
[   168.373] (--) NVIDIA(0):     DFP-1 (boot)
[   168.373] (--) NVIDIA(0):     DFP-2
[   168.373] (--) NVIDIA(0):     DFP-3
[   168.373] (II) NVIDIA(0): NVIDIA GPU NVIDIA GeForce GTX 1050 (GP107-A) at PCI:1:0:0
[   168.373] (II) NVIDIA(0):     (GPU-0)
[   168.373] (--) NVIDIA(0): Memory: 2097152 kBytes
[   168.373] (--) NVIDIA(0): VideoBIOS: 86.07.39.00.f2
[   168.373] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[   168.388] (--) NVIDIA(GPU-0): DELL 2007WFP (DFP-0): connected
[   168.388] (--) NVIDIA(GPU-0): DELL 2007WFP (DFP-0): Internal TMDS
[   168.388] (--) NVIDIA(GPU-0): DELL 2007WFP (DFP-0): 330.0 MHz maximum pixel clock
[   168.388] (--) NVIDIA(GPU-0): 
[   168.432] (--) NVIDIA(GPU-0): Samsung S24B300 (DFP-1): connected
[   168.432] (--) NVIDIA(GPU-0): Samsung S24B300 (DFP-1): Internal TMDS
[   168.432] (--) NVIDIA(GPU-0): Samsung S24B300 (DFP-1): 600.0 MHz maximum pixel clock
[   168.432] (--) NVIDIA(GPU-0): 
[   168.432] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   168.432] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[   168.432] (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
[   168.432] (--) NVIDIA(GPU-0): 
[   168.432] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   168.432] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[   168.432] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[   168.432] (--) NVIDIA(GPU-0): 
[   168.437] (==) NVIDIA(0): 
[   168.437] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[   168.437] (==) NVIDIA(0):     will be used as the requested mode.
[   168.437] (==) NVIDIA(0): 
[   168.438] (II) NVIDIA(0): Validated MetaModes:
[   168.438] (II) NVIDIA(0):     "DFP-1:nvidia-auto-select,DFP-0:nvidia-auto-select"
[   168.438] (II) NVIDIA(0): Virtual screen size determined to be 3600 x 1080
[   168.442] (--) NVIDIA(0): DPI set to (93, 94); computed from "UseEdidDpi" X config
[   168.442] (--) NVIDIA(0):     option
[   168.442] (II) UnloadModule: "modesetting"
[   168.442] (II) Unloading modesetting
[   168.442] (II) NVIDIA: Reserving 24576.00 MB of virtual memory for indirect memory
[   168.442] (II) NVIDIA:     access.
[   168.444] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[   168.444] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[   168.444] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[   168.444] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[   168.444] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[   168.444] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[   168.444] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[   168.444] (II) NVIDIA(0):     Config Options in the README.
[   168.458] (II) NVIDIA(0): Setting mode "DFP-1:nvidia-auto-select,DFP-0:nvidia-auto-select"
[   168.541] (==) NVIDIA(0): Disabling shared memory pixmaps
[   168.541] (==) NVIDIA(0): Backing store enabled
[   168.541] (==) NVIDIA(0): Silken mouse enabled
[   168.542] (==) NVIDIA(0): DPMS enabled
[   168.542] (II) Loading sub module "dri2"
[   168.542] (II) LoadModule: "dri2"
[   168.542] (II) Module "dri2" already built-in
[   168.542] (II) NVIDIA(0): [DRI2] Setup complete
[   168.542] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[   168.542] (II) Initializing extension Generic Event Extension
[   168.542] (II) Initializing extension SHAPE
[   168.542] (II) Initializing extension MIT-SHM
[   168.542] (II) Initializing extension XInputExtension
[   168.542] (II) Initializing extension XTEST
[   168.542] (II) Initializing extension BIG-REQUESTS
[   168.542] (II) Initializing extension SYNC
[   168.542] (II) Initializing extension XKEYBOARD
[   168.542] (II) Initializing extension XC-MISC
[   168.543] (II) Initializing extension SECURITY
[   168.543] (II) Initializing extension XFIXES
[   168.543] (II) Initializing extension RENDER
[   168.543] (II) Initializing extension RANDR
[   168.543] (II) Initializing extension COMPOSITE
[   168.543] (II) Initializing extension DAMAGE
[   168.543] (II) Initializing extension MIT-SCREEN-SAVER
[   168.543] (II) Initializing extension DOUBLE-BUFFER
[   168.543] (II) Initializing extension RECORD
[   168.543] (II) Initializing extension DPMS
[   168.543] (II) Initializing extension Present
[   168.543] (II) Initializing extension DRI3
[   168.543] (II) Initializing extension X-Resource
[   168.543] (II) Initializing extension XVideo
[   168.543] (II) Initializing extension XVideo-MotionCompensation
[   168.543] (II) Initializing extension GLX
[   168.543] (II) Initializing extension GLX
[   168.543] (II) Indirect GLX disabled.
[   168.543] (II) GLX: Another vendor is already registered for screen 0
[   168.543] (II) Initializing extension XFree86-VidModeExtension
[   168.544] (II) Initializing extension XFree86-DGA
[   168.544] (II) Initializing extension XFree86-DRI
[   168.544] (II) Initializing extension DRI2
[   168.544] (II) Initializing extension NV-GLX
[   168.544] (II) Initializing extension NV-CONTROL
[   168.544] (II) Initializing extension XINERAMA
[   168.579] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[   168.579] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   168.579] (II) LoadModule: "libinput"
[   168.579] (II) Loading /usr/lib/xorg/modules/input/libinput_drv.so
[   168.581] (II) Module libinput: vendor="X.Org Foundation"
[   168.581] 	compiled for 1.21.1.3, module version = 1.2.1
[   168.581] 	Module class: X.Org XInput Driver
[   168.581] 	ABI class: X.Org XInput driver, version 24.4
[   168.581] (II) Using input driver 'libinput' for 'Power Button'
[   168.581] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 39 paused 0
[   168.581] (**) Power Button: always reports core events
[   168.581] (**) Option "Device" "/dev/input/event2"
[   168.585] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   168.585] (II) event2  - Power Button: device is a keyboard
[   168.585] (II) event2  - Power Button: device removed
[   168.586] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[   168.586] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   168.586] (II) event2  - Power Button: is tagged by udev as: Keyboard
[   168.586] (II) event2  - Power Button: device is a keyboard
[   168.586] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   168.586] (**) Power Button: Applying InputClass "libinput keyboard catchall"
[   168.586] (II) Using input driver 'libinput' for 'Power Button'
[   168.587] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 42 paused 0
[   168.587] (**) Power Button: always reports core events
[   168.587] (**) Option "Device" "/dev/input/event1"
[   168.587] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   168.587] (II) event1  - Power Button: device is a keyboard
[   168.587] (II) event1  - Power Button: device removed
[   168.587] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input1/event1"
[   168.587] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[   168.588] (II) event1  - Power Button: is tagged by udev as: Keyboard
[   168.588] (II) event1  - Power Button: device is a keyboard
[   168.588] (II) config/udev: Adding input device Sleep Button (/dev/input/event0)
[   168.588] (**) Sleep Button: Applying InputClass "libinput keyboard catchall"
[   168.588] (II) Using input driver 'libinput' for 'Sleep Button'
[   168.589] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 43 paused 0
[   168.589] (**) Sleep Button: always reports core events
[   168.589] (**) Option "Device" "/dev/input/event0"
[   168.589] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[   168.589] (II) event0  - Sleep Button: device is a keyboard
[   168.589] (II) event0  - Sleep Button: device removed
[   168.589] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input0/event0"
[   168.589] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 8)
[   168.590] (II) event0  - Sleep Button: is tagged by udev as: Keyboard
[   168.590] (II) event0  - Sleep Button: device is a keyboard
[   168.590] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=11 (/dev/input/event10)
[   168.590] (II) No input driver specified, ignoring this device.
[   168.590] (II) This device may have been added with another device file.
[   168.590] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event5)
[   168.590] (II) No input driver specified, ignoring this device.
[   168.590] (II) This device may have been added with another device file.
[   168.590] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event6)
[   168.590] (II) No input driver specified, ignoring this device.
[   168.590] (II) This device may have been added with another device file.
[   168.591] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event7)
[   168.591] (II) No input driver specified, ignoring this device.
[   168.591] (II) This device may have been added with another device file.
[   168.591] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event8)
[   168.591] (II) No input driver specified, ignoring this device.
[   168.591] (II) This device may have been added with another device file.
[   168.591] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=10 (/dev/input/event9)
[   168.591] (II) No input driver specified, ignoring this device.
[   168.591] (II) This device may have been added with another device file.
[   168.591] (II) config/udev: Adding input device C-Media Electronics Inc. USB Audio Device (/dev/input/event15)
[   168.591] (**) C-Media Electronics Inc. USB Audio Device: Applying InputClass "libinput keyboard catchall"
[   168.591] (II) Using input driver 'libinput' for 'C-Media Electronics Inc. USB Audio Device'
[   168.592] (II) systemd-logind: got fd for /dev/input/event15 13:79 fd 44 paused 0
[   168.592] (**) C-Media Electronics Inc. USB Audio Device: always reports core events
[   168.592] (**) Option "Device" "/dev/input/event15"
[   168.593] (II) event15 - C-Media Electronics Inc. USB Audio Device: is tagged by udev as: Keyboard
[   168.593] (II) event15 - C-Media Electronics Inc. USB Audio Device: device is a keyboard
[   168.593] (II) event15 - C-Media Electronics Inc. USB Audio Device: device removed
[   168.593] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1:1.3/0003:0D8C:0013.0001/input/input15/event15"
[   168.593] (II) XINPUT: Adding extended input device "C-Media Electronics Inc. USB Audio Device" (type: KEYBOARD, id 9)
[   168.593] (II) event15 - C-Media Electronics Inc. USB Audio Device: is tagged by udev as: Keyboard
[   168.593] (II) event15 - C-Media Electronics Inc. USB Audio Device: device is a keyboard
[   168.594] (II) config/udev: Adding input device  USB OPTICAL MOUSE (/dev/input/event16)
[   168.594] (**)  USB OPTICAL MOUSE: Applying InputClass "libinput pointer catchall"
[   168.594] (II) Using input driver 'libinput' for ' USB OPTICAL MOUSE'
[   168.650] (II) systemd-logind: got fd for /dev/input/event16 13:80 fd 45 paused 0
[   168.650] (**)  USB OPTICAL MOUSE: always reports core events
[   168.650] (**) Option "Device" "/dev/input/event16"
[   168.653] (II) event16 -  USB OPTICAL MOUSE: is tagged by udev as: Mouse
[   168.654] (II) event16 -  USB OPTICAL MOUSE: device is a pointer
[   168.654] (II) event16 -  USB OPTICAL MOUSE: device removed
[   168.654] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-7/1-7:1.0/0003:0000:0538.0002/input/input16/event16"
[   168.654] (II) XINPUT: Adding extended input device " USB OPTICAL MOUSE" (type: MOUSE, id 10)
[   168.655] (**) Option "AccelerationScheme" "none"
[   168.655] (**)  USB OPTICAL MOUSE: (accel) selected scheme none/0
[   168.655] (**)  USB OPTICAL MOUSE: (accel) acceleration factor: 2.000
[   168.655] (**)  USB OPTICAL MOUSE: (accel) acceleration threshold: 4
[   168.658] (II) event16 -  USB OPTICAL MOUSE: is tagged by udev as: Mouse
[   168.658] (II) event16 -  USB OPTICAL MOUSE: device is a pointer
[   168.660] (II) config/udev: Adding input device  USB OPTICAL MOUSE (/dev/input/mouse0)
[   168.660] (II) No input driver specified, ignoring this device.
[   168.660] (II) This device may have been added with another device file.
[   168.662] (II) config/udev: Adding input device   USB Keyboard (/dev/input/event17)
[   168.662] (**)   USB Keyboard: Applying InputClass "libinput keyboard catchall"
[   168.662] (II) Using input driver 'libinput' for '  USB Keyboard'
[   168.663] (II) systemd-logind: got fd for /dev/input/event17 13:81 fd 46 paused 0
[   168.663] (**)   USB Keyboard: always reports core events
[   168.663] (**) Option "Device" "/dev/input/event17"
[   168.666] (II) event17 -   USB Keyboard: is tagged by udev as: Keyboard
[   168.667] (II) event17 -   USB Keyboard: device is a keyboard
[   168.667] (II) event17 -   USB Keyboard: device removed
[   168.667] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:04D9:1603.0003/input/input17/event17"
[   168.667] (II) XINPUT: Adding extended input device "  USB Keyboard" (type: KEYBOARD, id 11)
[   168.670] (II) event17 -   USB Keyboard: is tagged by udev as: Keyboard
[   168.670] (II) event17 -   USB Keyboard: device is a keyboard
[   168.672] (II) config/udev: Adding input device   USB Keyboard System Control (/dev/input/event18)
[   168.672] (**)   USB Keyboard System Control: Applying InputClass "libinput keyboard catchall"
[   168.673] (II) Using input driver 'libinput' for '  USB Keyboard System Control'
[   168.674] (II) systemd-logind: got fd for /dev/input/event18 13:82 fd 47 paused 0
[   168.674] (**)   USB Keyboard System Control: always reports core events
[   168.674] (**) Option "Device" "/dev/input/event18"
[   168.677] (II) event18 -   USB Keyboard System Control: is tagged by udev as: Keyboard
[   168.677] (II) event18 -   USB Keyboard System Control: device is a keyboard
[   168.677] (II) event18 -   USB Keyboard System Control: device removed
[   168.677] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:04D9:1603.0004/input/input18/event18"
[   168.677] (II) XINPUT: Adding extended input device "  USB Keyboard System Control" (type: KEYBOARD, id 12)
[   168.680] (II) event18 -   USB Keyboard System Control: is tagged by udev as: Keyboard
[   168.680] (II) event18 -   USB Keyboard System Control: device is a keyboard
[   168.681] (II) config/udev: Adding input device   USB Keyboard Consumer Control (/dev/input/event19)
[   168.681] (**)   USB Keyboard Consumer Control: Applying InputClass "libinput keyboard catchall"
[   168.681] (II) Using input driver 'libinput' for '  USB Keyboard Consumer Control'
[   168.682] (II) systemd-logind: got fd for /dev/input/event19 13:83 fd 48 paused 0
[   168.682] (**)   USB Keyboard Consumer Control: always reports core events
[   168.682] (**) Option "Device" "/dev/input/event19"
[   168.684] (II) event19 -   USB Keyboard Consumer Control: is tagged by udev as: Keyboard
[   168.684] (II) event19 -   USB Keyboard Consumer Control: device is a keyboard
[   168.684] (II) event19 -   USB Keyboard Consumer Control: device removed
[   168.684] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.1/0003:04D9:1603.0004/input/input19/event19"
[   168.684] (II) XINPUT: Adding extended input device "  USB Keyboard Consumer Control" (type: KEYBOARD, id 13)
[   168.686] (II) event19 -   USB Keyboard Consumer Control: is tagged by udev as: Keyboard
[   168.686] (II) event19 -   USB Keyboard Consumer Control: device is a keyboard
[   168.687] (II) config/udev: Adding input device HDA Intel PCH Mic (/dev/input/event11)
[   168.687] (II) No input driver specified, ignoring this device.
[   168.687] (II) This device may have been added with another device file.
[   168.688] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event12)
[   168.688] (II) No input driver specified, ignoring this device.
[   168.688] (II) This device may have been added with another device file.
[   168.688] (II) config/udev: Adding input device HDA Intel PCH Line Out (/dev/input/event13)
[   168.688] (II) No input driver specified, ignoring this device.
[   168.688] (II) This device may have been added with another device file.
[   168.688] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event14)
[   168.688] (II) No input driver specified, ignoring this device.
[   168.688] (II) This device may have been added with another device file.
[   168.689] (II) config/udev: Adding input device PC Speaker (/dev/input/event3)
[   168.689] (II) No input driver specified, ignoring this device.
[   168.689] (II) This device may have been added with another device file.
[   168.691] (II) config/udev: Adding input device HP WMI hotkeys (/dev/input/event4)
[   168.691] (**) HP WMI hotkeys: Applying InputClass "libinput keyboard catchall"
[   168.691] (II) Using input driver 'libinput' for 'HP WMI hotkeys'
[   168.692] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 49 paused 0
[   168.692] (**) HP WMI hotkeys: always reports core events
[   168.692] (**) Option "Device" "/dev/input/event4"
[   168.692] (II) event4  - HP WMI hotkeys: is tagged by udev as: Keyboard Switch
[   168.693] (II) event4  - HP WMI hotkeys: device is a keyboard
[   168.693] (II) event4  - HP WMI hotkeys: device removed
[   168.693] (**) Option "config_info" "udev:/sys/devices/virtual/input/input4/event4"
[   168.693] (II) XINPUT: Adding extended input device "HP WMI hotkeys" (type: KEYBOARD, id 14)
[   168.693] (II) event4  - HP WMI hotkeys: is tagged by udev as: Keyboard Switch
[   168.693] (II) event4  - HP WMI hotkeys: device is a keyboard
[   168.807] (--) NVIDIA(GPU-0): DELL 2007WFP (DFP-0): connected
[   168.807] (--) NVIDIA(GPU-0): DELL 2007WFP (DFP-0): Internal TMDS
[   168.807] (--) NVIDIA(GPU-0): DELL 2007WFP (DFP-0): 330.0 MHz maximum pixel clock
[   168.807] (--) NVIDIA(GPU-0): 
[   168.851] (--) NVIDIA(GPU-0): Samsung S24B300 (DFP-1): connected
[   168.851] (--) NVIDIA(GPU-0): Samsung S24B300 (DFP-1): Internal TMDS
[   168.851] (--) NVIDIA(GPU-0): Samsung S24B300 (DFP-1): 600.0 MHz maximum pixel clock
[   168.851] (--) NVIDIA(GPU-0): 
[   168.851] (--) NVIDIA(GPU-0): DFP-2: disconnected
[   168.851] (--) NVIDIA(GPU-0): DFP-2: Internal DisplayPort
[   168.851] (--) NVIDIA(GPU-0): DFP-2: 1440.0 MHz maximum pixel clock
[   168.851] (--) NVIDIA(GPU-0): 
[   168.851] (--) NVIDIA(GPU-0): DFP-3: disconnected
[   168.851] (--) NVIDIA(GPU-0): DFP-3: Internal TMDS
[   168.851] (--) NVIDIA(GPU-0): DFP-3: 165.0 MHz maximum pixel clock
[   168.851] (--) NVIDIA(GPU-0): 
[   224.858] (**) Option "fd" "39"
[   224.858] (II) event2  - Power Button: device removed
[   224.858] (**) Option "fd" "42"
[   224.858] (II) event1  - Power Button: device removed
[   224.859] (**) Option "fd" "43"
[   224.859] (II) event0  - Sleep Button: device removed
[   224.859] (**) Option "fd" "44"
[   224.859] (II) event15 - C-Media Electronics Inc. USB Audio Device: device removed
[   224.859] (**) Option "fd" "45"
[   224.859] (II) event16 -  USB OPTICAL MOUSE: device removed
[   224.859] (**) Option "fd" "46"
[   224.859] (II) event17 -   USB Keyboard: device removed
[   224.859] (**) Option "fd" "47"
[   224.859] (II) event18 -   USB Keyboard System Control: device removed
[   224.859] (**) Option "fd" "48"
[   224.859] (II) event19 -   USB Keyboard Consumer Control: device removed
[   224.859] (**) Option "fd" "49"
[   224.859] (II) event4  - HP WMI hotkeys: device removed
[   225.849] (II) systemd-logind: got pause for 13:79
[   225.849] (II) systemd-logind: got pause for 13:81
[   225.849] (II) systemd-logind: got pause for 13:66
[   225.849] (II) systemd-logind: got pause for 13:64
[   225.849] (II) systemd-logind: got pause for 13:83
[   225.849] (II) systemd-logind: got pause for 13:82
[   225.849] (II) systemd-logind: got pause for 13:68
[   225.849] (II) systemd-logind: got pause for 13:80
[   225.849] (II) systemd-logind: got pause for 13:65
[   278.291] (II) UnloadModule: "libinput"
[   278.291] (II) systemd-logind: releasing fd for 13:68
[   278.340] (II) UnloadModule: "libinput"
[   278.340] (II) systemd-logind: releasing fd for 13:83
[   278.384] (II) UnloadModule: "libinput"
[   278.384] (II) systemd-logind: releasing fd for 13:82
[   278.404] (II) UnloadModule: "libinput"
[   278.404] (II) systemd-logind: releasing fd for 13:81
[   278.437] (II) UnloadModule: "libinput"
[   278.437] (II) systemd-logind: releasing fd for 13:80
[   278.494] (II) UnloadModule: "libinput"
[   278.494] (II) systemd-logind: releasing fd for 13:79
[   278.537] (II) UnloadModule: "libinput"
[   278.537] (II) systemd-logind: releasing fd for 13:64
[   278.557] (II) UnloadModule: "libinput"
[   278.557] (II) systemd-logind: releasing fd for 13:65
[   278.574] (II) UnloadModule: "libinput"
[   278.574] (II) systemd-logind: releasing fd for 13:66
[   279.576] (II) NVIDIA(GPU-0): Deleting GPU-0
[   279.577] (II) Server terminated successfully (0). Closing log file.

Last edited by pradtf (2022-05-03 21:03:51)


in friendship,
prad

Offline

#4 2022-05-03 21:06:14

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

Re: SOLVED: stumpwm not starting except from terminal

Your xinitrc is broken, read the wiki page to fix it.

X is working, so the issue is likely your stumpwm config.

Yes, running makepkg like that calls pacman; its all good.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2022-05-03 21:30:04

pradtf
Member
Registered: 2009-06-10
Posts: 149

Re: SOLVED: stumpwm not starting except from terminal

i copied the xinitrc and modified it as per wiki instructions and the .xinitrc is

#!/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

exec stumpwm

#exec gnome-session

however, the same problem remains - i get the blank screen.

the logs in ~/.stumpwm.d are blank.

so, i'm not sure what to do here (even though i can start stumpwm through a terminal).


in friendship,
prad

Offline

#6 2022-05-04 00:56:56

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

Re: SOLVED: stumpwm not starting except from terminal

Why did you start it in a terminal in the first place?

You could try printing your environment in the TTY from where you run `startx`, and from the xterm instance to determine if there is a variable that is present in the latter.

Also, post your .bash_profile/.profile (or whatever shell initialisation file you use).


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2022-05-04 03:53:16

pradtf
Member
Registered: 2009-06-10
Posts: 149

Re: SOLVED: stumpwm not starting except from terminal

it was an accident. my .xinitrc started twm with the usual 3 terminals and since i wasn't getting stumpwm, i just typed it into one of them and it worked, much to my surprise.

all i have in the .zshenv
export PATH=~/bin:$PATH
export TERM=gnome

stumpwm is actually working, so i'm fine, but i would really like to know why i have to start it from a terminal ... and what to do about it.
i'll follow up on your suggestions.
thx for helping[


in friendship,
prad

Offline

#8 2022-05-04 04:14:45

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

Re: SOLVED: stumpwm not starting except from terminal

Don't set your $TERM like that, it will cause more breakage.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#9 2022-05-04 05:46:05

pradtf
Member
Registered: 2009-06-10
Posts: 149

Re: SOLVED: stumpwm not starting except from terminal

oh really?!
ok i'll look into that too - i just did it that way because i saw it somewhere on the net, but didn't think to investigate it.

i tried installing with yay just in case, but same issue.

if i come up with some success i'll post again in the future.

thx again jason!


in friendship,
prad

Offline

#10 2022-05-04 05:59:59

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,256

Re: SOLVED: stumpwm not starting except from terminal

i find i can start stumpwm if in ~/.xinitrc i have:

exec xterm -e stumpwm
but i get a blank screen if i just use (as per wiki)

exec stumpwm
i haven't been able to find anything either on bbs.archlinux or elsewhere including explanations of startx giving blank screens.

i know stumpwm is running because i can (from another console)

kill `pgrep stumpwm`
to get back to my first console.

I'm gonna say there's no actual problem - you're running stumpwm but not much else?
Modify your xinitrc to tail in

…
xterm &
xterm &
exec stumpwm

Offline

#11 2022-05-04 16:00:21

pradtf
Member
Registered: 2009-06-10
Posts: 149

Re: SOLVED: stumpwm not starting except from terminal

@seth
interesting - it worked!

i actually tried something similar but using a single emacs& instead of 2 xterm& with no success.

also, the twm default (as mentioned earlier) didn't work:

twm &
xclock -geometry 50x50-1+1 &
xterm -geometry 80x50+494+51 &
xterm -geometry 80x20+494-0 &
exec xterm -geometry 80x66+0+0 -name login

but that's probably because it already started twm.

however, replacing twm with stumpwm does not work:

stumpwm &
xterm &

i guess that stumpwm needs to see xterm is running and therefore has a reason to display something.

thx for this, seth!

i'll mark this solved for now.

Last edited by pradtf (2022-05-04 16:24:54)


in friendship,
prad

Offline

#12 2022-05-04 19:54:56

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,256

Re: SOLVED: stumpwm not starting except from terminal

stumpwm &
xterm &

You're forking stumpwm and the xterm - if you don't run anything else, this is where xinit ends and the X11 server terminates.
There needs to be a process that keeps the session open.

Offline

Board footer

Powered by FluxBB