Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 1997 16:33:22 +0200 (MET DST)
From:      Zahemszky Gabor <zgabor@CoDe.hu>
To:        freebsd-questions@freebsd.org (FreeBSD questions)
Cc:        sebesty@cs.elte.hu
Subject:   Re: Xdm - xlogin
Message-ID:  <199706101433.QAA00444@CoDe.hu>
In-Reply-To: <Pine.ULT.3.93.970610102214.967A-100000@konig> from Zoltan Sebestyen at "Jun 10, 97 10:31:24 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi,
> 
>  I've just modified /etc/ttys to start X by xdm(didn't want to bother
> with login/startx). Now I've got two questions: Does anyone know the
> resources of xlogin(I'd like to change the background and some properties
> of the xlogin window)? Before that change I've set XAPPLRESDIR to
> ~/app-defaults where some of my X resource files reside. How can I tell
> xdm the same thing? (It surely won't read my .bash_profile :-)

Hello!

1) As of the FAQ (on my 2.1.5):
--

  7.19.  How do I start XDM from the /etc/ttys file ?

  Starting xdm via /etc/ttys is a Bad Thing. I don't know why this crept
  into some README file.

  Start it from your rc.local, and be explicit about how it has to
  start.  If this is your last action in rc.local, put a ``sleep 1''
  behind, to allow xdm to properly daemonize before the rc shell exits.

  xdm should be started without any arguments (i.e., as a daemon).

  The Xserver config file (default: /usr/X11R6/lib/X11/xdm/Xservers)
  should contain the line:


  ______________________________________________________________________
	      :0 local /usr/X11R6/bin/X :0 vt08 -wm

  ______________________________________________________________________

--
2) I think, the correct answer is man xdm ;-)

Gabor

-- 
#!/bin/ksh
Z='21N16I25C25E30, 40M30E33E25T15U!' ;IFS=' ABCDEFGHIJKLMNOPQRSTUVWXYZ ';set $Z;for i { [[ $i = ? ]]&&print $i&&break;[[ $i = ??? ]]&&j=$i&&i=${i%?};typeset -i40 i=8#$i;print -n ${i#???};[[ "$j" = ??? ]]&&print -n "${j#??} "&&j=;typeset +i i;};IFS=' 0123456789 ';set $Z;X=;for i { [[ $i = , ]]&&i=2;[[ $i = ?? ]]||typeset -l i;X="$X $i";typeset +l i;};print "$X"



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