Created
August 23, 2024 20:36
-
-
Save Vaisakhkm2625/86051a759e8d314a50411d364a574a84 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
linode | |
setup fedora vm | |
``` | |
useradd vaisakh | |
passwd vaisakh | |
usermod -a-G wheel vaisakh | |
su vaisakh | |
sudo dnf update | |
sudo dnf upgrade | |
sudo dnf install git tmux novnc sway | |
``` | |
https://www.reddit.com/r/swaywm/comments/my67f6/sway_16_and_headless/ | |
run as root | |
export WLR_BACKENDS headless | |
export WLR_LIBINPUT_NO_DEVICES=1 | |
export WAYLAND_DISPLAY=wayland-1 | |
export XDG_RUNTIME_DIR=/tmp | |
export XDG_SESSION_TYPE=wayland | |
sway & | |
run as user | |
wayvnc -p 0.0.0.0 | |
wayvnc by default listen to localhost, better way is to use that... and connect with novnc on localhost | |
novnc_proxy | |
enable port | |
sudo firewall-cmd-add-port=novnc_port/tcp |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment