Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]cant use startx on new system from under X
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
dimko
Apprentice
Apprentice


Joined: 12 Feb 2006
Posts: 196

PostPosted: Sat Sep 24, 2016 7:20 pm    Post subject: [SOLVED]cant use startx on new system from under X Reply with quote

Code:
startx -- :1 vt5
xauth:  file /home/dimko/.serverauth.15565 does not exist


X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.4.6-gentoo x86_64 Gentoo
Current Operating System: Linux localhost 4.4.6-gentoo #5 SMP PREEMPT Fri Sep 23 18:16:19 Local time zone must be set-- x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.6-gentoo root=/dev/sda1 ro init=/usr/lib/systemd/systemd
Build Date: 23 September 2016  08:30:23PM
 
Current version of pixman: 0.34.0
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/home/dimko/.local/share/xorg/Xorg.1.log", Time: Sat Sep 24 20:13:21 2016
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) xf86OpenConsole: Cannot open virtual console 5 (Permission denied)
(EE)
(EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/home/dimko/.local/share/xorg/Xorg.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console


about machine:
systemd
proprietary nvidia
X run as user(not as root)
dimko 2166 5.6 0.2 181728 79312 tty3 S 19:56 0:50 /usr/bin/X -nolisten tcp :0 vt3 -auth /home/dimko/.serverauth.2144 vt3

what I believe relevant from log file:

Code:
[  1462.859] (EE)
Fatal server error:
[  1462.859] (EE) xf86OpenConsole: Cannot open virtual console 5 (Permission denied)
[  1462.859] (EE)
[  1462.859] (EE)


I can imagine I can do something line chmod 777 /dev/tty*
But a) it's not secure, b) i have to do it at every start

any ideas? thanks!


Probably because of same issues my Kde Plasma wont start. but i can live with that. what wont - custom made scripts that did depend on startx before.(god damn it, i want proper nice values for my steam when I am compiling my stuff)
_________________
Just a user.


Last edited by dimko on Fri Oct 14, 2016 10:41 pm; edited 1 time in total
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Sun Sep 25, 2016 9:22 am    Post subject: Reply with quote

Please share the conent of

Code:
cat /var/log/Xorg.0.log


make.conf and emerge --info

so we can check what you have set for the gpu driver => VIDEO_CARDS= ...

Code:
lspci -kk
Back to top
View user's profile Send private message
dimko
Apprentice
Apprentice


Joined: 12 Feb 2006
Posts: 196

PostPosted: Sun Sep 25, 2016 12:08 pm    Post subject: Reply with quote

Roman_Gruber wrote:
Please share the conent of

Code:
cat /var/log/Xorg.0.log


make.conf and emerge --info

so we can check what you have set for the gpu driver => VIDEO_CARDS= ...

Code:
lspci -kk




Xorg log file:

Code:

[ 14425.959]
X.Org X Server 1.18.4
Release Date: 2016-07-19
[ 14425.959] X Protocol Version 11, Revision 0
[ 14425.960] Build Operating System: Linux 4.4.6-gentoo x86_64 Gentoo
[ 14425.960] Current Operating System: Linux localhost 4.4.6-gentoo #5 SMP PREEMPT Fri Sep 23 18:16:19 Local time zone must be set-- x86_64
[ 14425.960] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-4.4.6-gentoo root=/dev/sda1 ro init=/usr/lib/systemd/systemd
[ 14425.961] Build Date: 23 September 2016  08:30:23PM
[ 14425.961] 
[ 14425.961] Current version of pixman: 0.34.0
[ 14425.962]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[ 14425.962] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 14425.964] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Sep 24 23:52:00 2016
[ 14425.964] (==) Using config directory: "/etc/X11/xorg.conf.d"
[ 14425.965] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 14425.965] (==) No Layout section.  Using the first Screen section.
[ 14425.965] (==) No screen section available. Using defaults.
[ 14425.965] (**) |-->Screen "Default Screen Section" (0)
[ 14425.965] (**) |   |-->Monitor "<default monitor>"
[ 14425.965] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[ 14425.965] (==) Automatically adding devices
[ 14425.965] (==) Automatically enabling devices
[ 14425.965] (==) Automatically adding GPU devices
[ 14425.965] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 14425.965] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[ 14425.965]    Entry deleted from font path.
[ 14425.965] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[ 14425.965]    Entry deleted from font path.
[ 14425.965] (WW) The directory "/usr/share/fonts/Type1/" does not exist.
[ 14425.965]    Entry deleted from font path.
[ 14425.965] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/".
[ 14425.965]    Entry deleted from font path.
[ 14425.965]    (Run 'mkfontdir' on "/usr/share/fonts/100dpi/").
[ 14425.965] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[ 14425.965]    Entry deleted from font path.
[ 14425.965]    (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[ 14425.965] (==) FontPath set to:
   /usr/share/fonts/misc/
[ 14425.965] (**) ModulePath set to "/usr/lib64/opengl/nvidia,/usr/lib64/xorg/modules"
[ 14425.965] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[ 14425.965] (II) Loader magic: 0x80dd40
[ 14425.965] (II) Module ABI versions:
[ 14425.965]    X.Org ANSI C Emulation: 0.4
[ 14425.965]    X.Org Video Driver: 20.0
[ 14425.965]    X.Org XInput driver : 22.1
[ 14425.965]    X.Org Server Extension : 9.0
[ 14425.967] (++) using VT number 1

[ 14425.967] (--) controlling tty is VT number 1, auto-enabling KeepTty
[ 14425.973] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_31
[ 14425.973] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 14425.974] (II) systemd-logind: got fd for /dev/dri/card0 226:0 fd 7 paused 0
[ 14425.977] (--) PCI:*(0:1:0:0) 10de:100a:19da:1314 rev 161, Mem @ 0xfd000000/16777216, 0xf0000000/134217728, 0xf8000000/33554432, I/O @ 0x0000cc00/128, BIOS @ 0x????????/524288
[ 14425.977] (II) LoadModule: "glx"
[ 14425.977] (II) Loading /usr/lib64/opengl/nvidia/extensions/libglx.so
[ 14425.987] (II) Module glx: vendor="NVIDIA Corporation"
[ 14425.987]    compiled for 4.0.2, module version = 1.0.0
[ 14425.987]    Module class: X.Org Server Extension
[ 14425.987] (II) NVIDIA GLX Module  361.28  Wed Feb  3 15:10:57 PST 2016
[ 14425.987] (II) Applying OutputClass "nvidia" to /dev/dri/card0
[ 14425.987]    loading driver: nvidia
[ 14425.987] (==) Matched nvidia as autoconfigured driver 0
[ 14425.987] (==) Matched nouveau as autoconfigured driver 1
[ 14425.987] (==) Matched nv as autoconfigured driver 2
[ 14425.987] (==) Matched nouveau as autoconfigured driver 3
[ 14425.987] (==) Matched nv as autoconfigured driver 4
[ 14425.987] (==) Matched modesetting as autoconfigured driver 5
[ 14425.987] (==) Matched fbdev as autoconfigured driver 6
[ 14425.987] (==) Matched vesa as autoconfigured driver 7
[ 14425.987] (==) Assigned the driver to the xf86ConfigLayout
[ 14425.987] (II) LoadModule: "nvidia"
[ 14425.987] (II) Loading /usr/lib64/xorg/modules/drivers/nvidia_drv.so
[ 14425.988] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 14425.988]    compiled for 4.0.2, module version = 1.0.0
[ 14425.988]    Module class: X.Org Video Driver
[ 14425.988] (II) LoadModule: "nouveau"
[ 14425.989] (WW) Warning, couldn't open module nouveau
[ 14425.989] (II) UnloadModule: "nouveau"
[ 14425.989] (II) Unloading nouveau
[ 14425.989] (EE) Failed to load module "nouveau" (module does not exist, 0)
[ 14425.989] (II) LoadModule: "nv"
[ 14425.989] (WW) Warning, couldn't open module nv
[ 14425.989] (II) UnloadModule: "nv"
[ 14425.989] (II) Unloading nv
[ 14425.989] (EE) Failed to load module "nv" (module does not exist, 0)
[ 14425.989] (II) LoadModule: "modesetting"
[ 14425.989] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[ 14425.990] (II) Module modesetting: vendor="X.Org Foundation"
[ 14425.990]    compiled for 1.18.4, module version = 1.18.4
[ 14425.990]    Module class: X.Org Video Driver
[ 14425.990]    ABI class: X.Org Video Driver, version 20.0
[ 14425.990] (II) LoadModule: "fbdev"
[ 14425.990] (WW) Warning, couldn't open module fbdev
[ 14425.990] (II) UnloadModule: "fbdev"
[ 14425.990] (II) Unloading fbdev
[ 14425.990] (EE) Failed to load module "fbdev" (module does not exist, 0)
[ 14425.990] (II) LoadModule: "vesa"
[ 14425.991] (WW) Warning, couldn't open module vesa
[ 14425.991] (II) UnloadModule: "vesa"
[ 14425.991] (II) Unloading vesa
[ 14425.991] (EE) Failed to load module "vesa" (module does not exist, 0)
[ 14425.991] (II) NVIDIA dlloader X Driver  361.28  Wed Feb  3 14:48:10 PST 2016
[ 14425.991] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 14425.991] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[ 14425.991] (II) Loading sub module "fb"
[ 14425.991] (II) LoadModule: "fb"
[ 14425.991] (II) Loading /usr/lib64/xorg/modules/libfb.so
[ 14425.992] (II) Module fb: vendor="X.Org Foundation"
[ 14425.992]    compiled for 1.18.4, module version = 1.0.0
[ 14425.992]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 14425.992] (II) Loading sub module "wfb"
[ 14425.992] (II) LoadModule: "wfb"
[ 14425.992] (II) Loading /usr/lib64/xorg/modules/libwfb.so
[ 14425.992] (II) Module wfb: vendor="X.Org Foundation"
[ 14425.992]    compiled for 1.18.4, module version = 1.0.0
[ 14425.992]    ABI class: X.Org ANSI C Emulation, version 0.4
[ 14425.992] (II) Loading sub module "ramdac"
[ 14425.992] (II) LoadModule: "ramdac"
[ 14425.992] (II) Module "ramdac" already built-in
[ 14425.993] (WW) Falling back to old probe method for modesetting
[ 14425.993] (II) NVIDIA(0): Creating default Display subsection in Screen section
   "Default Screen Section" for depth/fbbpp 24/32
