You are not logged in.

#1 2018-01-27 12:44:40

Kimonas
Member
Registered: 2018-01-27
Posts: 5

[SOLVED] GNOME logs out when I mount/unmount a USB

The Issue:
When I mount or unmount a USB Gnome automatically logs me out. I can hear the sound of the plugged in USB but just then the log out happens. This also happens when I click the unmount button in nautilus to unmount the drive or even if I just unplug it.

What I did that might caused the issue:
1. I installed appmenu-gtk-module-git because I wanted to try out this.
2. I had installed cairo dock and wanted to uninstall it, but i thought that cairo package was part of it and i also unistalled it. But the system wasn't loading after that so I installed it back

Here's the journal output for the error when I plug in the USB:

Jan 24 23:17:04 arch gdm-password][699]: Running process: /etc/gdm/PostSession/Default
Jan 24 23:17:04 arch gdm-password][699]: Gdm: script environment: DISPLAY=(null)
Jan 24 23:17:04 arch gdm-password][699]: Gdm: script environment: HOME=/home/kimonas
Jan 24 23:17:04 arch gdm-password][699]: Gdm: script environment: RUNNING_UNDER_GDM=true
Jan 24 23:17:04 arch gdm-password][699]: Gdm: script environment: LOGNAME=kimonas
Jan 24 23:17:04 arch gdm-password][699]: Gdm: script environment: XAUTHORITY=(null)
Jan 24 23:17:04 arch gdm-password][699]: Gdm: script environment: USERNAME=kimonas
Jan 24 23:17:04 arch gdm-password][699]: Gdm: script environment: PWD=/home/kimonas
Jan 24 23:17:04 arch gdm-password][699]: Gdm: script environment: USER=kimonas
Jan 24 23:17:04 arch gdm-password][699]: Gdm: script environment: SHELL=/usr/bin/zsh
Jan 24 23:17:04 arch gdm-password][699]: Gdm: script environment: PATH=/usr/local/bin:/usr/local/sbin:/usr/bin
Jan 24 23:17:04 arch gdm-password][699]: Process exit status: 0
Jan 24 23:17:04 arch /usr/lib/gdm/gdm-wayland-session[477]: gnome-session-binary[488]: DEBUG(+): emitting SessionIsActive
Jan 24 23:17:04 arch gnome-session-binary[488]: DEBUG(+): emitting SessionIsActive
Jan 24 23:17:04 arch gdm[404]: GdmDisplay: finish display
Jan 24 23:17:04 arch gdm[404]: GdmSession: Closing session
Jan 24 23:17:04 arch gdm[404]: GdmSession: Stopping all conversations
Jan 24 23:17:04 arch gdm[404]: GdmSessionWorkerJob: Stopping job pid:699
Jan 24 23:17:04 arch gdm[404]: GdmCommon: sending signal 15 to process 699
Jan 24 23:17:04 arch gdm[404]: GdmSessionWorkerJob: Waiting on process 699
Jan 24 23:17:04 arch udisksd[896]: Mounted /dev/sdb1 at /run/media/kimonas/HyperX on behalf of uid 1000
Jan 24 23:17:04 arch gdm[404]: GdmCommon: process (pid:699) done (status:0)
Jan 24 23:17:04 arch gdm[404]: GdmSessionWorkerJob: SessionWorkerJob died
Jan 24 23:17:04 arch systemd[704]: pulseaudio.service: Service hold-off time over, scheduling restart.
Jan 24 23:17:04 arch systemd[704]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
Jan 24 23:17:04 arch systemd[704]: Stopped Sound Service.
Jan 24 23:17:04 arch systemd[704]: Starting Sound Service...
Jan 24 23:17:05 arch rtkit-daemon[536]: Successfully made thread 8340 of process 8340 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
Jan 24 23:17:05 arch rtkit-daemon[536]: Supervising 1 threads of 1 processes of 1 users.
Jan 24 23:17:05 arch pulseaudio[8340]: W: [pulseaudio] pid.c: Stale PID file, overwriting.
Jan 24 23:17:05 arch dbus-daemon[372]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.3236" (uid=1000 pid=8340 comm="/usr/bin/pulseaudio --daemonize=no ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=388 comm="/usr/lib/bluetooth/bluetoothd ")
Jan 24 23:17:05 arch systemd[704]: Started Sound Service.
Jan 24 23:17:05 arch pulseaudio[8340]: E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.3236" (uid=1000 pid=8340 comm="/usr/bin/pulseaudio --daemonize=no ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=388 comm="/usr/lib/bluetooth/bluetoothd ")
Jan 24 23:17:05 arch systemd[1]: Created slice system-systemd\x2dcoredump.slice.
Jan 24 23:17:05 arch systemd[1]: Started Process Core Dump (PID 8329/UID 0).
Jan 24 23:17:05 arch gdm-launch-environment][427]: AccountsService: ActUserManager: sending user-changed signal for user kimonas
Jan 24 23:17:05 arch gdm-launch-environment][427]: AccountsService: ActUserManager: sent user-changed signal for user kimonas
Jan 24 23:17:05 arch gdm-launch-environment][427]: AccountsService: ActUserManager: updating user kimonas
Jan 24 23:17:05 arch /usr/lib/gdm/gdm-wayland-session[477]: gnome-session-binary[488]: DEBUG(+): GsmPresence: setting idle: 0
Jan 24 23:17:05 arch gnome-session-binary[488]: DEBUG(+): GsmPresence: setting idle: 0
Jan 24 23:17:05 arch /usr/lib/gdm/gdm-wayland-session[477]: gnome-session-binary[488]: DEBUG(+): Updating systemd idle status: 0
Jan 24 23:17:05 arch /usr/lib/gdm/gdm-wayland-session[477]: gnome-session-binary[488]: DEBUG(+): GsmPresence: setting non-idle status 0
Jan 24 23:17:05 arch gnome-session-binary[488]: DEBUG(+): Updating systemd idle status: 0
Jan 24 23:17:05 arch gnome-session-binary[488]: DEBUG(+): GsmPresence: setting non-idle status 0
Jan 24 23:17:05 arch gdm[404]: GdmManager: trying to open new session
Jan 24 23:17:05 arch gdm[404]: GdmDBusServer: new connection 0x55c442946880
Jan 24 23:17:05 arch gdm[404]: GdmSession: Handling new connection from outside
Jan 24 23:17:05 arch gdm[404]: GdmManager: client connected
Jan 24 23:17:05 arch gdm[404]: GdmDisplay: Got timed login details for display: 0
Jan 24 23:17:05 arch at-spi-bus-launcher[821]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Jan 24 23:17:05 arch at-spi-bus-launcher[821]:       after 14009 requests (14009 known processed) with 0 events remaining.
Jan 24 23:17:05 arch systemd-logind[371]: Removed session c2.
Jan 24 23:17:05 arch /usr/lib/gdm/gdm-wayland-session[477]: gnome-session-binary[488]: DEBUG(+): GsmSystemd: received logind signal: SessionRemoved
Jan 24 23:17:05 arch gnome-session-binary[488]: DEBUG(+): GsmSystemd: received logind signal: SessionRemoved
Jan 24 23:17:05 arch /usr/lib/gdm/gdm-wayland-session[477]: gnome-session-binary[488]: DEBUG(+): GsmSystemd: ignoring SessionRemoved signal
Jan 24 23:17:05 arch gnome-session-binary[488]: DEBUG(+): GsmSystemd: ignoring SessionRemoved signal
Jan 24 23:17:05 arch systemd[1]: Stopping User Manager for UID 1000...
Jan 24 23:17:05 arch systemd[704]: Stopping Virtual filesystem service - GNOME Online Accounts monitor...
Jan 24 23:17:05 arch systemd[704]: Stopping Virtual filesystem service - digital camera monitor...
Jan 24 23:17:05 arch systemd[704]: Stopping sandboxed app permission store...
Jan 24 23:17:05 arch systemd[704]: Stopping Virtual filesystem service - disk device monitor...
Jan 24 23:17:05 arch systemd[704]: Stopping Evolution source registry...
Jan 24 23:17:05 arch systemd[704]: Stopped target Default.
Jan 24 23:17:05 arch systemd[704]: Stopping Accessibility services bus...
Jan 24 23:17:05 arch systemd[704]: Stopping Virtual filesystem service - Apple File Conduit monitor...
Jan 24 23:17:05 arch systemd[704]: Stopping Virtual filesystem service - Media Transfer Protocol monitor...
Jan 24 23:17:05 arch systemd[704]: Stopping Tracker metadata database store and lookup manager...
Jan 24 23:17:05 arch systemd[704]: Stopping Evolution address book service...
Jan 24 23:17:05 arch systemd[704]: Stopping D-Bus User Message Bus...
Jan 24 23:17:05 arch systemd[704]: Stopping Sound Service...
Jan 24 23:17:05 arch systemd[704]: Stopping Virtual filesystem metadata service...
Jan 24 23:17:05 arch systemd[704]: Stopping Evolution calendar service...
Jan 24 23:17:05 arch systemd[704]: Stopping Virtual filesystem service...
Jan 24 23:17:05 arch tracker-store[1079]: Received signal:15->'Terminated'
Jan 24 23:17:05 arch tracker-store[1079]: OK
Jan 24 23:17:05 arch systemd[704]: Stopped sandboxed app permission store.
Jan 24 23:17:05 arch systemd[704]: Stopped Virtual filesystem metadata service.
Jan 24 23:17:05 arch systemd[704]: Stopped Virtual filesystem service - disk device monitor.
Jan 24 23:17:05 arch systemd[704]: Stopped Virtual filesystem service - GNOME Online Accounts monitor.
Jan 24 23:17:05 arch systemd[704]: Stopped Virtual filesystem service - digital camera monitor.
Jan 24 23:17:05 arch systemd[704]: Stopped Virtual filesystem service - Apple File Conduit monitor.
Jan 24 23:17:05 arch systemd[704]: Stopped Virtual filesystem service - Media Transfer Protocol monitor.
Jan 24 23:17:05 arch systemd[704]: Stopped Tracker metadata database store and lookup manager.
Jan 24 23:17:05 arch systemd[704]: Stopped Sound Service.
Jan 24 23:17:05 arch systemd[704]: Stopped Accessibility services bus.
Jan 24 23:17:05 arch systemd[704]: Stopped Evolution address book service.
Jan 24 23:17:05 arch systemd[704]: Stopped Evolution source registry.
Jan 24 23:17:05 arch systemd[704]: Stopped D-Bus User Message Bus.
Jan 24 23:17:05 arch systemd[704]: Stopped Evolution calendar service.
Jan 24 23:17:05 arch systemd[704]: Stopped Virtual filesystem service.
Jan 24 23:17:05 arch systemd[704]: Stopped target Basic System.
Jan 24 23:17:05 arch systemd[704]: Stopped target Sockets.
Jan 24 23:17:05 arch systemd[704]: Closed GnuPG cryptographic agent and passphrase cache.
Jan 24 23:17:05 arch systemd[704]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jan 24 23:17:05 arch systemd[704]: Closed D-Bus User Message Bus Socket.
Jan 24 23:17:05 arch systemd[704]: Closed GnuPG network certificate management daemon.
Jan 24 23:17:05 arch systemd[704]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Jan 24 23:17:05 arch systemd[704]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Jan 24 23:17:05 arch systemd[704]: Closed Sound System.
Jan 24 23:17:05 arch systemd[704]: Stopped target Paths.
Jan 24 23:17:05 arch systemd[704]: Reached target Shutdown.
Jan 24 23:17:05 arch systemd[704]: Starting Exit the Session...
Jan 24 23:17:05 arch systemd[704]: Stopped target Timers.
Jan 24 23:17:05 arch systemd[704]: Received SIGRTMIN+24 from PID 8347 (kill).
Jan 24 23:17:05 arch systemd[705]: pam_unix(systemd-user:session): session closed for user kimonas
Jan 24 23:17:05 arch systemd[1]: Stopped User Manager for UID 1000.
Jan 24 23:17:05 arch systemd[1]: Removed slice User Slice of kimonas.
Jan 24 23:17:05 arch /usr/lib/gdm/gdm-wayland-session[477]: gnome-session-binary[488]: DEBUG(+): GsmSystemd: received logind signal: UserRemoved
Jan 24 23:17:05 arch gnome-session-binary[488]: DEBUG(+): GsmSystemd: received logind signal: UserRemoved
Jan 24 23:17:05 arch /usr/lib/gdm/gdm-wayland-session[477]: gnome-session-binary[488]: DEBUG(+): GsmSystemd: ignoring UserRemoved signal
Jan 24 23:17:05 arch gnome-session-binary[488]: DEBUG(+): GsmSystemd: ignoring UserRemoved signal
Jan 24 23:17:05 arch systemd-coredump[8342]: Process 815 (Xwayland) of user 1000 dumped core.
                                             
                                             Stack trace of thread 815:
                                             #0  0x00007f101d1ef860 raise (libc.so.6)
                                             #1  0x00007f101d1f0ec9 abort (libc.so.6)
                                             #2  0x00005572f6cb5e4a OsAbort (Xwayland)
                                             #3  0x00005572f6cbb963 n/a (Xwayland)
                                             #4  0x00005572f6cbc785 FatalError (Xwayland)
                                             #5  0x00005572f6b47c0f n/a (Xwayland)
                                             #6  0x00005572f6cb39c1 n/a (Xwayland)
                                             #7  0x00005572f6cac86b WaitForSomething (Xwayland)
                                             #8  0x00005572f6c78673 n/a (Xwayland)
                                             #9  0x00005572f6c7c910 n/a (Xwayland)
                                             #10 0x00007f101d1dbf4a __libc_start_main (libc.so.6)
                                             #11 0x00005572f6b4726a _start (Xwayland)
                                             
                                             Stack trace of thread 817:
                                             #0  0x00007f101d57f39d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                             #1  0x00007f1016e51514 n/a (swrast_dri.so)
                                             #2  0x00007f1016e51368 n/a (swrast_dri.so)
                                             #3  0x00007f101d57908c start_thread (libpthread.so.0)
                                             #4  0x00007f101d2b0e1f __clone (libc.so.6)
                                             
                                             Stack trace of thread 819:
                                             #0  0x00007f101d57f39d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                             #1  0x00007f1016e51514 n/a (swrast_dri.so)
                                             #2  0x00007f1016e51368 n/a (swrast_dri.so)
                                             #3  0x00007f101d57908c start_thread (libpthread.so.0)
                                             #4  0x00007f101d2b0e1f __clone (libc.so.6)
                                             
                                             Stack trace of thread 816:
                                             #0  0x00007f101d57f39d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                             #1  0x00007f1016e51514 n/a (swrast_dri.so)
                                             #2  0x00007f1016e51368 n/a (swrast_dri.so)
                                             #3  0x00007f101d57908c start_thread (libpthread.so.0)
                                             #4  0x00007f101d2b0e1f __clone (libc.so.6)
                                             
                                             Stack trace of thread 818:
                                             #0  0x00007f101d57f39d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                             #1  0x00007f1016e51514 n/a (swrast_dri.so)
                                             #2  0x00007f1016e51368 n/a (swrast_dri.so)
                                             #3  0x00007f101d57908c start_thread (libpthread.so.0)
                                             #4  0x00007f101d2b0e1f __clone (libc.so.6)
Jan 24 23:17:07 arch gdm[404]: GdmManager: trying to open reauthentication channel for user kimonas
Jan 24 23:17:07 arch gdm[404]: GdmSession: starting conversation gdm-password
Jan 24 23:17:07 arch gdm[404]: GdmSessionWorkerJob: Starting worker...
Jan 24 23:17:07 arch gdm[404]: GdmSessionWorkerJob: Running session_worker_job process: gdm-session-worker [pam/gdm-password] /usr/lib/gdm/gdm-session-worker
Jan 24 23:17:07 arch gdm[404]: GdmSessionWorkerJob: : SessionWorkerJob on pid 8354
Jan 24 23:17:07 arch gdm-password][8354]: Enabling debugging
Jan 24 23:17:07 arch gdm-password][8354]: GdmSessionWorker: connecting to address: unix:abstract=/tmp/dbus-VUl7O835
Jan 24 23:17:07 arch gdm[404]: GdmDBusServer: new connection 0x55c442946980
Jan 24 23:17:07 arch gdm[404]: GdmSession: Handling new connection from worker
Jan 24 23:17:07 arch gdm[404]: GdmSession: Authenticating new connection
Jan 24 23:17:07 arch gdm-password][8354]: AccountsService: ActUserManager: calling 'ListCachedUsers'
Jan 24 23:17:07 arch gdm-password][8354]: AccountsService: Failed to identify the current session: No data available
Jan 24 23:17:07 arch gdm-password][8354]: AccountsService: ActUserManager: seat unloaded, so trying to set loaded property
Jan 24 23:17:07 arch gdm-password][8354]: AccountsService: ActUserManager: Listing cached users, so not setting loaded property
Jan 24 23:17:07 arch gdm-password][8354]: AccountsService: ActUserManager: Listing cached users, so not setting loaded property
Jan 24 23:17:07 arch gdm[404]: GdmSession: worker connection is 0x55c442946980
Jan 24 23:17:07 arch gdm[404]: GdmSession: Emitting conversation-started signal
Jan 24 23:17:07 arch gdm[404]: GdmManager: session conversation started for service gdm-password
Jan 24 23:17:07 arch gdm[404]: GdmSession: getting session command for file 'gnome.desktop'
Jan 24 23:17:07 arch gdm-password][8354]: AccountsService: ActUserManager: ListCachedUsers finished, will set loaded property after list is fully loaded
Jan 24 23:17:07 arch gdm-password][8354]: AccountsService: ActUserManager: tracking new user with object path /org/freedesktop/Accounts/User1000
Jan 24 23:17:07 arch gdm[404]: GdmSession: checking if file 'gnome.desktop' is wayland session: yes
Jan 24 23:17:07 arch gdm[404]: GdmSession: setting session to type 'wayland'
Jan 24 23:17:07 arch gdm[404]: GdmSession: Setting user: 'kimonas'
Jan 24 23:17:07 arch gdm[404]: GdmSession: Beginning initialization
Jan 24 23:17:07 arch gdm[404]: GdmSession: Conversation started

