Announcement

Collapse
No announcement yet.

Switch User For Parallel Sessions Failing on Physical Installs

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Switch User For Parallel Sessions Failing on Physical Installs

    Hi, I need user switching (running parallel desktop login sessions toggled between easily with the CNTRL-ALT-Function keys).

    Since SDDM replaced KDM and right up to Kubuntu 19.10 it seems to be broken whenever I've tried it on actual hardware. So forced to use an alternative distro for daily use where user switching will work for me (Xubuntu).

    However, recently I did a Kubuntu 19.10 install inside VirtualBox and switch user worked! So suspect the problem is hardware/driver related affecting only real installations.

    To avoid messing up my daily machine I installed Kubuntu on an old Desktop which has an NVIDIA GeForce 8400 GS card in it. I've done a fresh install twice, first allowing third party software (giving me the proprietary driver) and when user switching failed on that, I completely re-installed not allowing third party and now have got the Nouveau driver but still user switching fails. Note. running Driver Manager just says gathering information forever so something going on there...

    So my test system:

    Desktop PC with NVIDIA GeForce 8400 GS runnning a fresh/updated Kununtu 19.10 using the nouveau driver (although I would prefer the proprietary one) and two user accounts to switch between: user1 and user2.

    Code:
    user1@lyekka:~$ lspci -nnk | grep -i vga -A3
    02:00.0 VGA compatible controller [0300]: NVIDIA Corporation G86 [GeForce 8400 GS] [10de:0422] (rev a1)
    Subsystem: Micro-Star International Co., Ltd. [MSI] G86 [GeForce 8400 GS] [1462:0740]
    Kernel driver in use: nouveau
    Kernel modules: nvidiafb, nouveau
    Logged in as user1, I click to Switch Users to start a parallel session, then as prompted, click Start New Session and the screen goes blank with an underline cursor top left and a mouse pointer in the middle. This produces the syslog output below.

    So couldn't do much in console 2. Did CTRL-ALT-F1 which switched back to original session then GUI went sluggish and generally misbehaving until I rebooted. Note. I have installed openssh-sever to get in remotely too.

    Code:
    Oct 31 10:35:13 lyekka sddm[748]: Adding new display on vt 2 ...
    Oct 31 10:35:13 lyekka sddm[748]: Loading theme configuration from ""
    Oct 31 10:35:13 lyekka sddm[748]: Display server starting...
    Oct 31 10:35:13 lyekka sddm[748]: Running: /usr/bin/X -nolisten tcp -auth /var/run/sddm/{b713b3cc-b174-458f-8219-3be566a17f9c} -background none -noreset -displayfd 18 -seat seat0 vt2
    Oct 31 10:35:14 lyekka sddm[748]: Setting default cursor
    Oct 31 10:35:14 lyekka sddm[748]: Running display setup script  "/usr/share/sddm/scripts/Xsetup"
    Oct 31 10:35:14 lyekka sddm[748]: Display server started.
    Oct 31 10:35:14 lyekka sddm[748]: Socket server starting...
    Oct 31 10:35:14 lyekka sddm[748]: Socket server started.
    Oct 31 10:35:14 lyekka sddm[748]: Loading theme configuration from "/usr/share/sddm/themes/ubuntu-theme/theme.conf"
    Oct 31 10:35:14 lyekka sddm[748]: Greeter starting...
    Oct 31 10:35:14 lyekka sddm[748]: Adding cookie to "/var/run/sddm/{b713b3cc-b174-458f-8219-3be566a17f9c}"
    Oct 31 10:35:14 lyekka sddm-helper[1372]: [PAM] Starting...
    Oct 31 10:35:14 lyekka sddm-helper[1372]: [PAM] Authenticating...
    Oct 31 10:35:14 lyekka sddm-helper[1372]: [PAM] returning.
    Oct 31 10:35:14 lyekka systemd[1]: Created slice User Slice of UID 121.
    Oct 31 10:35:14 lyekka systemd[1]: Starting User Runtime Directory /run/user/121...
    Oct 31 10:35:14 lyekka systemd[1]: Started User Runtime Directory /run/user/121.
    Oct 31 10:35:14 lyekka systemd[1]: Starting User Manager for UID 121...
    Oct 31 10:35:14 lyekka systemd[1385]: Listening on REST API socket for snapd user session agent.
    Oct 31 10:35:14 lyekka systemd[1385]: Listening on GnuPG cryptographic agent and passphrase cache.
    Oct 31 10:35:14 lyekka systemd[1385]: Reached target Paths.
    Oct 31 10:35:14 lyekka systemd[1385]: Starting D-Bus User Message Bus Socket.
    Oct 31 10:35:14 lyekka systemd[1385]: Reached target Timers.
    Oct 31 10:35:14 lyekka systemd[1385]: Listening on debconf communication socket.
    Oct 31 10:35:14 lyekka systemd[1385]: Listening on GnuPG network certificate management daemon.
    Oct 31 10:35:14 lyekka systemd[1385]: Listening on Sound System.
    Oct 31 10:35:14 lyekka systemd[1385]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
    Oct 31 10:35:14 lyekka systemd[1385]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
    Oct 31 10:35:14 lyekka systemd[1385]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
    Oct 31 10:35:14 lyekka systemd[1385]: Listening on D-Bus User Message Bus Socket.
    Oct 31 10:35:14 lyekka systemd[1385]: Reached target Sockets.
    Oct 31 10:35:14 lyekka systemd[1385]: Reached target Basic System.
    Oct 31 10:35:14 lyekka systemd[1]: Started User Manager for UID 121.
    Oct 31 10:35:14 lyekka systemd[1385]: Starting Sound Service...
    Oct 31 10:35:14 lyekka systemd[1]: Started Session 6 of user sddm.
    Oct 31 10:35:14 lyekka sddm[748]: Greeter session started successfully
    Oct 31 10:35:14 lyekka sddm-greeter[1416]: High-DPI autoscaling not Enabled
    Oct 31 10:35:14 lyekka sddm-greeter[1416]: Reading from "/usr/share/xsessions/plasma.desktop"
    Oct 31 10:35:14 lyekka sddm-greeter[1416]: Loading theme configuration from "/usr/share/sddm/themes/ubuntu-theme/theme.conf"
    Oct 31 10:35:14 lyekka systemd[1385]: Started D-Bus User Message Bus.
    Oct 31 10:35:14 lyekka dbus-daemon[1419]: [session uid=121 pid=1419] AppArmor D-Bus mediation is enabled
    Oct 31 10:35:14 lyekka sddm-greeter[1416]: Connected to the daemon.
    Oct 31 10:35:14 lyekka sddm[748]: Message received from greeter: Connect
    Oct 31 10:35:14 lyekka sddm-greeter[1416]: Loading file:///usr/share/sddm/themes/ubuntu-theme/Main.qml...
    Oct 31 10:35:14 lyekka sddm-greeter[1416]: QObject: Cannot create children for a parent that is in a different thread.#012(Parent is QGuiApplication(0x7ffc50e9eff0), parent's thread is QThread(0x557271e82490), current thread is QThread(0x557271f62920)
    Oct 31 10:35:14 lyekka sddm-greeter[1416]: message repeated 2 times: [ QObject: Cannot create children for a parent that is in a different thread.#012(Parent is QGuiApplication(0x7ffc50e9eff0), parent's thread is QThread(0x557271e82490), current thread is QThread(0x557271f62920)]
    Oct 31 10:35:14 lyekka sddm-greeter[1416]: QObject::installEventFilter(): Cannot filter events for objects in a different thread.
    Oct 31 10:35:14 lyekka sddm-greeter[1416]: Cannot watch QRC-like path ":/icons/hicolor/index.theme"
    Oct 31 10:35:15 lyekka dbus-daemon[629]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.233' (uid=121 pid=1415 comm="/usr/bin/pulseaudio --daemonize=no " label="unconfined")
    Oct 31 10:35:15 lyekka systemd[1]: Condition check resulted in Bluetooth service being skipped.
    Oct 31 10:35:15 lyekka rtkit-daemon[922]: Supervising 2 threads of 1 processes of 2 users.
    Oct 31 10:35:15 lyekka rtkit-daemon[922]: message repeated 4 times: [ Supervising 2 threads of 1 processes of 2 users.]
    Oct 31 10:35:15 lyekka systemd[1385]: Started Sound Service.
    Oct 31 10:35:15 lyekka systemd[1385]: Reached target Main User Target.
    Oct 31 10:35:15 lyekka systemd[1385]: Startup finished in 1.158s.
    Oct 31 10:35:15 lyekka sddm-greeter[1416]: Adding view for "DVI-I-1" QRect(0,0 1920x1080)
    Oct 31 10:35:40 lyekka pulseaudio[1415]: E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
    I see errors above but not sure what to can be done to fix the config, or is it an actual bug?

    Fixes NOT worked so far:

    Have tried adding sddm to video group
    Tried changing owner of /var/lib/sddm/state.conf to sddm

    Thanks in advance for any help.
Working...
X