Timeline for Setting DISPLAY in systemd service file
Current License: CC BY-SA 4.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jul 3, 2024 at 12:35 | comment | added | Vladimir Panteleev | Indeed. Nice edit! | |
| Jul 3, 2024 at 9:49 | history | edited | Gilles 'SO- stop being evil' | CC BY-SA 4.0 |
added 157 characters in body
|
| Jul 3, 2024 at 9:48 | comment | added | Gilles 'SO- stop being evil' | @VladimirPanteleev They're started from a user session in systemd, not from the system-wide systemd. At the time I wrote this, I don't think systemd was being used for user sessions yet. So when I wrote “systemd”, I meant the system-wide systemd. | |
| Jul 3, 2024 at 9:30 | comment | added | Vladimir Panteleev | "It's rather bizarre to start a GUI program from Systemd." And today, it has become normal - daemon-like graphical programs, like parts of the Gnome shell or GPG helpers, now run as systemd units and require an X server connection. | |
| Feb 25, 2021 at 15:02 | comment | added | Gilles 'SO- stop being evil' |
@BhanuchanderUdhayakumar Gdm likes to put it in different places. Check echo $XAUTHORITY. If that doesn't help, ask a new question. I know nothing about mendel os.
|
|
| Feb 25, 2021 at 13:21 | comment | added | Bhanuchander Udhayakumar | can't find Xauthority in linux mendel os | |
| Nov 4, 2020 at 20:17 | comment | added | Alexis Wilke |
On newer versions of Ubuntu/GDM, the Xauthority file is found here: /run/user/<uid>/gdm/Xauthority.
|
|
| Jun 18, 2020 at 17:22 | comment | added | gschenk | This might also help if there is no graphical-session.target: superuser.com/a/1128905/683326 | |
| Jun 5, 2020 at 15:16 | comment | added | Jeach |
Having the same issue, where I'm trying to auto-magically boot into X with a Chromium configured in --kiosk mode. We are building a Kiosk-like product which should always boot up into full screen mode with the web app fully loaded. I've seen cases where it works perfect and other times it had issues (like a race condition of some sort).
|
|
| May 17, 2019 at 21:24 | comment | added | Suuuehgi |
It's not a problem using systemctl --user. Also the DISPLAY variable is not a matter then. Have a look here.
|
|
| Apr 13, 2017 at 12:36 | history | edited | CommunityBot |
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
|
|
| Aug 2, 2013 at 7:51 | vote | accept | dogs | ||
| Aug 2, 2013 at 0:24 | history | answered | Gilles 'SO- stop being evil' | CC BY-SA 3.0 |