LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-10-2003, 12:24 AM   #1
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Rep: Reputation: 30
Font problem with XDMCP


Just launched my first foray into XDMCP and am trying to
connect one Linux X-server to and XDMCP server. I have
tried to setup the XDMCP server according to the
XDMCP-HOWTO but I didn't understand what was needed
on my system (Slackware 9.0) to properly configure fonts.

My XF86Config file contains the paths to the various fonts
when I run X-Window System with startx which works
properly. Simply as a test, I left everything in XF86Config
alone since I don't have a line 'FontPath "unix/:-1"' in it.

Since I use KDE, I altered the XDMCP section of
/opt/kde/share/config/kdm/kdmrc to include:

Enable=true
Port=177

and selected '*' in /opt/kde/share/config/kdm/Xaccess

I then ran 'teleinit 4' to start the server, which worked
properly to start KDE on the server.

I then switched over to the remote (we'll say the X terminal)
and tried to connect with:

X -broadcast

The X-server seemed to start but then just hung. I waited
for a few minutes and then halted the system with Ctrl-Alt-
Backspace. The XFree86.0.log ends with the following:

Could not init font path element /usr/X11R6/lib/X11/fonts/Speedo, removing from list!

What am I doing wrong or missing?

The HOWTO also contains the comment:

If you are using another Linux with X, you do not need to use
XDMCP to manage your display. You can actually export
your display right from your X box.
To do this, you must enable your access control to allow other to
make connection to the X Server. The common error you will get
without doing so are...

I am assuming that the export which takes the form:

$ xhost +
$ export DISPLAY=(your local host IP):0.0

is made on the XDMCP box (without XDMCP running) but
I don't know how I am supposed to connect from the other
machine.

Would I get the full KDE desktop this way?

TIA
 
Old 07-10-2003, 10:26 PM   #2
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Original Poster
Rep: Reputation: 30
As a follow-on, is it necessary to run the font server 'xfs'
on the server to make this work?

The font path information hardcoded into each machines
XF86Config is basically the same.
 
Old 07-15-2003, 05:58 PM   #3
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Original Poster
Rep: Reputation: 30
OK no response; let's add a little flavor.

I have been attempting XDMCP connections with kdm which
for some reason (despite the font thing) has caused server
rejections. So I decided to use XDM as the XDMCP server
and am now getting the following:

Fatal server error:
XDMCP fatal error: Session failed Session 470256003 failed for display xxx.xxx.xxx.xxx.client.attbi.com:1: Cannot open display

Seems there is no problem with authentication.

Don't know what the problem is but thought maybe the
difference in Xfree86 distributions might be a problem. The
XDMCP server (client machine) is running XFree86 4.3.0 and the
client (X server) runs XFree86 4.1.0.

The XDM.log contains:

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.4.20 i686 [ELF]
Build Date: 01 March 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Tue Jul 15 16:32:01 2003
(==) Using config file: "/etc/X11/XF86Config"
xdm error (pid 948): Hung in XOpenDisplay(xxx.xxx.xxx.xxx.client.attbi.com:0), aborting
xdm error (pid 948): server open failed for xxx.xxx.xxx.xxx.client.attbi.com:0, giving up
xdm error (pid 824): Display xxx.xxx.xxx.xxx.client.attbi.com:0 cannot be opened
xdm error (pid 824): Display xxx.xxx.xxx.xxx.client.attbi.com:0 is being disabled
xdm error (pid 959): Hung in XOpenDisplay(xxx.xxx.xxx.xxx.client.attbi.com:1), aborting
xdm error (pid 959): server open failed for xxx.xxx.xxx.xxx.client.attbi.com:1, giving up
xdm error (pid 824): Display xxx.xxx.xxx.xxx.client.attbi.com:1 cannot be opened
xdm error (pid 824): Display xxx.xxx.xxx.xxx.client.attbi.com:1 is being disabled
xdm error (pid 992): Hung in XOpenDisplay(xxx.xxx.xxx.xxx.client.attbi.com:1), aborting
xdm error (pid 992): server open failed for xxx.xxx.xxx.xxx.client.attbi.com:1, giving up
xdm error (pid 824): Display xxx.xxx.xxx.xxx.client.attbi.com:1 cannot be opened
xdm error (pid 824): Display xxx.xxx.xxx.xxx.client.attbi.com:1 is being disabled
xdm error (pid 1003): Hung in XOpenDisplay(xxx.xxx.xxx.xxx.client.attbi.com:0), aborting
xdm error (pid 1003): server open failed for xxx.xxx.xxx.xxx.client.attbi.com:0, giving up
xdm error (pid 824): Display xxx.xxx.xxx.xxx.client.attbi.com:0 cannot be opened
xdm error (pid 824): Display xxx.xxx.xxx.xxx.client.attbi.com:0 is being disabled

I also tried X :1 -broadcast as well as X -broadcast.

Any suggestions?
 
Old 07-16-2003, 12:00 AM   #4
bughead1
Member
 
Registered: Jul 2002
Posts: 78

Rep: Reputation: 15
There should be no problem running different versions of X4 on your network. I've used X3 based X terminals with X4 powered XDMCP servers.

However, X4 is configured out-of-the-box to deny remote connections, and you have to edit both the /etc/X11/xdm/Xaccess and /etc/X11xdm/xdm-config files before the XDMCP server will accept connections from an X terminal.

Also, I use X -query <ip of the server> to connect from the X terminal. You can put this in rc.local on a Slackware box to automatically connect if you like, and on SysV type systems, it is best to run it as a script after everything else is done.
 
Old 07-16-2003, 10:43 AM   #5
raypen
Member
 
Registered: Jun 2002
Location: Midwest
Distribution: Slackware
Posts: 365

Original Poster
Rep: Reputation: 30
Is it possible that there could be some inconsistencies
between XF86Config files that might cause this problem?

Specifically, if I am using:
Identifier "VESA Framebuffer" on one side and
Identifier "Matrox Millennium G450 1"

I wouldn't think this would make any difference, but I'll
have to explore everything before I figure this out.

************************************************************
Addendum

Would someone please explain how the following should work:

X Server side $ xhost +name-of-computer-from-which-display-is-exported

X Client side $ export DISPLAY=(server-side-name):0

Not sure I understand how this is supposed to work. I tried running KDE desktop on Client
side and exported the display as in the above from an x console. Checking 'env' afterwards
confirmed that the display was properly exported.

Ran X(just X) from the Server side just to get X running then Ctrl-Alt-F1 to a text console to
enter xhost +Client

I must have been doing this wrong because the output on the terxt console indicated that X
was still in the process of loading; maybe I need to add a string to the command to complete
the X loading process.

Needless to say nothing worked properly so I did a Ctrl-Alt-Backspace to halt the Server side
X and went to check the DISPLAY variable on the Client which had reverted to 0:0.

I'm very confused as to how this is supposed to work. Any help appreciated.

Last edited by raypen; 07-16-2003 at 12:09 PM.
 
Old 07-16-2003, 05:13 PM   #6
bughead1
Member
 
Registered: Jul 2002
Posts: 78

Rep: Reputation: 15
If you are XDM configured and running on the server computer, all you really have to do is is run the X -query from the workstation (at runlevel 3).
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 sound on a remote host problem citan Linux - Newbie 1 02-22-2006 12:57 AM
Trying to install LTSP, config problem (tftp, xdmcp) yokim Linux - Networking 2 10-10-2005 11:11 PM
font problem? dixie Linux - Newbie 1 09-20-2004 10:45 AM
Font problem... cemer Slackware - Installation 1 09-11-2004 04:47 PM
Problem with XDMCP (x-terminal) JayCeeInDaHouse Mandriva 0 07-03-2004 02:52 PM

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

All times are GMT -5. The time now is 11:17 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