GenericNPCUsername n00b

Joined: 11 Jun 2021 Posts: 6
|
Posted: Sun Jun 13, 2021 11:06 am Post subject: xterm errors out on musl with suid X |
|
|
I don't use xterm, however st kept on segfaulting (Both emerge and custom build), so I emerged xterm to see if the problem was st-agnostic, and it probably is, xterm keeps on printing 'open ttydev: I/O Error'. The only discussion about it I could find is this and it doesn't give a solution. Here are .xinitrc and logs
.xinitrc:
Code: |
#!/bin/sh
/usr/bin/xterm&
exec /usr/local/bin/dwm
|
/var/log/Xorg.0.log
Code: |
[ 883.224]
X.Org X Server 1.20.11
X Protocol Version 11, Revision 0
[ 883.226] Build Operating System: Linux 5.10.27-gentoo x86_64 Gentoo
[ 883.227] Current Operating System: Linux Sir-PC 5.10.27-gentoo #4 SMP Sun Jun 13 01:38:00 IST 2021 x86_64
[ 883.227] Kernel command line: BOOT_IMAGE=/linux-gentoo root=/dev/sda1
[ 883.227] Build Date: 13 June 2021 04:25:07AM
[ 883.227]
[ 883.227] Current version of pixman: 0.40.0
[ 883.227] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 883.227] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 883.231] (==) Log file: "/var/log/Xorg.0.log", Time: Sun Jun 13 21:55:38 2021
[ 883.249] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 883.274] (==) No Layout section. Using the first Screen section.
[ 883.274] (==) No screen section available. Using defaults.
[ 883.274] (**) |-->Screen "Default Screen Section" (0)
[ 883.274] (**) | |-->Monitor "<default monitor>"
[ 883.274] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[ 883.274] (==) Automatically adding devices
[ 883.274] (==) Automatically enabling devices
[ 883.274] (==) Automatically adding GPU devices
[ 883.274] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 883.317] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 883.317] Entry deleted from font path.
[ 883.317] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 883.317] Entry deleted from font path.
[ 883.317] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 883.317] Entry deleted from font path.
[ 883.319] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 883.319] Entry deleted from font path.
[ 883.319] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 883.320] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 883.320] Entry deleted from font path.
[ 883.320] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 883.320] (==) FontPath set to:
/usr/share/fonts/misc/
[ 883.320] (==) ModulePath set to "/usr/lib/xorg/modules"
[ 883.320] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 883.320] (II) Loader magic: 0x55926d03ac80
[ 883.320] (II) Module ABI versions:
[ 883.320] X.Org ANSI C Emulation: 0.4
[ 883.320] X.Org Video Driver: 24.1
[ 883.320] X.Org XInput driver : 24.1
[ 883.320] X.Org Server Extension : 10.0
[ 883.320] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 883.328] (--) PCI:*(0@0:15:0) 15ad:0405:15ad:0405 rev 0, Mem @ 0xe8000000/134217728, 0xfe000000/8388608, I/O @ 0x00001070/16, BIOS @ 0x????????/131072
[ 883.328] (II) LoadModule: "glx"
[ 883.331] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[ 883.411] (II) Module glx: vendor="X.Org Foundation"
[ 883.411] compiled for 1.20.11, module version = 1.0.0
[ 883.411] ABI class: X.Org Server Extension, version 10.0
[ 883.411] (==) Matched vmware as autoconfigured driver 0
[ 883.411] (==) Matched modesetting as autoconfigured driver 1
[ 883.411] (==) Matched fbdev as autoconfigured driver 2
[ 883.411] (==) Matched vesa as autoconfigured driver 3
[ 883.411] (==) Assigned the driver to the xf86ConfigLayout
[ 883.411] (II) LoadModule: "vmware"
[ 883.413] (II) Loading /usr/lib/xorg/modules/drivers/vmware_drv.so
[ 883.549] (II) Module vmware: vendor="X.Org Foundation"
[ 883.549] compiled for 1.20.11, module version = 13.3.0
[ 883.549] Module class: X.Org Video Driver
[ 883.549] ABI class: X.Org Video Driver, version 24.1
[ 883.549] (II) LoadModule: "modesetting"
[ 883.549] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[ 883.560] (II) Module modesetting: vendor="X.Org Foundation"
[ 883.560] compiled for 1.20.11, module version = 1.20.11
[ 883.560] Module class: X.Org Video Driver
[ 883.560] ABI class: X.Org Video Driver, version 24.1
[ 883.560] (II) LoadModule: "fbdev"
[ 883.562] (WW) Warning, couldn't open module fbdev
[ 883.562] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 883.562] (II) LoadModule: "vesa"
[ 883.562] (WW) Warning, couldn't open module vesa
[ 883.562] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 883.562] (II) vmware: driver for VMware SVGA: vmware0405, vmware0710
[ 883.562] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 883.562] (--) using VT number 7
[ 883.562] (WW) Falling back to old probe method for modesetting
[ 883.564] (II) vmware(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
[ 883.564] (--) vmware(0): DRM driver version is 2.18.0
[ 883.564] (==) vmware(0): Depth 24, (--) framebuffer bpp 32
[ 883.564] (==) vmware(0): RGB weight 888
[ 883.564] (==) vmware(0): Default visual is TrueColor
[ 883.564] (--) vmware(0): Min width 1, Max Width 8192.
[ 883.564] (--) vmware(0): Min height 1, Max Height 8192.
[ 883.564] (II) vmware(0): Output Virtual1 has no monitor section
[ 883.564] (II) vmware(0): Output Virtual2 has no monitor section
[ 883.564] (II) vmware(0): Output Virtual3 has no monitor section
[ 883.564] (II) vmware(0): Output Virtual4 has no monitor section
[ 883.564] (II) vmware(0): Output Virtual5 has no monitor section
[ 883.564] (II) vmware(0): Output Virtual6 has no monitor section
[ 883.564] (II) vmware(0): Output Virtual7 has no monitor section
[ 883.564] (II) vmware(0): Output Virtual8 has no monitor section
[ 883.565] (II) vmware(0): Printing probed modes for output Virtual1
[ 883.565] (II) vmware(0): Modeline "800x600"x60.0 42.75 800 850 900 950 600 650 700 750 -hsync +vsync (45.0 kHz eP)
[ 883.565] (II) vmware(0): Modeline "2560x1600"x60.0 348.50 2560 2752 3032 3504 1600 1603 1609 1658 -hsync +vsync (99.5 kHz e)
[ 883.565] (II) vmware(0): Modeline "1920x1440"x60.0 234.00 1920 2048 2256 2600 1440 1441 1444 1500 -hsync +vsync (90.0 kHz e)
[ 883.565] (II) vmware(0): Modeline "1856x1392"x60.0 218.25 1856 1952 2176 2528 1392 1393 1396 1439 -hsync +vsync (86.3 kHz e)
[ 883.565] (II) vmware(0): Modeline "1792x1344"x60.0 204.75 1792 1920 2120 2448 1344 1345 1348 1394 -hsync +vsync (83.6 kHz e)
[ 883.565] (II) vmware(0): Modeline "1920x1200"x59.9 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync (74.6 kHz e)
[ 883.565] (II) vmware(0): Modeline "1600x1200"x60.0 162.00 1600 1664 1856 2160 1200 1201 1204 1250 +hsync +vsync (75.0 kHz e)
[ 883.565] (II) vmware(0): Modeline "1680x1050"x60.0 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync (65.3 kHz e)
[ 883.565] (II) vmware(0): Modeline "1400x1050"x60.0 121.75 1400 1488 1632 1864 1050 1053 1057 1089 -hsync +vsync (65.3 kHz e)
[ 883.565] (II) vmware(0): Modeline "1280x1024"x60.0 108.00 1280 1328 1440 1688 1024 1025 1028 1066 +hsync +vsync (64.0 kHz e)
[ 883.565] (II) vmware(0): Modeline "1440x900"x59.9 106.50 1440 1520 1672 1904 900 903 909 934 -hsync +vsync (55.9 kHz e)
[ 883.565] (II) vmware(0): Modeline "1280x960"x60.0 108.00 1280 1376 1488 1800 960 961 964 1000 +hsync +vsync (60.0 kHz e)
[ 883.565] (II) vmware(0): Modeline "1360x768"x60.0 85.50 1360 1424 1536 1792 768 771 777 795 +hsync +vsync (47.7 kHz e)
[ 883.565] (II) vmware(0): Modeline "1280x800"x59.8 83.50 1280 1352 1480 1680 800 803 809 831 +hsync -vsync (49.7 kHz e)
[ 883.565] (II) vmware(0): Modeline "1152x864"x75.0 108.00 1152 1216 1344 1600 864 865 868 900 +hsync +vsync (67.5 kHz e)
[ 883.565] (II) vmware(0): Modeline "1280x768"x59.9 79.50 1280 1344 1472 1664 768 771 778 798 -hsync +vsync (47.8 kHz e)
[ 883.565] (II) vmware(0): Modeline "1024x768"x60.0 65.00 1024 1048 1184 1344 768 771 777 806 -hsync -vsync (48.4 kHz e)
[ 883.565] (II) vmware(0): Modeline "800x600"x60.3 40.00 800 840 968 1056 600 601 605 628 +hsync +vsync (37.9 kHz e)
[ 883.565] (II) vmware(0): Modeline "640x480"x59.9 25.18 640 656 752 800 480 489 492 525 -hsync -vsync (31.5 kHz e)
[ 883.565] (II) vmware(0): EDID for output Virtual2
[ 883.565] (II) vmware(0): EDID for output Virtual3
[ 883.565] (II) vmware(0): EDID for output Virtual4
[ 883.565] (II) vmware(0): EDID for output Virtual5
[ 883.565] (II) vmware(0): EDID for output Virtual6
[ 883.565] (II) vmware(0): EDID for output Virtual7
[ 883.565] (II) vmware(0): EDID for output Virtual8
[ 883.565] (II) vmware(0): Output Virtual1 connected
[ 883.565] (II) vmware(0): Output Virtual2 disconnected
[ 883.565] (II) vmware(0): Output Virtual3 disconnected
[ 883.565] (II) vmware(0): Output Virtual4 disconnected
[ 883.565] (II) vmware(0): Output Virtual5 disconnected
[ 883.565] (II) vmware(0): Output Virtual6 disconnected
[ 883.565] (II) vmware(0): Output Virtual7 disconnected
[ 883.565] (II) vmware(0): Output Virtual8 disconnected
[ 883.565] (II) vmware(0): Using exact sizes for initial modes
[ 883.565] (II) vmware(0): Output Virtual1 using initial mode 800x600 +0+0
[ 883.565] (==) vmware(0): DPI set to (96, 96)
[ 883.565] (==) vmware(0): Using gamma correction (1.0, 1.0, 1.0)
[ 883.565] (II) Loading sub module "fb"
[ 883.565] (II) LoadModule: "fb"
[ 883.565] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 883.597] (II) Module fb: vendor="X.Org Foundation"
[ 883.597] compiled for 1.20.11, module version = 1.0.0
[ 883.597] ABI class: X.Org ANSI C Emulation, version 0.4
[ 883.597] (II) Loading sub module "dri2"
[ 883.597] (II) LoadModule: "dri2"
[ 883.597] (II) Module "dri2" already built-in
[ 883.597] (II) Loading sub module "dri3"
[ 883.597] (II) LoadModule: "dri3"
[ 883.597] (II) Module "dri3" already built-in
[ 883.597] (II) UnloadModule: "modesetting"
[ 883.597] (II) Unloading modesetting
[ 883.607] (II) vmware(0): Initialized VMWARE_CTRL extension version 0.2
[ 883.612] (WW) vmware(0): Failed to initialize Gallium3D Xa. No render acceleration available.
[ 883.612] (WW) vmware(0): Skipped initialization of direct rendering due to lack of render acceleration.
[ 883.612] (--) vmware(0): Render acceleration is disabled.
[ 883.612] (==) vmware(0): Rendercheck mode is disabled.
[ 883.612] (--) vmware(0): Direct rendering (DRI2 3D) is disabled.
[ 883.612] (--) vmware(0): Direct rendering (DRI3 3D) is disabled.
[ 883.612] (==) vmware(0): Backing store enabled
[ 883.612] (==) vmware(0): Silken mouse enabled
[ 883.615] (==) vmware(0): DPMS enabled
[ 883.615] (II) vmware(0): No 3D acceleration. Not setting up textured video.
[ 883.615] (II) Initializing extension Generic Event Extension
[ 883.615] (II) Initializing extension SHAPE
[ 883.615] (II) Initializing extension MIT-SHM
[ 883.615] (II) Initializing extension XInputExtension
[ 883.620] (II) Initializing extension XTEST
[ 883.620] (II) Initializing extension BIG-REQUESTS
[ 883.620] (II) Initializing extension SYNC
[ 883.620] (II) Initializing extension XKEYBOARD
[ 883.620] (II) Initializing extension XC-MISC
[ 883.620] (II) Initializing extension XFIXES
[ 883.620] (II) Initializing extension RENDER
[ 883.620] (II) Initializing extension RANDR
[ 883.620] (II) Initializing extension COMPOSITE
[ 883.620] (II) Initializing extension DAMAGE
[ 883.620] (II) Initializing extension MIT-SCREEN-SAVER
[ 883.620] (II) Initializing extension DOUBLE-BUFFER
[ 883.620] (II) Initializing extension RECORD
[ 883.620] (II) Initializing extension DPMS
[ 883.620] (II) Initializing extension Present
[ 883.620] (II) Initializing extension DRI3
[ 883.620] (II) Initializing extension X-Resource
[ 883.620] (II) Initializing extension XVideo
[ 883.620] (II) Initializing extension XVideo-MotionCompensation
[ 883.620] (II) Initializing extension GLX
[ 883.620] (II) AIGLX: Screen 0 is not DRI2 capable
[ 883.722] (II) IGLX: Loaded and initialized swrast
[ 883.722] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[ 883.722] (II) Initializing extension XFree86-VidModeExtension
[ 883.722] (II) Initializing extension XFree86-DGA
[ 883.722] (II) Initializing extension XFree86-DRI
[ 883.722] (II) Initializing extension DRI2
[ 883.724] (II) vmware(0): Setting screen physical size to 211 x 158
[ 883.914] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 883.914] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 883.914] (II) LoadModule: "evdev"
[ 883.914] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 883.979] (II) Module evdev: vendor="X.Org Foundation"
[ 883.979] compiled for 1.20.11, module version = 2.10.6
[ 883.979] Module class: X.Org XInput Driver
[ 883.979] ABI class: X.Org XInput driver, version 24.1
[ 883.979] (II) Using input driver 'evdev' for 'Power Button'
[ 883.979] (**) Power Button: always reports core events
[ 883.979] (**) evdev: Power Button: Device: "/dev/input/event0"
[ 883.979] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 883.979] (--) evdev: Power Button: Found keys
[ 883.979] (II) evdev: Power Button: Configuring as keyboard
[ 883.979] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input0/event0"
[ 883.979] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 883.979] (**) Option "xkb_rules" "evdev"
[ 883.979] (II) config/udev: Adding input device VMware VMware Virtual USB Mouse (/dev/input/event3)
[ 883.979] (**) VMware VMware Virtual USB Mouse: Applying InputClass "evdev pointer catchall"
[ 883.979] (II) Using input driver 'evdev' for 'VMware VMware Virtual USB Mouse'
[ 883.979] (**) VMware VMware Virtual USB Mouse: always reports core events
[ 883.979] (**) evdev: VMware VMware Virtual USB Mouse: Device: "/dev/input/event3"
[ 884.037] (--) evdev: VMware VMware Virtual USB Mouse: Vendor 0xe0f Product 0x3
[ 884.037] (--) evdev: VMware VMware Virtual USB Mouse: Found 12 mouse buttons
[ 884.037] (--) evdev: VMware VMware Virtual USB Mouse: Found scroll wheel(s)
[ 884.037] (--) evdev: VMware VMware Virtual USB Mouse: Found relative axes
[ 884.037] (--) evdev: VMware VMware Virtual USB Mouse: Found x and y relative axes
[ 884.037] (II) evdev: VMware VMware Virtual USB Mouse: Configuring as mouse
[ 884.037] (II) evdev: VMware VMware Virtual USB Mouse: Adding scrollwheel support
[ 884.037] (**) evdev: VMware VMware Virtual USB Mouse: YAxisMapping: buttons 4 and 5
[ 884.037] (**) evdev: VMware VMware Virtual USB Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 884.037] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:11.0/0000:02:00.0/usb2/2-1/2-1:1.0/0003:0E0F:0003.0001/input/input4/event3"
[ 884.037] (II) XINPUT: Adding extended input device "VMware VMware Virtual USB Mouse" (type: MOUSE, id 7)
[ 884.037] (II) evdev: VMware VMware Virtual USB Mouse: initialized for relative axes.
[ 884.037] (**) VMware VMware Virtual USB Mouse: (accel) keeping acceleration scheme 1
[ 884.037] (**) VMware VMware Virtual USB Mouse: (accel) acceleration profile 0
[ 884.037] (**) VMware VMware Virtual USB Mouse: (accel) acceleration factor: 2.000
[ 884.037] (**) VMware VMware Virtual USB Mouse: (accel) acceleration threshold: 4
[ 884.038] (II) config/udev: Adding input device VMware VMware Virtual USB Mouse (/dev/input/mouse1)
[ 884.038] (II) No input driver specified, ignoring this device.
[ 884.038] (II) This device may have been added with another device file.
[ 884.038] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event1)
[ 884.038] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[ 884.038] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[ 884.038] (**) AT Translated Set 2 keyboard: always reports core events
[ 884.038] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event1"
[ 884.038] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[ 884.038] (--) evdev: AT Translated Set 2 keyboard: Found keys
[ 884.038] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[ 884.038] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input1/event1"
[ 884.038] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 8)
[ 884.038] (**) Option "xkb_rules" "evdev"
[ 884.038] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event2)
[ 884.038] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
[ 884.038] (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "vmmouse"
[ 884.038] (II) LoadModule: "vmmouse"
[ 884.038] (II) Loading /usr/lib/xorg/modules/input/vmmouse_drv.so
[ 884.039] (II) Module vmmouse: vendor="X.Org Foundation"
[ 884.039] compiled for 1.20.11, module version = 13.1.0
[ 884.039] Module class: X.Org XInput Driver
[ 884.039] ABI class: X.Org XInput driver, version 24.1
[ 884.039] (II) VMWARE(0): VMMOUSE module was loaded
[ 884.039] (II) Using input driver 'vmmouse' for 'ImPS/2 Generic Wheel Mouse'
[ 884.039] (**) ImPS/2 Generic Wheel Mouse: always reports core events
[ 884.040] (II) VMWARE(0): vmmouse is available
[ 884.040] (**) Option "Device" "/dev/input/event2"
[ 884.153] (**) ImPS/2 Generic Wheel Mouse: ZAxisMapping: buttons 4 and 5
[ 884.153] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input3/event2"
[ 884.153] (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel Mouse" (type: MOUSE, id 9)
[ 884.153] (II) VMWARE(0): VMMOUSE DEVICE_INIT
[ 884.153] (**) ImPS/2 Generic Wheel Mouse: (accel) keeping acceleration scheme 1
[ 884.153] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration profile 0
[ 884.153] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration factor: 2.000
[ 884.153] (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration threshold: 4
[ 884.153] (II) VMWARE(0): VMMOUSE DEVICE_ON
[ 884.153] (II) VMWARE(0): vmmouse enabled
[ 884.153] (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse0)
[ 884.153] (II) No input driver specified, ignoring this device.
[ 884.153] (II) This device may have been added with another device file.
[ 916.614] (II) VMWARE(0): vmmouse enable absolute mode
[ 917.993] (II) VMWARE(0): VMMOUSE DEVICE_OFF/CLOSE
[ 918.306] (II) VMWARE(0): VMMOUSE DEVICE_OFF/CLOSE
[ 918.607] (II) VMWARE(0): VMMouseUnInit
[ 918.607] (II) UnloadModule: "vmmouse"
[ 918.607] (II) evdev: AT Translated Set 2 keyboard: Close
[ 918.607] (II) UnloadModule: "evdev"
[ 918.607] (II) evdev: VMware VMware Virtual USB Mouse: Close
[ 918.607] (II) UnloadModule: "evdev"
[ 918.607] (II) evdev: Power Button: Close
[ 918.607] (II) UnloadModule: "evdev"
[ 918.611] (II) Server terminated successfully (0). Closing log file.
|
|
|