Vncserver creation process in FedoraLinux9 System

Source: Internet
Author: User
Article Title: vncserver creation process in FedoraLinux9 system. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

# Vi/etc/sysconfig/vncserver // edit the 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 xstartup script

#! /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 gray

Xterm-geometry 80 × 24 + 10 + 10-ls-title "$ VNCDESKTOP Desktop "&

Twm &

Open the vic viewer connection on the windowx xp Client and enter Fedora ip add: 1.

Others:

# Vi/etc/sysconfig/iptables // allow port 5901 to pass

-A RH-Firewall-1-INPUT-m state? State NEW-m tcp-p tcp? Dport 5901-j ACCEPT

# Vi/etc/sysconfig/vncserver // allow two different users to connect. Of course, iptables is required to open port 5902 at the same time.

VNCSERVERS = "1: root 2: keith"

Vncviewer switch to full screen mode -- F8

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.