[ 14425.993] (==) NVIDIA(0): Depth 24, (==) framebuffer bpp 32
[ 14425.993] (==) NVIDIA(0): RGB weight 888
[ 14425.993] (==) NVIDIA(0): Default visual is TrueColor
[ 14425.993] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 14425.994] (**) NVIDIA(0): Enabling 2D acceleration
[ 14426.692] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[ 14426.692] (--) NVIDIA(0):     CRT-0
[ 14426.692] (--) NVIDIA(0):     DFP-0 (boot)
[ 14426.692] (--) NVIDIA(0):     DFP-1
[ 14426.692] (--) NVIDIA(0):     DFP-2
[ 14426.692] (--) NVIDIA(0):     DFP-3
[ 14426.692] (--) NVIDIA(0):     DFP-4
[ 14426.707] (--) NVIDIA(0): CRT-0: disconnected
[ 14426.707] (--) NVIDIA(0): CRT-0: 400.0 MHz maximum pixel clock
[ 14426.707] (--) NVIDIA(0):
[ 14426.738] (--) NVIDIA(0): BenQ GL2750H (DFP-0): connected
[ 14426.738] (--) NVIDIA(0): BenQ GL2750H (DFP-0): Internal TMDS
[ 14426.738] (--) NVIDIA(0): BenQ GL2750H (DFP-0): 330.0 MHz maximum pixel clock
[ 14426.738] (--) NVIDIA(0):
[ 14426.738] (--) NVIDIA(0): DFP-1: disconnected
[ 14426.738] (--) NVIDIA(0): DFP-1: Internal TMDS
[ 14426.738] (--) NVIDIA(0): DFP-1: 165.0 MHz maximum pixel clock
[ 14426.738] (--) NVIDIA(0):
[ 14426.738] (--) NVIDIA(0): DFP-2: disconnected
[ 14426.738] (--) NVIDIA(0): DFP-2: Internal TMDS
[ 14426.738] (--) NVIDIA(0): DFP-2: 165.0 MHz maximum pixel clock
[ 14426.738] (--) NVIDIA(0):
[ 14426.738] (--) NVIDIA(0): DFP-3: disconnected
[ 14426.738] (--) NVIDIA(0): DFP-3: Internal TMDS
[ 14426.738] (--) NVIDIA(0): DFP-3: 330.0 MHz maximum pixel clock
[ 14426.738] (--) NVIDIA(0):
[ 14426.738] (--) NVIDIA(0): DFP-4: disconnected
[ 14426.738] (--) NVIDIA(0): DFP-4: Internal DisplayPort
[ 14426.738] (--) NVIDIA(0): DFP-4: 960.0 MHz maximum pixel clock
[ 14426.738] (--) NVIDIA(0):
[ 14426.738] (II) NVIDIA(GPU-0): Found DRM driver nvidia-drm (20150116)
[ 14426.739] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 780 Ti (GK110B) at PCI:1:0:0 (GPU-0)
[ 14426.739] (--) NVIDIA(0): Memory: 3145728 kBytes
[ 14426.739] (--) NVIDIA(0): VideoBIOS: 80.80.34.00.01
[ 14426.739] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 14426.739] (**) NVIDIA(0): Using HorizSync/VertRefresh ranges from the EDID for display
[ 14426.739] (**) NVIDIA(0):     device BenQ GL2750H (DFP-0) (Using EDID frequencies has
[ 14426.739] (**) NVIDIA(0):     been enabled on all display devices.)
[ 14426.741] (==) NVIDIA(0):
[ 14426.741] (==) NVIDIA(0): No modes were requested; the default mode "nvidia-auto-select"
[ 14426.741] (==) NVIDIA(0):     will be used as the requested mode.
[ 14426.741] (==) NVIDIA(0):
[ 14426.742] (II) NVIDIA(0): Validated MetaModes:
[ 14426.742] (II) NVIDIA(0):     "DFP-0:nvidia-auto-select"
[ 14426.742] (II) NVIDIA(0): Virtual screen size determined to be 1920 x 1080
[ 14426.748] (--) NVIDIA(0): DPI set to (81, 80); computed from "UseEdidDpi" X config
[ 14426.748] (--) NVIDIA(0):     option
[ 14426.748] (II) UnloadModule: "modesetting"
[ 14426.748] (II) Unloading modesetting
[ 14426.748] (--) Depth 24 pixmap format is 32 bpp
[ 14426.749] (II) NVIDIA: Using 3072.00 MB of virtual memory for indirect memory
[ 14426.749] (II) NVIDIA:     access.
[ 14426.756] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
[ 14426.756] (II) NVIDIA(0):     may not be running or the "AcpidSocketPath" X
[ 14426.756] (II) NVIDIA(0):     configuration option may not be set correctly.  When the
[ 14426.756] (II) NVIDIA(0):     ACPI event daemon is available, the NVIDIA X driver will
[ 14426.756] (II) NVIDIA(0):     try to use it to receive ACPI event notifications.  For
[ 14426.756] (II) NVIDIA(0):     details, please see the "ConnectToAcpid" and
[ 14426.756] (II) NVIDIA(0):     "AcpidSocketPath" X configuration options in Appendix B: X
[ 14426.756] (II) NVIDIA(0):     Config Options in the README.
[ 14426.801] (II) NVIDIA(0): Setting mode "DFP-0:nvidia-auto-select"
[ 14426.858] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 14426.858] (==) NVIDIA(0): Backing store enabled
[ 14426.858] (==) NVIDIA(0): Silken mouse enabled
[ 14426.858] (==) NVIDIA(0): DPMS enabled
[ 14426.858] (II) Loading sub module "x11glvnd"
[ 14426.858] (II) LoadModule: "x11glvnd"
[ 14426.858] (WW) Warning, couldn't open module x11glvnd
[ 14426.858] (II) UnloadModule: "x11glvnd"
[ 14426.858] (II) Unloading x11glvnd
[ 14426.858] (II) x11glvnd Loading
[ 14426.858] (II) Loading sub module "dri2"
[ 14426.858] (II) LoadModule: "dri2"
[ 14426.858] (II) Module "dri2" already built-in
[ 14426.858] (II) NVIDIA(0): [DRI2] Setup complete
[ 14426.858] (II) NVIDIA(0): [DRI2]   VDPAU driver: nvidia
[ 14426.858] (--) RandR disabled
[ 14426.858] (II) Initializing extension GLX
[ 14426.858] (II) Indirect GLX disabled.
[ 14426.921] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[ 14426.921] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 14426.921] (II) LoadModule: "evdev"
[ 14426.921] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[ 14426.922] (II) Module evdev: vendor="X.Org Foundation"
[ 14426.922]    compiled for 1.18.4, module version = 2.10.3
[ 14426.922]    Module class: X.Org XInput Driver
[ 14426.922]    ABI class: X.Org XInput driver, version 22.1
[ 14426.922] (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 28 paused 0
[ 14426.922] (II) Using input driver 'evdev' for 'Power Button'
[ 14426.922] (**) Power Button: always reports core events
[ 14426.922] (**) evdev: Power Button: Device: "/dev/input/event1"
[ 14426.922] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 14426.922] (--) evdev: Power Button: Found keys
[ 14426.922] (II) evdev: Power Button: Configuring as keyboard
[ 14426.922] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1/event1"
[ 14426.922] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 14426.922] (**) Option "xkb_rules" "evdev"
[ 14426.923] (II) config/udev: Adding input device Power Button (/dev/input/event0)
[ 14426.923] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 14426.923] (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 29 paused 0
[ 14426.923] (II) Using input driver 'evdev' for 'Power Button'
[ 14426.923] (**) Power Button: always reports core events
[ 14426.923] (**) evdev: Power Button: Device: "/dev/input/event0"
[ 14426.923] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 14426.923] (--) evdev: Power Button: Found keys
[ 14426.923] (II) evdev: Power Button: Configuring as keyboard
[ 14426.923] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0/event0"
[ 14426.923] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[ 14426.923] (**) Option "xkb_rules" "evdev"
[ 14426.924] (II) config/udev: Adding input device SIGMACHIP USB Keyboard (/dev/input/event2)
[ 14426.924] (**) SIGMACHIP USB Keyboard: Applying InputClass "evdev keyboard catchall"
[ 14426.924] (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 30 paused 0
[ 14426.924] (II) Using input driver 'evdev' for 'SIGMACHIP USB Keyboard'
[ 14426.924] (**) SIGMACHIP USB Keyboard: always reports core events
[ 14426.924] (**) evdev: SIGMACHIP USB Keyboard: Device: "/dev/input/event2"
[ 14426.924] (--) evdev: SIGMACHIP USB Keyboard: Vendor 0x1c4f Product 0x2
[ 14426.924] (--) evdev: SIGMACHIP USB Keyboard: Found keys
[ 14426.924] (II) evdev: SIGMACHIP USB Keyboard: Configuring as keyboard
[ 14426.924] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.0/usb3/3-1/3-1:1.0/0003:1C4F:0002.0001/input/input5/event2"
[ 14426.924] (II) XINPUT: Adding extended input device "SIGMACHIP USB Keyboard" (type: KEYBOARD, id 8)
[ 14426.924] (**) Option "xkb_rules" "evdev"
[ 14426.925] (II) config/udev: Adding input device SIGMACHIP USB Keyboard (/dev/input/event3)
[ 14426.925] (**) SIGMACHIP USB Keyboard: Applying InputClass "evdev keyboard catchall"
[ 14426.925] (II) systemd-logind: got fd for /dev/input/event3 13:67 fd 31 paused 0
[ 14426.925] (II) Using input driver 'evdev' for 'SIGMACHIP USB Keyboard'
[ 14426.925] (**) SIGMACHIP USB Keyboard: always reports core events
[ 14426.925] (**) evdev: SIGMACHIP USB Keyboard: Device: "/dev/input/event3"
[ 14426.925] (--) evdev: SIGMACHIP USB Keyboard: Vendor 0x1c4f Product 0x2
[ 14426.925] (--) evdev: SIGMACHIP USB Keyboard: Found 1 mouse buttons
[ 14426.925] (--) evdev: SIGMACHIP USB Keyboard: Found scroll wheel(s)
[ 14426.925] (--) evdev: SIGMACHIP USB Keyboard: Found relative axes
[ 14426.925] (II) evdev: SIGMACHIP USB Keyboard: Forcing relative x/y axes to exist.
[ 14426.925] (--) evdev: SIGMACHIP USB Keyboard: Found absolute axes
[ 14426.925] (II) evdev: SIGMACHIP USB Keyboard: Forcing absolute x/y axes to exist.
[ 14426.925] (--) evdev: SIGMACHIP USB Keyboard: Found keys
[ 14426.925] (II) evdev: SIGMACHIP USB Keyboard: Configuring as mouse
[ 14426.925] (II) evdev: SIGMACHIP USB Keyboard: Configuring as keyboard
[ 14426.925] (II) evdev: SIGMACHIP USB Keyboard: Adding scrollwheel support
[ 14426.925] (**) evdev: SIGMACHIP USB Keyboard: YAxisMapping: buttons 4 and 5
[ 14426.925] (**) evdev: SIGMACHIP USB Keyboard: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 14426.925] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.0/usb3/3-1/3-1:1.1/0003:1C4F:0002.0002/input/input6/event3"
[ 14426.925] (II) XINPUT: Adding extended input device "SIGMACHIP USB Keyboard" (type: KEYBOARD, id 9)
[ 14426.925] (**) Option "xkb_rules" "evdev"
[ 14426.926] (II) evdev: SIGMACHIP USB Keyboard: initialized for relative axes.
[ 14426.926] (WW) evdev: SIGMACHIP USB Keyboard: ignoring absolute axes.
[ 14426.926] (**) SIGMACHIP USB Keyboard: (accel) keeping acceleration scheme 1
[ 14426.926] (**) SIGMACHIP USB Keyboard: (accel) acceleration profile 0
[ 14426.926] (**) SIGMACHIP USB Keyboard: (accel) acceleration factor: 2.000
[ 14426.926] (**) SIGMACHIP USB Keyboard: (accel) acceleration threshold: 4
[ 14426.926] (II) config/udev: Adding input device ROCCAT ROCCAT Kone[+] (/dev/input/event4)
[ 14426.926] (**) ROCCAT ROCCAT Kone[+]: Applying InputClass "evdev pointer catchall"
[ 14426.926] (**) ROCCAT ROCCAT Kone[+]: Applying InputClass "evdev keyboard catchall"
[ 14426.927] (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 32 paused 0
[ 14426.927] (II) Using input driver 'evdev' for 'ROCCAT ROCCAT Kone[+]'
[ 14426.927] (**) ROCCAT ROCCAT Kone[+]: always reports core events
[ 14426.927] (**) evdev: ROCCAT ROCCAT Kone[+]: Device: "/dev/input/event4"
[ 14426.927] (--) evdev: ROCCAT ROCCAT Kone[+]: Vendor 0x1e7d Product 0x2d51
[ 14426.927] (--) evdev: ROCCAT ROCCAT Kone[+]: Found 9 mouse buttons
[ 14426.927] (--) evdev: ROCCAT ROCCAT Kone[+]: Found scroll wheel(s)
[ 14426.927] (--) evdev: ROCCAT ROCCAT Kone[+]: Found relative axes
[ 14426.927] (--) evdev: ROCCAT ROCCAT Kone[+]: Found x and y relative axes
[ 14426.927] (--) evdev: ROCCAT ROCCAT Kone[+]: Found absolute axes
[ 14426.927] (II) evdev: ROCCAT ROCCAT Kone[+]: Forcing absolute x/y axes to exist.
[ 14426.927] (--) evdev: ROCCAT ROCCAT Kone[+]: Found keys
[ 14426.927] (II) evdev: ROCCAT ROCCAT Kone[+]: Configuring as mouse
[ 14426.927] (II) evdev: ROCCAT ROCCAT Kone[+]: Configuring as keyboard
[ 14426.927] (II) evdev: ROCCAT ROCCAT Kone[+]: Adding scrollwheel support
[ 14426.927] (**) evdev: ROCCAT ROCCAT Kone[+]: YAxisMapping: buttons 4 and 5
[ 14426.927] (**) evdev: ROCCAT ROCCAT Kone[+]: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 14426.927] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.1/usb4/4-3/4-3:1.0/0003:1E7D:2D51.0003/input/input7/event4"
[ 14426.927] (II) XINPUT: Adding extended input device "ROCCAT ROCCAT Kone[+]" (type: KEYBOARD, id 10)
[ 14426.927] (**) Option "xkb_rules" "evdev"
[ 14426.927] (II) evdev: ROCCAT ROCCAT Kone[+]: initialized for relative axes.
[ 14426.927] (WW) evdev: ROCCAT ROCCAT Kone[+]: ignoring absolute axes.
[ 14426.927] (**) ROCCAT ROCCAT Kone[+]: (accel) keeping acceleration scheme 1
[ 14426.927] (**) ROCCAT ROCCAT Kone[+]: (accel) acceleration profile 0
[ 14426.927] (**) ROCCAT ROCCAT Kone[+]: (accel) acceleration factor: 2.000
[ 14426.927] (**) ROCCAT ROCCAT Kone[+]: (accel) acceleration threshold: 4
[ 14426.928] (II) config/udev: Adding input device ROCCAT ROCCAT Kone[+] (/dev/input/mouse0)
[ 14426.928] (II) No input driver specified, ignoring this device.
[ 14426.928] (II) This device may have been added with another device file.
[ 14426.928] (II) config/udev: Adding input device ROCCAT ROCCAT Kone[+] (/dev/input/event5)
[ 14426.928] (**) ROCCAT ROCCAT Kone[+]: Applying InputClass "evdev keyboard catchall"
[ 14426.928] (II) systemd-logind: got fd for /dev/input/event5 13:69 fd 33 paused 0
[ 14426.928] (II) Using input driver 'evdev' for 'ROCCAT ROCCAT Kone[+]'
[ 14426.928] (**) ROCCAT ROCCAT Kone[+]: always reports core events
[ 14426.928] (**) evdev: ROCCAT ROCCAT Kone[+]: Device: "/dev/input/event5"
[ 14426.928] (--) evdev: ROCCAT ROCCAT Kone[+]: Vendor 0x1e7d Product 0x2d51
[ 14426.928] (--) evdev: ROCCAT ROCCAT Kone[+]: Found keys
[ 14426.928] (II) evdev: ROCCAT ROCCAT Kone[+]: Configuring as keyboard
[ 14426.928] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:12.1/usb4/4-3/4-3:1.1/0003:1E7D:2D51.0004/input/input8/event5"
[ 14426.928] (II) XINPUT: Adding extended input device "ROCCAT ROCCAT Kone[+]" (type: KEYBOARD, id 11)
[ 14426.928] (**) Option "xkb_rules" "evdev"
[ 14426.929] (II) config/udev: Adding input device PC Speaker (/dev/input/event6)
[ 14426.929] (II) No input driver specified, ignoring this device.
[ 14426.929] (II) This device may have been added with another device file.
[ 14434.541] (II) evdev: ROCCAT ROCCAT Kone[+]: Close
[ 14434.541] (II) UnloadModule: "evdev"
[ 14434.541] (II) systemd-logind: releasing fd for 13:69
[ 14434.557] (II) evdev: ROCCAT ROCCAT Kone[+]: Close
[ 14434.557] (II) UnloadModule: "evdev"
[ 14434.557] (II) systemd-logind: releasing fd for 13:68
[ 14434.569] (II) evdev: SIGMACHIP USB Keyboard: Close
[ 14434.569] (II) UnloadModule: "evdev"
[ 14434.569] (II) systemd-logind: releasing fd for 13:67
[ 14434.581] (II) evdev: SIGMACHIP USB Keyboard: Close
[ 14434.581] (II) UnloadModule: "evdev"
[ 14434.581] (II) systemd-logind: releasing fd for 13:66
[ 14434.593] (II) evdev: Power Button: Close
[ 14434.593] (II) UnloadModule: "evdev"
[ 14434.593] (II) systemd-logind: releasing fd for 13:64
[ 14434.599] (II) evdev: Power Button: Close
[ 14434.599] (II) UnloadModule: "evdev"
[ 14434.599] (II) systemd-logind: releasing fd for 13:65
[ 14435.510] (II) NVIDIA(GPU-0): Deleting GPU-0
[ 14435.511] (II) Server terminated successfully (0). Closing log file.





