6
6
655362020-11-19 01:09:23
linux
65536, 2020-11-19 01:09:23

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

3 answer(s)
R
Ronald McDonald, 2020-11-19
@Zoominger

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.

X
xotkot, 2020-11-19
@xotkot

there are at least a few options.

  1. try i3wm + GNOME
    did not try it myself, but as an option
    GDM (optional, but useful)

    perhaps there is additional integration with gdm, xs
  2. uninstall GDM and try another DM(Display manager)
  3. if password protection is unnecessary, then you can generally refuse DM and set up auto-login for shells when switching to the desired one using Ctrl + Alt + [number]
  4. if password protection is needed, then why is the console bad? boot into the desired tty and drive in the username and password and that's it. When I used several environments, I simply
    added code to .bash_profile or .zprofile depending on the shell used (bash or zsh)
    spoiler
    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

    where on different tty after switching and entering the login / password, the corresponding shell is entered Ctrl
    +Alt+1 (tty1) - sway
    Ctrl+Alt+2 (tty2) - i3
    Ctrl+Alt+3 (tty3) - gnome
    everything works fine under Arch-em, under Ubuntu, most likely, too, although their own nuances are possible

J
justhostRU, 2020-11-19
@justhostRU

try lightdm, or kdm.
but kdm had its troubles.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question