[3978] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: xdm

daemon@ATHENA.MIT.EDU (Joerg Mertin)
Mon Nov 11 21:43:29 1996

From: smurphy@stardust.bln.sub.org (Joerg Mertin)
To: redhat-list@redhat.com
Date: Mon, 11 Nov 1996 08:25:05 +0100 (MET)
Reply-To: smurphy@antares.zrz.TU-Berlin.DE
In-Reply-To: <199611101628.LAA21570@redhat.com> from Wierdl Mate at "Nov 10, 96 10:28:32 am"
Resent-From: redhat-list@redhat.com

>=20
> Each new X-Session uses what? The script /usr/bin/newcookie?
> So for each session an .Xauthority file is created?
> Where do I put a command like
> 	xhost zebra

You don=C4t need it since you have a $HOME/.Xauthority file. This is the
Authentification, a more secure one, since this file has mode 600,
nobody else than the user itself (Except root) can read it an
authenticate itself with it.

> Is .xserverrc in fact ~/.xserverrc ?

yes.

> I thought under xdm the X server is not restarted at every login=20
> (unless I specify this explicitly).=20

What you should do. In XFree3.2 X-Folks use the X-own malloc, the gnu
malloc routine,used int XFree-3.1.2 had a Big memory Hog, so if a
System stay one too long with this, you'll have a big chance to see a
X-Server eating up all your Memory.

> So then how is the script below read at every X session?

It is not read. It is started.

Here's my .xserverrc file:
---------------------------------Cut-----------------------------------
#!/bin/sh
#
#
echo "--- Creating new Magic-Cookies"
/usr/local/bin/newcookie
#
# Choosing right X-Server
        echo "--- Starting Accel Server with auth enabled"
        exec X -auth $HOME/.Xauthority $*

---------------------------------Cut-----------------------------------

The xdm also creates a Magic Cookie, only I never managed
to get it copied in User-mode to the $HOME/$USER directory, since only
root can access it under /etc/X11/xdm. So I created my own little
scripts for it.

I wonder if I could use the random seed device for this ? Any pointers
on this one ???

cu
--=20
`*** Fatal Error: Found [MS-Windows] -> Repartitioning Disk for LiNUX...'
------------------------------------------------------------------------
| Joerg Mertin              :   smurphy@linux.de             (Home)    | =
=20
| in Berlin Spandau at      :   joerg@pc50.zrz.tu-berlin.de            |
| Stardust's LiNUX System   :   Data, Fax & Voice 49 30 3627345        |
| PGP 2.6.2i Key on Demand  :   ZyXEL Link                             |
------------------------------------------------------------------------
PGP Key fingerprint =3D  C6 3F A3 12 D7 EE 60 27  88 A0 01 E6 0B 11 45 67


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post