Ask Your Question

VNC in fedora

asked 2018-12-24 09:08:51 -0500

updated 2018-12-25 05:17:35 -0500

hhlp gravatar image

Hi, how to install fedora and work with vnc and configure vnc.,?

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2018-12-24 10:41:00 -0500

updated 2018-12-24 11:13:46 -0500

A. Installing and Running vnc

$  sudo dnf install tigervnc*
$  vncserver

 You will require a password to access your desktops.

 Would you like to enter a view-only password (y/n)? n
 xauth:  file /root/.Xauthority does not exist

 New 'nalkal:1 (simmon)' desktop is nalkal:1

 Creating default startup script /root/.vnc/xstartup
 Creating default config /simmon/.vnc/config
 Starting applications specified in /simmon/.vnc/xstartup
 Log file is /simmon/.vnc/nalkal:1.log

 [simmon@nalkal ~]$ cd .vnc
 [simmon@nalkal .vnc]$ ls -al
 -rw-r--r--   1 simmon jenifer  332 12월 25 01:53 config
 -rw-r--r--   1 simmon jenifer 4785 12월 25 01:53 nalkal:1.log
 -rw-r--r--   1 simmon jenifer    5 12월 25 01:53
 -rw-------   1 simmon jenifer    8 12월 25 01:53 passwd
 -rwxr-xr-x   1 simmon jenifer 92 12월 25 01:53 xstartup

B. vnc is typically used on the 5905 to 5900 ports. If you use more, open the corresponding firewall. I mainly use tigervnc in the redhat like a Fedora, Centos..etc, install tignervnc to use it, and open an additional firewall according to the usage conditions.

# firewall-cmd --permanent --add-port=5900-5905/tcp
# firewall-cmd --reload

C. The view must be installed to operate the corresponding tigervncviewer remotely. You can use the ip address and the number that was shown in operation. [ nalkal ip address : ]

 ex)             nalkal:1

If it is registered in /etc/hosts, it can be operated using nickname.

If you change the required environment value during vnc service configuration, modify the file in ./vnc and apply it. You do not need to change anything unless you have a problem.

D. If you need anything during setup, please ask us more details.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2018-12-24 09:08:51 -0500

Seen: 68 times

Last updated: Dec 24 '18