Project

General

Profile

Support #885

Install TigerVNC on Arch Linux

Added by Daniel Curtis over 7 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Workstation
Target version:
Start date:
02/15/2017
Due date:
% Done:

100%

Estimated time:
0.50 h
Spent time:

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
      
  • Reload systemd:
    sudo systemctl reload-daemon
    
  • Start and enable x0vncserver at boot:
    sudo systemctl enable x0vncserver
    sudo systemctl start x0vncserver
    

Resources

#1

Updated by Daniel Curtis over 7 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100
#2

Updated by Daniel Curtis over 7 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF