how to enable XDMCP in KDM on PCBSD?

unix

    Sponsored Links

    Next

  • 1. Network Evaluation Tool
    Dear all, Can anyone suggest an open-source Network Evaluation tool? Thanks sam
  • 2. Upgrade to 5.2 failed --> work around for X
    >>>>> "Boris" == Boris < XXXX@XXXXX.COM > writes: Boris> I tried to upgrade my system from 5.1-R to 5.2-R with Boris> sysinstall. During the update, there were some error messages Boris> concerning Perl and xfonttype. It seems highly advisable to NEVER upgrade X at the same time as the OS is upgraded. This is because there can be incompatibilities between existing X libraries or font support tools. On a recent 4.7R->4.9R upgrade and just now a 5.R1->5.2R, I found the cleanest way to upgrade my X was to do a fresh install and copy it over what I had i.e. rename /usr/X11R6 to say /usr/X11R6_safe install the latest X recursively copy the latest X onto (and overwriting) /usr/X11R6_safe e.g. (cd /usr/X11R6 ; tar cf - *)|(cd /usr/X11R6_safe ; tar xpf -) rename /usr/X11R6 to say /usr/X11R6_new_minimal (you never know!) rename /usr/X11R6_safe to /usr/X11R6 YMMV Cheers, phillip p.s. recently, some X lib inconsistencies even stop my xclock i.e. $ xclock /libexec/ld-elf.so.1: /usr/X11R6/lib/libfontconfig.so.1: Undefined symbol "FT_Get_BDF_Property" $

how to enable XDMCP in KDM on PCBSD?

Postby Derek ?utf-8?Q?KuliC584ski / takeda » Wed, 04 Jan 2006 18:20:19 GMT

I'm writing here, because PCBSD is basically a customized FreeBSD 6.x.

I'm struggling with enabling XDMCP on that OS.
I made sure there is * in Xaccess file, and under [xdmcp] (in kdmrc) I set
Enable=true.

In sockstat I see that port 177 is open, but after I write
X -query <pcbsd IP>
(in cygwin) the X starts but I don't see KDM login screen.

I started packet sniffer, and I see that X sends QUERY requests, to which
PCBSD doesn't answer to.
I checked in the logs and I don't see any problems...

I also turned off kdm and started xdm (after few changes, default
configuration has XDMCP disabled), and I see a login screen, so there isn't
problem with firewall or X client.

I was googling and couldn't find any helpful informaions (I did everything
what they suggested, event installed a font server - which probably is not
really needed, but KDM doesn't seem to work).

Did anyone successfully enabled XDMCP on their FreeBSD? Did I forgot to
enable something? What ports kdm usually opens? I only see udp/177 with
kdm, while xdm seems to spawn other processes that listen on more ports.

Please help :)
-- 
€
 XXXX@XXXXX.COM , ICQ# 15827691, YahooIM: takeda64
 http://www.**--****.com/  - strona wiki powicona IRC

how to enable XDMCP in KDM on PCBSD?

Postby Derek ?utf-8?Q?KuliC584ski / takeda » Wed, 04 Jan 2006 18:27:35 GMT

I'm writing here, because PCBSD is basically a customized FreeBSD 6.x.

I'm struggling with enabling XDMCP on that OS.
So far I made sure there is * in Xaccess file, and under [xdmcp] (in kdmrc)
I set Enable=true.

After writing sockstat -46 I see that port 177 is open, but after I write
X -query <pcbsd IP>
(in cygwin) the X starts but I don't see KDM login screen.

Packet sniffer, shows that X client sends QUERY requests, and kdm on PCBSD
doesn't answer to them.
The logs (kdm.log) looks ok to me...

I also tried to use xdm instead kdm (after few changes, default
configuration has XDMCP disabled), and I see a login screen, so probably
there isn't problem with client machine.

