[SOLVED] Debian - after changes x works for root but not for user (nvidia, i3)
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Debian - after changes x works for root but not for user (nvidia, i3)
After making system changes, my desktop x-windows immediately hangs when loading as a regular user, but works (mostly) if I invoke it as root. Everything else seems to work, though there are several errors in dmesg regarding the video setup. The changes I made include: getting rid of systemd, then upgrade then dist-upgrade. I did the same changes on a laptop with no problems.
I'm using a dual monitor system with the NVIDIA Corporation GM107 [GeForce GTX 750 Ti].
I'm using Debian with the i3wm (the i3 window manager). I have always had this machine set to boot to the command line and invoke the gui with "startx". I do not use any Xorg.conf file anywhere, though I can't say why, there just isn't any on the system. I don't understand how these various pieces work together! So I could use some advice on how to proceed in analyzing this problem.
I've tried to make the root account and the user account the same by renaming the user specific files (.Xsession, and i3 config stuff).
So what files are making the gui hang when my regular user account tries to load it but allows my root account to run it?
nvidia-settings won't run, gives errors:
Code:
root@ada:~# nvidia-settings
X11 connection rejected because of wrong authentication.
Unable to init server: Could not connect: Connection refused
ERROR: The control display is undefined; please run `nvidia-settings --help` for
usage information.
Here are some sections from dmesg:
Code:
64655-[ 61.680383] NVRM: Your system is not currently configured to drive a VGA console
64739:[ 61.768912] NVRM: on the primary VGA device. The NVIDIA Linux graphics driver
64820-[ 61.847874] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
64886-[ 61.924083] NVRM: requires the use of a text-mode VGA console. Use of other console
64973-[ 62.015705] NVRM: drivers including, but not limited to, vesafb, may result in
65055-[ 62.102120] NVRM: corruption and stability problems, and is not supported.
65133:[ 62.187212] nvidia-modeset: Allocated GPU:0 (GPU-643266a5-5e0d-7f62-3c74-c541024686f9) @ PCI:0000:01:00.0
For testing, I rm'd the /var/log/Xorg.0.log. Then when logging on as my regular user account and invoking startx (which immediately hangs) I see that a new /var/log/Xorg.o.log file was not created.
I then exit, and re-login as root and invoke startx. Here is the /var/log/Xorg.0.log that is then created:
Code:
root@ada:~# cat /var/log/Xorg.0.log
[ 94632.165]
X.Org X Server 1.19.2
Release Date: 2017-03-02
[ 94632.165] X Protocol Version 11, Revision 0
[ 94632.166] Build Operating System: Linux 3.16.0-4-amd64 x86_64 Debian
[ 94632.167] Current Operating System: Linux ada 4.9.0-2-amd64 #1 SMP Debian 4.9.13-1 (2017-02-27) x86_64
[ 94632.167] Kernel command line: BOOT_IMAGE=/vmlinuz-4.9.0-2-amd64 root=UUID=a4ee2002-944a-4073-984e-65e0a01a7d43 ro init=/lib/sysvinit/init console=hvc0 console=ttyS0
[ 94632.169] Build Date: 03 March 2017 03:14:41PM
[ 94632.169] xorg-server 2:1.19.2-1 (https://www.debian.org/support)
[ 94632.170] Current version of pixman: 0.34.0
[ 94632.171] Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[ 94632.171] Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[ 94632.173] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Mar 25 18:42:49 2017
[ 94632.174] (==) Using config file: "/etc/X11/xorg.conf"
[ 94632.175] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[ 94632.175] (==) ServerLayout "X.org Configured"
[ 94632.175] (**) |-->Screen "Screen0" (0)
[ 94632.175] (**) | |-->Monitor "Monitor0"
[ 94632.175] (**) | |-->Device "Device0"
[ 94632.175] (**) | |-->GPUDevice "Device0"
[ 94632.175] (**) |-->Input Device "Mouse0"
[ 94632.175] (**) |-->Input Device "Keyboard0"
[ 94632.175] (**) Option "Xinerama" "0"
[ 94632.175] (==) Automatically adding devices
[ 94632.175] (==) Automatically enabling devices
[ 94632.175] (==) Automatically adding GPU devices
[ 94632.175] (==) Max clients allowed: 256, resource mask: 0x1fffff
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[ 94632.175] Entry deleted from font path.
[ 94632.175] (**) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins,
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[ 94632.175] (**) ModulePath set to "/usr/lib/xorg/modules"
[ 94632.175] (WW) Hotplugging is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
[ 94632.175] (WW) Disabling Mouse0
[ 94632.175] (WW) Disabling Keyboard0
[ 94632.175] (II) Loader magic: 0x55c4faaeae00
[ 94632.175] (II) Module ABI versions:
[ 94632.175] X.Org ANSI C Emulation: 0.4
[ 94632.175] X.Org Video Driver: 23.0
[ 94632.175] X.Org XInput driver : 24.1
[ 94632.175] X.Org Server Extension : 10.0
[ 94632.176] (++) using VT number 1
[ 94632.177] (EE) systemd-logind: failed to get session: The name org.freedesktop.login1 was not provided by any .service files
[ 94632.177] (II) xfree86: Adding drm device (/dev/dri/card0)
[ 94632.179] (--) PCI:*(0:1:0:0) 10de:1380:ffff:ffff rev 162, Mem @ 0xee000000/16777216, 0xd0000000/268435456, 0xe0000000/33554432, I/O @ 0x0000e000/128, BIOS @ 0x????????/131072
[ 94632.179] (II) "glx" will be loaded. This was enabled by default and also specified in the config file.
[ 94632.179] (II) LoadModule: "glx"
[ 94632.179] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[ 94632.183] (II) Module glx: vendor="NVIDIA Corporation"
[ 94632.183] compiled for 4.0.2, module version = 1.0.0
[ 94632.183] Module class: X.Org Server Extension
[ 94632.183] (II) NVIDIA GLX Module 375.39 Tue Jan 31 19:37:12 PST 2017
[ 94632.183] (II) LoadModule: "nvidia"
[ 94632.183] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[ 94632.183] (II) Module nvidia: vendor="NVIDIA Corporation"
[ 94632.183] compiled for 4.0.2, module version = 1.0.0
[ 94632.183] Module class: X.Org Video Driver
[ 94632.183] (II) NVIDIA dlloader X Driver 375.39 Tue Jan 31 19:13:22 PST 2017
[ 94632.183] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
[ 94632.183] (II) Loading sub module "fb"
[ 94632.183] (II) LoadModule: "fb"
[ 94632.184] (II) Loading /usr/lib/xorg/modules/libfb.so
[ 94632.184] (II) Module fb: vendor="X.Org Foundation"
[ 94632.184] compiled for 1.19.2, module version = 1.0.0
[ 94632.184] ABI class: X.Org ANSI C Emulation, version 0.4
[ 94632.184] (II) Loading sub module "wfb"
[ 94632.184] (II) LoadModule: "wfb"
[ 94632.184] (II) Loading /usr/lib/xorg/modules/libwfb.so
[ 94632.184] (II) Module wfb: vendor="X.Org Foundation"
[ 94632.184] compiled for 1.19.2, module version = 1.0.0
[ 94632.184] ABI class: X.Org ANSI C Emulation, version 0.4
[ 94632.184] (II) Loading sub module "ramdac"
[ 94632.184] (II) LoadModule: "ramdac"
[ 94632.184] (II) Module "ramdac" already built-in
[ 94632.185] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
[ 94632.185] (==) NVIDIA(0): RGB weight 888
[ 94632.185] (==) NVIDIA(0): Default visual is TrueColor
[ 94632.185] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
[ 94632.185] (**) NVIDIA(0): Option "Stereo" "0"
[ 94632.185] (**) NVIDIA(0): Option "nvidiaXineramaInfoOrder" "DFP-0"
[ 94632.185] (**) NVIDIA(0): Option "SLI" "Off"
[ 94632.185] (**) NVIDIA(0): Option "MultiGPU" "Off"
[ 94632.185] (**) NVIDIA(0): Option "BaseMosaic" "off"
[ 94632.185] (**) NVIDIA(0): Stereo disabled by request
[ 94632.185] (**) NVIDIA(0): NVIDIA SLI disabled.
[ 94632.185] (**) NVIDIA(0): NVIDIA Multi-GPU disabled.
[ 94632.185] (**) NVIDIA(0): Option "MetaModes" "DVI-I-1: nvidia-auto-select +1280+0, HDMI-0: nvidia-auto-select +0+0"
[ 94632.185] (**) NVIDIA(0): Enabling 2D acceleration
[ 94632.748] (--) NVIDIA(0): Valid display device(s) on GPU-0 at PCI:1:0:0
[ 94632.748] (--) NVIDIA(0): CRT-0
[ 94632.748] (--) NVIDIA(0): DFP-0 (boot)
[ 94632.748] (--) NVIDIA(0): DFP-1 (boot)
[ 94632.748] (--) NVIDIA(0): DFP-2
[ 94632.748] (--) NVIDIA(0): DFP-3
[ 94632.750] (II) NVIDIA(0): NVIDIA GPU GeForce GTX 750 Ti (GM107-A) at PCI:1:0:0 (GPU-0)
[ 94632.750] (--) NVIDIA(0): Memory: 2097152 kBytes
[ 94632.750] (--) NVIDIA(0): VideoBIOS: 82.07.55.00.34
[ 94632.750] (II) NVIDIA(0): Detected PCI Express Link width: 16X
[ 94632.757] (--) NVIDIA(GPU-0): CRT-0: disconnected
[ 94632.757] (--) NVIDIA(GPU-0): CRT-0: 400.0 MHz maximum pixel clock
[ 94632.757] (--) NVIDIA(GPU-0):
[ 94632.770] (--) NVIDIA(GPU-0): NEC LCD1990SXp (DFP-0): connected
[ 94632.770] (--) NVIDIA(GPU-0): NEC LCD1990SXp (DFP-0): Internal TMDS
[ 94632.770] (--) NVIDIA(GPU-0): NEC LCD1990SXp (DFP-0): 330.0 MHz maximum pixel clock
[ 94632.770] (--) NVIDIA(GPU-0):
[ 94632.777] (--) NVIDIA(GPU-0): Acer AL1916 (DFP-1): connected
[ 94632.777] (--) NVIDIA(GPU-0): Acer AL1916 (DFP-1): Internal TMDS
[ 94632.777] (--) NVIDIA(GPU-0): Acer AL1916 (DFP-1): 165.0 MHz maximum pixel clock
[ 94632.777] (--) NVIDIA(GPU-0):
[ 94632.777] (--) NVIDIA(GPU-0): DFP-2: disconnected
[ 94632.777] (--) NVIDIA(GPU-0): DFP-2: Internal TMDS
[ 94632.777] (--) NVIDIA(GPU-0): DFP-2: 165.0 MHz maximum pixel clock
[ 94632.777] (--) NVIDIA(GPU-0):
[ 94632.777] (--) NVIDIA(GPU-0): DFP-3: disconnected
[ 94632.777] (--) NVIDIA(GPU-0): DFP-3: Internal DisplayPort
[ 94632.777] (--) NVIDIA(GPU-0): DFP-3: 960.0 MHz maximum pixel clock
[ 94632.777] (--) NVIDIA(GPU-0):
[ 94632.782] (II) NVIDIA(0): Validated MetaModes:
[ 94632.782] (II) NVIDIA(0):
[ 94632.782] (II) NVIDIA(0): "DVI-I-1:nvidia-auto-select+1280+0,HDMI-0:nvidia-auto-select+0+0"
[ 94632.782] (II) NVIDIA(0): Virtual screen size determined to be 2560 x 1024
[ 94632.788] (--) NVIDIA(0): DPI set to (85, 86); computed from "UseEdidDpi" X config
[ 94632.788] (--) NVIDIA(0): option
[ 94632.788] (--) Depth 24 pixmap format is 32 bpp
[ 94632.789] (II) NVIDIA: Using 12288.00 MB of virtual memory for indirect memory
[ 94632.789] (II) NVIDIA: access.
[ 94632.832] (II) NVIDIA(0): Setting mode "DVI-I-1:nvidia-auto-select+1280+0,HDMI-0:nvidia-auto-select+0+0"
[ 94632.885] (==) NVIDIA(0): Disabling shared memory pixmaps
[ 94632.885] (==) NVIDIA(0): Backing store enabled
[ 94632.885] (==) NVIDIA(0): Silken mouse enabled
[ 94632.885] (==) NVIDIA(0): DPMS enabled
[ 94632.885] (II) Loading sub module "dri2"
[ 94632.885] (II) LoadModule: "dri2"
[ 94632.885] (II) Module "dri2" already built-in
[ 94632.885] (II) NVIDIA(0): [DRI2] Setup complete
[ 94632.885] (II) NVIDIA(0): [DRI2] VDPAU driver: nvidia
[ 94632.885] (--) RandR disabled
[ 94632.887] (II) SELinux: Disabled on system
[ 94632.888] (II) Initializing extension GLX
[ 94632.888] (II) Indirect GLX disabled.
[ 94632.923] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[ 94632.923] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 94632.923] (II) LoadModule: "evdev"
[ 94632.923] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[ 94632.923] (II) Module evdev: vendor="X.Org Foundation"
[ 94632.923] compiled for 1.19.1, module version = 2.10.5
[ 94632.923] Module class: X.Org XInput Driver
[ 94632.923] ABI class: X.Org XInput driver, version 24.1
[ 94632.923] (II) Using input driver 'evdev' for 'Power Button'
[ 94632.923] (**) Power Button: always reports core events
[ 94632.923] (**) evdev: Power Button: Device: "/dev/input/event3"
[ 94632.923] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 94632.923] (--) evdev: Power Button: Found keys
[ 94632.923] (II) evdev: Power Button: Configuring as keyboard
[ 94632.923] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input5/event3"
[ 94632.923] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[ 94632.923] (**) Option "xkb_rules" "evdev"
[ 94632.923] (**) Option "xkb_model" "pc105"
[ 94632.923] (**) Option "xkb_layout" "us"
[ 94632.923] (**) Option "xkb_variant" "altgr-intl"
[ 94632.923] (**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"
[ 94632.937] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[ 94632.937] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[ 94632.937] (II) Using input driver 'evdev' for 'Power Button'
[ 94632.937] (**) Power Button: always reports core events
[ 94632.937] (**) evdev: Power Button: Device: "/dev/input/event2"
[ 94632.937] (--) evdev: Power Button: Vendor 0 Product 0x1
[ 94632.937] (--) evdev: Power Button: Found keys
[ 94632.937] (II) evdev: Power Button: Configuring as keyboard
[ 94632.937] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input4/event2"
[ 94632.937] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
[ 94632.937] (**) Option "xkb_rules" "evdev"
[ 94632.937] (**) Option "xkb_model" "pc105"
[ 94632.937] (**) Option "xkb_layout" "us"
[ 94632.937] (**) Option "xkb_variant" "altgr-intl"
[ 94632.937] (**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"
[ 94632.937] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event7)
[ 94632.937] (II) No input driver specified, ignoring this device.
[ 94632.937] (II) This device may have been added with another device file.
[ 94632.937] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event8)
[ 94632.937] (II) No input driver specified, ignoring this device.
[ 94632.937] (II) This device may have been added with another device file.
[ 94632.937] (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event6)
[ 94632.937] (II) No input driver specified, ignoring this device.
[ 94632.937] (II) This device may have been added with another device file.
[ 94632.938] (II) config/udev: Adding input device HD Pro Webcam C920 (/dev/input/event5)
[ 94632.938] (**) HD Pro Webcam C920: Applying InputClass "evdev keyboard catchall"
[ 94632.938] (II) Using input driver 'evdev' for 'HD Pro Webcam C920'
[ 94632.938] (**) HD Pro Webcam C920: always reports core events
[ 94632.938] (**) evdev: HD Pro Webcam C920: Device: "/dev/input/event5"
[ 94632.938] (--) evdev: HD Pro Webcam C920: Vendor 0x46d Product 0x82d
[ 94632.938] (--) evdev: HD Pro Webcam C920: Found keys
[ 94632.938] (II) evdev: HD Pro Webcam C920: Configuring as keyboard
[ 94632.938] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.1/1-1.1:1.0/input/input8/event5"
[ 94632.938] (II) XINPUT: Adding extended input device "HD Pro Webcam C920" (type: KEYBOARD, id 8)
[ 94632.938] (**) Option "xkb_rules" "evdev"
[ 94632.938] (**) Option "xkb_model" "pc105"
[ 94632.938] (**) Option "xkb_layout" "us"
[ 94632.938] (**) Option "xkb_variant" "altgr-intl"
[ 94632.938] (**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"
[ 94632.938] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event0)
[ 94632.938] (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall"
[ 94632.938] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[ 94632.938] (**) Logitech USB Receiver: always reports core events
[ 94632.938] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event0"
[ 94632.938] (--) evdev: Logitech USB Receiver: Vendor 0x46d Product 0xc517
[ 94632.938] (--) evdev: Logitech USB Receiver: Found keys
[ 94632.938] (II) evdev: Logitech USB Receiver: Configuring as keyboard
[ 94632.938] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:046D:C517.0001/input/input2/event0"
[ 94632.938] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 9)
[ 94632.938] (**) Option "xkb_rules" "evdev"
[ 94632.938] (**) Option "xkb_model" "pc105"
[ 94632.938] (**) Option "xkb_layout" "us"
[ 94632.938] (**) Option "xkb_variant" "altgr-intl"
[ 94632.938] (**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"
[ 94632.939] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event1)
[ 94632.939] (**) Logitech USB Receiver: Applying InputClass "evdev pointer catchall"
[ 94632.939] (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall"
[ 94632.939] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[ 94632.939] (**) Logitech USB Receiver: always reports core events
[ 94632.939] (**) evdev: Logitech USB Receiver: Device: "/dev/input/event1"
[ 94632.939] (--) evdev: Logitech USB Receiver: Vendor 0x46d Product 0xc517
[ 94632.939] (--) evdev: Logitech USB Receiver: Found 12 mouse buttons
[ 94632.939] (--) evdev: Logitech USB Receiver: Found scroll wheel(s)
[ 94632.939] (--) evdev: Logitech USB Receiver: Found relative axes
[ 94632.939] (--) evdev: Logitech USB Receiver: Found x and y relative axes
[ 94632.939] (--) evdev: Logitech USB Receiver: Found absolute axes
[ 94632.939] (II) evdev: Logitech USB Receiver: Forcing absolute x/y axes to exist.
[ 94632.939] (--) evdev: Logitech USB Receiver: Found keys
[ 94632.939] (II) evdev: Logitech USB Receiver: Configuring as mouse
[ 94632.939] (II) evdev: Logitech USB Receiver: Configuring as keyboard
[ 94632.939] (II) evdev: Logitech USB Receiver: Adding scrollwheel support
[ 94632.939] (**) evdev: Logitech USB Receiver: YAxisMapping: buttons 4 and 5
[ 94632.939] (**) evdev: Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[ 94632.939] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.1/0003:046D:C517.0002/input/input3/event1"
[ 94632.939] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD, id 10)
[ 94632.939] (**) Option "xkb_rules" "evdev"
[ 94632.939] (**) Option "xkb_model" "pc105"
[ 94632.939] (**) Option "xkb_layout" "us"
[ 94632.939] (**) Option "xkb_variant" "altgr-intl"
[ 94632.939] (**) Option "xkb_options" "lv3:ralt_switch,terminate:ctrl_alt_bksp"
[ 94632.939] (II) evdev: Logitech USB Receiver: initialized for relative axes.
[ 94632.939] (WW) evdev: Logitech USB Receiver: ignoring absolute axes.
[ 94632.939] (**) Logitech USB Receiver: (accel) keeping acceleration scheme 1
[ 94632.939] (**) Logitech USB Receiver: (accel) acceleration profile 0
[ 94632.939] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[ 94632.939] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[ 94632.939] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse0)
[ 94632.939] (II) No input driver specified, ignoring this device.
[ 94632.939] (II) This device may have been added with another device file.
[ 94632.939] (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event9)
[ 94632.939] (II) No input driver specified, ignoring this device.
[ 94632.939] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device HDA Intel PCH Front Mic (/dev/input/event10)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device HDA Intel PCH Rear Mic (/dev/input/event11)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device HDA Intel PCH Line (/dev/input/event12)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device HDA Intel PCH Line Out Front (/dev/input/event13)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device HDA Intel PCH Line Out Surround (/dev/input/event14)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device HDA Intel PCH Line Out CLFE (/dev/input/event15)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device HDA Intel PCH Front Headphone (/dev/input/event16)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
[ 94632.940] (II) config/udev: Adding input device PC Speaker (/dev/input/event4)
[ 94632.940] (II) No input driver specified, ignoring this device.
[ 94632.940] (II) This device may have been added with another device file.
Here are other system configuration snippets:
Code:
root@ada:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 9.0 (stretch)
Release: 9.0
Codename: stretch
root:video seems about right. With the user in the video group. Remember to log in again to change the groups if that was a change. You might check $HOME/.Xauthority, if it is owned:grouped by someone other than the owner of $HOME, that could be an issue. Deleting it before starting X should help in that case. Depending on distro anyway, but that's a typical usage for .deb based ones.
Not that you should, but the user who started X can:
$ xhost local:
And any user should have access to X. Not that one should do that when starting X as root. Note that you might have to manually set $DISPLAY to use X as the user who didn't start X. Plus various don't do that as root scenarios. In the days of OLD you also needed a "SECTION "DRI"" in the xorg.conf with group and mode settings. But most distros are good about having that as a default these days.
Thanks, I removed all restrictions from my user .Xauthority, and that made no change, so I tried simply deleting it and that mad eno change either.
As a user, when I host local: I get this:
Code:
keith@ada:~$ xhost local:
xhost unable to open display ""
I then tried:
Code:
echo $DISPLAY
and it returned nothing.. a blank line. Actually, both my user account and the root user got those same results.
Yes, I had exited and re-logged in to make sure the groups were set.
Here's more detail:
Code:
keith@ada:~$ sudo dpkg -l nvidia* | grep ii
ii nvidia-alternative 375.39-1 amd64 allows the selection of NVIDIA as GLX provider
ii nvidia-driver 375.39-1 amd64 NVIDIA metapackage
ii nvidia-driver-bin 375.39-1 amd64 NVIDIA driver support binaries
ii nvidia-driver-libs:amd64 375.39-1 amd64 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii nvidia-driver-libs:i386 375.39-1 i386 NVIDIA metapackage (OpenGL/GLX/EGL/GLES libraries)
ii nvidia-driver-libs-i386:i386 375.39-1 i386 NVIDIA metapackage (OpenGL/GLX/EGL/GLES 32-bit libraries)
ii nvidia-egl-common 375.39-1 amd64 NVIDIA binary EGL driver - common files
ii nvidia-egl-icd:amd64 375.39-1 amd64 NVIDIA EGL installable client driver (ICD)
ii nvidia-egl-icd:i386 375.39-1 i386 NVIDIA EGL installable client driver (ICD)
ii nvidia-installer-cleanup:i386 20151021+4 i386 cleanup after driver installation with the nvidia-installer
ii nvidia-kernel-common 20151021+4 amd64 NVIDIA binary kernel module support files
ii nvidia-kernel-dkms 375.39-1 amd64 NVIDIA binary kernel module DKMS source
ii nvidia-kernel-support 375.39-1 amd64 NVIDIA binary kernel module support files
ii nvidia-legacy-check:i386 375.39-1 i386 check for NVIDIA GPUs requiring a legacy driver
ii nvidia-modprobe 375.26-1 amd64 utility to load NVIDIA kernel modules and create device nodes
ii nvidia-persistenced 375.26-2 amd64 daemon to maintain persistent software state in the NVIDIA driver
ii nvidia-settings 375.26-3 amd64 tool for configuring the NVIDIA graphics driver
ii nvidia-support 20151021+4 amd64 NVIDIA binary graphics driver support files
ii nvidia-vdpau-driver:amd64 375.39-1 amd64 Video Decode and Presentation API for Unix - NVIDIA driver
ii nvidia-vulkan-common 375.39-1 amd64 NVIDIA Vulkan driver - common files
ii nvidia-vulkan-icd:amd64 375.39-1 amd64 NVIDIA Vulkan installable client driver (ICD)
ii nvidia-vulkan-icd:i386 375.39-1 i386 NVIDIA Vulkan installable client driver (ICD)
ii nvidia-xconfig 375.26-1 amd64 deprecated X configuration tool for non-free NVIDIA drivers
The X should be running and one of the parms something like :0
$ export DISPLAY=":0"
$ xvidtune -show
$ xcalc
If you're running something like debian you might want to tasksel and select desktop.
$ sudo tasksel
It is mighty odd that DISPLAY isn't set though, and you definitely have some things missing. For distros like ubuntu, you can get most of what is needed with:
[ 32.795116] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20160831/utaddress-247)
[ 32.795117] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 32.795122] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20160831/utaddress-247)
[ 32.795123] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 32.795125] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20160831/utaddress-247)
[ 32.795126] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 32.795128] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20160831/utaddress-247)
[ 32.795131] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x000000000000050F-0x000000000000050F (\_SB.PCI0.RLED.DBG0) (20160831/utaddress-247)
[ 32.795131] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[ 38.373649] clocksource: 'acpi_pm' wd_now: 7a81d7 wd_last: a7f49c mask: ffffff
[ 38.507014] clocksource: Switched to clocksource acpi_pm
After more than a week trying to figure this out, I finally just put systemd back in... and now everything is working.
This is very strange... I had no problem eliminating systemd on my laptop, but then my laptop doesn't use nvidia drivers! So... what? evidently the Debian nvidia-driver package has some kind of hooks that require systemd? Very aggravating!!!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.