ahkok / xorg-launch-helper Goto Github PK
View Code? Open in Web Editor NEWA wrapper in C to make XOrg function as a proper systemd unit.
License: GNU General Public License v2.0
A wrapper in C to make XOrg function as a proper systemd unit.
License: GNU General Public License v2.0
Rather than start immediately, I'd be interested in a mode that requires some kind of external trigger before starting. Systemd units can continue to await xorg-launch-helper, but xorg-launch-helper will itself delay kick off until triggered to really start.
I'm not sure quite what my use case is now- how eventually triggering will happen- but I know I'd like user sessions that automatically start on bootup for a wide variety of users, and some ability to kick off a remote desktop after the fact, and have the remaining X-dependent session load up then. Some kind of external program would be responsible for signalling xorg-launch-helper that now is really the time to start.
Possible trigger mechanisms: signals, await a signal on a pipe, a short lived dbus server with a "begin" method that terminates after signal.
Jul 24 19:57:26 jenny systemd[312]: Starting Xorg server launch helper...
Jul 24 19:57:26 jenny xorg-launch-helper[2035]: Starting Xorg server with: "/usr/bin/Xorg :0 -nolisten tcp -noreset vt1"
Jul 24 19:57:26 jenny xorg-launch-helper[2035]: /usr/bin/Xorg.wrap: Only console users are allowed to run the X server
Jul 24 19:57:36 jenny systemd[312]: xorg.service: main process exited, code=exited, status=1/FAILURE
Jul 24 19:57:36 jenny systemd[312]: Failed to start Xorg server launch helper.
Jul 24 19:57:36 jenny systemd[312]: Unit xorg.service entered failed state.
Jul 24 19:57:46 jenny systemd[312]: xorg.service holdoff time over, scheduling restart.
Jul 24 19:57:46 jenny systemd[312]: Stopping Xorg server launch helper...
Jul 24 19:57:46 jenny systemd[312]: Starting Xorg server launch helper...
Jul 24 19:57:46 jenny xorg-launch-helper[2359]: Starting Xorg server with: "/usr/bin/Xorg :0 -nolisten tcp -noreset vt1"
Jul 24 19:57:46 jenny xorg-launch-helper[2359]: /usr/bin/Xorg.wrap: Only console users are allowed to run the X server
Jul 24 19:57:56 jenny systemd[312]: xorg.service: main process exited, code=exited, status=1/FAILURE
Jul 24 19:57:56 jenny systemd[312]: Failed to start Xorg server launch helper.
Jul 24 19:57:56 jenny systemd[312]: Unit xorg.service entered failed state.
Jul 24 19:58:07 jenny systemd[312]: xorg.service holdoff time over, scheduling restart.
Jul 24 19:58:07 jenny systemd[312]: Stopping Xorg server launch helper...
Jul 24 19:58:07 jenny systemd[312]: Starting Xorg server launch helper...
Jul 24 19:58:07 jenny xorg-launch-helper[4947]: Starting Xorg server with: "/usr/bin/Xorg :0 -nolisten tcp -noreset vt1"
Jul 24 19:58:07 jenny xorg-launch-helper[4947]: /usr/bin/Xorg.wrap: Only console users are allowed to run the X server
Jul 24 19:58:17 jenny systemd[312]: xorg.service: main process exited, code=exited, status=1/FAILURE
Jul 24 19:58:17 jenny systemd[312]: Failed to start Xorg server launch helper.
Jul 24 19:58:17 jenny systemd[312]: Unit xorg.service entered failed state.
Jul 24 19:58:26 jenny systemd[312]: Stopping Xorg server launch helper...
Jul 24 19:58:26 jenny systemd[312]: Stopped Xorg server launch helper.
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.