You are not logged in.
So I connect to a PC running archlinux using X11 forwarding:
ssh -Y user@machine
In the shell that opens I start evince or gedit. It takes approx. 30 secs before they start. Other applications however like Firefox, Thunderbird or Gimp start straight away.
And if I start evince or gedit as root they start immediately too:
sudo -E gedit
Looks like a permissions issue, but how to troubleshoot?
Last edited by fortuna (2021-02-09 17:59:03)
Offline
Output of:
journalctl --user -u xdg-desktop-portal-gtk --no-pager
https://ugjka.net
"It is easier to fool people, than to convince them that they've been fooled" ~ Dr. Andrea Love
Offline
Feb 09 17:04:34 BBB systemd[594]: Starting Portal service (GTK+/GNOME implementation)...
Feb 09 17:04:35 BBB xdg-desktop-portal-gtk[3406]: Unable to init server: Could not connect: Connection refused
Feb 09 17:04:35 BBB xdg-desktop-por[3406]: cannot open display:
Feb 09 17:04:35 BBB systemd[594]: xdg-desktop-portal-gtk.service: Main process exited, code=exited, status=1/FAILURE
Feb 09 17:04:35 BBB systemd[594]: xdg-desktop-portal-gtk.service: Failed with result 'exit-code'.
Feb 09 17:04:35 BBB systemd[594]: Failed to start Portal service (GTK+/GNOME implementation).
And then it opens anyway!
Offline
Try this as your user:
systemctl --user mask xdg-desktop-portal-gtk.service
https://ugjka.net
"It is easier to fool people, than to convince them that they've been fooled" ~ Dr. Andrea Love
Offline
That helps! Thanks a lot!
Created symlink /home/sil/.config/systemd/user/xdg-desktop-portal-gtk.service → /dev/null.
What did it do?
Offline
It stops that service from being called and run, if you want it back just do the reverse:
systemctl --user unmask xdg-desktop-portal-gtk.service
https://ugjka.net
"It is easier to fool people, than to convince them that they've been fooled" ~ Dr. Andrea Love
Offline
Why would I want it back? I don't even know what it is
Offline
I guess, it is supposed to do something useful but is doing very poor job at it. On my mixed kde/gnome system it is never triggered.
Anyway, if this is solved please prepend [Solved] to the topic title
https://ugjka.net
"It is easier to fool people, than to convince them that they've been fooled" ~ Dr. Andrea Love
Offline
Sorry. I will. Thanks again.
Offline