Kvm installation ubuntu24.04 desktop operation settings are automatically logged out. Which log files should be viewed

host: Ubuntu budgie24.04.02 ( * The host has 32GB of memory and 18 cores of cpu) + virtual Machine Manager 4.1.0

ubuntu@host:~$ free -h
               total        used        free      shared  buff/cache   available
Mem:          30Gi        11Gi        15Gi       5.6Gi        10Gi        19Gi
Swap:         8.0Gi          0B       8.0Gi

virtual host: ubuntu budgie 24.04.2 VM Configuration: 8 GB memory, cpu 4 cores

ubuntu@vm:~/Desktop$ free -h
               total        used        free      shared  buff/cache   available
Mem:           7.7Gi       1.3Gi       3.4Gi        46Mi       3.3Gi       6.4Gi
Swap:          4.0Gi          0B       4.0Gi

  • Operating desktop setting and other interfaces, often automatically log out, which diary files need to be viewed.
ubuntu@vm:/var/log$ tail -f kern.log
2025-03-13T10:20:53.224556+08:00 code kernel: audit: type=1400 audit(1741832453.221:173): apparmor="DENIED" operation="capable" class="cap" profile="unprivileged_userns" pid=16822 comm="bwrap" capability=8  capname="setpcap"
2025-03-13T10:20:53.224570+08:00 code kernel: audit: type=1400 audit(1741832453.221:174): apparmor="DENIED" operation="capable" class="cap" profile="unprivileged_userns" pid=16822 comm="bwrap" capability=12  capname="net_admin"
2025-03-13T10:37:05.519123+08:00 code kernel: rfkill: input handler enabled
2025-03-13T10:37:07.624845+08:00 code kernel: audit: type=1400 audit(1741833427.623:175): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/23545/usr/lib/snapd/snap-confine" pid=17380 comm="snap-confine" capability=12  capname="net_admin"
2025-03-13T10:37:07.624868+08:00 code kernel: audit: type=1400 audit(1741833427.623:176): apparmor="DENIED" operation="capable" class="cap" profile="/snap/snapd/23545/usr/lib/snapd/snap-confine" pid=17380 comm="snap-confine" capability=38  capname="perfmon"
2025-03-13T10:37:20.827028+08:00 code kernel: rfkill: input handler disabled
2025-03-13T10:37:21.206833+08:00 code kernel: input: spice vdagent tablet as /devices/virtual/input/input21
2025-03-13T10:37:21.260831+08:00 code kernel: input: spice vdagent tablet as /devices/virtual/input/input22
2025-03-13T10:37:21.301938+08:00 code kernel: audit: type=1326 audit(1741833441.299:177): auid=1000 uid=1000 gid=1000 ses=9 subj=snap.snapd-desktop-integration.snapd-desktop-integration pid=18244 comm="snapd-desktop-i" exe="/snap/snapd-desktop-integration/253/usr/bin/snapd-desktop-integration" sig=0 arch=c000003e syscall=203 compat=0 ip=0x77d4a372c531 code=0x50000
2025-03-13T10:37:21.301951+08:00 code kernel: audit: type=1326 audit(1741833441.299:178): auid=1000 uid=1000 gid=1000 ses=9 subj=snap.snapd-desktop-integration.snapd-desktop-integration pid=18244 comm="snapd-desktop-i" exe="/snap/snapd-desktop-integration/253/usr/bin/snapd-desktop-integration" sig=0 arch=c000003e syscall=141 compat=0 ip=0x77d4a37ab78b code=0x50000


