launcher: Print a more descriptive error message when we don't get a VT
authorKristian Høgsberg <krh@bitplanet.net>
Wed, 2 Oct 2013 20:06:02 +0000 (13:06 -0700)
committerKristian Høgsberg <krh@bitplanet.net>
Wed, 2 Oct 2013 20:06:02 +0000 (13:06 -0700)
commite05f228a5f60bdd41edfd92b12731a42110a5743
tree05f7cd12799f63bc251b8140bbbc4ef22f508800
parent6ff3ff57aa76aa8738383cbacc4e9f425e1da056
launcher: Print a more descriptive error message when we don't get a VT

weston-launch has two supported use cases now: either launch from
and VT login as a regular user (running within that session) or
from an init script (systemd or such) with the -u option to create
a session for the specified user.  Running from within X or ssh is
not possible.  It's still possible to run weston as root from X or ssh
but that's strictly a development/debug/test feature.

https://bugs.freedesktop.org/show_bug.cgi?id=69727
src/weston-launch.c