I thought I almost got this working but nope:

* I made a systemd gnome-session target.d folder and specifying per session 
requirements there (just like the script session already does)
* It would start a session but it wouldn't start Firefox, so I created an 
org.gnome.Kiosk.SearchApp.service file in /user/lib/systemd/user. Wrote the 
exec command so that it starts an sh script that first runs Firefox and when 
that process exits it calls gnome-session-quite --no-prompt. That got Firefox 
started, but also displayed an error dialog saying that Firefox is already 
running...
* ...so I then removed the requirement for the search app .desktop file from 
the Gnome session file in /usr/share/gnome-session/sessions. But after that I 
was back to Firefox not starting.

So if I use both the .desktop file and a custom systemd .service file,
Firefox starts twice, but if I don't use either, it doesn't start at
all. I just can't make sense of how all of this is supposed to work.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2076081

Title:
  Gnome-kiosk-search-appliance hangs at login in Ubuntu 24.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-kiosk/+bug/2076081/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to