feedburner

Lorem ipsum dolor sit amet,
consectetur adipisicing elit,
sed do eiusmod tempor incididunt ut labore
et dolore magna aliqua.

How to configure XDMCP in solaris/Suse/Fedora

How do I enable XDMCP on my Unix machine

On most Unix/Linux distributions XDMCP is disabled by default.
In order to enable your server to accept XDMCP connections you need to modify a few configuration files.
The configuration files are located in different directories depending on the distribution.
Please select the version you are currently using:
XDMCP: Red Hat Linux and Other GNOME based systems
On many versions of Red Hat Linux and other versions of Unix which have the GNOME desktop environment, enabling XDMCP only takes a few clicks.
1. Log in as root2. Open a terminal3. type gdmsetup (a dialog box will appear)4 Click on the XDMCP tab5. Check the Enable XDMCP box6. Press Close
XDMCP: Fedora Core 5
On many versions of Red Hat Linux and other versions of Unix which have the GNOME desktop environment, enabling XDMCP only takes a few clicks. Note that on Fedora Core 5 systems, gdmsetup has changed1. Log in as root2. Open a terminal3. type gdmsetup (a dialog box will appear)4 Click on the Remote tab5. Change Style to Plain6. Press Close
XDMCP: SuSe Linux
On SuSE linux systems you must manually edit the configuration files.
1. Log in as root2. Open /etc/sysconfig/displaymanager Change DISPLAYMANAGER_REMOTE_ACCESS=”yes”3. Open the files /etc/opt/kde3/share/config/kdm/kdmrc and /etc/opt/kde3/share/config/kdm/kdmrc.SuSEconfigFind the XDMCP section and set Enable to true[Xdmcp]Enable=trueWilling=/etc/X11/xdm/XwillingXaccess=/etc/X11/xdm/Xaccess4. Open /etc/X11/xdm/XaccessMake sure there is no # to the left of the * in the following host line* #any host can get a login window5. Open /etc/X11/xdm/xdm_configChange the DisplayManager.requestPort line to ! DisplayManager.requestPort: 1776. Restart the system
XDMCP: Solaris 9 and below
Solaris machines have XDMCP enabled by default. In case it has been disabled for some reason
1. Log in as root2. Open a terminal3. type “cd /usr/dt/config”4 edit the Xconfig file5. Comment out the lineDtlogin.requestPort: 06. Save and restart the server
XDMCP: Solaris 10

Solaris 10’s desktop environment is JDS which is basedoff of GNOME.
1. Log in as root2. Open a terminal3. type gdmsetup (a dialog box will appear)4 Click on the XDMCP tab5. Check the Enable XDMCP box6. Press Close
XDMCP: General Instructions
Here are general instructions to enable XDMCP manually editing files on unix systems.
1. Log in as root.2. From /etc/X11/xdm/Xaccess file, uncomment the line ”# * #any host can get a login window”.3. From /etc/X11/xdm/xdm-config file, comment out the line “DisplayManager.RequestPort: 0”.4. From /etc/X11/gdm/gdm.conf file, set the enable status to True (or 1) in [xdmcp] section.5. From /etc/kde/kdm/kdmrc file, set the enable status to True (or 1) in [xdmcp] section.6. The system needs to run in init level 5 (/etc/inittab).7. Reboot the Linux system after modification. Log in as root to the Linux machine again. Go to system settings, security level. Reduce the firewall security so that you can connect remotely. Do this only until able to connect with X-Win32, then you can properly reconfigure the firewall to accept XDMCP connections.
Don’t forget to open up your Firewall ports. For help configuring your firewall

What ports need to be opened for XDMCP




X-Win32 can connect to linux hosts even behind a firewall.
Open up TCP port 6000-6005 (plus X-Win32’s base display number) in both directionsOpen up UDP port 177 to accept incomming connections from any port.
If you are using Gnome open up TCP ports 16001 and TCP 35091 in both directions.
If you are behind a router using NAT, map those ports to the IP address of your local computer on your LAN. The only other thing is make sure on the Network tab under the X-Config menu, that your display is the correct IP address. This is the address you are telling the host to send the session back to.

If you are using SuSE linux firewall, edit /etc/sysconfig/SuSEfirewall2 changing the default options to the following

FW_SERVICES_EXT_UDP=“177 bootpc”FW_ALLOW_FW_BROADCAST_EXT=“yes”

0 comments:

Post a Comment