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

Qubes OS: Fedora 30

Create a new Standalone VM based on fedora-29 VM template Extend root partition: run command on dom0 tuyen@dom0:~ $ qvm-volume extend fedora-30:root 12288MB Set qrexec_timeout to 600 seconds tuyen@dom0:~ $ qvm-pref --set fedora-30 qrexec_timeout 600 $ sudo dnf upgrade --refresh $ sudo dnf install dnf-plugin-sytem-upgrade $ sudo dnf system-upgrade download --release=30 Install fedora-30 template Run the following command on dom0 terminal $ sudo qubes-dom0-update qubes-template-fedora-30 Install Adobe Flash Player Adobe Flash Player will not go away soon. So, let's grab the latest version of Adobe Flash Player , then install using yum or dnf command. Verify if Adobe Flash Player is installed and works by visiting https://helpx.adobe.com/flash-player.html [user@fedora-30 ~]$ sudo dnf install Downloads/flash-player-npapi-32.0.0.238-release.x86_64.rpm Last metadata expiration check: 0:37:03 ago on Fri Aug 30 09:18:10 2019. Dependencies resolved. =========...

How to charge your device from USB Port

First of all, check BIOS Settings of your laptop or desktop Dell Look for USB PowerShare BIOS Settings: USB PowerShare Lenovo Look for Always On USB Charge in Off Mode BIOS Settings: Enable Always On USB Charge in Off Mode

Python: Free Online Courses

Ever thinking about which programming language to learn first? You can learn Python for free with these online courses.