I have 1 user beside myself on my desktop pc. when I click on "Switch User" it merely offers me login again. It would seem that the switch user function is broken. Any ideas how to fix it?
Ubuntu – Switch user not working in 17.10
17.10
Related Solutions
I'm having the same problem with the nvidia-387 driver. it worked until a system update.
the only way that worked for me is using an older driver: nvidia-384
root@sebapc:/home/sebastian# dpkg -l | grep -i -e nvidia
ii bbswitch-dkms 0.8-4ubuntu1 amd64 Interface for toggling the power on NVIDIA Optimus video cards
ii cuda-nvtx-9-1 9.1.85-1 amd64 NVIDIA Tools Extension
ii libcuda1-384 384.111-0ubuntu1 amd64 NVIDIA CUDA runtime library
ii nvidia-384 384.111-0ubuntu1 amd64 NVIDIA binary driver - version 384.111
rc nvidia-387 387.26-0ubuntu1 amd64 NVIDIA binary driver - version 387.26
ii nvidia-modprobe 387.26-0ubuntu1 amd64 Load the NVIDIA kernel driver and create device files
ii nvidia-opencl-icd-384 384.111-0ubuntu1 amd64 NVIDIA OpenCL ICD
rc nvidia-opencl-icd-387 387.26-0ubuntu1 amd64 NVIDIA OpenCL ICD
ii nvidia-prime 0.8.5 amd64 Tools to enable NVIDIA's Prime
ii nvidia-settings 387.26-0ubuntu1 amd64 Tool for configuring the NVIDIA graphics driver
The only problem is that this driver is not compatible with CUDA 9.1
* UPDATE *
The problem is (in my case) the kernel.
When installing the driver I get errors during DKMS compilation, The compilation produces a log located in
/var/lib/dkms/nvidia-387/387.26/build/make.log.
You can try compile DKMS for the current kernel running
sudo dpkg-reconfigure nvidia-387
and see if you get an error
I solved my problem booting from the old kernel 4.13.0-21-generic instead of latest 4.13.0-25-generic
Here are my system details
GPU:
root@sebapc:/home/sebastian# lspci | grep -i nvidia
01:00.0 3D controller: NVIDIA Corporation GM108M [GeForce 940MX] (rev a2)
OS version:
root@sebapc:/home/sebastian# uname -a
Linux sebapc 4.13.0-21-generic #24-Ubuntu SMP Mon Dec 18 17:29:16 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
This feature is currently bugged, see: https://bugs.launchpad.net/ubuntu/+source/gdm3/+bug/1724944 and mark yourself affected
You need to install the dconf-editor
tool if you not have already:
sudo apt install dconf-editor
Then when you opened it navigate to:
/org/gnome/login-screen
and set the 'disable-user-list' button to 'on':
Since the above is still bugged, the only solution is right now via terminal edit the following lines in /etc/gdm3/greeter.dconf-defaults
:
#[org/gnome/login-screen]
# disable-user-list=true
to:
[org/gnome/login-screen]
disable-user-list=true
Be sure to edit both lines otherwise you might crash your login completely.
Best Answer
As a workaround, you should be able to use ctrl-alt-f1 to bring up the user switcher and switch users from there (without using the menu bar dropdown).
If applicable, remember to use your laptop's 'fn' key to make your function keys behave as function keys.
I don't have any solid direction on how to fix the underlying issue of clicking "Switch User" after clicking on your username from the menu bar dropdown sending me to the lock screen, where clicking on "Log in as another user" (below Cancel) merely seems to restart X and bring you back to the lock screen.
After some digging through syslog and X logs, I saw that my logs had segfaults from gnome-session-check-accelerated around the times I was trying to switch users. Googling that led to https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1715365 which seemed to be a repro case for the bug I was running into, and the ctrl-alt-f1 solution.