Skip to main content

Fedora Workstation: TigerVNC

TigerVNC Logo

Install TigerVNC Server

sudo dnf install tigervnc-server

Last metadata expiration check: 0:04:05 ago on Tue 14 Jul 2020 09:41:54 AM +07.
Dependencies resolved.
=====================================================================================
 Package                 Architecture   Version                Repository       Size
=====================================================================================
Installing:
 tigervnc-server         x86_64         1.10.1-5.fc32          updates         247 k

Transaction Summary
=====================================================================================
Install  1 Package

Total download size: 247 k
Installed size: 616 k
Is this ok [y/N]: y
Downloading Packages:
tigervnc-server-1.10.1-5.fc32.x86_64.rpm              40 kB/s | 247 kB     00:06
-------------------------------------------------------------------------------------
Total                                                 33 kB/s | 247 kB     00:07
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                             1/1
  Installing       : tigervnc-server-1.10.1-5.fc32.x86_64                        1/1
  Running scriptlet: tigervnc-server-1.10.1-5.fc32.x86_64                        1/1
Failed to preset unit: Unit file vncserver.service does not exist.
Failed to preset unit: Unit file xvnc.service does not exist.

  Verifying        : tigervnc-server-1.10.1-5.fc32.x86_64                        1/1

Installed:
  tigervnc-server-1.10.1-5.fc32.x86_64

Complete!
sudo cp /lib/systemd/system/vncserver@.service /etc/systemd/system/

Edit /etc/systemd/system/vncserver@.service

sudo vi /etc/systemd/system/vncserver@.service


Reload daemon

systemctl daemon-reload

Set password for user

vncpasswd
Password:
Verify:
Would you like to enter a view-only password (y/n)? n

Start VNC Server

systemctl start vncserver@:1.service

Check VNC Server status

[tuyen@g73jh ~]$ systemctl status vncserver@:1.service
● vncserver@:1.service - Remote desktop service (VNC)
     Loaded: loaded (/etc/systemd/system/vncserver@.service; disabled; vendor preset>
     Active: active (running) since Tue 2020-07-14 10:01:30 +07; 3s ago
    Process: 13434 ExecStartPre=/bin/sh -c /usr/bin/vncserver -kill :1 > /dev/null 2>
   Main PID: 13436 (vncserver_wrapp)
      Tasks: 1 (limit: 16642)
     Memory: 1.7M
     CGroup: /system.slice/system-vncserver.slice/vncserver@:1.service
             ├─13436 /usr/bin/sh /usr/bin/vncserver_wrapper tuyen :1
             └─13515 sleep 0.1

Jul 14 10:01:30 g73jh systemd[1]: Starting Remote desktop service (VNC)...
Jul 14 10:01:30 g73jh systemd[1]: Started Remote desktop service (VNC).
lines 1-13/13 (END)

Enable VNC Server on reboot

$ systemctl enable vncserver@:1.service

Created symlink /etc/systemd/system/multi-user.target.wants/vncserver@:1.service → /etc/systemd/system/vncserver@.service.

Popular posts from this blog

nmap - The Network Mapper

WARNING : It is ILLEGAL to scan hosts without permission.

GitHub CLI

GitHub CLI brings GitHub to your terminal. Free and open source. Official website: https://cli.github.com

Microsoft Windows Server 2003 R2 Enterprise Edition VHD

Windows Server 2003 R2 Enterprise Edition with Service Pack 2 This download comes as a pre-configured VHD and helps you evaluate the new features of Windows Server 2003 R2, the most productive infrastructure platform for powering connected applications, networks, and Web services from the workgroup to the data center. https://www.microsoft.com/en-us/download/details.aspx?id=19727 Username: Administrator Password: Evaluation1