LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-23-2004, 03:05 PM   #1
Ph0enix2003
Member
 
Registered: Jun 2004
Posts: 101

Rep: Reputation: 15
How do I enable XDMCP (remote X) in MDK 10.0


I'm using KDM.
 
Old 08-24-2004, 08:39 AM   #2
Ph0enix2003
Member
 
Registered: Jun 2004
Posts: 101

Original Poster
Rep: Reputation: 15
bueller?
 
Old 08-24-2004, 11:00 AM   #3
courtrrb
Member
 
Registered: Sep 2003
Location: Iowa, US
Distribution: MDK Since V6.5
Posts: 573

Rep: Reputation: 30
Via XDMCP

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.
 
Old 08-24-2004, 12:51 PM   #4
Ph0enix2003
Member
 
Registered: Jun 2004
Posts: 101

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by courtrrb
Via XDMCP

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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
XDMCP REMOTE access UltraSoul Linux - Networking 3 10-26-2005 06:48 PM
XDMCP remote access to Solaris UltraSoul Solaris / OpenSolaris 1 10-17-2005 11:46 PM
remote X login through XDMCP asifqaiyum Linux - Networking 3 07-28-2005 02:54 PM
Sound with XDMCP remote login? chrisknight Linux - Software 0 02-21-2005 05:54 AM
Remote X11 (XDMCP) Ph0enix2003 Mandriva 1 06-12-2004 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 07:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration