OS - Fedora 27
Kernel - 4.14.14-300.fc27.x86_64

Whenever I plug in any usb drive or try to unmount an already plugged in usb drive I get logged out from gnome session. After logging back in again, I can access the drive and work normally. Why is this happening?
Please inform me if I need to attach an kind of log.

  • Are you unmounting from the terminal? If not can you try and see if you can unmount successfully using umount /dev/sdX. Want to know if gnome is the problem or just unmounting is. – Hunter.S.Thompson Jan 28 '18 at 17:32
  • Same results with umount @Hunter.S.Thompson – Debajyoti Chatterjee Jan 28 '18 at 18:11

gnome-shell is probably crashing.

I don't know if it's installed by default in fedora, but you can try to run coredumpctl to see if you have any traces here. If it's the case that crash should be reported to fedora

EDIT: The output of journalctl --user would be interesting as well

  • Then why would umount also create problem? – Debajyoti Chatterjee Jan 29 '18 at 18:44
  • There are probably events sent when (un)mounting that are received by gnome-shell – Bigon Jan 30 '18 at 13:00
  • this is the output from journalctl --user hastebin.com/raw/civanomebe @Bigon – Debajyoti Chatterjee Jan 30 '18 at 16:05
  • You have nothing beore that? – Bigon Jan 30 '18 at 16:21
  • that's the output from journalctl --user -r before that there is nothing interesting. that's when i plugged in my usb drive. – Debajyoti Chatterjee Jan 30 '18 at 17:38

There seems to be an incompatibility between the current version of the Gnome Shell in Fedora (*) and the following Gnome Extensions:

  • Places Status Indicator
  • Removable Drive Menu

So as a workaround you can switch these extensions off, at least until a real bugfix is provided by the Fedora team.

(*) More precisely, it's a problem in gjs package. As I just found out there is an updated package version available, but it hasn't even reached updates-testing yet. But you could give

dnf install https://kojipkgs.fedoraproject.org//packages/gjs/1.50.4/1.fc27/x86_64/gjs-1.50.4-1.fc27.x86_64.rpm

a try.

Addendum 2018-02-07: The fixed version of gjs is now available as regular update, so simply updating Fedora should help.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.