And here lis lspci output:


Code:

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] RS780 Host Bridge
   Subsystem: ASUSTeK Computer Inc. RS780 Host Bridge
00:02.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780 PCI to PCI bridge (ext gfx port 0)
   Kernel driver in use: pcieport
00:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 0)
   Kernel driver in use: pcieport
00:07.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 3)
   Kernel driver in use: pcieport
00:0a.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] RS780/RS880 PCI to PCI bridge (PCIE port 5)
   Kernel driver in use: pcieport
00:11.0 SATA controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
   Subsystem: ASUSTeK Computer Inc. SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
   Kernel driver in use: ahci
00:12.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
   Subsystem: ASUSTeK Computer Inc. SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
   Kernel driver in use: ohci-pci
00:12.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
   Subsystem: ASUSTeK Computer Inc. SB7x0 USB OHCI1 Controller
   Kernel driver in use: ohci-pci
00:12.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
   Subsystem: ASUSTeK Computer Inc. SB7x0/SB8x0/SB9x0 USB EHCI Controller
   Kernel driver in use: ehci-pci
00:13.0 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
   Subsystem: ASUSTeK Computer Inc. SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
   Kernel driver in use: ohci-pci
00:13.1 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0 USB OHCI1 Controller
   Subsystem: ASUSTeK Computer Inc. SB7x0 USB OHCI1 Controller
   Kernel driver in use: ohci-pci
