GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
WAYLAND-LOGOUT(1) FreeBSD General Commands Manual WAYLAND-LOGOUT(1)

wayland-logout
generic logout utility for wayland compositors

wayland-logout is a compositor agnostic utility for simulating a logout with any wayland compositor.

It sends a SIGTERM signal(3) to the running compositor PID which is obtained by looking at the environment variables.

wayland-logout uses the WAYLAND_DISPLAY and XDG_RUNTIME_DIR environment variables to get the socket(2) corresponding to the compositor instance.

wayland-logout exits with non-zero if an error has occurred along with the error reasoning and exits with 0 on success.

To kill the current compositor instance, run inside the compositor environment:
$ wayland-logout

A typical use case, to kill a specific compositor instance of another user (with uid=1002), run as the other user (or as root):

$ env -i XDG_RUNTIME_DIR=/run/user/1002 WAYLAND_DISPLAY=wayland-4 wayland-logout
or
$ WAYLAND_DISPLAY=/run/user/1002/wayland-4 wayland-logout
November 27, 2020 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.