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

IIS: Delete cached files on server running IIS

Delete cached files on server running IIS When changing css, javascript files, check to delete if IIS still caches old files in the default folder C:\inetpub\temp\IIS Temporary Compressed Files\<sitename>\$^_gzip_D^\ Apply to: IIS 8.5

Linux command: du - disk usage

Where have all my storage gone? du summarize disk usage of the set of FILEs, recursively for directories.

ManageEngine ServiceDesk Plus - Reset password

Let's reset the default administrator's password to 'admin'