Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 1996 20:16:52 -0800 (PST)
From:      "Jonathan M. Bresler" <jmb>
To:        freebsd-hackers
Subject:   xdm running two sessions HOW?
Message-ID:  <199602290416.UAA21097@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
i have removed the getty from two consoles.

how can i get xdm to start two sessions?

/etc/ttys:
ttyv2   "/usr/libexec/getty Pc"         cons25  off insecure
ttyv3   "/usr/libexec/getty Pc"         cons25  off insecure

Xservers:
:0 local /usr/X11R6/bin/X :0
:1 local /usr/X11R6/bin/X :1

xdm-config:
DisplayManager.errorLogFile:    /usr/X11R6/lib/X11/xdm/xdm-errors
DisplayManager.pidFile:         /usr/X11R6/lib/X11/xdm/xdm-pid
DisplayManager.keyFile:         /usr/X11R6/lib/X11/xdm/xdm-keys
DisplayManager.servers:         /usr/X11R6/lib/X11/xdm/Xservers
DisplayManager.accessFile:      /usr/X11R6/lib/X11/xdm/Xaccess
DisplayManager._0.authorize:    true
DisplayManager._0.setup:        /usr/X11R6/lib/X11/xdm/Xsetup_0
DisplayManager._0.startup:      /usr/X11R6/lib/X11/xdm/GiveConsole
DisplayManager._0.reset:        /usr/X11R6/lib/X11/xdm/TakeConsole
DisplayManager*resources:       /usr/X11R6/lib/X11/xdm/Xresources
DisplayManager*session:         /usr/X11R6/lib/X11/xdm/Xsession
DisplayManager*authComplain:    false
DisplayManager._1.authorize:    true

doesnt work. neither xdm session.

checked the email archives.  seems i asked about this a year ago ;)
didnt get it working then either ;(

xdm-errors does not show any problems.  diff'ing against my usual
xdm-errors show that 2 sessions were started.  but it seems that
they are on top of each other?  or that :1 starts first on ttyv2
instead of :0 starting first and getting ttyv2 then :1 starting
and using ttyv3

xdm-errors:	(the two sessions are intermixed.  need to create an xdm-errors
			for each one)
XFree86 Version 3.1.1 / X Window System
(protocol Version 11, revision 0, vendor release 6000)
Operating System: FreeBSD 2.0 
Configured drivers:
  S3: accelerated server for S3 graphics adaptors (Patchlevel 0)
      mmio_928, s3_generic
Using syscons driver with X support (version 2.0)
(using VT number 3)

XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) Mouse: type: MouseSystems, device: /dev/mouse, baudrate: 1200
(**) S3: Graphics device ID: "Number Nine GXE64"
(**) S3: Monitor ID: "Sony Multiscan 15sf"
(--) S3: Mode "1280x1024" needs hsync freq of 64.25 kHz. Deleted.
(--) S3: Mode "1280x1024" needs hsync freq of 78.86 kHz. Deleted.
Warning: The directory "/usr/X11R6/lib/X11/fonts/Type1/" does not exist.
         Entry deleted from font path.
Warning: The directory "/usr/X11R6/lib/X11/fonts/Speedo/" does not exist.
         Entry deleted from font path.

XFree86 Version 3.1.1 / X Window System
(protocol Version 11, revision 0, vendor release 6000)
Operating System: FreeBSD 2.0 
Configured drivers:
  S3: accelerated server for S3 graphics adaptors (Patchlevel 0)
      mmio_928, s3_generic
Using syscons driver with X support (version 2.0)
(using VT number 4)

XF86Config: /etc/XF86Config
(**) stands for supplied, (--) stands for probed/default values
(**) Mouse: type: MouseSystems, device: /dev/mouse, baudrate: 1200
(**) S3: Graphics device ID: "Number Nine GXE64"
(**) S3: Monitor ID: "Sony Multiscan 15sf"
(--) S3: Mode "1280x1024" needs hsync freq of 64.25 kHz. Deleted.
(--) S3: Mode "1280x1024" needs hsync freq of 78.86 kHz. Deleted.
Warning: The directory "/usr/X11R6/lib/X11/fonts/Type1/" does not exist.
         Entry deleted from font path.
Warning: The directory "/usr/X11R6/lib/X11/fonts/Speedo/" does not exist.
         Entry deleted from font path.
Warning: The directory "/usr/X11R6/lib/X11/fonts/100dpi/" does not exist.
         Entry deleted from font path.
Warning: The directory "/usr/X11R6/lib/X11/fonts/100dpi/" does not exist.
         Entry deleted from font path.
Warning: 'fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/PEX/"
.
          Entry deleted from font path.
          (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/PEX/").
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75
dpi/"
Warning: 'fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/PEX/"
.
          Entry deleted from font path.
          (Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/PEX/").
(**) FontPath set to "/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75
dpi/"
(**) S3: Option "dac_8_bit"
(**) S3: Option "number_nine"
(--) S3: card type: PCI
(--) S3: chipset:   864 rev. 1
(**) S3: chipset driver: mmio_928
(**) S3: videoram:  2048k
(**) S3: Ramdac type: att20c498
(--) S3: Ramdac speed: 135
(**) S3: Using ICD2061A programmable clock
(**) S3: Option "dac_8_bit"
(**) S3: Option "number_nine"
(--) S3: card type: PCI
(--) S3: chipset:   864 rev. 1
(**) S3: chipset driver: mmio_928
(**) S3: videoram:  2048k
(**) S3: Ramdac type: att20c498
(--) S3: Ramdac speed: 135
(**) S3: Using ICD2061A programmable clock
(--) S3: Maximum allowed dot-clock: 135.000 MHz
(**) S3: Mode "640x480": mode clock =  31.500
(**) S3: Mode "800x600": mode clock =  50.000
(**) S3: Mode "1024x768": mode clock =  85.000
(**) S3: Putting RAMDAC into 8-bit mode
(--) S3: Using 8 bits per RGB value
(**) S3: Virtual resolution set to 1024x768
(--) S3: Maximum allowed dot-clock: 135.000 MHz
(**) S3: Mode "640x480": mode clock =  31.500
(**) S3: Mode "800x600": mode clock =  50.000
(**) S3: Mode "1024x768": mode clock =  85.000
(**) S3: Putting RAMDAC into 8-bit mode
(--) S3: Using 8 bits per RGB value
(**) S3: Virtual resolution set to 1024x768
(--) S3: Local bus LAW is 0xF3000000
(--) S3: Local bus LAW is 0xF3000000
(--) S3: Using a banksize of 2048k, line width of 1024
(--) S3: Using a banksize of 2048k, line width of 1024
(--) S3: Using a single 64x64 area at (960,769) for expanding pixmaps
(--) S3: Using 8 planes of 1024x1215 at (0,833) aligned 8 as font cache
(--) S3: Using a single 64x64 area at (960,769) for expanding pixmaps
(--) S3: Using 8 planes of 1024x1215 at (0,833) aligned 8 as font cache

ls -Flag /usr/X11/lib/X11/xdm
total 46
drwxr-xr-x   2 root  wheel    512 Feb 28 22:54 ./
drwxr-xr-x  17 bin   bin      512 May 30  1995 ../
-rw-------   1 root  wheel     44 Feb 28 22:53 A:0-000119
-rw-------   1 root  wheel     44 Feb 28 22:53 A:1-000119
-rwxr-xr-x   1 root  wheel    390 Jan 28  1995 GiveConsole*
-rwxr-xr-x   1 root  wheel    249 Jan 28  1995 TakeConsole*
-r--r--r--   1 root  wheel   1976 Jan 28  1995 Xaccess
-r--r--r--   1 root  wheel   1047 Jan 28  1995 Xresources
-r--r--r--   1 root  wheel    523 Feb 28 22:40 Xservers
-rwxr-xr-x   1 root  wheel    639 Jan 28  1995 Xsession*
-rwxr-xr-x   1 root  wheel    150 Jan 28  1995 Xsetup_0*
-rwxr-xr-x   1 root  wheel     12 Feb 28 22:30 Xsetup_1*
-rwxr-xr-x   1 root  wheel  20480 Jan 28  1995 chooser*
-r--r--r--   1 root  wheel    813 Feb 28 22:31 xdm-config
-rw-rw-r--   1 root  wheel   4238 Feb 28 22:53 xdm-errors
-rw-rw-r--   1 root  wheel   4238 Feb 28 22:54 xdm-errors.sav
-rw-rw-r--   1 root  wheel      6 Feb 28 22:53 xdm-pid

ls -Flag /tmp
total 5
drwxrwxrwt   3 bin   bin    512 Feb 28 22:53 ./
drwxr-xr-x  17 root  wheel  512 Feb 25 14:23 ../
-r--r--r--   1 root  bin     11 Feb 28 22:53 .X0-lock
-r--r--r--   1 root  bin     11 Feb 28 22:53 .X1-lock
drwxrwxrwx   2 root  bin    512 Feb 28 22:53 .X11-unix/


ls -Flag  /tmp/.X11-unix
total 2
drwxrwxrwx  2 root  bin  512 Feb 28 22:53 ./
drwxrwxrwt  3 bin   bin  512 Feb 28 22:53 ../
srwxrwxrwx  1 root  bin    0 Feb 28 22:53 X0=
srwxrwxrwx  1 root  bin    0 Feb 28 22:53 X1=

Aspen:[5] cat Xsetup_0
#!/bin/sh
# $XConsortium: Xsetup_0,v 1.3 93/09/28 14:30:31 gildea Exp $
xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail


Aspen:[6] cat Xsetup_1
#!/bin/sh
:

-- 
Jonathan M. Bresler           FreeBSD Postmaster             jmb@FreeBSD.ORG
FreeBSD--4.4BSD Unix for PC clones, source included. http://www.freebsd.org/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602290416.UAA21097>