MandrivaThis Forum is for the discussion of Mandriva (Mandrake) Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
XDMCP is the X Display Manager Control Protocol. In order to use it, you will have to log in via a graphical login manager (GDM, KDM) on the machine which will act as the server. Configuration steps require 'root' privileges and have to be done on the machine running the login manager only.
* Edit '/etc/X11/xdm/xdm-config' and put an exclamation mark in front of this line:
DisplayManager.requestPort: 0
* Edit '/etc/X11/xdm/Xaccess' and remove the hash (#) in front of this line (if there is one):
* # any host can get a login window
* Edit '/usr/share/config/kdm/kdmrc' and change
{Xdmcp}
Enable=false
to
{Xdmcp}
Enable=true
If you're using GDM, you can configure that in the advanced options field of gdm-config.
* Log out of your X session and log in again.
Now go to the client machine, log into a console and run
X -broadcast
(notice that you can and should do this as non-root). The login screen of the remote machine running the display manager will come up and you can log in.
All applications will run on the remote machine and the visuals will appear on the local machine via the network. To quit the session, log out and choose 'Close Connection' from the 'Menu' dropdown.
Since the local X server requires very little resources, this is a neat way to run a full blown graphical desktop on older machines.
Security notice: Only use XDMCP in trusted environments, there's no encryption whatsoever, everything - including passwords - is sent in plain text over the network between the connected machines. XDMCP requires UDP port 177 to be open on the display server.
This is what I found. I tried this on 7 machines and only three work it they are suppoed to.
XDMCP is the X Display Manager Control Protocol. In order to use it, you will have to log in via a graphical login manager (GDM, KDM) on the machine which will act as the server. Configuration steps require 'root' privileges and have to be done on the machine running the login manager only.
* Edit '/etc/X11/xdm/xdm-config' and put an exclamation mark in front of this line:
DisplayManager.requestPort: 0
* Edit '/etc/X11/xdm/Xaccess' and remove the hash (#) in front of this line (if there is one):
* # any host can get a login window
* Edit '/usr/share/config/kdm/kdmrc' and change
{Xdmcp}
Enable=false
to
{Xdmcp}
Enable=true
If you're using GDM, you can configure that in the advanced options field of gdm-config.
* Log out of your X session and log in again.
Now go to the client machine, log into a console and run
X -broadcast
(notice that you can and should do this as non-root). The login screen of the remote machine running the display manager will come up and you can log in.
All applications will run on the remote machine and the visuals will appear on the local machine via the network. To quit the session, log out and choose 'Close Connection' from the 'Menu' dropdown.
Since the local X server requires very little resources, this is a neat way to run a full blown graphical desktop on older machines.
Security notice: Only use XDMCP in trusted environments, there's no encryption whatsoever, everything - including passwords - is sent in plain text over the network between the connected machines. XDMCP requires UDP port 177 to be open on the display server.
This is what I found. I tried this on 7 machines and only three work it they are suppoed to.
Thanks!!! ...I found and configured kdmrc before reading your reply. That did the trick! You can use SSH port forwarding to secure your remote sessions. That's next on my todo list.
Last edited by Ph0enix2003; 08-24-2004 at 12:52 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.