Use Xmanager to remotely connect to CentOS6.3

Source: Internet
Author: User
Use Xmanager to remotely connect to CentOS6.3 1. Use Xmanager to remotely connect to CentOS6.3 Step 1: In Linux, modify the/etc/X11/xdm/Xaccess file and find the following statement: # * # anyhostcangetaloginwindow remove the prefix... use Xmanager to remotely connect to CentOS6.3 1. Use Xmanager to remotely connect to CentOS6.3 Step 1: In Linux, modify the/etc/X11/xdm/Xaccess file and find the following statement: # * # any host can get a login window remove the first # sign and become * # any host can get a login window note: if the/etc/X11/xdm directory is not in linux and is only in the X11 directory, it means that you have not installed xdm. if it is a Redhat-based linux, you can use the following command to install it. Yum-y install xdm Part 2: vi/etc/inittab id: 5: initdefault: // set the system runtime level to 5. if it is 5, you do not need to modify id: 5: respawn: /usr/sbin/TPD // add to the last line 1) edit/etc/TPD/custom. conf. the content is as follows: [daemon] [security] AllowRemoteRoot = true [xdmcp] Port = 177 Enable = 1 [gui] [greeter] [chooser] [debug] [servers] m. conf to gmt1. conf> cp custom. conf tpd. conf. conf and then restart the desktop: gmt-restart init 3 init 5 or restart the system. 2) set the firewall, in the/etc/sysconfig/iptables file add :( can not set)-A RH-Firewall-1-INPUT-m state -- state NEW-m tcp-p tcp -- dport 6000: 6010-j ACCEPT-A RH-Firewall-1-INPUT-m state -- state NEW-m udp-p udp -- dport 177-j ACCEPT restart firewall: service iptables restart or disable firewall 3) install Xmanager in windows, open Xbrowser, create Xstart session Session: name; Host: IP address to be accessed; Protocol: ssh; User name: xxx password: xxx Remote Execution command select GN OME:/usr/bin/gnome-session -- display $ DISPLAY note: I encountered a problem where the firewall blocked access. use service iptables stop to close the firewall and then access it. Or use the command system-config-firewall to disable the firewall.
Related Article

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.