Answer the question
In order to leave comments, you need to log in
How to make gdm not take out brains?
Ubuntu 18.10
The problem happens sometimes when manipulating monitors. And almost always when changing the shell, I have a gnome and i3vm. When a problem happens, I either see a black screen, or I am thrown in circles on the password entry form. Restart gdma does not help, reboot too. Control + alt + fN also defies any logic, the gnome can be on any number, on the rest of the console, and they also wander between numbers. Who faced, tell me where you can see or somehow zadebazhit what is happening. This is completely unintuitive, I sit for half an hour, rebooting everything, climbing on the consoles with these, re-login 20 times, and then bam and on some random f-button the gnome rises. I feel a lack of some knowledge of the internal structure of this dwarf. It is beautiful, but this problem kills simply, especially with its suddenness. And the complete lack of visible logic
Answer the question
In order to leave comments, you need to log in
Check from the console ( df -h
) whether there is enough space in the home directory and in general on the PC. Sometimes there is a cyclic login because of this.
there are at least a few options.
GDM (optional, but useful)
if ; then
case "$(tty)" in
"/dev/tty1" ) # Sway wayland
QT_QPA_PLATFORM=wayland \
CLUTTER_BACKEND=wayland \
MOZ_ENABLE_WAYLAND=1 \
SDL_VIDEODRIVER=wayland \
XDG_SESSION_TYPE=wayland \
BEMENU_BACKEND=wayland \
XKB_DEFAULT_LAYOUT=us \
exec sway
;;
"/dev/tty2" ) # i3 X
startx /usr/bin/i3
;;
"/dev/tty3" ) # Gnome wayland
QT_QPA_PLATFORM=wayland \
CLUTTER_BACKEND=wayland \
MOZ_ENABLE_WAYLAND=1 \
SDL_VIDEODRIVER=wayland \
XDG_SESSION_TYPE=wayland \
exec dbus-run-session gnome-session
;;
esac
fi
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question