Last active
April 5, 2025 01:01
-
-
Save miguelmota/9cd15049843ddf1ee1a52196f5c7e5ea to your computer and use it in GitHub Desktop.
Arch linux VNC server setup
This file contains 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
session=lxqt | |
geometry=1920x1080 | |
localhost # comment this out to allow connections from anywhere | |
alwaysshared |
This file contains 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
sudo pacman -S tigervnc | |
vncpasswd | |
vim /etc/tigervnc/vncserver.users | |
vim ~/.vnc/config | |
sudo systemctl start vncserver@:1 | |
# ufw allow 5901 | |
# vncvierwer |
This file contains 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
:1=your_username |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is incorrect. It should be:
$USER
will be expanded to your username.Also, output redirection isn't performed by sudo. So
sudo cat
won't work.What works for me:
as always, ymmv