00:13.2 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB EHCI Controller
   Subsystem: ASUSTeK Computer Inc. SB7x0/SB8x0/SB9x0 USB EHCI Controller
   Kernel driver in use: ehci-pci
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus Controller (rev 3c)
   Subsystem: ASUSTeK Computer Inc. M4A785TD Motherboard
00:14.1 IDE interface: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 IDE Controller
   Subsystem: ASUSTeK Computer Inc. SB7x0/SB8x0/SB9x0 IDE Controller
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC host controller
   Subsystem: ASUSTeK Computer Inc. SB7x0/SB8x0/SB9x0 LPC host controller
00:14.4 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to PCI Bridge
00:14.5 USB controller: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
   Subsystem: ASUSTeK Computer Inc. SB7x0/SB8x0/SB9x0 USB OHCI2 Controller
   Kernel driver in use: ohci-pci
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 15h Processor Function 5
01:00.0 VGA compatible controller: NVIDIA Corporation GK110B [GeForce GTX 780 Ti] (rev a1)
   Subsystem: ZOTAC International (MCO) Ltd. GK110B [GeForce GTX 780 Ti]
   Kernel driver in use: nvidia
   Kernel modules: nvidia
01:00.1 Audio device: NVIDIA Corporation GK110 HDMI Audio (rev a1)
   Subsystem: ZOTAC International (MCO) Ltd. GK110 HDMI Audio
02:00.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa)
03:04.0 Multimedia audio controller: C-Media Electronics Inc CMI8788 [Oxygen HD Audio]
   Subsystem: ASUSTeK Computer Inc. Virtuoso 100 (Xonar DX)
   Kernel driver in use: snd_virtuoso
   Kernel modules: snd_virtuoso
04:00.0 USB controller: ASMedia Technology Inc. ASM1042A USB 3.0 Host Controller
   Subsystem: ASUSTeK Computer Inc. ASM1042A USB 3.0 Host Controller
   Kernel driver in use: xhci_hcd
05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 09)
   Subsystem: ASUSTeK Computer Inc. P8 series motherboard
   Kernel driver in use: r8169
   Kernel modules: r8169
[/code]
_________________
Just a user.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Mon Sep 26, 2016 9:33 am    Post subject: Reply with quote

Why are you loading every implementation of possbile gpu drivers?

[ 14425.991] (II) UnloadModule: "vesa"
[ 14425.990] (II) Unloading fbdev
[ 14425.989] (II) UnloadModule: "nv"
[ 14425.989] (II) Unloading nouveau

Please check gentoo wiki and remove those unneeded crap: live vesa, fbdev, nouveau (open source nvidia gpu drivers) and such

--

I assume you are using the binary drivers, called nvidia-drivers and therefore you will need nvidia:

thats correct:

[ 14425.987] (II) LoadModule: "nvidia"

--

Jost for your information

Quote:
01:00.0 VGA compatible controller: NVIDIA Corporation GK110B [GeForce GTX 780 Ti] (rev a1)
Subsystem: ZOTAC International (MCO) Ltd. GK110B [GeForce GTX 780 Ti]
Kernel driver in use: nvidia
Kernel modules: nvidia


The 7xx nvida cards have issues recently on any operating system. you may try an older nvidia-driver and check the web. some cards are legacy or deprecated. Please check google for details ... What i remember not every windows driver work for those 700 cards and also not every linux driver

--

Please share your make.conf

You should have only set there. I assume its a desctop box, because of the gpu in question

Code:
VIDEO_CARDS="nvidia"


When it uses the integrated intel gpu also than its a bit different ...

--

Please share your output of this:

Code:
emerge -pv xorg-drivers mesa nvidia-drivers gentoo-sources



Please pay attentin to this:

VIDEO_CARDS="nvidia -amdgpu -apm -ast -chips -cirrus -dummy -epson -fbdev -fglrx (-freedreno) (-geode) -glint -i128 (-i740) -intel -mach64 -mga -neomagic -nouveau -nv (-omap) (-omapfb) -qxl -r128 -radeon -radeonsi -rendition -s3 -s3virge -savage -siliconmotion -sisusb (-sunbw2) (-suncg14) (-suncg3) (-suncg6) (-sunffb) (-sunleo) (-suntcx) -tdfx (-tegra) -tga -trident -tseng -vesa -via -virtualbox -vmware (-voodoo)" 0 KiB

VIDEO_CARDS="(-freedreno) -i915 -i965 -ilo -intel -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi (-vc4) -vmware" 0 KiB

Only nvidia should be active !
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Mon Sep 26, 2016 4:06 pm    Post subject: Reply with quote

You can't use VT5 if some other process is using it (agetty runs on VT1-6 by default). Try a number above 7.
Back to top
View user's profile Send private message
dimko
Apprentice
Apprentice


Joined: 12 Feb 2006
Posts: 196

PostPosted: Tue Sep 27, 2016 12:03 am    Post subject: Update Reply with quote

Ant P. wrote:
You can't use VT5 if some other process is using it (agetty runs on VT1-6 by default). Try a number above 7.

It's same, no matter which VT number I try.
Also, it works if I run X originally as root, but not as under my user.
_________________
Just a user.
Back to top
View user's profile Send private message
dimko
Apprentice
Apprentice


Joined: 12 Feb 2006
Posts: 196

PostPosted: Tue Sep 27, 2016 12:10 am    Post subject: Reply with quote

None of non nvidia binary drivers are installed or used.


Code:
localhost linux # grep -i vesa .config
# CONFIG_FB_BOOT_VESA_SUPPORT is not set
# CONFIG_FB_UVESA is not set
# CONFIG_FB_VESA is not set
localhost linux # grep -i fbdev  .config
CONFIG_DRM_FBDEV_EMULATION=y
localhost linux # grep -i nv  .config
CONFIG_INIT_ENV_ARG_LIMIT=32
# CONFIG_OPENVSWITCH is not set
# CONFIG_BLK_DEV_NVME is not set
# CONFIG_SATA_NV is not set
# CONFIG_NET_VENDOR_NVIDIA is not set
# CONFIG_NVM is not set
CONFIG_NVRAM=y
# CONFIG_NV_TCO is not set
# CONFIG_FB_NVIDIA is not set
# CONFIG_LIBNVDIMM is not set
# CONFIG_NVMEM is not set
localhost linux # grep -i nouveau   .config
# CONFIG_DRM_NOUVEAU is not set
localhost linux #



from make.conf file.
Code:

VIDEO_CARDS="nvidia"
INPUT_DEVICES="evdev roccat_koneplus"



I don't think problem is with Nvidia driver.
I suspect it's something with input devices.
it's funny that I start X using my own user, but I can't run new X session from it.
_________________
Just a user.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Tue Sep 27, 2016 10:00 am    Post subject: Reply with quote

Why are you not using lxdm for example? A graphical login manager?

e.g. lxdm, xlim, gdm, kdm ...

l
Back to top
View user's profile Send private message
dimko
Apprentice
Apprentice


Joined: 12 Feb 2006
Posts: 196

PostPosted: Tue Sep 27, 2016 8:07 pm    Post subject: Reply with quote

Roman_Gruber wrote:
Why are you not using lxdm for example? A graphical login manager?

e.g. lxdm, xlim, gdm, kdm ...

l


Because I don't like to put into start up script things that dont work

sddm fails to start up my brand new install of KDE-Plasma


Also, those managers start my X as Root user, which kils whole idea of running non SUID X, for security reasons.
_________________
Just a user.
Back to top
View user's profile Send private message
Ant P.
Watchman
Watchman


Joined: 18 Apr 2009
Posts: 6920

PostPosted: Tue Sep 27, 2016 11:21 pm    Post subject: Reply with quote

X uses root to access device files in /dev/ - which includes /dev/tty* for controlling virtual terminals, as you've discovered here. If you change perms on those to give your user/group read-write access, maybe it'll work.

It's up to you to decide whether opening this security hole is an acceptable tradeoff. Running X unprivileged won't make your nvidia kernel-mode blob any more secure, after all.
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 541
Location: Germany

PostPosted: Wed Sep 28, 2016 7:08 am    Post subject: Reply with quote

If the complain is about permissions, then you should check permissions of your /dev/tty5 and check the groups to which your user belongs.
Back to top
View user's profile Send private message
dimko
Apprentice
Apprentice


Joined: 12 Feb 2006
Posts: 196

PostPosted: Fri Oct 14, 2016 10:41 pm    Post subject: not sure about security Reply with quote

changed udev rules to have permissions from 0620 to 0660
i am in tty group.(root/tty/others) and now i can do stuff I need to do.

Thanks all who helped!
_________________
Just a user.
Back to top
View user's profile Send private message
Roman_Gruber
Advocate
Advocate


Joined: 03 Oct 2006
Posts: 3846
Location: Austro Bavaria

PostPosted: Tue Oct 18, 2016 5:45 am    Post subject: Reply with quote

So you gave your user permanent root permissions?
Back to top
View user's profile Send private message
dimko
Apprentice
Apprentice


Joined: 12 Feb 2006
Posts: 196

PostPosted: Tue Oct 18, 2016 9:30 am    Post subject: not really Reply with quote

Roman_Gruber wrote:
So you gave your user permanent root permissions?

No, my user is in TTY group.
TTY group was getting 620 permissions.
I modified UDEV rule to give /dev/tty* devices 660 instead of 620.
_________________
Just a user.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Wed Oct 19, 2016 1:34 am    Post subject: Reply with quote

