You are not logged in.

#1 2018-09-20 15:18:20

akhlaghi
Member
Registered: 2018-09-20
Posts: 8

GNOME crashing on password window of LUKS usb key

Yesterday my GNOME was updated to version 3.30.

As always, when I plugged in my USB key which has an encrypted partition, a GNOME prompt (that disables everything else!) came up. But after writing the password, the screen wouldn't go! So not only could I not access my drive in GNOME, but I couldn't do anything else either and had to restart the computer. I later tried just pressing the cancel key, but that was no use either: the window asking for a password wouldn't go and blocked access to everything else.

I wanted to see if this due to some changed setting that I have to correct, or maybe its a bug in this new GNOME release?

In any case, until a solution is found, how can I disable this window (and not access the partition) without having to restart the GUI?

Thanks a lot in advance.

Offline

#2 2018-09-20 20:31:03

spinnau
Member
Registered: 2017-06-05
Posts: 34

Re: GNOME crashing on password window of LUKS usb key

I can confirm this problem using Gnome with X11 session and nvidia driver. This was already reported upstream as a bug for gnome-shell https://gitlab.gnome.org/GNOME/gnome-shell/issues/565

In this bug report it is suggested to plug in the USB drive before logging in to Gnome. If the drive is then selected in Nautilus file manager, the password dialog appears and also works.

Offline

#3 2018-09-21 12:15:02

akhlaghi
Member
Registered: 2018-09-20
Posts: 8

Re: GNOME crashing on password window of LUKS usb key

Thanks a lot! Indeed, it is the same problem. I look forward to the fix soon.

The fix (to plug the USB before logging into GNOME) works for me too. I'll stick with this solution until the fix is made.

Thanks again...

Offline

#4 2018-09-22 11:37:36

plp
Member
Registered: 2013-01-24
Posts: 46

Re: GNOME crashing on password window of LUKS usb key

This is a horribly annoying bug, as you have to restart gnome-shell (or even reboot) every time you plug in an encrypted stick.

Let's hope they can fix this quickly. Otherwise, I'll just have to say bye-bye to Gnome, I guess.

Offline

#5 2018-09-23 16:14:19

debek
Member
Registered: 2015-12-20
Posts: 32

Re: GNOME crashing on password window of LUKS usb key

The same problem:
https://bugzilla.gnome.org/show_bug.cgi?id=797193

I found that Fedora has the same smile
https://bugzilla.redhat.com/show_bug.cgi?id=1630233

Last edited by debek (2018-09-23 16:14:50)

Offline

#6 2018-10-02 23:50:22

AaronRogers
Member
Registered: 2015-07-10
Posts: 12

Re: GNOME crashing on password window of LUKS usb key

Better temporary solution mentioned in one of the bug reports is this:

gsettings set org.gnome.desktop.media-handling automount false

This forces you to mount the device through nautilus but that password prompt works fine

Offline

#7 2018-10-06 10:26:19

spinnau
Member
Registered: 2017-06-05
Posts: 34

Re: GNOME crashing on password window of LUKS usb key

This problem described in the issue https://gitlab.gnome.org/GNOME/gnome-shell/issues/565 is fixed by commit https://gitlab.gnome.org/GNOME/gnome-sh … 8dfe4f5074

If you want to give it a try, here's an updated PKGBUILD:

# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
# Contributor: Ionut Biru <ibiru@archlinux.org>
# Contributor: Flamelab <panosfilip@gmail.com

pkgname=gnome-shell
pkgver=3.30.0+62+ge2f6a1980
pkgrel=1
pkgdesc="Next generation desktop shell"
url="https://wiki.gnome.org/Projects/GnomeShell"
arch=(x86_64)
license=(GPL2)
depends=(accountsservice gcr gjs gnome-bluetooth upower gnome-session gnome-settings-daemon
         gnome-themes-extra gsettings-desktop-schemas libcanberra-pulse libcroco libgdm libsecret
         mutter nm-connection-editor unzip gstreamer libibus)
makedepends=(gtk-doc gnome-control-center evolution-data-server gobject-introspection git meson
             sassc)
optdepends=('gnome-control-center: System settings'
            'evolution-data-server: Evolution calendar integration')
groups=(gnome)
_commit=e2f6a1980d661c27c0d0738b361a7a8dfe4f5074  # master
source=("git+https://gitlab.gnome.org/GNOME/gnome-shell.git#commit=$_commit"
        "git+https://gitlab.gnome.org/GNOME/libgnome-volume-control.git")
sha256sums=('SKIP'
            'SKIP')

pkgver() {
  cd $pkgname
  git describe --tags | sed 's/-/+/g'
}

prepare() {
  cd $pkgname

  # Move the plugin to our custom epiphany-only dir
  sed -i "s/'mozilla'/'epiphany'/g" meson.build

  git submodule init
  git config --local submodule.subprojects/gvc.url "$srcdir/libgnome-volume-control"
  git submodule update
}
  
build() {
  arch-meson $pkgname build -D gtk_doc=true
  ninja -C build
}

package() {
  DESTDIR="$pkgdir" meson install -C build

  # https://bugs.archlinux.org/task/37412
  mkdir "$pkgdir/usr/share/gnome-shell/modes"
}

edit: updated commit (merged into gnome-shell master now)

Last edited by spinnau (2018-10-08 15:20:30)

Offline

#8 2018-10-09 06:37:08

spinnau
Member
Registered: 2017-06-05
Posts: 34

Re: GNOME crashing on password window of LUKS usb key

It's fixed with update to gnome-shell 3.30.1-1

Offline

Board footer

Powered by FluxBB