Вопрос или проблема
Я только что установил Edubuntu 24.04 для своей дочери, и, зная, что пользователь, созданный во время установки, является администратором, я решил создать её учетную запись из приложения “Настройки” после установки.
Я могу войти в систему с “первичным” пользователем (созданным во время установки) без проблем. Но при любой попытке войти с её учетной записи меня возвращает обратно на экран входа, несмотря на то, что пароль введен правильно (я знаю, потому что неправильный пароль выдает другую и видимую ошибку).
Во время установки и сразу после нее были сделаны несколько изменений:
- Язык системы был установлен на
de_DE.UTF-8
(LANG
иLC_MESSAGES
) с помощьюlocalectl
, и недостающие пакеты были установлены через приложение “Настройки” - пакеты snap были удалены и
snapd
удален, а Firefox заменен на версию от Mozilla
Когда не удалось войти в систему, моей первой догадкой было обнулить $HOME
для учетной записи моей дочери. Поэтому я сделал это с помощью xdg-user-dirs-update --force
, изменив контекст пользователя в терминале.
Это не помогло. Поэтому я удалил учетную запись и пользовательскую директорию и затем снова создал учетную запись пользователя.
Это также не помогло.
Я в растерянности относительно того, что происходит и как это исправить. Я выбрал Edubuntu, потому что он считается подходящим для детей, но сам я больше не использую Ubuntu или GNOME для своей повседневной работы. Даже не уверен, что этот вопрос связан с Edubuntu.
Как я могу диагностировать и исправить это?
Результат команды journalctl --follow
при попытке входа в систему вручную. Имя пользователя заменено на daughter
, а имя хоста и временная метка были удалены для краткости.
systemd[7172]: launchpadlib-cache-clean.service - Clean up old files in the Launchpadlib cache was skipped because of an unmet condition check (ConditionPathExists=/var/lib/gdm3/.launchpadlib/api.launchpad.net/cache).
gnome-shell[7224]: no authentication service is enabled, using password authentication
gdm-password][8069]: gkr-pam: unable to locate daemon control file
gdm-password][8069]: gkr-pam: stashed password to try later in open session
gdm-password][8069]: pam_unix(gdm-password:session): session opened for user daughter(uid=1001) by daughter(uid=0)
systemd-logind[869]: New session 16 of user daughter.
systemd[1]: Created slice user-1001.slice - User Slice of UID 1001.
systemd[1]: Starting [email protected] - User Runtime Directory /run/user/1001...
systemd[1]: Finished [email protected] - User Runtime Directory /run/user/1001.
systemd[1]: Starting [email protected] - User Manager for UID 1001...
(systemd)[8083]: pam_unix(systemd-user:session): session opened for user daughter(uid=1001) by daughter(uid=0)
systemd[8083]: Queued start job for default target default.target.
systemd[8083]: Created slice app.slice - User Application Slice.
systemd[8083]: Created slice session.slice - User Core Session Slice.
systemd[8083]: Started ubuntu-report.path - Pending report trigger for Ubuntu Report.
systemd[8083]: Started launchpadlib-cache-clean.timer - Clean up old files in the Launchpadlib cache.
systemd[8083]: Reached target paths.target - Paths.
systemd[8083]: Reached target timers.target - Timers.
systemd[8083]: Starting dbus.socket - D-Bus User Message Bus Socket...
systemd[8083]: Listening on dirmngr.socket - GnuPG network certificate management daemon.
systemd[8083]: Listening on gcr-ssh-agent.socket - GCR ssh-agent wrapper.
systemd[8083]: Listening on gnome-keyring-daemon.socket - GNOME Keyring daemon.
systemd[8083]: Listening on gpg-agent-browser.socket - GnuPG cryptographic agent and passphrase cache (access for web browsers).
systemd[8083]: Listening on gpg-agent-extra.socket - GnuPG cryptographic agent and passphrase cache (restricted).
systemd[8083]: Starting gpg-agent-ssh.socket - GnuPG cryptographic agent (ssh-agent emulation)...
systemd[8083]: Listening on gpg-agent.socket - GnuPG cryptographic agent and passphrase cache.
systemd[8083]: Listening on keyboxd.socket - GnuPG public key management service.
systemd[8083]: Listening on pipewire-pulse.socket - PipeWire PulseAudio.
systemd[8083]: Listening on pipewire.socket - PipeWire Multimedia System Sockets.
systemd[8083]: Listening on pk-debconf-helper.socket - debconf communication socket.
systemd[8083]: Listening on speech-dispatcher.socket - Speech Dispatcher Socket.
systemd[8083]: Listening on dbus.socket - D-Bus User Message Bus Socket.
systemd[8083]: Listening on gpg-agent-ssh.socket - GnuPG cryptographic agent (ssh-agent emulation).
systemd[8083]: Reached target sockets.target - Sockets.
systemd[8083]: Reached target basic.target - Basic System.
systemd[1]: Started [email protected] - User Manager for UID 1001.
systemd[8083]: Starting gnome-initial-setup-copy-worker.service - GNOME Initial Setup Copy Worker...
systemd[1]: Started session-16.scope - Session 16 of User daughter.
systemd[8083]: Started pipewire.service - PipeWire Multimedia Service.
systemd[8083]: Started filter-chain.service - PipeWire filter chain daemon.
systemd[8083]: Started wireplumber.service - Multimedia Service Session Manager.
systemd[8083]: Started pipewire-pulse.service - PipeWire PulseAudio.
systemd[8083]: Finished gnome-initial-setup-copy-worker.service - GNOME Initial Setup Copy Worker.
systemd[8083]: Reached target default.target - Main User Target.
systemd[8083]: Started gnome-keyring-daemon.service - GNOME Keyring daemon.
systemd[8083]: Startup finished in 234ms.
systemd[8083]: Starting dbus.service - D-Bus User Message Bus...
gnome-keyring-daemon[8109]: GNOME_KEYRING_CONTROL=/run/user/1001/keyring
dbus-daemon[8112]: [session uid=1001 pid=8112] AppArmor D-Bus mediation is enabled
systemd[8083]: Started dbus.service - D-Bus User Message Bus.
rtkit-daemon[1158]: Supervising 8 threads of 5 processes of 1 users.
rtkit-daemon[1158]: Supervising 8 threads of 5 processes of 1 users.
rtkit-daemon[1158]: Supervising 8 threads of 5 processes of 1 users.
rtkit-daemon[1158]: Supervising 8 threads of 5 processes of 1 users.
rtkit-daemon[1158]: Supervising 8 threads of 5 processes of 1 users.
rtkit-daemon[1158]: Supervising 8 threads of 5 processes of 1 users.
rtkit-daemon[1158]: Supervising 8 threads of 5 processes of 1 users.
rtkit-daemon[1158]: Supervising 8 threads of 5 processes of 1 users.
rtkit-daemon[1158]: Supervising 8 threads of 5 processes of 1 users.
pipewire[8099]: mod.jackdbus-detect: Failed to receive jackdbus reply: org.freedesktop.DBus.Error.ServiceUnknown: The name org.jackaudio.service was not provided by any .service files
gdm-password][8069]: gkr-pam: unlocked login keyring
rtkit-daemon[1158]: Successfully made thread 8099 of process 8099 owned by '1001' high priority at nice level -11.
rtkit-daemon[1158]: Supervising 9 threads of 6 processes of 2 users.
rtkit-daemon[1158]: Supervising 9 threads of 6 processes of 2 users.
rtkit-daemon[1158]: Supervising 9 threads of 6 processes of 2 users.
rtkit-daemon[1158]: Successfully made thread 8121 of process 8100 owned by '1001' RT at priority 20.
rtkit-daemon[1158]: Supervising 10 threads of 7 processes of 2 users.
rtkit-daemon[1158]: Successfully made thread 8124 of process 8099 owned by '1001' RT at priority 20.
rtkit-daemon[1158]: Supervising 11 threads of 7 processes of 2 users.
rtkit-daemon[1158]: Successfully made thread 8103 of process 8103 owned by '1001' high priority at nice level -11.
rtkit-daemon[1158]: Supervising 12 threads of 8 processes of 2 users.
wireplumber[8103]: SPA handle 'api.libcamera.enum.manager' could not be loaded; is it installed?
wireplumber[8103]: PipeWire's libcamera SPA missing or broken. libcamera not supported.
rtkit-daemon[1158]: Successfully made thread 8122 of process 8103 owned by '1001' RT at priority 20.
rtkit-daemon[1158]: Supervising 13 threads of 8 processes of 2 users.
rtkit-daemon[1158]: Supervising 13 threads of 8 processes of 2 users.
rtkit-daemon[1158]: Successfully made thread 8104 of process 8104 owned by '1001' high priority at nice level -11.
rtkit-daemon[1158]: Supervising 14 threads of 9 processes of 2 users.
rtkit-daemon[1158]: Successfully made thread 8126 of process 8104 owned by '1001' RT at priority 20.
rtkit-daemon[1158]: Supervising 15 threads of 9 processes of 2 users.
kernel: rfkill: input handler enabled
gsd-media-keys[7364]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
gsd-media-keys[7364]: Unable to get default source
gsd-media-keys[7364]: Unable to get default sink
gsd-media-keys[7364]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
systemd[8083]: Created slice app-gnome\x2dsession\x2dmanager.slice - Slice /app/gnome-session-manager.
systemd[8083]: Created slice background.slice - User Background Tasks Slice.
systemd[8083]: Started update-notifier-crash.path - Path trigger for Apport crash notifications.
systemd[8083]: Started update-notifier-release.path - Path trigger for new release of Ubuntu notifications.
systemd[8083]: Reached target gnome-session-wayland.target - GNOME Wayland Session.
systemd[8083]: Reached target org.gnome.Shell.target - GNOME Shell.
systemd[8083]: Started gcr-ssh-agent.service - GCR ssh-agent wrapper.
systemd[8083]: Starting gnome-session-monitor.service - Monitor Session leader for GNOME Session...
systemd[8083]: Starting session-migration.service - Session Migration...
systemd[8083]: Started ssh-agent.service - OpenSSH Agent.
systemd[8083]: Starting xdg-desktop-portal-rewrite-launchers.service - Rewrite dynamic launcher portal entries...
systemd[8083]: Finished session-migration.service - Session Migration.
systemd[8083]: Started gnome-session-monitor.service - Monitor Session leader for GNOME Session.
dbus-daemon[8112]: [session uid=1001 pid=8112] Activating via systemd: service name="org.gtk.vfs.Daemon" unit="gvfs-daemon.service" requested by ':1.16' (uid=1001 pid=8233 comm="/usr/libexec/xdg-desktop-portal-rewrite-launchers" label="unconfined")
systemd[8083]: Starting gvfs-daemon.service - Virtual filesystem service...
dbus-daemon[8112]: [session uid=1001 pid=8112] Successfully activated service 'org.gtk.vfs.Daemon'
systemd[8083]: Started gvfs-daemon.service - Virtual filesystem service.
wireplumber[8103]: BlueZ system service is not available
systemd[8083]: Finished xdg-desktop-portal-rewrite-launchers.service - Rewrite dynamic launcher portal entries.
systemd[8083]: Reached target graphical-session-pre.target - Session services which should run early before the graphical session is brought up.
systemd[8083]: Reached target gnome-session-pre.target - Tasks to be run before GNOME Session starts.
systemd[8083]: Starting [email protected] - GNOME Session Manager (session: ubuntu)...
gnome-session[8256]: gnome-session-binary[8256]: GLib-GIO-ERROR: No GSettings schemas are installed on the system
gnome-session[8256]: aborting...
kernel: traps: gnome-session-b[8256] trap int3 ip:7cb2eb8c96a1 sp:7ffc91bc64b0 error:0 in libglib-2.0.so.0.8000.0[7cb2eb885000+a0000]
gnome-session-binary[8256]: GLib-GIO-ERROR: No GSettings schemas are installed on the system
aborting...
systemd[8083]: [email protected]: Main process exited, code=dumped, status=5/TRAP
systemd[8083]: Stopped update-notifier-crash.path - Path trigger for Apport crash notifications.
systemd[8083]: Stopped update-notifier-release.path - Path trigger for new release of Ubuntu notifications.
systemd[8083]: Stopped target gnome-session-wayland.target - GNOME Wayland Session.
systemd[8083]: Stopping gvfs-daemon.service - Virtual filesystem service...
systemd[8083]: Stopped target org.gnome.Shell.target - GNOME Shell.
systemd[8083]: Starting tracker-miner-fs-3.service - Tracker file system data miner...
systemd[1]: run-user-1001-gvfs.mount: Deactivated successfully.
systemd[8083]: [email protected]: Failed with result 'core-dump'.
systemd[8083]: Stopped [email protected] - GNOME Session Manager (session: ubuntu).
systemd[8083]: [email protected]: Triggering OnFailure= dependencies.
systemd[8083]: Stopped gvfs-daemon.service - Virtual filesystem service.
systemd[8083]: Stopped target gnome-session-pre.target - Tasks to be run before GNOME Session starts.
systemd[8083]: Stopped target graphical-session-pre.target - Session services which should run early before the graphical session is brought up.
systemd[8083]: Reached target gnome-session-shutdown.target - Shutdown running GNOME Session.
systemd[8083]: Stopping gnome-session-monitor.service - Monitor Session leader for GNOME Session...
systemd[8083]: Starting gnome-session-restart-dbus.service - Restart DBus after GNOME Session shutdown...
systemd[8083]: Stopped target gnome-session-shutdown.target - Shutdown running GNOME Session.
systemd[8083]: Reached target gnome-session-shutdown.target - Shutdown running GNOME Session.
systemd[8083]: Stopped target gnome-session-shutdown.target - Shutdown running GNOME Session.
systemd[8083]: Stopped gnome-session-monitor.service - Monitor Session leader for GNOME Session.
systemd[8083]: Started gnome-session-restart-dbus.service - Restart DBus after GNOME Session shutdown.
gdm-password][8069]: pam_unix(gdm-password:session): session closed for user daughter
systemd[8083]: Stopping dbus.service - D-Bus User Message Bus...
systemd[8083]: Stopped dbus.service - D-Bus User Message Bus.
gdm3[1116]: Gdm: GdmDisplay: Session never registered, failing
systemd[8083]: Starting dbus.service - D-Bus User Message Bus...
kernel: rfkill: input handler disabled
systemd[1]: session-16.scope: Deactivated successfully.
systemd-logind[869]: Session 16 logged out. Waiting for processes to exit.
rtkit-daemon[1158]: Successfully made thread 7242 of process 7224 owned by '105' high priority at nice level 0.
rtkit-daemon[1158]: Supervising 15 threads of 9 processes of 2 users.
systemd-logind[869]: Removed session 16.
dbus-daemon[8298]: [session uid=1001 pid=8298] AppArmor D-Bus mediation is enabled
systemd[8083]: Started dbus.service - D-Bus User Message Bus.
dbus-daemon[8298]: [session uid=1001 pid=8298] Activating systemd to hand-off: service name="org.gtk.vfs.Daemon" unit="gvfs-daemon.service" requested by ':1.1' (uid=1001 pid=8282 comm="/usr/libexec/tracker-miner-fs-3" label="unconfined")
dbus-daemon[8298]: [session uid=1001 pid=8298] Successfully activated service 'org.freedesktop.systemd1'
systemd[8083]: Starting gvfs-daemon.service - Virtual filesystem service...
dbus-daemon[8298]: [session uid=1001 pid=8298] Successfully activated service 'org.gtk.vfs.Daemon'
systemd[8083]: Started gvfs-daemon.service - Virtual filesystem service.
dbus-daemon[8298]: [session uid=1001 pid=8298] Activating via systemd: service name="org.gtk.vfs.UDisks2VolumeMonitor" unit="gvfs-udisks2-volume-monitor.service" requested by ':1.1' (uid=1001 pid=8282 comm="/usr/libexec/tracker-miner-fs-3" label="unconfined")
systemd[8083]: Starting gvfs-udisks2-volume-monitor.service - Virtual filesystem service - disk device monitor...
gvfs-udisks2-vo[8319]: No GSettings schemas are installed on the system
kernel: traps: gvfs-udisks2-vo[8319] trap int3 ip:7ee08c4200df sp:7ffd0918bef0 error:0 in libglib-2.0.so.0.8000.0[7ee08c3dc000+a0000]
rtkit-daemon[1158]: Supervising 14 threads of 8 processes of 2 users.
rtkit-daemon[1158]: Supervising 14 threads of 8 processes of 2 users.
rtkit-daemon[1158]: Successfully made thread 7242 of process 7224 owned by '105' RT at priority 20.
rtkit-daemon[1158]: Supervising 15 threads of 9 processes of 2 users.
wireplumber[7187]: BlueZ system service is not available
gsd-media-keys[7364]: Unable to get default sink
gsd-media-keys[7364]: gvc_mixer_card_get_index: assertion 'GVC_IS_MIXER_CARD (card)' failed
rtkit-daemon[1158]: Successfully made thread 7242 of process 7224 owned by '105' high priority at nice level 0.
rtkit-daemon[1158]: Supervising 15 threads of 9 processes of 2 users.
rtkit-daemon[1158]: Supervising 14 threads of 8 processes of 2 users.
rtkit-daemon[1158]: Supervising 14 threads of 8 processes of 2 users.
rtkit-daemon[1158]: Successfully made thread 7242 of process 7224 owned by '105' RT at priority 20.
rtkit-daemon[1158]: Supervising 15 threads of 9 processes of 2 users.
org.gnome.Shell.desktop[8407]: The XKEYBOARD keymap compiler (xkbcomp) reports:
org.gnome.Shell.desktop[8407]: > Warning: Unsupported maximum keycode 708, clipping.
org.gnome.Shell.desktop[8407]: > X11 cannot support keycodes above 255.
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86CameraAccessEnable
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86CameraAccessDisable
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86CameraAccessToggle
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86NextElement
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86PreviousElement
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86AutopilotEngageToggle
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86MarkWaypoint
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86Sos
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86NavChart
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86FishingChart
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86SingleRangeRadar
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86DualRangeRadar
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86RadarOverlay
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86TraditionalSonar
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86ClearvuSonar
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86SidevuSonar
org.gnome.Shell.desktop[8407]: > Warning: Could not resolve keysym XF86NavInfo
org.gnome.Shell.desktop[8407]: Errors from xkbcomp are not fatal to the X server
systemd[8083]: gvfs-udisks2-volume-monitor.service: Main process exited, code=dumped, status=5/TRAP
systemd[8083]: gvfs-udisks2-volume-monitor.service: Failed with result 'core-dump'.
systemd[8083]: Failed to start gvfs-udisks2-volume-monitor.service - Virtual filesystem service - disk device monitor.
systemd[1]: Stopping [email protected] - User Manager for UID 1001...
systemd[8083]: Activating special unit exit.target...
systemd[8083]: Removed slice app-gnome\x2dsession\x2dmanager.slice - Slice /app/gnome-session-manager.
systemd[8083]: Stopped target default.target - Main User Target.
tracker-miner-fs-3[8282]: Error creating proxy: Fehler beim Aufruf von StartServiceByName für org.gtk.vfs.UDisks2VolumeMonitor: Verbindung ist geschlossen (g-io-error-quark, 18)
gvfsd[8306]: A connection to the bus can't be made
systemd[8083]: Stopping dbus.service - D-Bus User Message Bus...
tracker-miner-f[8282]: Error while sending AddMatch() message: Verbindung ist geschlossen
tracker-miner-fs-3[8282]: Error creating proxy: Fehler beim Aufruf von StartServiceByName für org.gtk.vfs.GPhoto2VolumeMonitor: Verbindung ist geschlossen (g-io-error-quark, 18)
tracker-miner-f[8282]: Error while sending AddMatch() message: Verbindung ist geschlossen
tracker-miner-fs-3[8282]: Error creating proxy: Fehler beim Aufruf von StartServiceByName für org.gtk.vfs.GoaVolumeMonitor: Verbindung ist geschlossen (g-io-error-quark, 18)
systemd[8083]: Stopping filter-chain.service - PipeWire filter chain daemon...
tracker-miner-f[8282]: Error while sending AddMatch() message: Verbindung ist geschlossen
systemd[8083]: Stopping gcr-ssh-agent.service - GCR ssh-agent wrapper...
systemd[8083]: Stopping gvfs-daemon.service - Virtual filesystem service...
systemd[8083]: Stopping pipewire-pulse.service - PipeWire PulseAudio...
tracker-miner-f[8282]: Error while sending AddMatch() message: Verbindung ist geschlossen
tracker-miner-fs-3[8282]: Error creating proxy: Fehler beim Aufruf von StartServiceByName für org.gtk.vfs.MTPVolumeMonitor: Verbindung ist geschlossen (g-io-error-quark, 18)
systemd[8083]: Stopped gcr-ssh-agent.service - GCR ssh-agent wrapper.
systemd[1]: run-user-1001-gvfs.mount: Deactivated successfully.
systemd[8083]: Stopped filter-chain.service - PipeWire filter chain daemon.
systemd[8083]: Stopped pipewire-pulse.service - PipeWire PulseAudio.
systemd[8083]: Stopped tracker-miner-fs-3.service - Tracker file system data miner.
systemd[8083]: Stopped dbus.service - D-Bus User Message Bus.
systemd[8083]: Stopped gvfs-daemon.service - Virtual filesystem service.
systemd[8083]: Removed slice background.slice - User Background Tasks Slice.
wireplumber[8103]: stopped by signal: Beendet
systemd[8083]: Stopping wireplumber.service - Multimedia Service Session Manager...
wireplumber[8103]: disconnected from pipewire
systemd[8083]: Stopped wireplumber.service - Multimedia Service Session Manager.
systemd[8083]: Stopping pipewire.service - PipeWire Multimedia Service...
systemd[8083]: Stopped pipewire.service - PipeWire Multimedia Service.
systemd[8083]: Removed slice session.slice - User Core Session Slice.
systemd[8083]: Stopped target basic.target - Basic System.
systemd[8083]: Stopped target paths.target - Paths.
systemd[8083]: Stopped ubuntu-report.path - Pending report trigger for Ubuntu Report.
systemd[8083]: Stopped target sockets.target - Sockets.
systemd[8083]: Stopped target timers.target - Timers.
systemd[8083]: Stopped launchpadlib-cache-clean.timer - Clean up old files in the Launchpadlib cache.
systemd[8083]: Closed dbus.socket - D-Bus User Message Bus Socket.
systemd[8083]: Closed dirmngr.socket - GnuPG network certificate management daemon.
systemd[8083]: Closed gcr-ssh-agent.socket - GCR ssh-agent wrapper.
systemd[8083]: Closed gnome-keyring-daemon.socket - GNOME Keyring daemon.
systemd[8083]: Closed gpg-agent-browser.socket - GnuPG cryptographic agent and passphrase cache (access for web browsers).
systemd[8083]: Closed gpg-agent-extra.socket - GnuPG cryptographic agent and passphrase cache (restricted).
systemd[8083]: Stopping gpg-agent-ssh.socket - GnuPG cryptographic agent (ssh-agent emulation)...
systemd[8083]: Closed gpg-agent.socket - GnuPG cryptographic agent and passphrase cache.
systemd[8083]: Closed keyboxd.socket - GnuPG public key management service.
systemd[8083]: Closed pipewire-pulse.socket - PipeWire PulseAudio.
systemd[8083]: Closed pipewire.socket - PipeWire Multimedia System Sockets.
systemd[8083]: Closed pk-debconf-helper.socket - debconf communication socket.
systemd[8083]: Closed speech-dispatcher.socket - Speech Dispatcher Socket.
systemd[8083]: Closed gpg-agent-ssh.socket - GnuPG cryptographic agent (ssh-agent emulation).
systemd[8083]: Removed slice app.slice - User Application Slice.
systemd[8083]: Reached target shutdown.target - Shutdown.
systemd[8083]: Finished systemd-exit.service - Exit the Session.
systemd[8083]: Reached target exit.target - Exit the Session.
(sd-pam)[8087]: pam_unix(systemd-user:session): session closed for user daughter
systemd[1]: [email protected]: Deactivated successfully.
systemd[1]: Stopped [email protected] - User Manager for UID 1001.
systemd[1]: [email protected]: Consumed 1.010s CPU time.
systemd[1]: Stopping [email protected] - User Runtime Directory /run/user/1001...
systemd[1]: run-user-1001.mount: Deactivated successfully.
systemd[1]: [email protected]: Deactivated successfully.
systemd[1]: Stopped [email protected] - User Runtime Directory /run/user/1001.
systemd[1]: Removed slice user-1001.slice - User Slice of UID 1001.
systemd[1]: user-1001.slice: Consumed 1.152s CPU time.
На всякий случай:
$ inxi -Gaz
Graphics:
Device-1: NVIDIA GK107GLM [Quadro K1000M] vendor: Hewlett-Packard driver: nouveau v: kernel
alternate: nvidiafb non-free: series: 470.xx+ status: legacy-active (EOL~2024-09-xx)
arch: Kepler code: GKxxx process: TSMC 28nm built: 2012-2018 pcie: gen: 1 speed: 2.5 GT/s
lanes: 16 link-max: gen: 3 speed: 8 GT/s ports: active: LVDS-1 empty: DP-1, DP-2, DP-3,
VGA-1, eDP-1 bus-ID: 01:00.0 chip-ID: 10de:0ffc class-ID: 0300 temp: 46.0 C
Display: server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.6 compositor: gnome-shell v: 46.0
driver: gpu: nouveau tty: 256x64
Monitor-1: LVDS-1 model: LG Display 0x0259 built: 2011 res: 1920x1080 dpi: 141 gamma: 1.2
size: 345x194mm (13.58x7.64") diag: 396mm (15.6") ratio: 16:9 modes: max: 1920x1080 min: 640x350
API: EGL v: 1.5 platforms: device: 1 drv: swrast surfaceless: drv: swrast
inactive: gbm,wayland,x11,device-0
API: OpenGL v: 4.5 vendor: mesa v: 24.0.9-0ubuntu0.3 note: console (EGL sourced)
renderer: llvmpipe (LLVM 17.0.6 256 bits)
$HOME/.config/user-dirs.dirs
:
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run.
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Schreibtisch"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Vorlagen"
XDG_PUBLICSHARE_DIR="$HOME/Öffentlich"
XDG_DOCUMENTS_DIR="$HOME/Dokumente"
XDG_MUSIC_DIR="$HOME/Musik"
XDG_PICTURES_DIR="$HOME/Bilder"
XDG_VIDEOS_DIR="$HOME/Videos"
и $HOME/.config/user-dirs.locale
:
de_DE
В контексте пользовательской учетной записи (но из терминала):
XDG_DATA_DIRS=/usr/share/gnome:/usr/share/edubuntu/:
(видимо, из /etc/profile.d/edubuntu.sh
)
но для моего обычного пользователя:
XDG_DATA_DIRS=/usr/share/gnome:/usr/local/share/:/usr/share/
(видимо, из /etc/X11/Xsession.d/55gnome-session_gnomerc
)
Ответ или решение
Понимание причины проблемы с неудачной авторизацией пользователя на Edubuntu 24.04 может быть сложной задачей, но давайте разберем шаг за шагом, что может быть не так и как это можно исправить.
Описание проблемы
Вы столкнулись с проблемой, когда ваш дочерний пользователь, созданный после установки Edubuntu 24.04, не может войти в систему, возвращаясь к экрану входа, несмотря на корректный ввод пароля. Примечательно, что "администраторский" пользователь (uid=1000) может войти без проблем. В выводе journalctl
, который вы предоставили, ясно указано, что основной проблемой является ошибка GLib-GIO-ERROR: No GSettings schemas are installed on the system
.
Причина
Основная причина этой ошибки заключается в отсутствии схем GSettings. Это может быть связано с изменениями, которые были внесены после установки системы, включая удаление snap-пакетов и snapd. Некоторые критические компоненты, которые снап пакеты предоставляют, возможно, были также удалены, что повлияло на функционирование GNOME.
Решение
Шаг 1: Установите недостающие зависимости
-
Проверьте и установите недостающие пакеты GSettings:
Откройте терминал с правами sudoer и введите следующие команды:sudo apt update sudo apt install gnome-shell-common
-
Проверьте установку
glib2.0
:
Убедитесь, что все необходимые библиотеки установлены:sudo apt install --reinstall glib2.0
Шаг 2: Проверьте переменные окружения
- Обновите переменные окружения XDG:
Убедитесь, что переменные окруженияXDG_DATA_DIRS
включают все необходимые пути. Попробуйте добавить/usr/local/share:/usr/share
в конфигурационный файл для дефолтного пользователя:echo 'export XDG_DATA_DIRS="/usr/share/gnome:/usr/share/edubuntu:/usr/local/share:/usr/share"' | sudo tee -a /etc/profile.d/user_dirs.sh
Это поможет системе находить все необходимые данные для корректного запуска GNOME.
Шаг 3: Проверка и восстановление сессий
- Проверьте корректность файлов конфигурации Xsession:
Убедитесь, что все строки в/etc/X11/Xsession.d/
корректны и не содержат ошибок. Возможно, стоит переустановить некоторые из этих пакетов.
Шаг 4: Перезагрузка и тестирование
После внесения изменений, обязательно перезагрузите систему и попробуйте повторно войти в учетную запись дочери.
Дополнительные шаги
Если ни один из предложенных выше методов не работал, попробуйте следующее:
-
Создание нового пользователя:
Создайте еще одного тестового пользователя через терминал и проверьте, сохраняется ли проблема. -
Просмотр логов:
Если проблема сохраняется, соберите новые логи черезjournalctl
и изучите их для более детального анализа.
Заключение
Проблемы с авторизацией в GNOME часто связаны с отсутствием правильных конфигураций или удалением критически важных компонентов. Следуя этим шагам, вы сможете устранить проблему и обеспечите стабильную работу системы Edubuntu 24.04. Если проблема продолжает существовать, возможно, придется рассмотреть более радикальные меры, такие как восстановление системы из резервной копии или анализ на уровне железа.