Linux Remote Desktop (iii)

Source: Internet
Author: User

The VNC configuration in the previous article is already very convenient, this article introduces the more simple Xmanager configuration, the Xmanager picture is good one loses.

Xmanager Server Configuration

Linux Remote Desktop (ii): VNC's xinetd Service setup configuration

The following two files are mainly modified (under root privileges):

(1)/usr/share/gdm/defaults.conf//gnome Manage default profiles, edit/etc/gdm/custom.conf, enable XDMCP

(2)/etc/inittab//inittab Process master configuration file

Step One:

(1) Set defaults.conf permissions

 /usr/share/gdm/defaults.conf

(2) Modify the defaults.conf file

/usr/share/gdm/defaults.conf/usr/share/gdm/defaults.conf-/usr/share/gdm/defaults.conf

Modify the Content section of defaults.conf (or custom.conf):

[Security]allowroot=true        // allow root login allowremoteroot=true  // Allow root Telnet [Xdmcp]enable=truedisplaysperhost=ten    // number of allowed terminals port=177

Step Two: Modify the Inittab file

# cat/etc/inittab| grep ID     /etc/inittab/etc/inittab-/etc/inittab

Modify the section (refer to the VNC xinetd Service Setup Configuration step four (2) section):

Id:5:initdefault:

And in the last sentence,
X:5:respawn:/etc/x11/prefdm-nodaemon changed into X:5:RESPAWN:/USR/SBIN/GDM

Step three: Restart the GDM service

#/usr/sbin/GDM    /usr/sbin/gdm-restart    (restart GDM service) # GDM-restart    (restart GDM, may enter the pure command interface, using /usr/sbin/gdm--ef | grep GDM    (view GDM service)

Step Four:

(1) Adding firewall rules

Refer to step five of VNC's xinetd service setup configuration

0/00/0177 -j ACCEPT

(2) Save, restart, or shut down the firewall

#/sbin/service Iptables Save    // Keep rules in/etc/sysconfig/iptables file #/sbin/service Iptables Restart    // Restart firewall #/sbin/service iptables stop    // Turn off firewall #/sbin/ Service iptables status    // View Firewall State

(3) Check the 177 port monitoring situation

177/usr/sbin/lsof-i:177

If there are errors please also indicate, if there is infringement please inform, if you want to reprint please specify the source!

My blog: http://www.cnblogs.com/yllinux/

Linux Remote Desktop (iii)

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.