Skip to navigation
Install vnc server on linux void
02.07.26
Here is the guide formatted in Markdown: # Setting up x11vnc on Void Linux ### 1. Install ```bash sudo xbps-install -S x11vnc ``` ### 2. Set Password ```bash mkdir -p ~/.vnc x11vnc -storepasswd ``` ### 3. Find your display ```bash echo $DISPLAY ``` *Note: This is usually `:0`.* ### 4. Start it (Test) ```bash x11vnc -display :0 -forever -shared -usepw ``` ### 5. Auto-start with runit (Optional) ```bash sudo mkdir -p /etc/sv/x11vnc sudo tee /etc/sv/x11vnc/run << 'EOF' #!/bin/sh export HOME=/home/veto sleep 2 exec x11vnc -display :0 -forever -shared -usepw -o /var/log/x11vnc.log EOF sudo chmod +x /etc/sv/x11vnc/run sudo ln -s /etc/sv/x11vnc /var/service/ sudo sv start x11vnc ``` --- ### Connecting Use the following command on your client machine: ```bash vncviewer 192.168.43.3:5900 ```
Reply
Anonymous
Information Epoch 1784069946
Make every program a filter.
Home
Notebook
Contact us