You are not logged in.

#1 2019-01-14 16:44:23

kjs3
Member
Registered: 2018-04-02
Posts: 6

i3: vscode admin prompt not showing

While trying to save an edited ntp.conf with Visual Studio Code (code 1.30.2-1 in community repo) I get the expected "Retry as Sudo..." prompt but when I click that it just quickly dismisses and pops back up without showing the window to enter my password.

I've tried with i3 in floating mode and that made no difference.

Do I need to do something special in vscode or i3 for these types of popups?

Offline

#2 2019-01-14 16:46:19

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,376

Re: i3: vscode admin prompt not showing

Offline

#3 2019-01-15 14:11:42

kjs3
Member
Registered: 2018-04-02
Posts: 6

Re: i3: vscode admin prompt not showing

I have polkit and polkit-gnome installed.
I'm starting polkit-gnome in my i3 config file like so.

exec --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

I installed gparted as a test case and it prompts correctly and runs fine after auth so it seems like the issue might be with VS Code.

Any ideas on how I can debug this?

Offline

Board footer

Powered by FluxBB