I cannot see an immediate way to exploit that, but I am fairly confident in saying that relaxing permissions on tty devices is the wrong solution from a security perspective. Your user should not be in the tty group, nor should the tty group have read access to other users' terminals.
Back to top
View user's profile Send private message
jesnow
l33t
l33t


Joined: 26 Apr 2006
Posts: 856

PostPosted: Sun Aug 02, 2020 7:53 pm    Post subject: Reply with quote

Yet another dead end. This problem caught me in 2020?

Jon.
Back to top
View user's profile Send private message
wneo
n00b
n00b


Joined: 15 May 2020
Posts: 9

PostPosted: Fri Aug 21, 2020 6:57 pm    Post subject: Reply with quote

i had same problem with startx. Logout/login helped to startx, but after reboot its been happen again. But i noticed that i have dbus not in default runlevel and after adding startx fixed.
Back to top
View user's profile Send private message
JohnDoe-137
n00b
n00b


Joined: 23 Nov 2017
Posts: 4

PostPosted: Wed Aug 26, 2020 7:09 pm    Post subject: Reply with quote

Same problem here after updating the xorg-server. Rolled it back and masked new build and it solved the problem. But now it updated again and this time I can't even roll-back as some genius decided to remove an older version without ensuring new actually works properly for everyone. Also next day the latest build is masked due to segmentation issue. Xorg-server maintainer needs to be replaced by someone competent imho.
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Wed Aug 26, 2020 7:53 pm    Post subject: Reply with quote

There are other more recent threads which address a likely cause.

There is or was a news item, which is still present here:
https://www.gentoo.org/support/news-items/2020-06-24-xorg-server-dropping-default-suid.html
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21607

PostPosted: Thu Aug 27, 2020 1:16 am    Post subject: Reply with quote

JohnDoe-137 wrote:
Same problem here after updating the xorg-server.
By "same problem", do you mean that the solutions posted here resolved your issue?
JohnDoe-137 wrote:
Rolled it back and masked new build and it solved the problem. But now it updated again
How did it update again if you had a mask blocking the bad version?
JohnDoe-137 wrote:
and this time I can't even roll-back as some genius decided to remove an older version without ensuring new actually works properly for everyone.
What open bug report(s) indicate that the new version is not working well for your use case? If the maintainer is not advised via a bug report that there is a problem, how do you expect the maintainer to know that the new version is not working properly for everyone? If the maintainer is not aware of issues, why would you expect the maintainer to retain old versions that, as far as the maintainer knows, nobody needs?
JohnDoe-137 wrote:
Also next day the latest build is masked due to segmentation issue.
The mask for the crash was appropriate, because the now-masked version had a serious problem. As discussed in other threads, security fixes often override the normal release process. That may not be a good choice, but it usually doesn't blow up as badly as it did this time.
JohnDoe-137 wrote:
Xorg-server maintainer needs to be replaced by someone competent imho.
Most Gentoo teams routinely report being understaffed. Adding a new contributor to the team will not remove the existing maintainer, but new co-maintainers would be ideally placed to critique decisions, encourage good practice, and so on.
Back to top
View user's profile Send private message
saturnalia0
Tux's lil' helper
Tux's lil' helper


Joined: 13 Oct 2016
Posts: 134

PostPosted: Sat Oct 24, 2020 3:37 pm    Post subject: Reply with quote

Same problem here after an update, elogind did not solve it as other permission issues arose. I'm using OpenRC. I followed https://wiki.gentoo.org/wiki/Elogind and https://wiki.gentoo.org/wiki/Non_root_Xorg and still could not startx.

Re-adding the suid flag as suggested here https://www.gentoo.org/support/news-items/2020-06-24-xorg-server-dropping-default-suid.html fixed it:

Code:

su
echo "x11-base/xorg-server suid -elogind -systemd" >/etc/portage/package.use/xorg-server
emerge --ask --changed-use --deep @world
reboot
startx
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sun Oct 25, 2020 5:34 pm    Post subject: Reply with quote

saturnalia0 wrote:
Same problem here after an update, elogind did not solve it as other permission issues arose. I'm using OpenRC. I followed https://wiki.gentoo.org/wiki/Elogind and https://wiki.gentoo.org/wiki/Non_root_Xorg and still could not startx.

Re-adding the suid flag as suggested here https://www.gentoo.org/support/news-items/2020-06-24-xorg-server-dropping-default-suid.html fixed it:

Code:

su
echo "x11-base/xorg-server suid -elogind -systemd" >/etc/portage/package.use/xorg-server
emerge --ask --changed-use --deep @world
reboot
startx


'elogind did not solve it' is rather bold statement. Have you debug your issue as per the page you link? Like, when you login on TTY, do you have elogind running in background, and seat assigned to the TTY you has logged onto? Also, are you using 'startx' or add some params to it to force it to start X on another TTY?

The whole logind integration is rather simple, and mostly people who have issues with it either removed PAM, have broken/not updated /etc/pam.d, or try to use startx to run X on for example vt7, when you logged onto vt1.
Back to top
View user's profile Send private message
init3
n00b
n00b


Joined: 26 Dec 2013
Posts: 21

PostPosted: Wed Jun 01, 2022 1:37 pm    Post subject: Reply with quote

jesnow wrote:
Yet another dead end. This problem caught me in 2020?

I've cought this issue on clean installation in the end of April 2022.

At that time I had no time for proper debug, so, used workaround rolling back on suid build.
For me it was temporary incosistance or incomplete documentation. Or both.

Because on my another old installation system was successfully updated to -suid build of x11-base/xorg-server.

I think, xorg maintainers should verify documentation installing system from clean stage3 once a year or two. It should be sufficient.
_________________
Excuse me my English.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum