Re: Unable to start kde session on display :1

2003-12-09 Thread Mauro Darida
On Sat, 06 Dec 2003 at 11:34:23 +, Steinar Bang wrote:
 Platform: Intel PII 233
 debian sarge (testing/unstable)
 xserver-xfree86 4.2.1-12.1
 kdm 3.1.3-1
 
 I have an X server using kdm to handle sessions on the Ctrl-Alt-F7
 display, and I'm trying to start a second X server also handled by kdm
 on the Ctrl-Alt-F8'display, using xinit.
 
Try (look at spacing):
startx -- :2 vt8
Saluti, Mauro.
--
On this laptop no Windows system survives and LINUX POWER reigns UNLIMITED.
GnuPG key ID: 28A61681


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Unable to start kde session on display :1

2003-12-09 Thread Steinar Bang
 Mauro Darida [EMAIL PROTECTED]:

 Try (look at spacing):
 startx -- :2 vt8

Does the same as the same command without the vt8, ie. starts an X
display with no WM, three xterms and an xclock.

It doesn't connect to the running DM using XDMCP, to get a login box.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Unable to start kde session on display :1

2003-12-09 Thread Steinar Bang
 Kent West [EMAIL PROTECTED]:

 Does this mean that it actually starts 4 X servers?  That doesn't seem
 to be the case, so I guess the reserve keyword makes the difference?

 What does reserve mean in this context?  There wasn't anything about
 it in the comments of the file.

 http://kde.cict.fr/kdebase/kdm/README

 * reserve. A server marked as reserve is not started at KDM's startup time,
 but when the user explicitly requests it. See Command FiFos below.

According to the above document and the /etc/kde3/kdm/kdmrc file, I
should find some files called
  /var/run/xdmctl/xdmctl-1
  /var/run/xdmctl/xdmctl-2
  /var/run/xdmctl/xdmctl-3

and by doing
echo reserve 300 /var/run/xdmctl/xdmctl-1
I should get an X server with a KDM login box on virtual terminal 8. 

But there is no /var/run/xdmctl/ directory.  There is a /var/lib/xdm/
directory, but it is empty.

There is also a /var/lib/kdm/ directory, but all it contains is an
authfiles subdirectory, containing a single file with a cryptic file
name. 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Unable to start kde session on display :1

2003-12-09 Thread Karsten M. Self
on Tue, Dec 09, 2003 at 04:43:55PM +0100, Steinar Bang ([EMAIL PROTECTED]) wrote:
  Mauro Darida [EMAIL PROTECTED]:
 
  Try (look at spacing):
  startx -- :2 vt8
 
 Does the same as the same command without the vt8, ie. starts an X
 display with no WM, three xterms and an xclock.

That's going to depend on the existence and/or contents of ~/.xsession
or ~/.xinitrc.


Peace.

-- 
Karsten M. Self [EMAIL PROTECTED]http://kmself.home.netcom.com/
 What Part of Gestalt don't you understand?
I'm no one to be trifled with. That is all you ever need know.
- Princess Bride


pgp0.pgp
Description: PGP signature


Re: Unable to start kde session on display :1

2003-12-07 Thread Steinar Bang
 Steinar Bang [EMAIL PROTECTED]:

 Platform: Intel PII 233
[snip!]
 kdm 3.1.3-1
[snip!]
 As far as I can tell from the /etc/kde2/kdm/kdmrc, the
 /etc/kde2/kdm/kdm-config, the /etc/kde2/kdm/Xaccess, and the
 /etc/X11/fs/config files, kdm should be listening to
 XDMCP requests.

There's also an /etc/kde3/kdm/ directory, where XDMCP listening has
not been enabled.  I guess this is the one that's actually used by the
kdm I've installed?

It contains a kdmrc file and an Xaccess file, but no kdm-config file.
Are the settings in the kdm-config files no longer relevant?  Or do
they reside somewhere else?

Thanx!


- Steinar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Unable to start kde session on display :1

2003-12-07 Thread Steinar Bang
 Kent West [EMAIL PROTECTED]:

 Rather than use xinit, you might find it easier to just edit
 /etc/kde3/kdm/Xservers to start up the second kdm session. I've had
 two login sessions before (don't do it any more), and I believe this
 is how I did it, but I no longer remember for sure.

My /etc/kde3/kdm/Xservers file has the following at the end:

:0 [EMAIL PROTECTED] /usr/X11R6/bin/X :0 -dpi 100 -nolisten tcp vt7
:1 local reserve /usr/X11R6/bin/X :1 -dpi 100 -nolisten tcp vt8
:2 local reserve /usr/X11R6/bin/X :2 -dpi 100 -nolisten tcp vt9
:3 local reserve /usr/X11R6/bin/X :3 -dpi 100 -nolisten tcp vt10

Does this mean that it actually starts 4 X servers?  That doesn't seem
to be the case, so I guess the reserve keyword makes the difference?

What does reserve mean in this context?  There wasn't anything about
it in the comments of the file.

Thanx!


- Steinar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Unable to start kde session on display :1

2003-12-07 Thread Kent West
Steinar Bang wrote:

Kent West [EMAIL PROTECTED]:
   

 

Rather than use xinit, you might find it easier to just edit
/etc/kde3/kdm/Xservers to start up the second kdm session. I've had
two login sessions before (don't do it any more), and I believe this
is how I did it, but I no longer remember for sure.
   

My /etc/kde3/kdm/Xservers file has the following at the end:

:0 [EMAIL PROTECTED] /usr/X11R6/bin/X :0 -dpi 100 -nolisten tcp vt7
:1 local reserve /usr/X11R6/bin/X :1 -dpi 100 -nolisten tcp vt8
:2 local reserve /usr/X11R6/bin/X :2 -dpi 100 -nolisten tcp vt9
:3 local reserve /usr/X11R6/bin/X :3 -dpi 100 -nolisten tcp vt10
Does this mean that it actually starts 4 X servers?  That doesn't seem
to be the case, so I guess the reserve keyword makes the difference?
What does reserve mean in this context?  There wasn't anything about
it in the comments of the file.
 

http://kde.cict.fr/kdebase/kdm/README

* reserve. A server marked as reserve is not started at KDM's startup time,
 but when the user explicitly requests it. See Command FiFos below.


--
Kent
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Unable to start kde session on display :1

2003-12-06 Thread Steinar Bang
Platform: Intel PII 233
  debian sarge (testing/unstable)
  xserver-xfree86 4.2.1-12.1
  kdm 3.1.3-1

I have an X server using kdm to handle sessions on the Ctrl-Alt-F7
display, and I'm trying to start a second X server also handled by kdm
on the Ctrl-Alt-F8'display, using xinit.

The xinit command writes out the following error message multiple
times, before it dies:

  AUDIT: Sat Dec  6 09:56:19 2003: 29803 X: client 1 rejected from local host
  Xlib: connection to :1.0 refused by server
  Xlib: No protocol specified
  ..

From the error message it looks like the problem is releated to the X
server on display :1 disallowing access to kdm.  Is this a correct
assumption? 

If so, how to I open access?

Some details:

I've logged in as root on the Ctrl-Alt-F1 console, and am trying to
use the following command:
xinit -- :1 -query localhost -auth /root/.Xauthority

What happens is that the Ctrl-Alt-F8 display gets an X background
and an X cursor, however no kdm login dialog is displayed.  On the
Ctrl-Alt-F1 console, the following is written multiple times:

  AUDIT: Sat Dec  6 09:56:19 2003: 29803 X: client 1 rejected from local host
  Xlib: connection to :1.0 refused by server
  Xlib: No protocol specified
  ..

until the xinit program finally dies with the following output to
Ctrl-Alt-F1: 

  giving up.
  xinit:  unable to connect to X server
  waiting for X server to shut down 
  xinit:  Server error.

As far as I can tell from the /etc/kde2/kdm/kdmrc, the
/etc/kde2/kdm/kdm-config, the /etc/kde2/kdm/Xaccess, and the
/etc/X11/fs/config files, kdm should be listening to
XDMCP requests.

I also get the following netstat result:
# netstat -ua | grep xdmcp
udp0  0 *:xdmcp *:*

The commands I've tried, are:
xinit -- :1 -query localhost
xinit -- :1 -query localhost -cookie 1234
xinit -- :1 -query localhost -auth /root/.Xauthority 
with the same results on all commands.

The .Xauthority cookie on /root/ was created by just running xauth
with no arguments.

I have done something similar on the same machine back in March.  But
I can't remember the exact command, and it was (probably) on a
different version of XFree86.

Does this ring any bells for anyone?  Are there files I should post?
The XF86Config file?  The kdm config files?  The XFree86.1.log file?

Thanx!


- Steinar



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Unable to start kde session on display :1

2003-12-06 Thread Kent West
Steinar Bang wrote:

Platform: Intel PII 233
  debian sarge (testing/unstable)
  xserver-xfree86 4.2.1-12.1
  kdm 3.1.3-1
I have an X server using kdm to handle sessions on the Ctrl-Alt-F7
display, and I'm trying to start a second X server also handled by kdm
on the Ctrl-Alt-F8'display, using xinit.
The xinit command writes out the following error message multiple
times, before it dies:
 

Rather than use xinit, you might find it easier to just edit 
/etc/kde3/kdm/Xservers to start up the second kdm session. I've had two 
login sessions before (don't do it any more), and I believe this is how 
I did it, but I no longer remember for sure.

--
Kent


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]