Support #885
Install TigerVNC on Arch Linux
Description
This is short guide on setting up TigerVNC on Arch Linux.
Prepare the Environment¶
- Make sure the system is up to date:
sudo pacman -Syu
Install TigerVNC¶
- Install tigervnc:
sudo pacman -S tigervnc
- Create the initial environment, config, and user password file:
vncserver
- Shutdown the vncserver:
vncserver -kill :1
- Create a systemd service file:
sudo nano /etc/systemd/system/x0vncserver.service
- And modify it defining the user to run the server:
[Unit] Description=Remote desktop service (VNC) After=syslog.target network.target [Service] Type=forking User=bob ExecStart=/usr/bin/sh -c '/usr/bin/x0vncserver -display :0 -rfbport 5900 -passwordfile /home/bob/.vnc/passwd &' [Install] WantedBy=multi-user.target
- And modify it defining the user to run the server:
- Reload systemd:
sudo systemctl reload-daemon
- Start and enable x0vncserver at boot:
sudo systemctl enable x0vncserver sudo systemctl start x0vncserver
Resources¶
Updated by Daniel Curtis over 7 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100