ubuntu@vm:/var/log$ tail syslog
2025-03-13T10:38:35.590330+08:00 code systemd[1]: session-c14.scope: Killing process 17176 (gsd-rfkill) with signal SIGKILL.
2025-03-13T10:38:35.590358+08:00 code systemd[1]: session-c14.scope: Killing process 17184 (gsd-smartcard) with signal SIGKILL.
2025-03-13T10:38:35.590374+08:00 code systemd[1]: session-c14.scope: Failed to kill control group /user.slice/user-1000.slice/session-c14.scope, ignoring: Invalid argument
2025-03-13T10:38:35.590392+08:00 code systemd[1]: session-c14.scope: Failed with result 'timeout'.
2025-03-13T10:38:35.590410+08:00 code systemd[1]: Stopped session-c14.scope - Session c14 of User ubuntu.
2025-03-13T10:38:35.590438+08:00 code systemd[1]: session-c14.scope: Consumed 1min 49.864s CPU time, 933.6M memory peak, 0B memory swap peak.
2025-03-13T10:38:39.443262+08:00 code budgie-wm[18116]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x5f0f49719660] is on because it needs an allocation.
2025-03-13T10:38:39.443562+08:00 code budgie-wm[18116]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x5f0f4b95b160] is on because it needs an allocation.
2025-03-13T10:38:39.649887+08:00 code budgie-wm[18116]: Can't update stage views actor <unnamed>[<MetaWindowActorX11>:0x5f0f49719660] is on because it needs an allocation.
2025-03-13T10:38:39.650126+08:00 code budgie-wm[18116]: Can't update stage views actor <unnamed>[<MetaSurfaceActorX11>:0x5f0f4b95b160] is on because it needs an allocation.
ubuntu@vm:/var/log$ 
ubuntu@vm:/var/log$ cat syslog | grep error
2025-03-13T09:54:45.439297+08:00 code budgie-session[1629]: MESA: error: ZINK: failed to choose pdev
2025-03-13T09:54:45.814030+08:00 code budgie-wm[1874]: Impossible to set scaling on crtc 62 to 1.000000, error id 2
2025-03-13T10:17:18.833753+08:00 code plank.desktop[8324]: #033[91m[CRITICAL 10:09:56.857706]#033[0m [GLib] g_error_free: assertion 'error != NULL' failed
2025-03-13T10:17:18.833788+08:00 code plank.desktop[8324]: #033[91m[CRITICAL 10:09:56.864409]#033[0m [GLib] g_error_free: assertion 'error != NULL' failed

2025-03-13T10:17:46.102682+08:00 code budgie-wm[11839]: Impossible to set scaling on crtc 62 to 1.000000, error id 2
2025-03-13T10:17:46.244657+08:00 code spice-vdagent[11842]:    error message: Cannot invoke method; proxy is for the well-known name org.gnome.Mutter.DisplayConfig without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
2025-03-13T10:17:46.470915+08:00 code rtkit-daemon[1165]: Failed to look up client: Input/output error
2025-03-13T10:19:57.452571+08:00 code google-chrome.desktop[16300]: [16341:16341:0313/101957.452139:ERROR:viz_main_impl.cc(181)] Exiting GPU process due to errors during initialization
2025-03-13T10:19:57.979790+08:00 code google-chrome.desktop[16300]: [16466:16466:0313/101957.979079:ERROR:viz_main_impl.cc(181)] Exiting GPU process due to errors during initialization
2025-03-13T10:19:58.316276+08:00 code google-chrome.desktop[16300]: [16344:16355:0313/101958.316084:ERROR:ssl_client_socket_impl.cc(878)] handshake failed; returned -1, SSL error code 1, net_error -101
2025-03-13T10:20:03.386164+08:00 code google-chrome.desktop[16524]: [16563:16563:0313/102003.385615:ERROR:viz_main_impl.cc(181)] Exiting GPU process due to errors during initialization
2025-03-13T10:20:03.806621+08:00 code google-chrome.desktop[16524]: [16670:16670:0313/102003.806358:ERROR:viz_main_impl.cc(181)] Exiting GPU process due to errors during initialization
2025-03-13T10:20:03.836021+08:00 code google-chrome.desktop[16524]: [16566:16571:0313/102003.832474:ERROR:ssl_client_socket_impl.cc(878)] handshake failed; returned -1, SSL error code 1, net_error -101
2025-03-13T10:20:04.158956+08:00 code google-chrome.desktop[16524]: [16566:16571:0313/102004.156697:ERROR:ssl_client_socket_impl.cc(878)] handshake failed; returned -1, SSL error code 1, net_error -101
2025-03-13T10:20:05.362161+08:00 code google-chrome.desktop[16524]: [16566:16571:0313/102005.361741:ERROR:ssl_client_socket_impl.cc(878)] handshake failed; returned -1, SSL error code 1, net_error -101
2025-03-13T10:37:03.284042+08:00 code budgie-wm[11839]: Impossible to set scaling on crtc 62 to 1.000000, error id 2
2025-03-13T10:37:04.991937+08:00 code budgie-wm[11839]: Impossible to set scaling on crtc 62 to 1.000000, error id 2
2025-03-13T10:37:20.789749+08:00 code budgie-session[17883]: MESA: error: ZINK: failed to choose pdev
2025-03-13T10:37:21.059888+08:00 code budgie-wm[18116]: Impossible to set scaling on crtc 62 to 1.000000, error id 2
2025-03-13T10:37:21.203102+08:00 code spice-vdagent[18119]:    error message: Cannot invoke method; proxy is for the well-known name org.gnome.Mutter.DisplayConfig without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag
ubuntu@vm:/var/log$ 
ubuntu@vm:/var/log$ cat kern.log | grep error
ubuntu@vm:/var/log$ 
ubuntu@vm:/var/log$ sudo dmesg | grep error

ubuntu@vm:/var/log$ pstree
systemd─┬─ModemManager───3*[{ModemManager}]
        ├─NetworkManager───3*[{NetworkManager}]
        ├─accounts-daemon───3*[{accounts-daemon}]
        ├─agetty
        ├─avahi-daemon───avahi-daemon
        ├─boltd───3*[{boltd}]
        ├─colord───3*[{colord}]
        ├─cron
        ├─cups-browsed───3*[{cups-browsed}]
        ├─cupsd
        ├─dbus-daemon
        ├─fwupd───5*[{fwupd}]
        ├─gsd-printer───3*[{gsd-printer}]
        ├─ibus-daemon─┬─ibus-dconf───4*[{ibus-dconf}]
        │             ├─ibus-engine-rim───3*[{ibus-engine-rim}]
        │             ├─ibus-engine-sim───3*[{ibus-engine-sim}]
        │             ├─ibus-extension-───4*[{ibus-extension-}]
        │             ├─ibus-ui-gtk3───5*[{ibus-ui-gtk3}]
        │             └─3*[{ibus-daemon}]
        ├─ibus-x11───4*[{ibus-x11}]
        ├─2*[kerneloops]
        ├─lightdm─┬─Xorg───{Xorg}
        │         ├─lightdm─┬─budgie-session-─┬─ayatana-indicat───3*[{ayatana-indicat}]
        │         │         │                 ├─budgie-daemon───5*[{budgie-daemon}]
        │         │         │                 ├─budgie-extras-d───4*[{budgie-extras-d}]
        │         │         │                 ├─budgie-panel─┬─dropover───4*[{dropover}]
        │         │         │                 │              └─5*[{budgie-panel}]
        │         │         │                 ├─budgie-polkit-d───4*[{budgie-polkit-d}]
        │         │         │                 ├─budgie-power-di───4*[{budgie-power-di}]
        │         │         │                 ├─budgie-wm───13*[{budgie-wm}]
        │         │         │                 ├─dragsnap───4*[{dragsnap}]
        │         │         │                 ├─gnome-screensav───4*[{gnome-screensav}]
        │         │         │                 ├─gsd-a11y-settin───4*[{gsd-a11y-settin}]
        │         │         │                 ├─gsd-color───4*[{gsd-color}]
        │         │         │                 ├─gsd-datetime───4*[{gsd-datetime}]
        │         │         │                 ├─gsd-disk-utilit───3*[{gsd-disk-utilit}]
        │         │         │                 ├─gsd-housekeepin───4*[{gsd-housekeepin}]
        │         │         │                 ├─gsd-keyboard───4*[{gsd-keyboard}]
        │         │         │                 ├─gsd-media-keys───4*[{gsd-media-keys}]
        │         │         │                 ├─gsd-power───4*[{gsd-power}]
        │         │         │                 ├─gsd-print-notif───3*[{gsd-print-notif}]
        │         │         │                 ├─gsd-rfkill───3*[{gsd-rfkill}]
        │         │         │                 ├─gsd-screensaver───3*[{gsd-screensaver}]
        │         │         │                 ├─gsd-sharing───4*[{gsd-sharing}]
        │         │         │                 ├─gsd-smartcard───4*[{gsd-smartcard}]
        │         │         │                 ├─gsd-sound───4*[{gsd-sound}]
        │         │         │                 ├─gsd-usb-protect───4*[{gsd-usb-protect}]
        │         │         │                 ├─gsd-wacom───4*[{gsd-wacom}]
        │         │         │                 ├─gsd-wwan───4*[{gsd-wwan}]
        │         │         │                 ├─gsd-xsettings───4*[{gsd-xsettings}]
        │         │         │                 ├─nemo-desktop───5*[{nemo-desktop}]
        │         │         │                 ├─nm-applet───4*[{nm-applet}]
        │         │         │                 ├─org.buddiesofbu───4*[{org.buddiesofbu}]
        │         │         │                 ├─plank───4*[{plank}]
        │         │         │                 ├─update-notifier───5*[{update-notifier}]
        │         │         │                 ├─windowshufflerd───4*[{windowshufflerd}]
        │         │         │                 └─4*[{budgie-session-}]
        │         │         └─3*[{lightdm}]
        │         └─3*[{lightdm}]
        ├─polkitd───3*[{polkitd}]
        ├─power-profiles-───3*[{power-profiles-}]
        ├─rsyslogd───3*[{rsyslogd}]
        ├─rtkit-daemon───2*[{rtkit-daemon}]
        ├─showtime_deskto───6*[{showtime_deskto}]
        ├─snapd───9*[{snapd}]
        ├─spice-vdagent───4*[{spice-vdagent}]
        ├─spice-vdagentd───2*[{spice-vdagentd}]
        ├─switcheroo-cont───3*[{switcheroo-cont}]
        ├─systemd─┬─(sd-pam)
        │         ├─at-spi-bus-laun─┬─dbus-daemon
        │         │                 └─4*[{at-spi-bus-laun}]
        │         ├─at-spi2-registr───3*[{at-spi2-registr}]
        │         ├─bamfdaemon───5*[{bamfdaemon}]
        │         ├─dbus-daemon
        │         ├─dconf-service───3*[{dconf-service}]
        │         ├─gnome-keyring-d───4*[{gnome-keyring-d}]
        │         ├─gvfs-afc-volume───4*[{gvfs-afc-volume}]
        │         ├─gvfs-goa-volume───3*[{gvfs-goa-volume}]
        │         ├─gvfs-gphoto2-vo───3*[{gvfs-gphoto2-vo}]
        │         ├─gvfs-mtp-volume───3*[{gvfs-mtp-volume}]
        │         ├─gvfs-udisks2-vo───4*[{gvfs-udisks2-vo}]
        │         ├─gvfsd─┬─gvfsd-dnssd───3*[{gvfsd-dnssd}]
        │         │       ├─gvfsd-network───4*[{gvfsd-network}]
        │         │       ├─gvfsd-smb───4*[{gvfsd-smb}]
        │         │       ├─gvfsd-smb-brows───4*[{gvfsd-smb-brows}]
        │         │       ├─gvfsd-trash───4*[{gvfsd-trash}]
        │         │       └─3*[{gvfsd}]
        │         ├─gvfsd-fuse───6*[{gvfsd-fuse}]
        │         ├─gvfsd-metadata───3*[{gvfsd-metadata}]
        │         ├─ibus-portal───3*[{ibus-portal}]
        │         ├─obexd
        │         ├─2*[pipewire───2*[{pipewire}]]
        │         ├─pipewire-pulse───2*[{pipewire-pulse}]
        │         ├─snapd-desktop-i───snapd-desktop-i───12*[{snapd-desktop-i}]
        │         ├─wireplumber───5*[{wireplumber}]
        │         ├─xdg-desktop-por───5*[{xdg-desktop-por}]
        │         ├─xdg-document-po─┬─fusermount3
        │         │                 └─6*[{xdg-document-po}]
        │         └─xdg-permission-───3*[{xdg-permission-}]
        ├─systemd-journal
        ├─systemd-logind
        ├─systemd-resolve
        ├─systemd-timesyn───{systemd-timesyn}
        ├─systemd-udevd
        ├─tilix─┬─bash───pstree
        │       └─5*[{tilix}]
        ├─udisksd───5*[{udisksd}]
        ├─unattended-upgr───{unattended-upgr}
        ├─upowerd───3*[{upowerd}]
        ├─uuidd
        └─wpa_supplicant