Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to configure vncserver in a Fedora 9 system

Shulou Source: shulou.com Published: 2022-06-01 23:29:44 10月04日 Update

In this issue, the editor will bring you about how to configure vncserver in the Fedora 9 system. The article is rich in content and analyzes and describes it from a professional point of view. I hope you can get something after reading this article.

# vi / etc/sysconfig/vncserver / / Edit vncserver configuration file

VNCSERVERS= "1:root"

VNCSERVERARGS [1] = "- geometry 800 × 600-0.0.0.0"

# vncpasswd / / create a vnc password

# vncserver (service vncserver start) / / start vncserver

# service iptables stop / / disable iptables Firewall

# vi .vnc / xstartup / / Edit the script for xstartup

#! / bin/sh

Vncconfig-iconic &

# Uncomment the following two lines for normal desktop:

Unset SESSION_MANAGER

Exec / etc/X11/xinit/xinitrc

[- x / etc/vnc/xstartup] & & exec / etc/vnc/xstartup

[- r $HOME/.Xresources] & & xrdb $HOME/.Xresources

Xsetroot-solid grey

Xterm-geometry 80 × 24010-ls-title "$VNCDESKTOP Desktop" &

Twm &

Open a vic viewer connection in the windowx xp client input: Fedora ip add:1

Other:

# vi / etc/sysconfig/iptables / / allow port 5901 to pass through

-A RH-Firewall-1-INPUT-m state-state NEW-m tcp-p tcp-dport 5901-j ACCEPT

# vi / etc/sysconfig/vncserver / / allows you to connect two different users, of course, you need iptables to open port 5902 at the same time

VNCSERVERS= "1:root 2:keith"

Vncviewer switches to full screen mode-F8

The above is the editor for you to share how to configure vncserver in the Fedora 9 system, if you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.

Tags: Configuration system content port analysis different professional two small and medium rich content password at the same time customer client that is file article more mode user Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Linux Microsoft Redmi OPPO Reno Shulou Technology