New comment by deepaknegilachu on void-packages repository https://github.com/void-linux/void-packages/issues/30115#issuecomment-888996767 Comment: # with seatd sudo xbps-install seatd useradd -aG _seatd sudo ln -s /etc/sv/seatd /var/service and then add this in bash_profile or zprofile(for zsh): if test -z "${XDG_RUNTIME_DIR}"; then export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir if ! test -d "${XDG_RUNTIME_DIR}"; then mkdir "${XDG_RUNTIME_DIR}" chmod 0700 "${XDG_RUNTIME_DIR}" fi fi export XDG_SESSION_TYPE=wayland export XDG_CURRENT_DESKTOP=sway export MOZ_ENABLE_WAYLAND=1 # with elogind add this this on bash_profile or zprofile: export LIBSEAT_BACKEND="logind" export XDG_SESSION_TYPE=wayland export XDG_CURRENT_DESKTOP=sway export MOZ_ENABLE_WAYLAND=1