After googling for some time I couldn't find any helpful informaions (I
found few howtos, and I did everything what they suggested, event installed
a font server - which probably is not really needed, but KDM doesn't seem
to work).

Did anyone successfully enabled XDMCP on their FreeBSD? Maybe I forgot to
enable something? What ports kdm should open? I only see udp/177, while xdm
seems to spawn other processes that listen on more ports.

Please help :)
-- 
€
 XXXX@XXXXX.COM , ICQ# 15827691, YahooIM: takeda64
 http://www.**--****.com/  - strona wiki powicona IRC

Re: how to enable XDMCP in KDM on PCBSD?

Postby caleb » Thu, 05 Jan 2006 14:24:38 GMT




Hi,
    The only advice I could think of is install Free/Net/Open/BSD instead
of PCBSD. You will find that they have alot more flexible and have 
better documentation and resources. I don't mean to sound rude or 
arrogant but try a PCBSD newsgroup, your post is a little off topic.

Here are two urls' you may find usefull if you install FreeBSD;

 http://www.**--****.com/ 
	- the Xaccess section

 http://www.**--****.com/ 
	- This site has an article dedicated to the X display manager

You may already know this but, google has a BSD dedicated search engine;

 http://www.**--****.com/ 

If you have a look through the  XXXX@XXXXX.COM  archive you 
might find some more information about XDMCP.

caleb.


-- 
There is no spoon.

Re: how to enable XDMCP in KDM on PCBSD?

Postby Derek ?utf-8?Q?KuliC584ski / takeda » Fri, 06 Jan 2006 06:38:46 GMT




I'll try (in fact I PM one person who claimed on the forum that knows how
to make it work, so I'm waiting for reply).

Anyway, PC-BSD is FreeBSD, but with some additional stuff preinstalled, is
not a fork but just customized FreeBSD 6.0:

| %uname -v
| FreeBSD 6.0-RELEASE #1: Wed Nov  9 09:23:44 PST 2005      XXXX@XXXXX.COM :/usr/obj/usr/src/sys/GENERIC

| %pkg_info -W /usr/local/bin/kdm
| /usr/local/bin/kdm was installed by package kdebase-3.4.3


I already read it, when I do those changes and start xdm instead of kdm, it
seems to work, so kdm is the one who makes problems.


Looks like it's page from FreeBSD handbook which I already read.
I was also looking for solutions on KDE website...


Actually I spent a lot of time looking for solutions on google, although I
didn't used this specific BSD-only version... I'll give it another try.


I will look, thanks.

Anyway, is here anyone who successfully enabled XDMCP on kdm?
I'm talking about FreeBSD this time.

-- 
€
 XXXX@XXXXX.COM , ICQ# 15827691, YahooIM: takeda64
 http://www.**--****.com/  - strona wiki powicona IRC

Re: how to enable XDMCP in KDM on PCBSD?

Postby Torfinn Ingolfsen » Fri, 06 Jan 2006 07:01:16 GMT



First; I don't use kdm, so this is purely from Google.
According to this web page (look for "login screenies"):
 http://www.**--****.com/ 

you will have to locate a file called kdmrc, and change a setting in 
that file.

HTH
-- 
Torfinn Ingolfsen,
Norway

Re: how to enable XDMCP in KDM on PCBSD?

Postby Derek ?utf-8?Q?KuliC584ski / takeda » Fri, 06 Jan 2006 08:57:29 GMT






Yes I did that, and it looks like it's not enough, perhaps it's 



X -query localhost :1

And the result was exactly same as with X from cygwin...

PS. I also found this:
 http://www.**--****.com/ @XXXXX.COM /msg00820.html

Although after changing this sysctl, when I try to connect kdm the client
is acting weird, (e.g. is restarting all the time) but at least I see that
it's communicating.

In the log I see this:
Jan  4 15:27:24 PCBSD kernel: pid 7170 (kdm), uid 0: exited on signal 11
Jan  4 15:27:24 PCBSD kdm[7036]: Unknown session exit code 0 (sig 11) from
manager process
Jan  4 15:27:25 PCBSD kernel: pid 7186 (kdm), uid 0: exited on signal 11
Jan  4 15:27:25 PCBSD kdm[7036]: Unknown session exit code 0 (sig 11) from
manager process
Jan  4 15:27:27 PCBSD kernel: pid 7200 (kdm), uid 0: exited on signal 11
Jan  4 15:27:27 PCBSD kdm[7036]: Unknown session exit code 0 (sig 11) from
manager process
Jan  4 15:27:28 PCBSD kernel: pid 7214 (kdm), uid 0: exited on signal 11
Jan  4 15:27:28 PCBSD kdm[7036]: Unknown session exit code 0 (sig 11) from
manager process
Jan  4 15:27:30 PCBSD kernel: pid 7228 (kdm), uid 0: exited on signal 11
Jan  4 15:27:30 PCBSD kdm[7036]: Unknown session exit code 0 (sig 11) from
manager process

-- 
€
 XXXX@XXXXX.COM , ICQ# 15827691, YahooIM: takeda64
 http://www.**--****.com/  - strona wiki powicona IRC

Re: how to enable XDMCP in KDM on PCBSD?

Postby Derek ?utf-8?Q?KuliC584ski / takeda » Fri, 06 Jan 2006 10:26:09 GMT




Looks like that what I did was the final solution, but thanks to my luck I
just encountered buggy version of KDE:
 http://www.**--****.com/ 

I have: kdebase-3.4.3, and bug seems to be fixed in kdebase-3.4.3_1:
 http://www.**--****.com/ 

I'll try compile new version and see if that fixes the problem.

-- 
€
 XXXX@XXXXX.COM , ICQ# 15827691, YahooIM: takeda64
 http://www.**--****.com/  - strona wiki powicona IRC

Re: how to enable XDMCP in KDM on PCBSD?

Postby Derek ?utf-8?Q?KuliC584ski / takeda » Fri, 06 Jan 2006 15:19:21 GMT




Yep, updating KDE solved the problem.

Anyone knows if there is a way to make kdm bind only to IPv4 interface, so
I won't need to specify this settings?

Is there a way to use XDMCP over TCP not udp?
For example if I would want to tunnel connection through ssh...

-- 
€
 XXXX@XXXXX.COM , ICQ# 15827691, YahooIM: takeda64
 http://www.**--****.com/  - strona wiki powicona IRC

Re: how to enable XDMCP in KDM on PCBSD?

Postby Torfinn Ingolfsen » Fri, 06 Jan 2006 18:12:49 GMT



Good!


I don't know about kdm, but X (as in 'Xorg' or 'startx') has a parameter 
'-nolisten' where '-nolisten inet6' will do what you want.
-- 
Torfinn Ingolfsen,
Norway

Re: how to enable XDMCP in KDM on PCBSD?

Postby Derek ?utf-8?Q?KuliC584ski / takeda » Sat, 07 Jan 2006 10:11:03 GMT




kdm is a replacement for xdm...

It actually spawns X server when someone connects, so this doesn't apply...
I'll look on KDE website maybe I'll find an answer.

Anyway, since I primarily use IPv4 maybe net.inet6.ip6.v6only=0 is not such
a bad solution... 

Anyway, thanks for help.

-- 
€
 XXXX@XXXXX.COM , ICQ# 15827691, YahooIM: takeda64
 http://www.**--****.com/  - strona wiki powicona IRC

Similar Threads:

1.SuSE 8.2 kdm vs RH 9 kdm -- XDMCP

I was experimenting with a pc_Xstation, and tried to attach to a SuSE 8.2
system and get a login screen.  The 'Xaccess' file seems okay ("* #any
host can get a login window"), and the 'kdmrc' file was fixed to "[Xdmcp]
Enable=true".  But, no joy.  I had no trouble attaching to the same
machine when I booted RH 9.  (No firewall in either case.)

Am I missing something?

-- 
Dave Brown  Austin, TX

2.[XDMCP] XDM/KDM sometimes not responding to UDP packets on port 177

3.Please help with XDMCP on Redhat 9 / KDM

 XXXX@XXXXX.COM  (Duong Thanh An) writes:

> I use no firewall in my configuration.
> I think that the problem is not the firewall because after restarting i try:
> netstat -a | grep udp
> and i found that there's no xdmcp udp listening on the Linux box
> 
> thank you

There are 3 programs doing xdmcp

xdm, gdm, kdm.  They all read different configiration files.

xdm: /etc/X11/xdm/
gdm: /etc/X11/gdm/
kdm: /etc/kde3/

/ming


4.GDM chooser, KDM login manager, XDMCP problem

I hope this is the right place to ask...

We have the following problem.

We have a LTSP setup running. One boot server, which also servers the chooser
and several servers, the users can chooses from.

Currently the boot server is running Redhat 9 and a KDM chooser.
Some of the servers are running Redhat 7.2 with KDM as the login manager.

I'm currently in the process of updating the LTSP and preparing several server
upgrades to Redhat Enterprise 4.

Here is my problem. I have two test servers (both runing Redhat Enterprise 4),
one acts as the bootserver for the terminals, and the other acts as the
'normal' server (workhorse), that users will login to (users cannot login to the
bootserver) via XDMCP.

For various reasons I would like to have the GDM Chooser running on the
bootserver, but KDM running as the login manager on the workhorse server.

I cannot make that happen, KDM responds fine to XDMCP requests, so I have a nice
entry in the chooser, for the workhorse server. But when I click it, I just get
the standard gray X screen, no login manager.

The interesting thing is, if I switch the Login Manager on the workhorse server 
to GDM, every thing is fine.

When using KDM, the local display works fine, it's just for remote logins we 
have a problem.

And interestingly enough, the KDMs on the old RH 7.2 servers works just fine, so 
it's the new server version that has introduced problems.

Does anyone has any idea on what we could try to do in order to fix this? I 
would rather not have to use GDM on the workhorse servers.


-- 

/daleif (remove RTFSIGNATURE from email address)

5.[XDMCP] XDM/KDM sometimes not responding to UDP packets on port 177

Hi,

short introduction:

-Linux terminal server serving xdm/kdm login manager via XDMCP
 to X (thin)clients over ethernet
-Clients are thinclients and normal x86 PCs running x.org

problem:

from time to time the login manager (xdm and kdm are both affected)
serving on the terminal server stops reading from it's received packets
queue leading to not being able to login remotely via XDMCP.

packet flow when all is fine:

client -> server:177/udp
server -> client "Willing to serve"

packet flow when the mentioned problem occurs:

client -> server:177/udp (no response, some seconds delay)
client -> server:177/udp (no response, some seconds delay)
client -> server:177/udp (no response, some seconds delay)
...

# netstat -lnp (server)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address   Foreign Address   State  PID/Program
udp     2800      0 0.0.0.0:177     0.0.0.0:*                2567/kdm

The size of the Recv-Q is growing accordingly to udp packets received
from clients.

Client and server are in the same subnet, no bridge or router in
between.

Server is running X.org 6.8.2, kernel 2.6.11.

Sidenote: A kill `pidof kdm` doesn't kill kdm, kill -9 is needed.

I'm a bit frustrated since googling around didn't give me much info what
could be wrong here. I would be glad if someone could point me in the
right direction.

X-Post & F'up2 comp.os.linux.networking

Greetings,
Marcel.

-- 
Reply-To is working.

6. OpenBSD 3.8 kdm xdmcp problem

7. How to enable xdmcp?

8. [News] Review of Next Xubuntu (Alpha), New PCBSD



Return to unix

 

Who is online

Users browsing this forum: No registered users and 22 guest