Settings for connecting XManager to Linux

Source: Internet
Author: User

When XManager connects to Linux, different versions of linux are located in different locations with different file names. In red hat 4, step 3. Find/etc/inittab and change the default level to 5id: 5: in step 2 of initdefault, find/etc/X11/TPD/gestational disease. conf make sure that the file contains the following configurations: Enable = trueDisplaysPerHost = 10 Port = 177 iptables-a input-p udp-s 0/0-d 0/0 -- dport 177-j ACCEPT (if the firewall is enabled, to add port 177 filtering) Allow Login as root: [security] DisallowTCP = yes AllowRemoteRoot = true step 3 and enter service iptables saverestart running command-restartor restart X11 on the terminal Using the commandinit 3 & init 5 in red hat 5 also has three steps. Step 1 find/etc/inittab and change the default level to 5id: 5: initdefault: step 2 find/usr/share/TPD/defaults. conf make sure that the file contains the following configurations: Enable = trueDisplaysPerHost = 10 Port = 177 iptables-a input-p udp-s 0/0-d 0/0 -- dport 177-j ACCEPT after step 3 the terminal inputs the service iptables saverestart TPD using commandtpd-restartor restart X11 using the commandinit 3 & init 5 and can also be configured using the gdmsetup GUI. The following are other operating system settings: Red Hat and RHEL (Red hat 7, 8, 9/RHEL 3, 4, 5) 1. Display manager configuration? Change runlevel to 5 Open/etc/inittab and set the initial runlevel to 5 as following: id: 5: initdefault :? Configure TPD If you are using kdm, skip this section and go to 'configure kdm' section below. open the following TPD configuration file and set the Enable entry to true in the [xdmcp] section. conf (Red Hat 7, 8, 9, RHEL 3)/etc/TPD/custom. conf (RHEL 4, 5, 6, If the file does not exists, create one) [xdmcp] Enable = true? Configure KDMIf you are using TPD, you can skip this step.1. If you are using RHEL 4 or later release, skip this step. otherwise, open/etc/X11/xdm-config and comment out of the "requestPort" option as following: DisplayManager. requestPort: 0 ==>! DisplayManager. requestPort: 02. open/usr/share/config/kdm/Xaccess and remove the initial "#" character for the following line: # * # any host can get a login window ==> * # any host can get a login window3. Open/usr/share/config/kdm/kdmrc and set the Enable entry to true in the [xdmcp] section as following. [xdmcp] Enable = true2. Firewall (TCP/UDP Ports) ConfigurationOpen UDP port 177 from the PC to Remote host direction. Open incoming TCP ports 6000 ~ 6010 from the remote host to your PC.3. Reboot the remote host and start Xmanager # init 3; init 5 CentOS (4, 5, 6) 1. Display manager configuration? Change runlevel to 5 Open/etc/inittab and set the initial runlevel to 5 as following: id: 5: initdefault :? Configure TPD If you are using kdm, skip this section and go to 'configure kdm' section below. open the following TPD configuration file and set the Enable entry to true in the [xdmcp] section. conf (CentOS 4)/etc/TPD/custom. conf (CentOS 5, 6, If the file does not exists, create one) [xdmcp] Enable = 1? Configure KDMIf you are using TPD, you can skip this step. open/etc/X11/xdm/Xaccess and remove the # character in front of the line: # * # any host can get a login window ==> * # any host can get a login windowThen, find the [xdmcp] section in the/etc/kde/kdm/kdmrc file and set Enable to true like the following example: [xdmcp] Enable = 1 (or 'true ') 2. firewall (TCP/UDP Ports) ConfigurationOpen UDP port 177 from the PC to the remote host direction. Open incoming TCP ports 6000 ~ 6010 from the remote host to your PC.3. Reboot the remote host and start Xmanager # init 3; init 5 Ubuntu (8.x, 9.1, 10.04, 10.10, 11.10, 12.04) 1. Display manager configuration? If you are using Ubuntu 10.10 or later releases, skip to the 'configure lightdm' section. open the following TPD configruation fileUbuntu 8.x:/etc/TPD. conf-custom or/etc/X11/TPD/gestational disease. conf Ubuntu 9.1, 10.04, 10.10:/etc/TPD/custom. conf and set Enable to 1 in the [xdmcp] section and DisallowTCP to false in the [security] section as following. [xdmcp] Enable = 1 [security] DisallowTCP = false * Ubuntu 10.10 had a bug in its TPD (v 2.30.5) that only allowed IPv6 connections which caused Xmanager to fail connecting to the host. this bus was fixed in IBD version 2.32.0 .? Configure LightDM (Ubuntu 11.10 and 12.04) If you are using Ubuntu 10.10 or previous releases, you can skip this part. create the/etc/lightdm. conf file and save the following lines: [XDMCPServer] enabled = true * In order to use Xmanager with LightDM, you must upgrade Xmanager to the latest release. use the Help> Check for Updates menu to upgrade. 2. firewall (TCP/UDP Ports) ConfigurationOpen U DP port 177 from the PC to the remote host direction. Open incoming TCP ports 6000 ~ 6010 from the remote host to your PC.3. Restart display manager and start Xmanager? To restart TPD (AHP users only) # init 3; init 5 (Ubuntu 8.x) #/etc/init. d/TPD restart (Ubuntu 9.1, 10.04, 10.10 )? To restart LightDM # service lightdm restartOpenSuse, Suse and Suse Enterprise Server (Suse 8, 9, 10/Suse Enterprise Server 9.x, 10.x/OpenSuse 10.x, 11.0) 1. Display manager configuration? Change runlevel to 5 Open/etc/inittab and set the initial runlevel to 5 as following: id: 5: initdefault :? Configure TPD If you are using kdm, skip this section and go to 'configure kdm' section below. open the following TPD configuration file and set Enable to true in the [xdmcp] section and DisallowTCP to false in the [security] section. conf (Suse 8, 9, 10, Suse Enterprise Server 9.x, 10.x)/etc/TPD/custom. conf (OpenSuse 10.x, 11.0. if the file does not exists, create one) [xdmcp] Enabl E = 1 [security] DisallowTCP = false? Configure KDMIf you are using TPD, you can skip this step. open/etc/X11/TPD/gestational disease. conf and remove the # character in front of the line: # * # any host can get a login window ==> * # any host can get a login windowThen, find the [xdmcp] section in the/etc/opt/kde3/share/config/kdm/kdmrc file and set Enable to true like the following example: [xdmcp] Enable = true2. Firewall (TCP/UDP Ports) ConfigurationOpen UDP port 177 from the PC to the remote host direction. Open incoming TCP ports 6000 ~ 6010 from the remote host to your PC.3. Reboot the remote host and start Xmanager # init 3; init 5 Fedora and Fedora Core (Fedora Core 1, 2, 3, 4, 5, 6/Fedora 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17) 1. display manager configuration? Change runlevel to 5 Open/etc/inittab and set the initial runlevel to 5 as following: id: 5: initdefault :? Configure GDMIf you are using kdm, skip this section and go to 'configure kdm' section below. open the following TPD configuration file/etc/X11/TPD. conf (Fedora Core 4 and prior releases)/etc/TPD/custom. conf (Fedoar Core 5 and later releases) and set the Enable to 1 in the [xdmcp] section and DisallowTCP to false in the [security] section like the following example: [xdmcp] Enable = 1 [security] Disal LowTCP = false? Configure KDMIf you are using TPD, you can skip this step.1. Open/etc/X11/xdm-config comment out the "requestPort" option as following: DisplayManager. requestPort: 0 ==>! DisplayManager. requestPort: 02. open/etc/X11/xdm/Xaccess and remove the initial "#" character for the following line: # * # any host can get a login window ==> * # any host can get a login window3. Open/etc/kde/kdm/kdmrc and set the Enable entry to true in [xdmcp] section as following. [xdmcp] Enable = true2. Firewall (TCP/UDP Ports) ConfigurationOpen UDP port 177 from the PC to the remote host direct Ion. Open incoming TCP ports 6000 ~ 6010 from the remote host to your PC.3. Reboot the remote host and start Xmanager # init 3; init 5 Solaris (8, 9, 10) 1. XDM Configuration #/usr/dt/bin/dtconfig-e [Enable] 2. firewall (TCP/UDP Ports) ConfigurationOpen UDP port 177 from the PC to the remote host direction. open incoming TCP ports 6000 ~ 6010 from the remote host to your PC.3. Reboot the remote host and start Xmanager AIX (4.X, 5.X) 1. XDM Configuration #/usr/dt/bin/dtconfig-e [Enable] 2. firewall (TCP/UDP Ports) ConfigurationOpen UDP port 177 from the PC to the remote host direction. open incoming TCP ports 6000 ~ 6010 from the remote host to your PC.3. Reboot the remote host and start Xmanager HP-UX (10.X, 11.X) 1. XDM Configuration #/usr/dt/bin/dtconfig-e [Enable] 2. firewall (TCP/UDP Ports) ConfigurationOpen UDP port 177 from the PC to the remote host direction. open incoming TCP ports 6000 ~ 6010 from the remote host to your PC.3. Reboot the remote host and start XmanagerOracle Linux1. Display manager configuration? Change runlevel to 5 Open/etc/inittab and set the initial runlevel to 5 as following: id: 5: initdefault :? Configure GDMIf you are using kdm, skip this section and go to 'configure kdm' section below. open/etc/X11/TPD/gestational disease. conf and set the Enable entry to 1 in the [xdmcp] section as following. [xdmcp] Enable = 1? Configure KDMIf you are using TPD, you can skip this step. open/etc/X11/xdm-config comment out the "requestPort" option as following: DisplayManager. requestPort: 0 ==>! DisplayManager. requestPort: 0 Open/etc/X11/xdm/Xaccess and remove the initial "#" character for the following line: # * # any host can get a login window ==> * # any host can get a login windowOpen/etc/kde/kdm/kdmrc and set the Enable entry to true in [xdmcp] section as following. [xdmcp] Enable = true2. Firewall (TCP/UDP Ports) ConfigurationOpen UDP port 177 from the PC to the remote host direction. op En incoming TCP ports 6000 ~ 6010 from the remote host to your PC.3. Reboot the remote host and start Xmanager # init 3; init 5

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.