You are not logged in.

#1 2021-02-13 04:49:39

noavolution
Member
Registered: 2021-02-13
Posts: 6

Mounting works in xfce and terminal but not in i3wm

I am unable to mount drives via a file manager like Thunar/Nautilus/PCmanFM when I am logged in to i3wm. When I am in xfce tho it does it just fine. In i3 I am able to mount via the terminal, where I can also mount NTFS partitions using ntfs-3g and write to them. But in the file managers I even get a permission denied error when trying to access a newly created ext4 partition, that I made with gparted. I haven't found another post like this but I came across a similar post where it was a problem with the login manager. I use LightDM.

Offline

#2 2021-02-13 04:59:33

aflyingpumpkin
Member
Registered: 2021-02-12
Posts: 14

Re: Mounting works in xfce and terminal but not in i3wm

If you launch the file manager as root does it work?

Offline

#3 2021-02-13 05:06:12

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Mounting works in xfce and terminal but not in i3wm

aflyingpumpkin wrote:

If you launch the file manager as root does it work?

Elevating privileges is not a solution, not a valid debugging technique. Don't suggest it unless it actually makes sense.

OP: how do you start i3. Paste details of your session: $ loginctl show-session $XDG_SESSION_ID


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2021-02-13 05:47:28

noavolution
Member
Registered: 2021-02-13
Posts: 6

Re: Mounting works in xfce and terminal but not in i3wm

LightDM takes control over starting i3.
The output is:

Id=15
User=1000
Name=user0
Timestamp=Sat 2021-02-13 02:49:53 CET
TimestampMonotonic=107319649565
VTNr=8
Seat=seat0
Display=:0
Remote=no
Service=lightdm
Desktop=i3
Scope=session-15.scope
Leader=95941
Audit=15
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
LockedHint=no

Offline

#5 2021-02-20 05:47:07

noavolution
Member
Registered: 2021-02-13
Posts: 6

Re: Mounting works in xfce and terminal but not in i3wm

jasonwryan wrote:
aflyingpumpkin wrote:

If you launch the file manager as root does it work?

Elevating privileges is not a solution, not a valid debugging technique. Don't suggest it unless it actually makes sense.

OP: how do you start i3. Paste details of your session: $ loginctl show-session $XDG_SESSION_ID



LightDM takes control over starting i3.
The output is:

Id=15
User=1000
Name=user0
Timestamp=Sat 2021-02-13 02:49:53 CET
TimestampMonotonic=107319649565
VTNr=8
Seat=seat0
Display=:0
Remote=no
Service=lightdm
Desktop=i3
Scope=session-15.scope
Leader=95941
Audit=15
Type=x11
Class=user
Active=yes
State=active
IdleHint=no
IdleSinceHint=0
IdleSinceHintMonotonic=0
LockedHint=no

Offline

#6 2021-02-20 06:58:09

Docbroke
Member
From: India
Registered: 2015-06-13
Posts: 1,466

Re: Mounting works in xfce and terminal but not in i3wm

Do you get same problem if you start i3 using startx like

 startx /usr/bin/i3 

Offline

#7 2021-02-20 08:05:37

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,592

Re: Mounting works in xfce and terminal but not in i3wm

xfce autostarts /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1, depending on the actual mount it might be required (even if it doesn't query a password but utilizes the gnome password manager)

Online

#8 2021-02-20 08:29:19

noavolution
Member
Registered: 2021-02-13
Posts: 6

Re: Mounting works in xfce and terminal but not in i3wm

seth wrote:

xfce autostarts /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1, depending on the actual mount it might be required (even if it doesn't query a password but utilizes the gnome password manager)

Thank you so so much. That was actually the problem. I will put that into my config to autostart.

Offline

#9 2021-02-20 14:48:34

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 77,592

Re: Mounting works in xfce and terminal but not in i3wm

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Online

Board footer

Powered by FluxBB