Philipp Brüschweiler
ff253129c5
weston-launch: move function calls out of assert()
12 years ago
Kristian Høgsberg
272d243e00
weston-launch: Clear environment and set it up from scratch
...
With recent systemd[1] XDG_VTNR will leak through to pam, which ends up
setting a vtnr pam argument with the wrong value. The fix is to clear
XDG_VTNR first, but what we should have been doing all along is resetting
the environment.
Thanks to Ray Strode for helping debug this.
[1] http://cgit.freedesktop.org/systemd/systemd/commit/?id=a8573ccc35a4efe8900be5d48c6c803670540c2b
12 years ago
Scott Moreau
cc9acfc75e
weston-launch: Use "weston-launch" for --help instead of "weston".
...
The output of weston-launch --help was "Usage: weston [args...] ...".
This changes it to read "Usage: weston-launch [args...] ...".
12 years ago
Rob Bradford
40be7b467f
weston-launch: Add some error reporting for weston-launch
...
This also avoids us passing (size_t)(-1 * sizeof(gid_t)) into malloc
12 years ago
John Kåre Alsaker
5b90d8f374
weston-launch: Check result of pam_start.
12 years ago
Tiago Vignatti
314db6edef
weston-launch: be more descriptive with output messages
...
Specially the "either" word there is essential, so users don't confuse
thinking that both steps are needed.
Signed-off-by: Tiago Vignatti <tiago.vignatti@intel.com>
13 years ago
Kristian Høgsberg
9e14091778
weston-launcher: Fix aliasing warnings
13 years ago
Benjamin Franzke
bfeda130de
Introduce weston-launch
...
weston-launch starts weston and provides mechanism
for weston to set/drop drm master, open a tty,
and read input devices without being root.
Execution is allowed for local-active sessions
or users in the group weston-launch.
13 years ago