And here when I try to unmount it:

Jan 24 23:17:31 arch org.gnome.Shell.desktop[8405]: #11 0x7ffed3282dc0 b   self-hosted:917 (0x7f453c0ee5e8 @ 394)
Jan 24 23:17:42 arch udisksd[896]: Cleaning up mount point /run/media/kimonas/HyperX (device 8:17 is not mounted)
Jan 24 23:17:42 arch udisksd[896]: Unmounted /dev/sdb1 on behalf of uid 1000
Jan 24 23:17:42 arch kernel: sd 2:0:0:0: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
Jan 24 23:17:42 arch kernel: sd 2:0:0:0: [sdb] tag#0 Sense Key : 0x2 [current] 
Jan 24 23:17:42 arch kernel: sd 2:0:0:0: [sdb] tag#0 ASC=0x3a ASCQ=0x0 
Jan 24 23:17:42 arch kernel: sd 2:0:0:0: [sdb] tag#0 CDB: opcode=0x28 28 00 00 00 10 02 00 00 08 00
Jan 24 23:17:42 arch kernel: print_req_error: I/O error, dev sdb, sector 4098
Jan 24 23:17:42 arch kernel: sd 2:0:0:0: [sdb] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=0x08
Jan 24 23:17:42 arch kernel: sd 2:0:0:0: [sdb] tag#0 Sense Key : 0x2 [current] 
Jan 24 23:17:42 arch kernel: sd 2:0:0:0: [sdb] tag#0 ASC=0x3a ASCQ=0x0 
Jan 24 23:17:42 arch kernel: sd 2:0:0:0: [sdb] tag#0 CDB: opcode=0x28 28 00 00 00 10 02 00 00 08 00
Jan 24 23:17:42 arch kernel: print_req_error: I/O error, dev sdb, sector 4098
Jan 24 23:17:42 arch kernel: Buffer I/O error on dev sdb1, logical block 512, async page read
Jan 24 23:17:42 arch WebKitWebProces[8832]: Error reading events from display: Broken pipe
Jan 24 23:17:42 arch unknown[8698]: Error reading events from display: Broken pipe
Jan 24 23:17:42 arch geary[8687]: Error reading events from display: Broken pipe
Jan 24 23:17:42 arch org.gnome.Shell.desktop[8405]: (EE)
Jan 24 23:17:42 arch org.gnome.Shell.desktop[8405]: Fatal server error:
Jan 24 23:17:42 arch org.gnome.Shell.desktop[8405]: (EE) failed to read Wayland events: Broken pipe
Jan 24 23:17:42 arch org.gnome.Shell.desktop[8405]: (EE)
Jan 24 23:17:42 arch pulseaudio[8441]: ICE default IO error handler doing an exit(), pid = 8441, errno = 11
Jan 24 23:17:42 arch gnome-session[8374]: gnome-session-binary[8374]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Jan 24 23:17:42 arch gnome-session-binary[8374]: WARNING: App 'org.gnome.Shell.desktop' exited with code 1
Jan 24 23:17:42 arch systemd[1]: Started Process Core Dump (PID 9044/UID 0).
Jan 24 23:17:42 arch gnome-session-binary[8374]: Unrecoverable failure in required component org.gnome.Shell.desktop
Jan 24 23:17:42 arch systemd-udevd[9042]: inotify_add_watch(9, /dev/sdb1, 10) failed: No such file or directory
Jan 24 23:17:42 arch systemd[8357]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Jan 24 23:17:42 arch systemd[8357]: pulseaudio.service: Failed with result 'exit-code'.
Jan 24 23:17:42 arch bluetoothd[388]: Endpoint unregistered: sender=:1.3249 path=/MediaEndpoint/A2DPSource
Jan 24 23:17:42 arch bluetoothd[388]: Endpoint unregistered: sender=:1.3249 path=/MediaEndpoint/A2DPSink
Jan 24 23:17:42 arch gsd-rfkill[8536]: g_object_notify: object class 'CcRfkillGlib' has no property named 'kernel-noinput'
Jan 24 23:17:42 arch gdm-wayland-session[8370]: session exited with status 0
Jan 24 23:17:42 arch kernel: rfkill: input handler enabled
Jan 24 23:17:42 arch polkitd[416]: Unregistered Authentication Agent for unix-session:c3 (system bus name :1.3244, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Jan 24 23:17:42 arch nautilus[8741]: Lost connection to Wayland compositor.
Jan 24 23:17:42 arch gdm-password][8354]: GdmSessionWorker: child (pid:8370) done (status:0)
Jan 24 23:17:42 arch gdm-password][8354]: GdmSessionWorker: uninitializing PAM
Jan 24 23:17:42 arch gdm-password][8354]: pam_unix(gdm-password:session): session closed for user kimonas
Jan 24 23:17:42 arch gdm-password][8354]: GdmSessionWorker: jumping to VT 1
Jan 24 23:17:42 arch gdm-password][8354]: GdmSessionWorker: couldn't finalize jump to VT 1: Interrupted system call
Jan 24 23:17:42 arch gdm-password][8354]: GdmSessionWorker: state NONE
Jan 24 23:17:42 arch gdm-password][8354]: Trying script /etc/gdm/PostSession
Jan 24 23:17:42 arch gdm-password][8354]: script /etc/gdm/PostSession not found; skipping
Jan 24 23:17:42 arch gdm-password][8354]: Trying script /etc/gdm/PostSession/Default
Jan 24 23:17:42 arch gdm-password][8354]: Running process: /etc/gdm/PostSession/Default
Jan 24 23:17:42 arch gdm-password][8354]: Gdm: script environment: DISPLAY=(null)
Jan 24 23:17:42 arch gdm-password][8354]: Gdm: script environment: HOME=/home/kimonas
Jan 24 23:17:42 arch gdm-password][8354]: Gdm: script environment: RUNNING_UNDER_GDM=true
Jan 24 23:17:42 arch gdm-password][8354]: Gdm: script environment: LOGNAME=kimonas
Jan 24 23:17:42 arch gdm-password][8354]: Gdm: script environment: XAUTHORITY=(null)
Jan 24 23:17:42 arch gdm-password][8354]: Gdm: script environment: USERNAME=kimonas
Jan 24 23:17:42 arch gdm-password][8354]: Gdm: script environment: PWD=/home/kimonas
Jan 24 23:17:42 arch gdm-password][8354]: Gdm: script environment: USER=kimonas
Jan 24 23:17:42 arch gdm-password][8354]: Gdm: script environment: SHELL=/usr/bin/zsh
Jan 24 23:17:42 arch gdm-password][8354]: Gdm: script environment: PATH=/usr/local/bin:/usr/local/sbin:/usr/bin
Jan 24 23:17:42 arch gdm[404]: GdmSession: Emitting 'session-exited' signal with exit code '0'
Jan 24 23:17:42 arch gdm[404]: GdmManager: session exited with status 0
Jan 24 23:17:42 arch gdm[404]: Writing logout record
Jan 24 23:17:42 arch gdm[404]: using ut_type DEAD_PROCESS
Jan 24 23:17:42 arch gdm[404]: using ut_tv time 1516828662
Jan 24 23:17:42 arch gdm[404]: using ut_pid 8370
Jan 24 23:17:42 arch gdm[404]: using ut_host tty2
Jan 24 23:17:42 arch gdm[404]: using ut_line tty2
Jan 24 23:17:42 arch gdm[404]: Writing wtmp logout record to /var/log/wtmp
Jan 24 23:17:42 arch gdm[404]: Adding or updating utmp record for logout
Jan 24 23:17:42 arch gdm[404]: GdmDisplay: unmanage display
Jan 24 23:17:42 arch gdm[404]: GdmLocalDisplayFactory: display status changed: 0
Jan 24 23:17:42 arch gdm[404]: GdmLocalDisplayFactory: display status changed: 3
Jan 24 23:17:42 arch gdm[404]: GdmDisplayStore: Unreffing display: 0x55c442946550
Jan 24 23:17:42 arch gdm-password][8354]: Process exit status: 0
Jan 24 23:17:42 arch /usr/lib/gdm/gdm-wayland-session[477]: gnome-session-binary[488]: DEBUG(+): emitting SessionIsActive
Jan 24 23:17:42 arch gnome-session-binary[488]: DEBUG(+): emitting SessionIsActive
Jan 24 23:17:42 arch gdm[404]: GdmDisplay: finish display
Jan 24 23:17:42 arch gdm[404]: GdmSession: Closing session
Jan 24 23:17:42 arch gdm[404]: GdmSession: Stopping all conversations
Jan 24 23:17:42 arch gdm[404]: GdmSessionWorkerJob: Stopping job pid:8354
Jan 24 23:17:42 arch gdm[404]: GdmCommon: sending signal 15 to process 8354
Jan 24 23:17:42 arch gdm[404]: GdmSessionWorkerJob: Waiting on process 8354
Jan 24 23:17:42 arch gdm[404]: GdmCommon: process (pid:8354) done (status:0)
Jan 24 23:17:42 arch gdm[404]: GdmSessionWorkerJob: SessionWorkerJob died
Jan 24 23:17:42 arch systemd[8357]: pulseaudio.service: Service hold-off time over, scheduling restart.
Jan 24 23:17:42 arch systemd[8357]: pulseaudio.service: Scheduled restart job, restart counter is at 1.
Jan 24 23:17:42 arch systemd[8357]: Stopped Sound Service.
Jan 24 23:17:42 arch systemd[8357]: Starting Sound Service...
Jan 24 23:17:42 arch rtkit-daemon[536]: Successfully made thread 9049 of process 9049 (/usr/bin/pulseaudio) owned by '1000' high priority at nice level -11.
Jan 24 23:17:42 arch rtkit-daemon[536]: Supervising 1 threads of 1 processes of 1 users.
Jan 24 23:17:42 arch pulseaudio[9049]: W: [pulseaudio] pid.c: Stale PID file, overwriting.
Jan 24 23:17:42 arch dbus-daemon[372]: [system] Rejected send message, 2 matched rules; type="method_call", sender=":1.3322" (uid=1000 pid=9049 comm="/usr/bin/pulseaudio --daemonize=no ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=388 comm="/usr/lib/bluetooth/bluetoothd ")
Jan 24 23:17:42 arch systemd[8357]: Started Sound Service.
Jan 24 23:17:42 arch pulseaudio[9049]: E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 2 matched rules; type="method_call", sender=":1.3322" (uid=1000 pid=9049 comm="/usr/bin/pulseaudio --daemonize=no ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" requested_reply="0" destination="org.bluez" (uid=0 pid=388 comm="/usr/lib/bluetooth/bluetoothd ")
Jan 24 23:17:42 arch at-spi-bus-launcher[8430]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Jan 24 23:17:42 arch at-spi-bus-launcher[8430]:       after 25 requests (25 known processed) with 0 events remaining.
Jan 24 23:17:43 arch systemd-coredump[9045]: Process 8424 (Xwayland) of user 1000 dumped core.
                                             
                                             Stack trace of thread 8424:
                                             #0  0x00007f24022c1860 raise (libc.so.6)
                                             #1  0x00007f24022c2ec9 abort (libc.so.6)
                                             #2  0x000055bb9aeb5e4a OsAbort (Xwayland)
                                             #3  0x000055bb9aebb963 n/a (Xwayland)
                                             #4  0x000055bb9aebc785 FatalError (Xwayland)
                                             #5  0x000055bb9ad47c0f n/a (Xwayland)
                                             #6  0x000055bb9aeb39c1 n/a (Xwayland)
                                             #7  0x000055bb9aeac86b WaitForSomething (Xwayland)
                                             #8  0x000055bb9ae78673 n/a (Xwayland)
                                             #9  0x000055bb9ae7c910 n/a (Xwayland)
                                             #10 0x00007f24022adf4a __libc_start_main (libc.so.6)
                                             #11 0x000055bb9ad4726a _start (Xwayland)
                                             
                                             Stack trace of thread 8425:
                                             #0  0x00007f240265139d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                             #1  0x00007f23fbf23514 n/a (swrast_dri.so)
                                             #2  0x00007f23fbf23368 n/a (swrast_dri.so)
                                             #3  0x00007f240264b08c start_thread (libpthread.so.0)
                                             #4  0x00007f2402382e1f __clone (libc.so.6)
                                             
                                             Stack trace of thread 8426:
                                             #0  0x00007f240265139d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                             #1  0x00007f23fbf23514 n/a (swrast_dri.so)
                                             #2  0x00007f23fbf23368 n/a (swrast_dri.so)
                                             #3  0x00007f240264b08c start_thread (libpthread.so.0)
                                             #4  0x00007f2402382e1f __clone (libc.so.6)
                                             
                                             Stack trace of thread 8427:
                                             #0  0x00007f240265139d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                             #1  0x00007f23fbf23514 n/a (swrast_dri.so)
                                             #2  0x00007f23fbf23368 n/a (swrast_dri.so)
                                             #3  0x00007f240264b08c start_thread (libpthread.so.0)
                                             #4  0x00007f2402382e1f __clone (libc.so.6)
                                             
                                             Stack trace of thread 8428:
                                             #0  0x00007f240265139d pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0)
                                             #1  0x00007f23fbf23514 n/a (swrast_dri.so)
                                             #2  0x00007f23fbf23368 n/a (swrast_dri.so)
                                             #3  0x00007f240264b08c start_thread (libpthread.so.0)
                                             #4  0x00007f2402382e1f __clone (libc.so.6)
Jan 24 23:17:43 arch systemd-logind[371]: Removed session c3.
Jan 24 23:17:43 arch systemd[1]: Stopping User Manager for UID 1000...
Jan 24 23:17:43 arch /usr/lib/gdm/gdm-wayland-session[477]: gnome-session-binary[488]: DEBUG(+): GsmSystemd: received logind signal: SessionRemoved
Jan 24 23:17:43 arch /usr/lib/gdm/gdm-wayland-session[477]: gnome-session-binary[488]: DEBUG(+): GsmSystemd: ignoring SessionRemoved signal
Jan 24 23:17:43 arch gnome-session-binary[488]: DEBUG(+): GsmSystemd: received logind signal: SessionRemoved
Jan 24 23:17:43 arch systemd[8357]: Stopping Evolution calendar service...
Jan 24 23:17:43 arch gnome-session-binary[488]: DEBUG(+): GsmSystemd: ignoring SessionRemoved signal
Jan 24 23:17:43 arch systemd[8357]: Stopping Virtual filesystem service - disk device monitor...
Jan 24 23:17:43 arch systemd[8357]: Stopped target Default.
Jan 24 23:17:43 arch systemd[8357]: Stopping Virtual filesystem service - Media Transfer Protocol monitor...
Jan 24 23:17:43 arch systemd[8357]: Stopping Virtual filesystem metadata service...
Jan 24 23:17:43 arch systemd[8357]: Stopping Evolution source registry...
Jan 24 23:17:43 arch systemd[8357]: Stopping Sound Service...
Jan 24 23:17:43 arch systemd[8357]: Stopping sandboxed app permission store...
Jan 24 23:17:43 arch systemd[8357]: Stopping Virtual filesystem service - GNOME Online Accounts monitor...
Jan 24 23:17:43 arch systemd[8357]: Stopping Virtual filesystem service - Apple File Conduit monitor...
Jan 24 23:17:43 arch systemd[8357]: Stopping Virtual filesystem service...
Jan 24 23:17:43 arch systemd[8357]: Stopping D-Bus User Message Bus...
Jan 24 23:17:43 arch systemd[8357]: Stopping Evolution address book service...
Jan 24 23:17:43 arch systemd[8357]: Stopping Accessibility services bus...
Jan 24 23:17:43 arch systemd[8357]: Stopping Tracker metadata database store and lookup manager...
Jan 24 23:17:43 arch systemd[8357]: Stopping Virtual filesystem service - digital camera monitor...
Jan 24 23:17:43 arch systemd[8357]: Stopped Virtual filesystem service - disk device monitor.
Jan 24 23:17:43 arch systemd[8357]: Stopped sandboxed app permission store.
Jan 24 23:17:43 arch systemd[8357]: Stopped Virtual filesystem service - GNOME Online Accounts monitor.
Jan 24 23:17:43 arch tracker-store[8682]: Received signal:15->'Terminated'
Jan 24 23:17:43 arch tracker-store[8682]: OK
Jan 24 23:17:43 arch systemd[8357]: Stopped Virtual filesystem service - digital camera monitor.
Jan 24 23:17:43 arch systemd[8357]: Stopped Sound Service.
Jan 24 23:17:43 arch systemd[8357]: Stopped Virtual filesystem metadata service.
Jan 24 23:17:43 arch systemd[8357]: Stopped Evolution source registry.
Jan 24 23:17:43 arch systemd[8357]: Stopped Virtual filesystem service - Apple File Conduit monitor.
Jan 24 23:17:43 arch systemd[8357]: Stopped Virtual filesystem service - Media Transfer Protocol monitor.
Jan 24 23:17:43 arch systemd[8357]: Stopped Tracker metadata database store and lookup manager.
Jan 24 23:17:43 arch systemd[8357]: Stopped Evolution calendar service.
Jan 24 23:17:43 arch systemd[8357]: Stopped Accessibility services bus.
Jan 24 23:17:43 arch systemd[8357]: Stopped Evolution address book service.
Jan 24 23:17:43 arch systemd[8357]: Stopped D-Bus User Message Bus.
Jan 24 23:17:43 arch systemd[8357]: Stopped Virtual filesystem service.
Jan 24 23:17:43 arch systemd[8357]: Stopped target Basic System.
Jan 24 23:17:43 arch systemd[8357]: Stopped target Paths.
Jan 24 23:17:43 arch systemd[8357]: Stopped target Sockets.
Jan 24 23:17:43 arch systemd[8357]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
Jan 24 23:17:43 arch systemd[8357]: Closed Sound System.
Jan 24 23:17:43 arch systemd[8357]: Closed D-Bus User Message Bus Socket.
Jan 24 23:17:43 arch systemd[8357]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Jan 24 23:17:43 arch systemd[8357]: Closed GnuPG network certificate management daemon.
Jan 24 23:17:43 arch systemd[8357]: Closed GnuPG cryptographic agent and passphrase cache.
Jan 24 23:17:43 arch systemd[8357]: Closed GnuPG cryptographic agent (ssh-agent emulation).
Jan 24 23:17:43 arch systemd[8357]: Reached target Shutdown.
Jan 24 23:17:43 arch systemd[8357]: Starting Exit the Session...
Jan 24 23:17:43 arch systemd[8357]: Stopped target Timers.
Jan 24 23:17:43 arch systemd[8357]: Received SIGRTMIN+24 from PID 9059 (kill).
Jan 24 23:17:43 arch systemd[1]: Stopped User Manager for UID 1000.
Jan 24 23:17:43 arch systemd[1]: Removed slice User Slice of kimonas.

I tried to update the system with pacman -Syu, even tried to reinstall all the packages with pacman -Qnq | pacman -S - but the error still occurs.

If you need any information from another log file please tell me which one you need as I'm fairly new and don't have much experience with debugging errors on arch.
Thank you for your time smile

Last edited by Kimonas (2018-01-27 14:43:45)

Offline

#2 2018-01-27 13:15:13

robg
Member
Registered: 2015-03-05
Posts: 179

Re: [SOLVED] GNOME logs out when I mount/unmount a USB

The error seems to occur at

Jan 24 23:17:05 arch at-spi-bus-launcher[821]: XIO:  fatal IO error 11 (Resource temporarily unavailable) on X server ":0"
Jan 24 23:17:05 arch at-spi-bus-launcher[821]:       after 14009 requests (14009 known processed) with 0 events remaining.

, which, as far as I can tell (I don't use Gnome), is an issue with the Accessibility Toolkit. Given your changes, see what this could be caused by: Uninstall the extension and appmenu-gtk-module-git and see if the issue persists. Also, how exactly (= what command) did you uninstall cairo? Were there no packages depending on it?

And btw, welcome to Arch.

Offline

#3 2018-01-27 13:36:01

Kimonas
Member
Registered: 2018-01-27
Posts: 5

Re: [SOLVED] GNOME logs out when I mount/unmount a USB

Thank you robg

Yes, I noticed that also. It always appears before the core dump of Xwayland (when I plug the USB).

I unistalled them both, but no luck. Something I forgot to mension, the appmenu-gtk-module-git installed budgie-desktop which in turn added an option Budgie when I try to login (this was added with the other choices GNOME, GNOME Classic and GNOME on X). When I removed the appmenu package the budgie-desktop was still there so I also removed it and the mensioned new entry was removed.

For the cairo packages I was quite stubborn and despite the fact that it warned me that other packages were depending on it, I removed it. I run those commands 

sudo pacman -Rsdd cairo
sudo pacman -Rsdd lib32-cairo
sudo pacman -Rs python-cairo
sudo pacman -Rs python2-cairo
sudo pacman -Rs cairomm

I run the equivalent ones to install the same packages back.

Offline

#4 2018-01-27 13:56:54

robg
Member
Registered: 2015-03-05
Posts: 179

Re: [SOLVED] GNOME logs out when I mount/unmount a USB

Advice for the future: Pause and think. Why would a package be difficult to remove? Possibly because a lot of your stuff depends on it... In any case, this

sudo pacman -Rsdd cairo
sudo pacman -Rsdd lib32-cairo
sudo pacman -Rs python-cairo
sudo pacman -Rs python2-cairo
sudo pacman -Rs cairomm

is terrible, as

ArchWiki: Pacman wrote:

To remove a package, which is required by another package, without removing the dependent package: `# pacman -Rdd package_name`

I would try to reinstall the removed packages, although I am not 100% certain that this will be enough to fix your problem. If things still don't work out after that, remove it and do a fresh install of the Gnome stack.

Offline

#5 2018-01-27 14:28:06

Kimonas
Member
Registered: 2018-01-27
Posts: 5

Re: [SOLVED] GNOME logs out when I mount/unmount a USB

I installed them back but still no progress. But now you got me thinking. If -dd just removes the package and doesn't alter the dependent packages, then if I install all the deleted packages back shouldn't everything be back to normal? If that's the case, then maybe cairo isn't the culprit here but something else? Like a change in a gtk3 library caused by the insatallation of appmenu-gtk?

Also, how can I do a fresh install of the Gnome Stack?

Offline

#6 2018-01-27 14:32:50

loqs
Member
Registered: 2014-03-06
Posts: 4,508

Re: [SOLVED] GNOME logs out when I mount/unmount a USB

Offline

#7 2018-01-27 14:45:15

Kimonas
Member
Registered: 2018-01-27
Posts: 5

Re: [SOLVED] GNOME logs out when I mount/unmount a USB

Thank you very much loqs! In the end it was indeed the Places Extension, I should have searched a little bit more. Thank you both for your time smile

Offline

Board footer

Powered by FluxBB