Go Back   Talk Root - PC Hardware, Software and Web Development forums > Operating Systems > *BSD Discussion > Free BSD

Sponsored Links

Reply
 
Thread Tools Search this Thread
  #1  
Old 02-27-2006, 11:16 PM
Derek =?utf-8?Q?Kuli=C5=84ski?= / takeda
Guest
 
Posts: n/a
Default how to enable XDMCP in KDM on PCBSD?

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 :)
--
ダレック
[email]takeda@IRCnet.EFne[/email]t, ICQ# 15827691, YahooIM: takeda64
[url]http://ircwiki.takeda.tk[/url] - strona wiki poświęcona IRC
Reply With Quote
  #2  
Old 02-27-2006, 11:16 PM
caleb
Guest
 
Posts: n/a
Default Re: how to enable XDMCP in KDM on PCBSD?

Derek Kuliński / takeda wrote:

> Please help :)


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;

[url]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/basics-daemons.html[/url]
- the Xaccess section

[url]http://freebsd.active-venture.com/handbook/x-xdm.html[/url]
- This site has an article dedicated to the X display manager

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

[url]http://www.google.com/bsd[/url]

If you have a look through the [email]freebsd-questions@freebsd.org[/email] archive you
might find some more information about XDMCP.

caleb.


--
There is no spoon.
Reply With Quote
  #3  
Old 02-27-2006, 11:16 PM
Derek =?utf-8?Q?Kuli=C5=84ski?= / takeda
Guest
 
Posts: n/a
Default Re: how to enable XDMCP in KDM on PCBSD?

On Wed, 04 Jan 2006 16:24:38 +1100, caleb wrote:

> 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.


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 [email]root@PCBSD.loca[/email]lhost:/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

> Here are two urls' you may find usefull if you install FreeBSD;
>
> [url]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/basics-daemons.html[/url]
> - the Xaccess section


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.

> [url]http://freebsd.active-venture.com/handbook/x-xdm.html[/url]
> - This site has an article dedicated to the X display manager


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

> You may already know this but, google has a BSD dedicated search engine;
> [url]http://www.google.com/bsd[/url]


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.

> If you have a look through the [email]freebsd-questions@freebsd.org[/email] archive you
> might find some more information about XDMCP.


I will look, thanks.

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

--
ダレック
[email]takeda@IRCnet.EFne[/email]t, ICQ# 15827691, YahooIM: takeda64
[url]http://ircwiki.takeda.tk[/url] - strona wiki poświęcona IRC
Reply With Quote
  #4  
Old 02-27-2006, 11:16 PM
Torfinn Ingolfsen
Guest
 
Posts: n/a
Default Re: how to enable XDMCP in KDM on PCBSD?

Derek Kuliński / takeda wrote:
> Anyway, is here anyone who successfully enabled XDMCP on kdm?


First; I don't use kdm, so this is purely from Google.
According to this web page (look for "login screenies"):
[url]http://braincore.blogspot.com/2005_04_01_braincore_archive.html[/url]

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

HTH
--
Torfinn Ingolfsen,
Norway
Reply With Quote
  #5  
Old 02-27-2006, 11:16 PM
Derek =?utf-8?Q?Kuli=C5=84ski?= / takeda
Guest
 
Posts: n/a
Default Re: how to enable XDMCP in KDM on PCBSD?

On Wed, 04 Jan 2006 23:01:16 +0100, Torfinn Ingolfsen wrote:

> Derek Kuliński / takeda wrote:
>> Anyway, is here anyone who successfully enabled XDMCP on kdm?

>
> First; I don't use kdm, so this is purely from Google.
> According to this web page (look for "login screenies"):
> [url]http://braincore.blogspot.com/2005_04_01_braincore_archive.html[/url]
>
> you will have to locate a file called kdmrc, and change a setting in
> that file.


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

I actually even tried to load second window and I wrote:
X -query localhost :1

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

PS. I also found this:
[url]http://www.mail-archive.com/kde-freebsd@freebsd.kde.org/msg00820.html[/url]

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

--
ダレック
[email]takeda@IRCnet.EFne[/email]t, ICQ# 15827691, YahooIM: takeda64
[url]http://ircwiki.takeda.tk[/url] - strona wiki poświęcona IRC
Reply With Quote
  #6  
Old 02-27-2006, 11:16 PM
Derek =?utf-8?Q?Kuli=C5=84ski?= / takeda
Guest
 
Posts: n/a
Default Re: how to enable XDMCP in KDM on PCBSD?

On Wed, 4 Jan 2006 15:57:29 -0800, Derek Kuliński / takeda wrote:

> 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


Looks like that what I did was the final solution, but thanks to my luck I
just encountered buggy version of KDE:
[url]http://frontrangebsd.org/pipermail/kde-freebsd/2005-November/011750.html[/url]

I have: kdebase-3.4.3, and bug seems to be fixed in kdebase-3.4.3_1:
[url]http://www.freshports.org/x11/kdebase3[/url]

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

--
ダレック
[email]takeda@IRCnet.EFne[/email]t, ICQ# 15827691, YahooIM: takeda64
[url]http://ircwiki.takeda.tk[/url] - strona wiki poświęcona IRC
Reply With Quote
  #7  
Old 02-27-2006, 11:16 PM
Derek =?utf-8?Q?Kuli=C5=84ski?= / takeda
Guest
 
Posts: n/a
Default Re: how to enable XDMCP in KDM on PCBSD?

On Wed, 4 Jan 2006 17:26:09 -0800, Derek Kuliński / takeda wrote:

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


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...

--
ダレック
[email]takeda@IRCnet.EFne[/email]t, ICQ# 15827691, YahooIM: takeda64
[url]http://ircwiki.takeda.tk[/url] - strona wiki poświęcona IRC
Reply With Quote
  #8  
Old 02-27-2006, 11:16 PM
Torfinn Ingolfsen
Guest
 
Posts: n/a
Default Re: how to enable XDMCP in KDM on PCBSD?

Derek Kuliński / takeda wrote:
> Yep, updating KDE solved the problem.


Good!

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


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
Reply With Quote
  #9  
Old 02-27-2006, 11:16 PM
Derek =?utf-8?Q?Kuli=C5=84ski?= / takeda
Guest
 
Posts: n/a
Default Re: how to enable XDMCP in KDM on PCBSD?

On Thu, 05 Jan 2006 10:12:49 +0100, Torfinn Ingolfsen wrote:

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

> 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.


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.

--
ダレック
[email]takeda@IRCnet.EFne[/email]t, ICQ# 15827691, YahooIM: takeda64
[url]http://ircwiki.takeda.tk[/url] - strona wiki poświęcona IRC
Reply With Quote
Reply

Bookmarks

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 On
HTML code is Off


Sponsored Links


All times are GMT -7. The time now is 10:26 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 (Unregistered)
© 2013 TalkRoot.com