nvidia-390 low res on Ubuntu 18.04 and Ubuntu 18.10, no secondary monitor

Hello, ever since update from Ubuntu 17.10 to 18.04 i having quite strange problem which nobody in Ubuntu community seems to can help me with.

Basically, everything is working fine for one user logged in in system and going nuts if there is second.

After boot i get to lightDm login screen - all fine, after login - all fine, no problems. I have desktop extended over two monitors (i have two, but one or two connected is not important, same effect even with one disconnected)

Click Switch User - LightDM login again and both monitors reverts to 640x480 resolution.

Afer login second user present with desktop with too 640x480 on both screens, both shows mirrored picture. Nvidia-settings dont see any nvidia card if started by second user.

If i log out first user with second still logged in - second still will have lowres session. If i log out second one and login him back he will get working fullres session, and if i now login first one his session will be lowres.
To cut short - only first and only one logged in will have normal resolution, next is broken.

Needless to say that in Ubuntu 17.10 with nvidia-384 there is no problem as wee no such problem with nouveau.

console says

$ nvidia-settings

ERROR: Unable to load info from any available system

lspci says

lspci -k | grep -EA2 'VGA|3D'
01:00.0 VGA compatible controller: NVIDIA Corporation GM107 [GeForce GTX 750 Ti] (rev a2)
	Subsystem: ASUSTeK Computer Inc. GM107 [GeForce GTX 750 Ti]
	Kernel driver in use: nvidia

Ubuntu-drivers say

== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001380sv00001043sd000084DDbc03sc00i00
vendor   : NVIDIA Corporation
model    : GM107 [GeForce GTX 750 Ti]
driver   : nvidia-driver-390 - distro non-free recommended
driver   : nvidia-340 - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

Driver used is repository provided one, currently 390.87 with all its dep. I have treid 396 series from https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa/+packages - same effect absolutely.

This bug is somethat similar to https://devtalk.nvidia.com/default/topic/1042864/nvidia-396-low-res-on-ubuntu-18-04-no-secondary-monitor-after-installing-cuda-toolkit-9-2/?offset=3 but i dont have anythign to do with CUDA.
nvidia-bug-report.log.gz (150 KB)

Looks like a permission problem.
Please post the output of
ls -l /dev/nvid*
and
ls -l /dev/dri/*

Hello, again, as you asked.

:~$ ls -l /dev/nvid*
crw-rw-rw- 1 root root 195,   0 окт 23 17:57 /dev/nvidia0
crw-rw-rw- 1 root root 195, 255 окт 23 17:57 /dev/nvidiactl
crw-rw-rw- 1 root root 195, 254 окт 23 17:57 /dev/nvidia-modeset
crw-rw-rw- 1 root root 238,   0 окт 23 17:57 /dev/nvidia-uvm
crw-rw-rw- 1 root root 238,   1 окт 23 17:57 /dev/nvidia-uvm-tools

ls -l /dev/dri/*
crw-rw----+ 1 root video 226,   0 окт 23 17:57 /dev/dri/card0
crw-rw----+ 1 root video 226, 128 окт 23 17:57 /dev/dri/renderD128

/dev/dri/by-path:
итого 0
lrwxrwxrwx 1 root root  8 окт 23 17:57 pci-0000:01:00.0-card -> ../card0
lrwxrwxrwx 1 root root 13 окт 23 17:57 pci-0000:01:00.0-render -> ../renderD128

“итого” means “total”

I also should explicitly note that its not “fresh” install, it was updated from 17.10 (which in turn also not first update) and after updated to 18.10.

Check if both users are members of the “video” group, if not, add them.

One of user wasnt in video group, added him, rebooted - still same problem, unfortunately.

Ok, I think the problem is this (from Xorg.0.log):

systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration

Change your lightdm config so the xserver gets started with option
-keeptty
so logind works again which manages the fd.

Unfortunately…

I did that, added -keeptty to lightDm config (i can see its applied from XFCE task maanger), but problem still persists.

Logind complains about keeptty from xorg.log now missing, but i see its complains about sesssion (i’m not sure if its related)

[    48.136] (EE) systemd-logind: failed to get session: PID 2966 does not belong to any known session

nvidia-bug-report.log.gz (148 KB)

Something seems be wrong with lightdm, it’s failing to properly set up a login session. What version of lightdm is installed? Does purging/reinstalling lightdm make it work? Also check for systemd-logind errors using
sudo systemctl status systemd-logind

LightDm version is 1.28.0-0ubuntu1 (latest currently in Ubuntu repos).
I havent yet tred to purge\reinstall it, i will try it shortly.

sudo systemctl status systemd-logind output

sudo systemctl status systemd-logind
● systemd-logind.service - Login Service
   Loaded: loaded (/lib/systemd/system/systemd-logind.service; static; vendor pr
   Active: active (running) since Tue 2018-10-23 19:21:38 MSK; 1h 2min ago
     Docs: man:systemd-logind.service(8)
           man:logind.conf(5)
           https://www.freedesktop.org/wiki/Software/systemd/logind
           https://www.freedesktop.org/wiki/Software/systemd/multiseat
 Main PID: 1185 (systemd-logind)
   Status: "Processing requests..."
    Tasks: 1 (limit: 4915)
   Memory: 2.1M
   CGroup: /system.slice/systemd-logind.service
           └─1185 /lib/systemd/systemd-logind

окт 23 19:34:12 vesta systemd-logind[1185]: New session c6 of user lightdm.
окт 23 19:34:19 vesta systemd-logind[1185]: Removed session c6.
окт 23 19:34:24 vesta systemd-logind[1185]: Session c4 logged out. Waiting for p
окт 23 19:34:25 vesta systemd-logind[1185]: New session c7 of user lightdm.
окт 23 19:34:30 vesta systemd-logind[1185]: Removed session c7.
окт 23 19:55:13 vesta systemd-logind[1185]: New session c8 of user lightdm.
окт 23 19:55:21 vesta systemd-logind[1185]: Removed session c8.
окт 23 19:55:21 vesta systemd-logind[1185]: New session c9 of user marina.
окт 23 19:56:47 vesta systemd-logind[1185]: New session c10 of user lightdm.
lines 1-23...skipping...
● systemd-logind.service - Login Service
   Loaded: loaded (/lib/systemd/system/systemd-logind.service; static; vendor preset: enabled)
   Active: active (running) since Tue 2018-10-23 19:21:38 MSK; 1h 2min ago
     Docs: man:systemd-logind.service(8)
           man:logind.conf(5)
           https://www.freedesktop.org/wiki/Software/systemd/logind
           https://www.freedesktop.org/wiki/Software/systemd/multiseat
 Main PID: 1185 (systemd-logind)
   Status: "Processing requests..."
    Tasks: 1 (limit: 4915)
   Memory: 2.1M
   CGroup: /system.slice/systemd-logind.service
           └─1185 /lib/systemd/systemd-logind

окт 23 19:34:12 vesta systemd-logind[1185]: New session c6 of user lightdm.
окт 23 19:34:19 vesta systemd-logind[1185]: Removed session c6.
окт 23 19:34:24 vesta systemd-logind[1185]: Session c4 logged out. Waiting for processes to exit.
окт 23 19:34:25 vesta systemd-logind[1185]: New session c7 of user lightdm.
окт 23 19:34:30 vesta systemd-logind[1185]: Removed session c7.
окт 23 19:55:13 vesta systemd-logind[1185]: New session c8 of user lightdm.
окт 23 19:55:21 vesta systemd-logind[1185]: Removed session c8.
окт 23 19:55:21 vesta systemd-logind[1185]: New session c9 of user marina.
окт 23 19:56:47 vesta systemd-logind[1185]: New session c10 of user lightdm.
окт 23 19:56:53 vesta systemd-logind[1185]: Removed session c10.
lines 1-24/24 (END)

Well, purge\resinstall Lightdm didnt helped.

At same time i performed little test (probably obvious): added additional user and looked which tty they get after login. Obviously first gets tty7, seconf tty8, third is tty9. And its now clear that only user with tty7 get correct screen. Unlogin first, then unlogin second, relogin second - its gets tty7 instead of tty8 and fullres desktop.
Dunno if its matters.

tty number shouldn’t matter.
Please attach /var/log/lightdm/lightdm.log and ~/.xsession-errors

Attaching requested files. I got .xsession for both fullres and lowres session (from different usernames running in parallel both).
xsession+lightdm.tar.gz (14.6 KB)

Nothing unusual visible.
What’s the output of
sudo loginctl -l user-status --no-pager
?

This is output for first user (running fullres)

romani (1000)
	   Since: Tue 2018-10-23 22:24:18 MSK; 2h 32min ago
	   State: active
	Sessions: *c2
	  Linger: no
	    Unit: user-1000.slice
		  ├─session-c2.scope
		  │ ├─2452 lightdm --session-child 13 20
		  │ ├─2544 /usr/bin/gnome-keyring-daemon --daemonize --login
		  │ ├─2573 /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
		  │ ├─2699 /usr/bin/ssh-agent /usr/bin/im-launch startxfce4
		  │ ├─2717 xfce4-session
		  │ ├─2731 xfwm4 --replace
		  │ ├─2735 xfce4-panel
		  │ ├─2737 Thunar --daemon
		  │ ├─2739 xfdesktop
		  │ ├─2750 xfsettingsd
		  │ ├─2762 xfce4-volumed
		  │ ├─2771 update-notifier
		  │ ├─2790 /usr/lib/geoclue-2.0/demos/agent
		  │ ├─2819 xfce4-power-manager
		  │ ├─2829 light-locker
		  │ ├─2837 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
		  │ ├─2842 /usr/bin/python3 /usr/bin/blueman-applet
		  │ ├─2843 kerneloops-applet
		  │ ├─2845 /usr/bin/python3 /usr/share/system-config-printer/applet.py
		  │ ├─2846 /usr/bin/python3 /usr/bin/indicator-cpufreq
		  │ ├─2847 /usr/bin/python /usr/bin/solaar
		  │ ├─2858 nm-applet
		  │ ├─2883 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libwhiskermenu.so 1 14680071 whiskermenu  Whisker              
		  │ ├─2934 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libsystray.so 4 14680072 systray          
		  │ ├─2935 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libindicator-plugin.so 13 14680073 indicator            Unity.                          .
		  │ ├─2941 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libactions.so 9 14680074 actions     ,           
		  │ ├─2942 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libnetload.so 11 14680075 netload      
		  │ ├─2943 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-1.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libnotes.so 5 14680076 xfce4-notes-plugin      
		  │ ├─4224 /usr/bin/xfce4-terminal
		  │ ├─4228 bash
		  │ ├─4366 /usr/share/iron/chrome
		  │ ├─4415 /usr/share/iron/chrome --type=zygote
		  │ ├─4419 /usr/share/iron/nacl_helper
		  │ ├─4422 /usr/share/iron/chrome --type=zygote
		  │ ├─4458 /usr/share/iron/chrome --type=gpu-process --field-trial-handle=2165020849217644081,221709973519164178,131072 --enable-features=NativeNotifications --gpu-preferences=KAAAAAAAAACAAABAAQAAAAAAAAAAAGAAAAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAA --service-request-channel-token=11011469656421493905
		  │ ├─4462 /usr/share/iron/chrome --type=-broker
		  │ ├─4493 /usr/share/iron/chrome --type=renderer --file-url-path-alias=/gen=/usr/share/iron/gen --field-trial-handle=2165020849217644081,221709973519164178,131072 --enable-features=NativeNotifications --service-pipe-token=13920322879488122964 --lang=ru --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-zero-copy --enable-main-frame-before-activation --service-request-channel-token=13920322879488122964 --renderer-client-id=3 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
		  │ ├─4516 /usr/share/iron/chrome --type=renderer --file-url-path-alias=/gen=/usr/share/iron/gen --field-trial-handle=2165020849217644081,221709973519164178,131072 --enable-features=NativeNotifications --service-pipe-token=18436920022606499663 --lang=ru --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-zero-copy --enable-main-frame-before-activation --service-request-channel-token=18436920022606499663 --renderer-client-id=5 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
		  │ ├─4523 /usr/share/iron/chrome --type=renderer --file-url-path-alias=/gen=/usr/share/iron/gen --field-trial-handle=2165020849217644081,221709973519164178,131072 --enable-features=NativeNotifications --service-pipe-token=3151786355901037849 --lang=ru --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-zero-copy --enable-main-frame-before-activation --service-request-channel-token=3151786355901037849 --renderer-client-id=6 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
		  │ ├─5227 /usr/share/iron/chrome --type=renderer --file-url-path-alias=/gen=/usr/share/iron/gen --field-trial-handle=2165020849217644081,221709973519164178,131072 --enable-features=NativeNotifications --service-pipe-token=17884853156636322997 --lang=ru --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-zero-copy --enable-main-frame-before-activation --service-request-channel-token=17884853156636322997 --renderer-client-id=34 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
		  │ ├─5790 /usr/share/iron/chrome --type=renderer --file-url-path-alias=/gen=/usr/share/iron/gen --field-trial-handle=2165020849217644081,221709973519164178,131072 --enable-features=NativeNotifications --service-pipe-token=7848273784430973451 --lang=ru --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-zero-copy --enable-main-frame-before-activation --service-request-channel-token=7848273784430973451 --renderer-client-id=48 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
		  │ ├─7010 /usr/share/iron/chrome --type=ppapi-broker --field-trial-handle=2165020849217644081,221709973519164178,131072 --enable-features=NativeNotifications --lang=ru --service-request-channel-token=12830295254182687130
		  │ ├─7035 /usr/share/iron/chrome --type=renderer --file-url-path-alias=/gen=/usr/share/iron/gen --field-trial-handle=2165020849217644081,221709973519164178,131072 --enable-features=NativeNotifications --service-pipe-token=2354371394246391995 --lang=ru --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-zero-copy --enable-main-frame-before-activation --service-request-channel-token=2354371394246391995 --renderer-client-id=69 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
		  │ ├─7088 /usr/share/iron/chrome --type=renderer --file-url-path-alias=/gen=/usr/share/iron/gen --field-trial-handle=2165020849217644081,221709973519164178,131072 --enable-features=NativeNotifications --service-pipe-token=9377607995758684171 --lang=ru --extension-process --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-zero-copy --enable-main-frame-before-activation --service-request-channel-token=9377607995758684171 --renderer-client-id=72 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
		  │ ├─7249 /usr/share/iron/chrome --type=renderer --file-url-path-alias=/gen=/usr/share/iron/gen --field-trial-handle=2165020849217644081,221709973519164178,131072 --enable-features=NativeNotifications --service-pipe-token=6360433771444594891 --lang=ru --disable-client-side-phishing-detection --enable-offline-auto-reload --enable-offline-auto-reload-visible-only --num-raster-threads=2 --enable-zero-copy --enable-main-frame-before-activation --service-request-channel-token=6360433771444594891 --renderer-client-id=77 --shared-files=v8_context_snapshot_data:100,v8_natives_data:101
		  │ ├─8269 sudo loginctl -l user-status --no-pager
		  │ └─8270 loginctl -l user-status --no-pager
		  └─user@1000.service
		    ├─at-spi-dbus-bus.service
		    │ ├─2740 /usr/lib/at-spi2-core/at-spi-bus-launcher
		    │ ├─2745 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
		    │ └─2748 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
		    ├─dbus.service
		    │ ├─2623 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
		    │ ├─2721 /usr/lib/x86_64-linux-gnu/xfce4/xfconf/xfconfd
		    │ └─2834 /usr/lib/dconf/dconf-service
		    ├─gvfs-afc-volume-monitor.service
		    │ └─3011 /usr/lib/gvfs/gvfs-afc-volume-monitor
		    ├─gvfs-daemon.service
		    │ ├─2773 /usr/lib/gvfs/gvfsd
		    │ ├─2778 /usr/lib/gvfs/gvfsd-fuse /run/user/1000/gvfs -f -o big_writes
		    │ ├─3039 /usr/lib/gvfs/gvfsd-trash --spawner :1.17 /org/gtk/gvfs/exec_spaw/0
		    │ ├─4601 /usr/lib/gvfs/gvfsd-network --spawner :1.17 /org/gtk/gvfs/exec_spaw/2
		    │ └─4640 /usr/lib/gvfs/gvfsd-dnssd --spawner :1.17 /org/gtk/gvfs/exec_spaw/7
		    ├─gvfs-goa-volume-monitor.service
		    │ └─3019 /usr/lib/gvfs/gvfs-goa-volume-monitor
		    ├─gvfs-gphoto2-volume-monitor.service
		    │ └─2987 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
		    ├─gvfs-metadata.service
		    │ └─3044 /usr/lib/gvfs/gvfsd-metadata
		    ├─gvfs-mtp-volume-monitor.service
		    │ └─3005 /usr/lib/gvfs/gvfs-mtp-volume-monitor
		    ├─gvfs-udisks2-volume-monitor.service
		    │ └─2962 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
		    ├─indicator-application.service
		    │ └─2964 /usr/lib/x86_64-linux-gnu/indicator-application/indicator-application-service
		    ├─indicator-keyboard.service
		    │ └─2963 /usr/lib/x86_64-linux-gnu/indicator-keyboard/indicator-keyboard-service --use-gtk
		    ├─indicator-messages.service
		    │ └─2965 /usr/lib/x86_64-linux-gnu/indicator-messages/indicator-messages-service
		    ├─indicator-sound.service
		    │ └─2966 /usr/lib/x86_64-linux-gnu/indicator-sound/indicator-sound-service
		    ├─init.scope
		    │ ├─2465 /lib/systemd/systemd --user
		    │ └─2475 (sd-pam)
		    ├─obex.service
		    │ └─2968 /usr/lib/bluetooth/obexd
		    ├─pulseaudio.service
		    │ └─2765 /usr/bin/pulseaudio --daemonize=no
		    └─xfce4-notifyd.service
		      └─2766 /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd

окт 24 00:20:14 vesta org.freedesktop.thumbnails.Cache1[2623]: Registered thumbailer evince-thumbnailer -s %s %u %o
окт 24 00:20:14 vesta org.freedesktop.thumbnails.Cache1[2623]: Registered thumbailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
окт 24 00:20:14 vesta dbus-daemon[2623]: [session uid=1000 pid=2623] Successfully activated service 'org.freedesktop.thumbnails.Cache1'
окт 24 00:51:49 vesta pkexec[7526]: pam_unix(polkit-1:session): session opened for user root by (uid=1000)
окт 24 00:51:49 vesta pkexec[7526]: romani: Executing command [USER=root] [TTY=unknown] [CWD=/home/romani] [COMMAND=/usr/sbin/gparted]
окт 24 00:55:16 vesta sudo[7919]:   romani : TTY=pts/0 ; PWD=/home/romani ; USER=root ; COMMAND=/bin/loginctl -l user-status --no-pager
окт 24 00:55:16 vesta sudo[7919]: pam_unix(sudo:session): session opened for user root by (uid=0)
окт 24 00:55:18 vesta sudo[7919]: pam_unix(sudo:session): session closed for user root
окт 24 00:56:22 vesta sudo[8269]:   romani : TTY=pts/0 ; PWD=/home/romani ; USER=root ; COMMAND=/bin/loginctl -l user-status --no-pager
окт 24 00:56:22 vesta sudo[8269]: pam_unix(sudo:session): session opened for user root by (uid=0)

and from second (running lowres)

marina (1001)
	   Since: Tue 2018-10-23 22:25:07 MSK; 2h 35min ago
	   State: active
	Sessions: *c5
	  Linger: no
	    Unit: user-1001.slice
		  ├─session-c5.scope
		  │ ├─3524 lightdm --session-child 14 25
		  │ ├─3597 /usr/bin/gnome-keyring-daemon --daemonize --login
		  │ ├─3622 /bin/sh /etc/xdg/xfce4/xinitrc -- /etc/X11/xinit/xserverrc
		  │ ├─3732 /usr/bin/ssh-agent /usr/bin/im-launch startxfce4
		  │ ├─3750 xfce4-session
		  │ ├─3764 xfwm4 --replace
		  │ ├─3768 xfce4-panel
		  │ ├─3770 Thunar --daemon
		  │ ├─3771 xfsettingsd
		  │ ├─3773 xfdesktop
		  │ ├─3812 /usr/lib/geoclue-2.0/demos/agent
		  │ ├─3813 xfce4-volumed
		  │ ├─3828 light-locker
		  │ ├─3833 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
		  │ ├─3834 xfce4-power-manager
		  │ ├─3840 kerneloops-applet
		  │ ├─3849 /usr/bin/python3 /usr/share/system-config-printer/applet.py
		  │ ├─3851 /usr/bin/python /usr/bin/solaar
		  │ ├─3857 nm-applet
		  │ ├─3877 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libwhiskermenu.so 1 12582919 whiskermenu  Whisker              
		  │ ├─3878 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libsystray.so 4 12582920 systray          
		  │ ├─3879 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libindicator-plugin.so 5 12582921 indicator            Unity.                          .
		  │ ├─3882 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-2.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libactions.so 8 12582922 actions     ,           
		  │ ├─3883 /usr/lib/x86_64-linux-gnu/xfce4/panel/wrapper-1.0 /usr/lib/x86_64-linux-gnu/xfce4/panel/plugins/libnotes.so 10 12582923 xfce4-notes-plugin      
		  │ ├─8789 /usr/bin/xfce4-terminal
		  │ ├─8793 bash
		  │ └─8840 loginctl -l user-status --no-pager
		  └─user@1001.service
		    ├─at-spi-dbus-bus.service
		    │ ├─3774 /usr/lib/at-spi2-core/at-spi-bus-launcher
		    │ ├─3783 /usr/bin/dbus-daemon --config-file=/usr/share/defaults/at-spi2/accessibility.conf --nofork --print-address 3
		    │ └─3788 /usr/lib/at-spi2-core/at-spi2-registryd --use-gnome-session
		    ├─dbus.service
		    │ ├─3657 /usr/bin/dbus-daemon --session --address=systemd: --nofork --nopidfile --systemd-activation --syslog-only
		    │ ├─3754 /usr/lib/x86_64-linux-gnu/xfce4/xfconf/xfconfd
		    │ └─3846 /usr/lib/dconf/dconf-service
		    ├─gvfs-afc-volume-monitor.service
		    │ └─3932 /usr/lib/gvfs/gvfs-afc-volume-monitor
		    ├─gvfs-daemon.service
		    │ ├─3795 /usr/lib/gvfs/gvfsd
		    │ ├─3800 /usr/lib/gvfs/gvfsd-fuse /run/user/1001/gvfs -f -o big_writes
		    │ └─3948 /usr/lib/gvfs/gvfsd-trash --spawner :1.18 /org/gtk/gvfs/exec_spaw/0
		    ├─gvfs-goa-volume-monitor.service
		    │ └─3937 /usr/lib/gvfs/gvfs-goa-volume-monitor
		    ├─gvfs-gphoto2-volume-monitor.service
		    │ └─3924 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
		    ├─gvfs-metadata.service
		    │ └─3953 /usr/lib/gvfs/gvfsd-metadata
		    ├─gvfs-mtp-volume-monitor.service
		    │ └─3928 /usr/lib/gvfs/gvfs-mtp-volume-monitor
		    ├─gvfs-udisks2-volume-monitor.service
		    │ └─3920 /usr/lib/gvfs/gvfs-udisks2-volume-monitor
		    ├─indicator-application.service
		    │ └─3896 /usr/lib/x86_64-linux-gnu/indicator-application/indicator-application-service
		    ├─indicator-keyboard.service
		    │ └─3895 /usr/lib/x86_64-linux-gnu/indicator-keyboard/indicator-keyboard-service --use-gtk
		    ├─indicator-messages.service
		    │ └─3898 /usr/lib/x86_64-linux-gnu/indicator-messages/indicator-messages-service
		    ├─indicator-sound.service
		    │ └─3897 /usr/lib/x86_64-linux-gnu/indicator-sound/indicator-sound-service
		    ├─init.scope
		    │ ├─3530 /lib/systemd/systemd --user
		    │ └─3541 (sd-pam)
		    ├─pulseaudio.service
		    │ └─3829 /usr/bin/pulseaudio --daemonize=no
		    └─xfce4-notifyd.service
		      └─3830 /usr/lib/x86_64-linux-gnu/xfce4/notifyd/xfce4-notifyd

окт 23 22:25:09 vesta systemd[3530]: Started Virtual filesystem service - GNOME Online Accounts monitor.
окт 23 22:25:09 vesta dbus-daemon[3657]: [session uid=1001 pid=3657] Successfully activated service 'org.freedesktop.thumbnails.Thumbnailer1'
окт 23 22:25:09 vesta dbus-daemon[3657]: [session uid=1001 pid=3657] Activating via systemd: service name='org.gtk.vfs.Metadata' unit='gvfs-metadata.service' requested by ':1.15' (uid=1001 pid=3773 comm="xfdesktop " label="unconfined")
окт 23 22:25:09 vesta systemd[3530]: Starting Virtual filesystem metadata service...
окт 23 22:25:09 vesta dbus-daemon[3657]: [session uid=1001 pid=3657] Successfully activated service 'org.gtk.vfs.Metadata'
окт 23 22:25:09 vesta systemd[3530]: Started Virtual filesystem metadata service.
окт 23 22:25:14 vesta pulseaudio[3829]: W: [pulseaudio] alsa-mixer.c: Volume element Master has 8 channels. That's too much! I can't handle that!
окт 23 22:25:14 vesta pulseaudio[3829]: W: [pulseaudio] alsa-mixer.c: Volume element Master has 8 channels. That's too much! I can't handle that!
окт 23 22:25:14 vesta systemd[3530]: Started Sound Service.
окт 23 22:25:14 vesta pulseaudio[3829]: E: [pulseaudio] backend-ofono.c: Failed to register as a handsfree audio agent with ofono: org.freedesktop.DBus.Error.ServiceUnknown: The name org.ofono was not provided by any .service files

X is missing from the session.
What’s the output of
ps -eo pid,cmd,lsession |grep X
and
loginctl
and
mount |grep proc

The output of the hi-res user is sufficient.

Thanks again for your efforts :)

ps -eo pid,cmd,lsession |grep X

1956 /usr/lib/xorg/Xorg -core -k -
 3360 /usr/lib/xorg/Xorg -core -k -
10193 grep X                      c2

loginctl :

SESSION  UID USER   SEAT  TTY
     c2 1000 romani seat0    
     c5 1001 marina seat0    

2 sessions listed.

and mount |grep proc

proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=31,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=14774)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,relatime)

Please post the output of
grep ‘systemd|loginuid’ /etc/pam.d/*
and use
pam-auth-update
to check if registering sessions with systemd is enabled.

Sorry for delay

grep ‘systemd|loginuid’ /etc/pam.d/* :

/etc/pam.d/common-session:session	optional	pam_systemd.so 
/etc/pam.d/cron:# Sets the loginuid process attribute
/etc/pam.d/cron:session    required     pam_loginuid.so
/etc/pam.d/lightdm:#session required        pam_loginuid.so
/etc/pam.d/lightdm-autologin:#session required        pam_loginuid.so
/etc/pam.d/login:# Sets the loginuid process attribute
/etc/pam.d/login:session    required     pam_loginuid.so
/etc/pam.d/runuser-l:-session	optional	pam_systemd.so
/etc/pam.d/sshd:# Set the loginuid process attribute.
/etc/pam.d/sshd:session    required     pam_loginuid.so
/etc/pam.d/systemd-user:# This file is part of systemd.
/etc/pam.d/systemd-user:# Used by systemd --user instances.
/etc/pam.d/systemd-user:session  required pam_loginuid.so
/etc/pam.d/systemd-user:session optional pam_systemd.so

I checked pam-auth-update, “Register user session in the systemd control group hierarchy” is marked as enabled.

I’m out of ideas. Everythings looks set up right, yet it doesn’t work. Sorry that I couldn’t help, a fresh install would be faster.

Dont be sorry, i was kinda prepared for this step :) Its quite possible ubuntu screwed up somehow after upgrade anyway, not first time it happens (but never that ugly for me). I will do reinstall and see if it helps. Thanks :)