how to enable XDMCP in KDM on PCBSD?

unix

    Sponsored Links

    Next

  • 1. No internte on 5.2
    Hi folks, This is by no means a proper problem report, but here goes: I have cable internet access and I connect to my modem/internet behind a Linksys NATing router. Until now with 4.8 and 4.9 everything worked fine (with a few tweaks for KDE, but worked nonetheless). I installed 5.2 today, it found my 3COM NIC on my ASUS mobo (nforce2 chipset mind) and I set DHCP properly (ie. like every other time I had to set it up and resulted in working), butI have no access to the outside world. I can ping machines on my LAN but not behind my router. I tried pinging google, both using the IP address and the URL to no avail. Does anyone have an inclination on what it might be wrong? Cheers, Andreas
  • 2. Cannot understand this warning
    Hi to every member of this newsgroup. I just installed FreeBSD 4.9-STABLE on my laptop a Toshiba Satellite 4030 CDS with Triden Cyber 9525/DVD. Yesterday I configured the X server: everything seems to work fine, but I got the following warning in the XFree86.0.log: (==) TRIDENT(0): Write-combining range (0xff7e0000,0x20000) was already clear (WW) TRIDENT(0): Failed to set write-combining range (0xff800000,0x2800000) I cannot understand what does it mean. Please can someone give me any advice about this problem? Thanks in advance. -- Dalla scuola di guerra della vita - - Quel che non mi uccide, mi rende piu' forte. Frederich Nietzsche
  • 3. PHP install issues (4.8 stable)
    Hi, I'm trying to install mod_php4 from the ports collection on FreeBSD but I allways get a message stating: Error: shared library "sablot.69" does not exist mod_php4 seems to be dependant on sablatron, so I've been into ports/textproc/sablatron and installed that using "make install clean" and that worked fine, so I went back to install php and I get this error: ===> Installing for Sablot-0.97 ===> Sablot-0.97 is already installed - perhaps an older version? If so, you may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of Sablot-0.97 without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. So back I go and deinstall sablatron, ok. back to mod_php4 and I'm back where I started: Error: shared library "sablot.69" does not exist I'm know that I'm not the first person to have this problem because I've seen it describied on other newsgroups, but I havn't seen any solutions posted. Any ideas? Garth.
  • 4. Installing Staroffice 7
    I want to install Star office 7 on my Freebsd 4.9 box. Going in /usr/ports/editor/staroffice70/ and 'making' it results in the following error message: Check if linprocfs is running: YES Check if /compat/linux/etc/mtab exists: YES If you like to install staroffice with ADABAS database support, cancel this installation now and start make again with WITH_ADABAS=YES. ===> Extracting for staroffice-7.0 >> Checksum OK for so-7-ga-bin-linux-en.bin. >> Checksum OK for 116518-02.tar. /usr/ports/editors/staroffice70/work/staroffice7.0/so-7ga-bin-linux-en.bin: error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory *** Error code 127 Stop in /usr/ports/editors/staroffice70. I also tried installing libX11 manually from the ports tree but it failed because one of the .tar.bz. files is unavailable. I'm not sure if this newsgroup is the right place for this post - I apologize if it isn't but any help in installing star office would be very appreciated. Sven ----------------------------- s v e n (dot) d (dot) m e i e r (at) g m x (dot) n e t
  • 5. Handbook Printing Confusion
    Hi, The section on printing in the handbook which deals with printer input filtering on lpd recommends using /dev/fd/3 to capture Ghostscript's output. Perhaps this could confuse more people than me as this device is no longer in FreeBSD 5.2 by default and my attempts to install one with devfs and fdescfs didn't result in one Ghostscript could access. I am using just -sOutputFile=- but believe this can cause problems so mean to try xpdq which works well for a workstation on Debian Linux. All the best, John Duncan

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 47 guest