LINUX.ORG.RU

Ответ на: комментарий от intelfx

При загрузке системы, когда должен появиться рабочий стол с Debian 11, появляется ошибка «Не удалось присоединиться к серверу настроек. dbus-launch (нет такого файла или каталога)» Если делаю iptables с «ALL ACCEPT», Debian 11 нормально запускается, без этой ошибки. Если установить dbus-x11 запускается с «ALL DROP», но пропадает pulseaudio.

weop ()
Ответ на: комментарий от weop

Кажется, у тебя в системе что-то фундаментально сломано и проблемы с дбасом тут сугубо побочный эффект.

Без логов и точного сообщения об ошибке я вряд ли тебе чем-то помогу. Может быть, придёт кто-то, кто лучше разбирается именно в Debian.

intelfx ★★★★★ ()
Ответ на: комментарий от intelfx

Ошибка, например, при старте системы, сразу после того как в lightdm происходит автологин и должен показаться рабочий стол, 2 минуты никакой реакции. Ниже несколько логов как раз за эти 2 минуты.

/var/log/syslog

Aug 20 20:49:13 debian systemd[1]: Failed to start User Manager for UID 1000.
Aug 20 20:49:13 debian systemd[1]: Started Session 1 of user user.
Aug 20 20:49:13 debian dbus-daemon[512]: [session uid=1000 pid=510] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=507 comm="dbus-update-activation-environment --verbose --sys")
Aug 20 20:49:13 debian dbus-daemon[512]: [session uid=1000 pid=510] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 20 20:49:14 debian dbus-daemon[543]: [session uid=1000 pid=541] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=544 comm="dbus-update-activation-environment --verbose --sys")
Aug 20 20:49:14 debian dbus-daemon[543]: [session uid=1000 pid=541] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 20 20:49:14 debian dbus-daemon[543]: [session uid=1000 pid=541] Activating service name='org.freedesktop.systemd1' requested by ':1.1' (uid=1000 pid=552 comm="dbus-update-activation-environment --verbose --sys")
Aug 20 20:49:14 debian dbus-daemon[543]: [session uid=1000 pid=541] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 20 20:51:23 debian dbus-daemon[543]: [session uid=1000 pid=541] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=1000 pid=560 comm="dbus-update-activation-environment --verbose --sys")
Aug 20 20:51:23 debian dbus-daemon[543]: [session uid=1000 pid=541] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 20 20:51:23 debian dbus-daemon[543]: [session uid=1000 pid=541] Activating service name='org.freedesktop.systemd1' requested by ':1.3' (uid=1000 pid=571 comm="systemctl --user list-jobs ")
Aug 20 20:51:23 debian dbus-daemon[543]: [session uid=1000 pid=541] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 20 20:51:24 debian dbus-daemon[543]: [session uid=1000 pid=541] Activating service name='org.a11y.Bus' requested by ':1.4' (uid=1000 pid=497 comm="xfce4-session ")
Aug 20 20:51:24 debian dbus-daemon[543]: [session uid=1000 pid=541] Successfully activated service 'org.a11y.Bus'
Aug 20 20:51:24 debian dbus-daemon[543]: [session uid=1000 pid=541] Activating service name='org.xfce.Xfconf' requested by ':1.6' (uid=1000 pid=497 comm="xfce4-session ")
Aug 20 20:51:24 debian dbus-daemon[543]: [session uid=1000 pid=541] Successfully activated service 'org.xfce.Xfconf'
Aug 20 20:51:24 debian org.a11y.Bus[588]: dbus-daemon[588]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=497 comm="xfce4-session ")
Aug 20 20:51:24 debian org.a11y.Bus[588]: dbus-daemon[588]: Successfully activated service 'org.a11y.atspi.Registry'
Aug 20 20:51:24 debian org.a11y.Bus[597]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Aug 20 20:51:24 debian dbus-daemon[543]: [session uid=1000 pid=541] Activating service name='org.gtk.vfs.Daemon' requested by ':1.9' (uid=1000 pid=607 comm="xfwm4 --display :0.0 --sm-client-id 270697564-6076")
Aug 20 20:51:24 debian dbus-daemon[543]: [session uid=1000 pid=541] Successfully activated service 'org.gtk.vfs.Daemon'

/var/log/messages

Aug 20 20:47:37 debian udisksd[332]: Failed to load the 'mdraid' libblockdev plugin
Aug 20 20:47:38 debian lightdm[429]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Aug 20 20:47:38 debian udisksd[332]: Acquired the name org.freedesktop.UDisks2 on the system message bus
Aug 20 20:47:43 debian lightdm[478]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Aug 20 20:51:24 debian org.a11y.Bus[588]: dbus-daemon[588]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=497 comm="xfce4-session ")
Aug 20 20:51:24 debian org.a11y.Bus[588]: dbus-daemon[588]: Successfully activated service 'org.a11y.atspi.Registry'
Aug 20 20:51:24 debian org.a11y.Bus[597]: SpiRegistry daemon is running with well-known name - org.a11y.atspi.Registry
Aug 20 20:51:30 debian org.freedesktop.thumbnails.Thumbnailer1[731]: r300: driver missing
Aug 20 20:51:31 debian org.freedesktop.thumbnails.Thumbnailer1[665]: Registered thumbnailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o
Aug 20 20:51:31 debian org.freedesktop.thumbnails.Thumbnailer1[665]: Registered thumbnailer atril-thumbnailer -s %s %u %o
Aug 20 20:51:31 debian org.freedesktop.thumbnails.Thumbnailer1[665]: Registered thumbnailer /usr/bin/gdk-pixbuf-thumbnailer -s %s %u %o

/var/log/auth.log

Aug 20 20:47:43 debian lightdm: pam_unix(lightdm-autologin:session): session opened for user user(uid=1000) by (uid=0)
Aug 20 20:47:43 debian systemd-logind[331]: New session 1 of user user.
Aug 20 20:47:43 debian systemd: pam_unix(systemd-user:session): session opened for user user(uid=1000) by (uid=0)
Aug 20 20:51:27 debian gnome-keyring-daemon[681]: couldn't access control socket: /run/user/1000/keyring/control: Нет такого файла или каталога
Aug 20 20:51:27 debian gnome-keyring-daemon[682]: couldn't access control socket: /run/user/1000/keyring/control: Нет такого файла или каталога
Aug 20 20:51:28 debian polkitd(authority=local): Registered Authentication Agent for unix-session:1 (system bus name :1.21 [/usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale ru_RU.UTF-8)
Aug 20 20:51:37 debian su: (to root) user on pts/0
Aug 20 20:51:37 debian su: pam_unix(su:session): session opened for user root(uid=0) by (uid=1000)

weop ()
Ответ на: комментарий от weop

Aug 20 20:49:13 debian systemd[1]: Failed to start User Manager for UID 1000.

Ну ты молодец, привёл все логи кроме тех, что нужны. Выше этой строчки что?

intelfx ★★★★★ ()
Последнее исправление: intelfx (всего исправлений: 1)
Ответ на: комментарий от intelfx
Aug 20 23:17:09 debian systemd[1]: Finished Raise network interfaces.
Aug 20 23:17:09 debian systemd[1]: Reached target Network.
Aug 20 23:17:09 debian systemd[1]: Reached target Network is Online.
Aug 20 23:17:09 debian systemd[1]: Starting LSB: disk temperature monitoring daemon...
Aug 20 23:17:09 debian systemd[1]: Starting Permit User Sessions...
Aug 20 23:17:09 debian systemd[1]: Finished Permit User Sessions.
Aug 20 23:17:09 debian systemd[1]: Starting Light Display Manager...
Aug 20 23:17:09 debian systemd[1]: Starting Hold until boot process finishes up...
Aug 20 23:17:09 debian udisksd[378]: udisks daemon version 2.9.2 starting
Aug 20 23:17:10 debian systemd[1]: Started LSB: disk temperature monitoring daemon.
Aug 20 23:17:10 debian systemd[1]: Started User Login Management.
Aug 20 23:17:10 debian dbus-daemon[372]: [system] Successfully activated service 'org.freedesktop.systemd1'
Aug 20 23:17:10 debian lightdm[406]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Aug 20 23:17:10 debian systemd[1]: Received SIGRTMIN+21 from PID 151 (plymouthd).
Aug 20 23:17:10 debian systemd[1]: Received SIGRTMIN+21 from PID 151 (plymouthd).
Aug 20 23:17:10 debian systemd[1]: Finished Hold until boot process finishes up.
Aug 20 23:17:10 debian systemd[1]: Started Getty on tty1.
Aug 20 23:17:10 debian systemd[1]: Reached target Login Prompts.
Aug 20 23:17:10 debian systemd[1]: Reached target Multi-User System.
Aug 20 23:17:10 debian systemd[1]: Started Light Display Manager.
Aug 20 23:17:10 debian udisksd[378]: failed to load module mdraid: libbd_mdraid.so.2: cannot open shared object file: No such file or directory
Aug 20 23:17:10 debian udisksd[378]: Failed to load the 'mdraid' libblockdev plugin
Aug 20 23:17:10 debian dbus-daemon[372]: [system] Activating via systemd: service name='org.freedesktop.PolicyKit1' unit='polkit.service' requested by ':1.3' (uid=0 pid=378 comm="/usr/libexec/udisks2/udisksd ")
Aug 20 23:17:10 debian systemd[1]: Starting Authorization Manager...
Aug 20 23:17:10 debian polkitd[424]: started daemon version 0.105 using authority implementation `local' version `0.105'
Aug 20 23:17:10 debian dbus-daemon[372]: [system] Successfully activated service 'org.freedesktop.PolicyKit1'
Aug 20 23:17:10 debian systemd[1]: Started Authorization Manager.
Aug 20 23:17:10 debian systemd[1]: Started Disk Manager.
Aug 20 23:17:10 debian systemd[1]: Reached target Graphical Interface.
Aug 20 23:17:10 debian udisksd[378]: Acquired the name org.freedesktop.UDisks2 on the system message bus
Aug 20 23:17:10 debian systemd[1]: Starting Update UTMP about System Runlevel Changes...
Aug 20 23:17:10 debian systemd[1]: systemd-update-utmp-runlevel.service: Succeeded.
Aug 20 23:17:10 debian systemd[1]: Finished Update UTMP about System Runlevel Changes.
Aug 20 23:17:10 debian systemd[1]: Startup finished in 5.421s (kernel) + 7.541s (userspace) = 12.963s.
Aug 20 23:17:14 debian lightdm[450]: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
Aug 20 23:17:14 debian systemd[1]: Created slice User Slice of UID 1000.
Aug 20 23:17:14 debian systemd[1]: Starting User Runtime Directory /run/user/1000...
Aug 20 23:17:14 debian systemd[1]: Finished User Runtime Directory /run/user/1000.
Aug 20 23:17:14 debian systemd[1]: Starting User Manager for UID 1000...
Aug 20 23:17:14 debian systemd[460]: gpgconf: ошибка выполнения '/usr/lib/gnupg/scdaemon': возможно, не установлен
Aug 20 23:18:44 debian systemd[1]: user@1000.service: Main process exited, code=exited, status=1/FAILURE
Aug 20 23:18:44 debian systemd[1]: user@1000.service: Killing process 460 (gpgconf) with signal SIGKILL.
Aug 20 23:18:44 debian systemd[1]: user@1000.service: Killing process 461 (awk) with signal SIGKILL.
Aug 20 23:18:44 debian systemd[1]: user@1000.service: Killing process 466 (dirmngr) with signal SIGKILL.
Aug 20 23:18:44 debian systemd[1]: user@1000.service: Killing process 460 (gpgconf) with signal SIGKILL.
Aug 20 23:18:44 debian systemd[1]: user@1000.service: Killing process 461 (awk) with signal SIGKILL.
Aug 20 23:18:44 debian systemd[1]: user@1000.service: Killing process 466 (dirmngr) with signal SIGKILL.
Aug 20 23:18:44 debian systemd[1]: user@1000.service: Failed with result 'exit-code'.
Aug 20 23:18:44 debian systemd[1]: user@1000.service: Unit process 460 (gpgconf) remains running after unit stopped.
Aug 20 23:18:44 debian systemd[1]: user@1000.service: Unit process 461 (awk) remains running after unit stopped.
Aug 20 23:18:44 debian systemd[1]: user@1000.service: Unit process 466 (dirmngr) remains running after unit stopped.
Aug 20 23:18:44 debian systemd[1]: Failed to start User Manager for UID 1000.
Aug 20 23:18:44 debian systemd[1]: Started Session 1 of user user.
Aug 20 23:18:44 debian dbus-daemon[482]: [session uid=1000 pid=480] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=477 comm="dbus-update-activation-environment --verbose --sys")
Aug 20 23:18:44 debian dbus-daemon[482]: [session uid=1000 pid=480] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 20 23:18:44 debian dbus-daemon[513]: [session uid=1000 pid=511] Activating service name='org.freedesktop.systemd1' requested by ':1.0' (uid=1000 pid=514 comm="dbus-update-activation-environment --verbose --sys")
Aug 20 23:18:44 debian dbus-daemon[513]: [session uid=1000 pid=511] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 20 23:18:44 debian dbus-daemon[513]: [session uid=1000 pid=511] Activating service name='org.freedesktop.systemd1' requested by ':1.1' (uid=1000 pid=522 comm="dbus-update-activation-environment --verbose --sys")
Aug 20 23:18:44 debian dbus-daemon[513]: [session uid=1000 pid=511] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 20 23:20:54 debian dbus-daemon[513]: [session uid=1000 pid=511] Activating service name='org.freedesktop.systemd1' requested by ':1.2' (uid=1000 pid=530 comm="dbus-update-activation-environment --verbose --sys")
Aug 20 23:20:54 debian dbus-daemon[513]: [session uid=1000 pid=511] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 20 23:20:54 debian dbus-daemon[513]: [session uid=1000 pid=511] Activating service name='org.freedesktop.systemd1' requested by ':1.3' (uid=1000 pid=541 comm="systemctl --user list-jobs ")
Aug 20 23:20:54 debian dbus-daemon[513]: [session uid=1000 pid=511] Activated service 'org.freedesktop.systemd1' failed: Process org.freedesktop.systemd1 exited with status 1
Aug 20 23:20:55 debian dbus-daemon[513]: [session uid=1000 pid=511] Activating service name='org.a11y.Bus' requested by ':1.4' (uid=1000 pid=467 comm="xfce4-session ")
Aug 20 23:20:55 debian dbus-daemon[513]: [session uid=1000 pid=511] Successfully activated service 'org.a11y.Bus'
Aug 20 23:20:55 debian dbus-daemon[513]: [session uid=1000 pid=511] Activating service name='org.xfce.Xfconf' requested by ':1.6' (uid=1000 pid=467 comm="xfce4-session ")
Aug 20 23:20:55 debian dbus-daemon[513]: [session uid=1000 pid=511] Successfully activated service 'org.xfce.Xfconf'
Aug 20 23:20:55 debian org.a11y.Bus[558]: dbus-daemon[558]: Activating service name='org.a11y.atspi.Registry' requested by ':1.0' (uid=1000 pid=467 comm="xfce4-session ")
Aug 20 23:20:55 debian org.a11y.Bus[558]: dbus-daemon[558]: Successfully activated service 'org.a11y.atspi.Registry'
weop ()