Skip to content

Instantly share code, notes, and snippets.

@Vaisakhkm2625
Created August 23, 2024 20:36
Show Gist options
  • Save Vaisakhkm2625/86051a759e8d314a50411d364a574a84 to your computer and use it in GitHub Desktop.
Save Vaisakhkm2625/86051a759e8d314a50411d364a574a84 to your computer and use it in GitHub Desktop.
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