xrandr output in rootless session:
igor:~% ps aux | grep Xorg igor 3779 3.2 0.0 199348 51332 tty3 S+ 15:49 0:00 /usr/lib/xorg/Xorg vt3 -displayfd 3 -auth /run/user/1000/gdm/Xauthority -background none -noreset -keeptty -verbose 3 igor:~% xrandr -q Screen 0: minimum 8 x 8, current 1920 x 1200, maximum 32767 x 32767 DVI-D-0 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm 1920x1200 59.95*+ 1920x1080 60.00 1680x1050 59.95 1600x1200 60.00 1280x1024 60.02 1280x960 60.00 1024x768 60.00 800x600 60.32 640x480 59.94 HDMI-0 disconnected (normal left inverted right x axis y axis) DP-0 disconnected (normal left inverted right x axis y axis) DP-1 disconnected (normal left inverted right x axis y axis) DP-2 disconnected (normal left inverted right x axis y axis) DP-3 disconnected (normal left inverted right x axis y axis) DP-4 disconnected (normal left inverted right x axis y axis) DP-5 disconnected (normal left inverted right x axis y axis) lightdm works, because it starts Xorg as root for itself, which causes monitor initialization and consequently later started rootless session work fine. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xorg in Ubuntu. https://bugs.launchpad.net/bugs/1672033 Title: Xorg does not detect displays in rootless mode on nvidia proprietary drivers (GNOME) Status in NVIDIA Drivers Ubuntu: New Status in mutter package in Ubuntu: New Status in xorg package in Ubuntu: New Bug description: There are two bug reports in LP: #1559576, LP: #1632322 and also LP: #1666664, where GDM does not start on proprietary nvidia drivers. As it turned out, the reason for that was Xorg starting in rootless mode and apparently not initializing everything properly, which was causing gnome-shell/libmutter to crash. Installing xserver-xorg-legacy did partially fix those issues. Enabling modesetting for nvidia driver however still causes the problem. Here are some parts from log: Xorg startup: Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (--) Log file renamed from "/var/lib/gdm3/.local/share/xorg/Xorg.pid-2027.log" to "/var/lib/gdm3/.local/share/xorg/Xorg.0.log" Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: X.Org X Server 1.18.4 Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: Release Date: 2016-07-19 Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: X Protocol Version 11, Revision 0 Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: Build Operating System: Linux 4.4.0-53-generic x86_64 Ubuntu glx loaded: Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) LoadModule: "glx" Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/libglx.so Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) Module glx: vendor="NVIDIA Corporation" Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: compiled for 4.0.2, module version = 1.0.0 Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: Module class: X.Org Server Extension Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) NVIDIA GLX Module 375.39 Tue Jan 31 19:37:12 PST 2017 nvidia loaded: Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) LoadModule: "nvidia" Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) Loading /usr/lib/x86_64-linux-gnu/xorg/extra-modules/nvidia_drv.so Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) Module nvidia: vendor="NVIDIA Corporation" Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: compiled for 4.0.2, module version = 1.0.0 Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: Module class: X.Org Video Driver modesetting loaded: Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) LoadModule: "modesetting" Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) Module modesetting: vendor="X.Org Foundation" Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: compiled for 1.18.4, module version = 1.18.4 Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: Module class: X.Org Video Driver Mär 11 00:43:18 arvlin /usr/lib/gdm3/gdm-x-session[2025]: ABI class: X.Org Video Driver, version 20.0 gnome-shell fails to run: Mär 11 00:43:20 arvlin kernel: gnome-shell[2067]: segfault at 28 ip 00007fedba8da7c4 sp 00007ffd2fb5f5a0 error 4 in libmutter-0.so.0.0.0[7fedba893000+12f000] xorg stops: Mär 11 00:43:21 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) UnloadModule: "libinput" Mär 11 00:43:21 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) systemd-logind: releasing fd for 13:66 Mär 11 00:43:21 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) UnloadModule: "libinput" Mär 11 00:43:21 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) systemd-logind: releasing fd for 13:67 Mär 11 00:43:21 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) UnloadModule: "libinput" Mär 11 00:43:21 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) systemd-logind: releasing fd for 13:64 Mär 11 00:43:21 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) UnloadModule: "libinput" Mär 11 00:43:21 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) systemd-logind: releasing fd for 13:65 Mär 11 00:43:21 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) NVIDIA(GPU-0): Deleting GPU-0 Mär 11 00:43:21 arvlin /usr/lib/gdm3/gdm-x-session[2025]: (II) Server terminated successfully (0). Closing log file. Mär 11 00:43:21 arvlin gdm-launch-environment][2009]: pam_unix(gdm-launch-environment:session): session closed for user gdm To manage notifications about this bug go to: https://bugs.launchpad.net/nvidia-drivers-ubuntu/+bug/1672033/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp