doc: expand on libseat via ssh

Give a little more details about how running Weston via ssh or serial
terminal is best done, now that launcher-direct and weston-launch are
gone.

Hopefully the removal of launcher-direct also makes less people run
Weston as root, when seatd is the privileged process. Running 'weston'
as root might still work through libseat's builtin backend without
seatd.

Signed-off-by: Pekka Paalanen <pekka.paalanen@collabora.com>
dev
Pekka Paalanen 3 years ago
parent 952a951662
commit c26326bfb1
  1. 14
      doc/sphinx/toc/running-weston.rst

@ -93,12 +93,18 @@ backend to be used by ``libseat`` can optionally be selected with
``seatd`` is not already running, it can be started with ``sudo -- seatd -g ``seatd`` is not already running, it can be started with ``sudo -- seatd -g
video``. video``.
Another way of launching Weston is via ssh or a serial terminal. The simplest Launching Weston via ssh or a serial terminal is best with the ``libseat``
option here is to use the ``libseat`` launcher with ``seatd``. The process for launcher and ``seatd``. Logind will refuse to give access to local seats from
remote connections directly. The process for
setting that up is identical to the one described above, where one just need to setting that up is identical to the one described above, where one just need to
ensure that ``seatd`` is running with the appropriate arguments, after which one ensure that ``seatd`` is running with the appropriate arguments, after which one
can just run ``weston``. Another option, is to rely on logind and start weston can just run ``weston``. ``seatd`` will lend out the current VT, and if you want
as systemd user service: :ref:`weston-user-service`. to run on a different VT you need to ``chvt`` first. Make sure nothing will try
to take over the seat or VT via logind at the same time in case logind is
running.
If you want to rely on logind, you can start weston as a systemd user service:
:ref:`weston-user-service`.
Running Weston on a different seat on a stand-alone back-end Running Weston on a different seat on a stand-alone back-end
------------------------------------------------------------ ------------------------------------------------------------

Loading…
Cancel
Save