Re: xdm o gdm, ldap RESUELTO

2011-11-14 Thread Trujillo Carmona, Antonio

El 13/11/11 11:16, Camaleón escribió:
 El Fri, 11 Nov 2011 09:23:23 +0100, Trujillo Carmona, Antonio escribió:
 
 El 10/11/11 19:32, Camaleón escribió:
 
 (...)
 
 Si desde gdm no se puede hacer. ¿hay alguna forma fácil (no soy
 programador, lo mio son los sistemas) de hacer un menú gráfico.

 ¿Qué es lo que quieres conseguir, exactamente, comunicarte con un
 servidor ldap que tengas en la red para pasar parámetros al gestor de
 sesiones y en base a esos datos (p. ej., el nombre de usuario) cargar
 unas opciones de inicio de sesión u otras?


 El tema es que estoy montando un sistema de ordenadores para aulas de
 informática, esta basado en un servidor con qemu-spice y clientes que
 inician la sesión y nada mas arrancar lanzan el clispice y se conectan a
 su maquina virtual, el problema es que cada alumno puede estar en mas de
 un curso, esto se controla como pertenencia a un grupo en un ldap, no
 tengo problema con la consulta (en modo texto) y no hay problema en
 hacerla antes del logeo porque el usuario que consulta no es el que
 inicia la sesión, el tema es que root debe de montar (con aufs) una capa
 sobre la maquina virtual para que la use el alumno sin afectar a los
 demás, y esta depende del curso en el que quiera entrar. Lo normal es
 crear un menú gráfico de selección para que después de logeado y antes
 de arrancar el cliente el usuario eligiera el curso al que va a entrar,
 pero visto que tanto gdm como kdm hacen muchas cosas, me plantee la
 posibilidad de unificar el arranque en un solo menú. Si no se puede,
 pues me tocara lidiar con algo como gtk (creo) o lo que me aconsegeis.
 
 Parece un entorno muy personalizado, pero esto que buscas entiendo que lo 
 debería proporcionar el propio spice que es el encargado de administrar 
 las sesiones de las máquina virtuales. El gestor de sesiones lo veo muy 
 limitado como para permitirte hacer desde ahí lo que buscas.
 
 La idea de crear un menú gráfico para permitir seleccionar al usuario el 
 curso al que quiere acceder una vez que ha iniciado la sesión me parece 
 más factible. Para GNOME tienes zenity como ya te han comentado y si 
 quieres algo más potente puedes mirar wxwidgets.
 
 Saludos,
 
Probare con zenity
Gracias

-- 
Any programming language is at its best before it is implemented and used.

Por favor, NO utilice formatos  de archivo  propietarios para el
intercambio de  documentos, como DOC y XLS, sino HTML, RTF, TXT,CSV
o cualquier otro que no obligue a utilizar un programa de un
fabricante  concreto para tratar la información contenida en él.
SALUD.


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ec1144e.5020...@juntadeandalucia.es



Re: xdm o gdm, ldap

2011-11-13 Thread Camaleón
El Fri, 11 Nov 2011 09:23:23 +0100, Trujillo Carmona, Antonio escribió:

 El 10/11/11 19:32, Camaleón escribió:

(...)

 Si desde gdm no se puede hacer. ¿hay alguna forma fácil (no soy
 programador, lo mio son los sistemas) de hacer un menú gráfico.
 
 ¿Qué es lo que quieres conseguir, exactamente, comunicarte con un
 servidor ldap que tengas en la red para pasar parámetros al gestor de
 sesiones y en base a esos datos (p. ej., el nombre de usuario) cargar
 unas opciones de inicio de sesión u otras?
 
 
 El tema es que estoy montando un sistema de ordenadores para aulas de
 informática, esta basado en un servidor con qemu-spice y clientes que
 inician la sesión y nada mas arrancar lanzan el clispice y se conectan a
 su maquina virtual, el problema es que cada alumno puede estar en mas de
 un curso, esto se controla como pertenencia a un grupo en un ldap, no
 tengo problema con la consulta (en modo texto) y no hay problema en
 hacerla antes del logeo porque el usuario que consulta no es el que
 inicia la sesión, el tema es que root debe de montar (con aufs) una capa
 sobre la maquina virtual para que la use el alumno sin afectar a los
 demás, y esta depende del curso en el que quiera entrar. Lo normal es
 crear un menú gráfico de selección para que después de logeado y antes
 de arrancar el cliente el usuario eligiera el curso al que va a entrar,
 pero visto que tanto gdm como kdm hacen muchas cosas, me plantee la
 posibilidad de unificar el arranque en un solo menú. Si no se puede,
 pues me tocara lidiar con algo como gtk (creo) o lo que me aconsegeis.

Parece un entorno muy personalizado, pero esto que buscas entiendo que lo 
debería proporcionar el propio spice que es el encargado de administrar 
las sesiones de las máquina virtuales. El gestor de sesiones lo veo muy 
limitado como para permitirte hacer desde ahí lo que buscas.

La idea de crear un menú gráfico para permitir seleccionar al usuario el 
curso al que quiere acceder una vez que ha iniciado la sesión me parece 
más factible. Para GNOME tienes zenity como ya te han comentado y si 
quieres algo más potente puedes mirar wxwidgets.

Saludos,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.11.13.10.16...@gmail.com



Re: xdm o gdm, ldap

2011-11-11 Thread Trujillo Carmona, Antonio

El 10/11/11 19:32, Camaleón escribió:
 El Wed, 09 Nov 2011 14:21:10 +0100, Trujillo Carmona, Antonio escribió:
 
 Necesito hacer una interfaz gráfica personalizada, como no se pues me
 contento con un tema para xdm (si es que tiene) o gdm. ¿Alguien me puede
 dar alguna dirección con un buen manual? 
 
 ¿Para personalizar XDM o GDM?
 
 Quizá no sean las mejores opciones si se trata de modificar el tema y las 
 opciones de inicio de sesión (al menos gdm3 está un poco verde ahora 
 mismo).
 
 Yo le echaría un vistazo a LXDE, SLiM y LigtDM que son más modernicos y 
 tienen menor carga detrás (quiero decir que no están enfocados a 
 entornos gordotes como KDM o GDM3).
Slim lo he probado pero no funciona con sesiones remotas y se trata de
un sistema tipo clientes ligeros.
LXDE tambien lo probe, pero no me acuerdo porque lo descarte, LigtDM no
lo conocía, lo mirare.
 
 ¿Alguien sabe si desde gdm se puede hacer una consulta ldap (con
 ldapsearch) después del nombre de usuario? seria como soy Trujo - 
 ¿tienes disponibles estas xxx secciones ¿a cual quieres entrar?
 
 Opciones sí podrás añadir pero ejecutar una búsqueda de LDAP sin haber 
 iniciado sesión si quiera me parece un poco demasié para un gestor de 
 sesiones :-?
 
 (ojo, que no sé si es posible, pero a simple vista parece un poco 
 complicado)
 
 Si desde gdm no se puede hacer. ¿hay alguna forma fácil (no soy
 programador, lo mio son los sistemas) de hacer un menú gráfico.
 
 ¿Qué es lo que quieres conseguir, exactamente, comunicarte con un 
 servidor ldap que tengas en la red para pasar parámetros al gestor de 
 sesiones y en base a esos datos (p. ej., el nombre de usuario) cargar 
 unas opciones de inicio de sesión u otras?
 
 Saludos,
 
El tema es que estoy montando un sistema de ordenadores para aulas de
informática, esta basado en un servidor con qemu-spice y clientes que
inician la sesión y nada mas arrancar lanzan el clispice y se conectan a
su maquina virtual, el problema es que cada alumno puede estar en mas de
un curso, esto se controla como pertenencia a un grupo en un ldap, no
tengo problema con la consulta (en modo texto) y no hay problema en
hacerla antes del logeo porque el usuario que consulta no es el que
inicia la sesión, el tema es que root debe de montar (con aufs) una capa
sobre la maquina virtual para que la use el alumno sin afectar a los
demás, y esta depende del curso en el que quiera entrar.
Lo normal es crear un menú gráfico de selección para que después de
logeado y antes de arrancar el cliente el usuario eligiera el curso al
que va a entrar, pero visto que tanto gdm como kdm hacen muchas cosas,
me plantee la posibilidad de unificar el arranque en un solo menú.
Si no se puede, pues me tocara lidiar con algo como gtk (creo) o lo que
me aconsegeis.

-- 
Lo triste no es ir al cementerio, sino quedarse.
-- Anónimo.

Por favor, NO utilice formatos  de archivo  propietarios para el
intercambio de  documentos, como DOC y XLS, sino HTML, RTF, TXT,CSV
o cualquier otro que no obligue a utilizar un programa de un
fabricante  concreto para tratar la información contenida en él.
SALUD.


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ebcdb7b.4000...@juntadeandalucia.es



Re: xdm o gdm, ldap

2011-11-10 Thread Camaleón
El Wed, 09 Nov 2011 14:21:10 +0100, Trujillo Carmona, Antonio escribió:

 Necesito hacer una interfaz gráfica personalizada, como no se pues me
 contento con un tema para xdm (si es que tiene) o gdm. ¿Alguien me puede
 dar alguna dirección con un buen manual? 

¿Para personalizar XDM o GDM?

Quizá no sean las mejores opciones si se trata de modificar el tema y las 
opciones de inicio de sesión (al menos gdm3 está un poco verde ahora 
mismo).

Yo le echaría un vistazo a LXDE, SLiM y LigtDM que son más modernicos y 
tienen menor carga detrás (quiero decir que no están enfocados a 
entornos gordotes como KDM o GDM3).

 ¿Alguien sabe si desde gdm se puede hacer una consulta ldap (con
 ldapsearch) después del nombre de usuario? seria como soy Trujo - 
 ¿tienes disponibles estas xxx secciones ¿a cual quieres entrar?

Opciones sí podrás añadir pero ejecutar una búsqueda de LDAP sin haber 
iniciado sesión si quiera me parece un poco demasié para un gestor de 
sesiones :-?

(ojo, que no sé si es posible, pero a simple vista parece un poco 
complicado)

 Si desde gdm no se puede hacer. ¿hay alguna forma fácil (no soy
 programador, lo mio son los sistemas) de hacer un menú gráfico.

¿Qué es lo que quieres conseguir, exactamente, comunicarte con un 
servidor ldap que tengas en la red para pasar parámetros al gestor de 
sesiones y en base a esos datos (p. ej., el nombre de usuario) cargar 
unas opciones de inicio de sesión u otras?

Saludos,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/pan.2011.11.10.18.32...@gmail.com



Re: Xdm , Kdm ,Gdm .

2005-05-17 Thread Adam Victor Nazareth Brandizzi
Em Ter, 2005-05-17 às 17:49 -0300, Hélio Oliveira escreveu:
 Olá lista,
 Como faço para mudar o Gdm para o Kdm ou Xdm ?

# dpkg-reconfigure kdm 

# dpkg-reconfigure xdm 

ou

# dpkg-reconfigure kdm 

Pode chamar *qualquer um destes três comandos*: ele vai apresentar um
menu para mudar o DM.


 E o login automático ?

Isto depende de cada DM. Como eu uso o GDM e você parece interessado em
migrar para outro, deixo esta resposta aos mais preparados.

-- 
Adam Victor Nazareth Brandizzi
Estudante de Ciência da Computação - UnB
Jabber: [EMAIL PROTECTED]


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



Re: xdm/wdm/gdm/kdm/login.app etc.

2002-04-19 Thread craigw
On Thu Apr 18, 2002 at 11:28:42PM -0400, Noah Meyerhans wrote:
 On Thu, Apr 18, 2002 at 05:58:59PM -0700, Charles Baker wrote:
  I'm setting up a general use box for my family. It
  would be easier on all if there was a graphical login.
  I'm wondering which of these display managers to
  choose? Does anyone know of a comparison? We'll be
  using WindowMaker and Xfce as our primary
  windowmanagers. I'm not trying to start a religious
  war, just need info.
 
 Install them all, then determine which one you think looks best.
 Personally, I like wdm.  Xdm doesn't allow users to choose their X
 environment when they log in, which I don't like.  Otherwise, they're
 all about the same.
 
If you've tried any other distros, chances are you've already
experienced one or more. For example, Mandrake's default is to install
kdm and RedHat's is gdm, the one ximian installs is of course gdm. I
happen to like gdm, because you can add new entries to the drop-down
list of desktop managers so easy, by writing a script similar to an
.xinitrc and placing it in /etc/X11/gdm/Sessions. Or yours might go in
/etc/gdm/Sessions. Anyway, in the newer versions you can also use the
GUI configurator to change almost every aspect of the login from right
there, before logging in! I believe the menu item is called 'System'

-CraigW


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



Re: xdm/wdm/gdm/kdm/login.app etc.

2002-04-19 Thread Robert_L
On Friday 19 April 12:29, craigw wrote:
snip
 If you've tried any other distros, chances are you've already
 experienced one or more. For example, Mandrake's default is to install
 kdm and RedHat's is gdm, the one ximian installs is of course gdm. I
 happen to like gdm, because you can add new entries to the drop-down
 list of desktop managers so easy, by writing a script similar to an
 .xinitrc and placing it in /etc/X11/gdm/Sessions. Or yours might go in
 /etc/gdm/Sessions. Anyway, in the newer versions you can also use the
 GUI configurator to change almost every aspect of the login from right
 there, before logging in! I believe the menu item is called 'System'

 -CraigW

I like and use gdm (kdm just won't work for some reason) but some things 
about kdm I miss. 
1.  Auto entry of selected user
2.  Focus on password field
3.  numlock on (how the heck do you do this for the gdm login screen ?)

all the best,
Robert_L


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



Re: xdm/wdm/gdm/kdm/login.app etc.

2002-04-19 Thread craigw
On Fri Apr 19, 2002 at 02:23:49AM -0400, Robert_L wrote:
 On Friday 19 April 12:29, craigw wrote:
 snip
  If you've tried any other distros, chances are you've already
  experienced one or more. For example, Mandrake's default is to install
  kdm and RedHat's is gdm, the one ximian installs is of course gdm. I
  happen to like gdm, because you can add new entries to the drop-down
  list of desktop managers so easy, by writing a script similar to an
  .xinitrc and placing it in /etc/X11/gdm/Sessions. Or yours might go in
  /etc/gdm/Sessions. Anyway, in the newer versions you can also use the
  GUI configurator to change almost every aspect of the login from right
  there, before logging in! I believe the menu item is called 'System'
 
  -CraigW
 
 I like and use gdm (kdm just won't work for some reason) but some things 
 about kdm I miss. 
 1.  Auto entry of selected user
yes, that's a nice convenience. With gdm you can (if it's a one-user
computer, and you really want to... ) have it log you in automatically.
 2.  Focus on password field
I thought that was the default. If you're having to click before you can
start typing, I don't know how to fix it.
 3.  numlock on (how the heck do you do this for the gdm login screen ?)
don't know. I've never turned numlock on. In fact, I'm still using the
keyboard that came with my 486 and if it ever dies I'll probably buy a
happy hacker keyboard. Yeah, every time I buy a new box, the keyboard
goes straight in the closet on top of the pile of other fancy keyboards
with all their fancy window keys  internet buttons  whatnots.

I think maybe you can turn numlock on in your XF86Config

you can also put all this in ~/.Xmodmap:

keycode  90 = KP_0 KP_Insert
keycode  87 = KP_1 KP_End
keycode  88 = KP_2 KP_Down
keycode  89 = KP_3 KP_Next
keycode  83 = KP_4 KP_Left
keycode  84 = KP_5 KP_Begin
keycode  85 = KP_6 KP_Right
keycode  79 = KP_7 KP_Home
keycode  80 = KP_8 KP_Up
keycode  81 = KP_9 KP_Prior
keycode  91 = KP_Decimal KP_Delete

(you may need to add the following to ~/.xinitrc or some other place to
make sure it gets used):

usermodmap=$HOME/.Xmodmap

Or there is also a program called numlockX:
http://dforce.sh.cvut.cz/~seli/en/numlockx/

-CraigW


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



Re: xdm/wdm/gdm/kdm/login.app etc.

2002-04-19 Thread Dave Sherohman
On Thu, Apr 18, 2002 at 05:58:59PM -0700, Charles Baker wrote:
 I'm setting up a general use box for my family. It
 would be easier on all if there was a graphical login.
 I'm wondering which of these display managers to
 choose? Does anyone know of a comparison? We'll be
 using WindowMaker and Xfce as our primary
 windowmanagers. I'm not trying to start a religious
 war, just need info.

wdm is probably the most WindowMaker-like and it works great by me.

 Also, since Debian's default run level is 2, is there
 any compelling reason to make the graphical login be
 part of a different run level?

Debian leaves the runlevels for you to use however you prefer.  If
you want to use them to control graphical login, go for it.  If you
prefer to just ignore them (like most of us), that's cool too.

-- 
When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius

Innocence is no protection when governments go bad. - Tom Swiss


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



Re: xdm/wdm/gdm/kdm/login.app etc.

2002-04-19 Thread Dave Sherohman
On Fri, Apr 19, 2002 at 02:23:49AM -0400, Robert_L wrote:
 3.  numlock on (how the heck do you do this for the gdm login screen ?)

Ask google about numlockx.  Simple little app that will turn numlock
on and off for you in X; just compile it, throw it in /usr/local/bin,
and add

/usr/local/bin/numlockx on

to one of your X startup files.  (I've got it in
/etc/X11/wdm/Xsetup_0, but YMWV if you're not using wdm.)

-- 
When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius

Innocence is no protection when governments go bad. - Tom Swiss


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



Re: xdm/wdm/gdm/kdm/login.app etc.

2002-04-19 Thread Robert_L
On Friday 19 April 09:47, Dave Sherohman wrote:
 On Fri, Apr 19, 2002 at 02:23:49AM -0400, Robert_L wrote:
  3.  numlock on (how the heck do you do this for the gdm login screen ?)

 Ask google about numlockx.  Simple little app that will turn numlock
 on and off for you in X; just compile it, throw it in /usr/local/bin,
 and add

 /usr/local/bin/numlockx on

 to one of your X startup files.  (I've got it in
 /etc/X11/wdm/Xsetup_0, but YMWV if you're not using wdm.)

Actually, I'm using numlockx and it works everywhere BUT gdm.
To try to get it working a while back I tried adding /usr/local/bin/numlockx
to every startup script I could find in /etc/gdm /etc/xdm /etc/X11/
(and else where I forget where) with no luck.

all the best,
Robert_L


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



Re: xdm/wdm/gdm/kdm/login.app etc.

2002-04-19 Thread Robert_L
On Friday 19 April 04:01, craigw wrote:
 On Fri Apr 19, 2002 at 02:23:49AM -0400, Robert_L wrote:
snip
  I like and use gdm (kdm just won't work for some reason) but some things
  about kdm I miss.
  1.  Auto entry of selected user

 yes, that's a nice convenience. With gdm you can (if it's a one-user
 computer, and you really want to... ) have it log you in automatically.

Yep, finally settled for that with a delay.  Since its a one man machine in a 
lcoked apartment I'm not worried about security with respect to this.

  2.  Focus on password field

 I thought that was the default. If you're having to click before you can
 start typing, I don't know how to fix it.

  3.  numlock on (how the heck do you do this for the gdm login screen ?)

 don't know. I've never turned numlock on. In fact, I'm still using the
 keyboard that came with my 486 and if it ever dies I'll probably buy a
 happy hacker keyboard. Yeah, every time I buy a new box, the keyboard
 goes straight in the closet on top of the pile of other fancy keyboards
 with all their fancy window keys  internet buttons  whatnots.

You must be a meticulous guy.  I go through a new one every 6 months.

 I think maybe you can turn numlock on in your XF86Config

 you can also put all this in ~/.Xmodmap:

 keycode  90 = KP_0 KP_Insert
 keycode  87 = KP_1 KP_End
 keycode  88 = KP_2 KP_Down
 keycode  89 = KP_3 KP_Next
 keycode  83 = KP_4 KP_Left
 keycode  84 = KP_5 KP_Begin
 keycode  85 = KP_6 KP_Right
 keycode  79 = KP_7 KP_Home
 keycode  80 = KP_8 KP_Up
 keycode  81 = KP_9 KP_Prior
 keycode  91 = KP_Decimal KP_Delete

 (you may need to add the following to ~/.xinitrc or some other place to
 make sure it gets used):

 usermodmap=$HOME/.Xmodmap

But surely this gets run AFTER you login from gdm ?
Numlock is working fine from tty's and KDE.

 Or there is also a program called numlockX:
 http://dforce.sh.cvut.cz/~seli/en/numlockx/

 -CraigW

Yes, I'm using it.  But I've tried adding the numlockx command to many 
startup scripts below /etc/ without success (as I mentioned above- it works 
fine everywhere else.  Not a big deal, but it is driving me crazy trying to 
figure out where to put it.

all the best,
Robert_L


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



Re: xdm/wdm/gdm/kdm/login.app etc.

2002-04-19 Thread craigw
On Fri Apr 19, 2002 at 10:41:34AM -0400, Robert_L wrote:
 snip
 
 
  you can also put all this in ~/.Xmodmap:
 
  keycode  90 = KP_0 KP_Insert
  keycode  87 = KP_1 KP_End
  keycode  88 = KP_2 KP_Down
  keycode  89 = KP_3 KP_Next
  keycode  83 = KP_4 KP_Left
  keycode  84 = KP_5 KP_Begin
  keycode  85 = KP_6 KP_Right
  keycode  79 = KP_7 KP_Home
  keycode  80 = KP_8 KP_Up
  keycode  81 = KP_9 KP_Prior
  keycode  91 = KP_Decimal KP_Delete
 
  (you may need to add the following to ~/.xinitrc or some other place to
  make sure it gets used):
 
  usermodmap=$HOME/.Xmodmap
 
 But surely this gets run AFTER you login from gdm ?
 Numlock is working fine from tty's and KDE.

Yes, when you start X. You could also put it in /etc/X11/Xmodmap
Keep in mind that I don't use it, and I've also seen it written slighly
different. Perhaps that depends on which version of X. Do a google
search for xmodmap numlock keycode xfree86, etc, and you'll find others.

KDE is probably starting from a rather long script which sources
/etc/X11/xmodmap,Xresources, etc, and maybe Gnome is not.
 
  Or there is also a program called numlockX:
  http://dforce.sh.cvut.cz/~seli/en/numlockx/
 
  -CraigW
 
 Yes, I'm using it.  But I've tried adding the numlockx command to many 
 startup scripts below /etc/ without success (as I mentioned above- it works 
 fine everywhere else.  Not a big deal, but it is driving me crazy trying to 
 figure out where to put it.
 
whichever window managers aren't behaving as expected, you should be
able to start numlockx by putting it in their scripts in
/etc/X11/gdm/Sessions. Or on some systems that's /etc/gdm/Sessions.

CraigW


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



Re: xdm/wdm/gdm/kdm/login.app etc.

2002-04-19 Thread Robert_L
On Friday 19 April 12:18, craigw wrote:
 On Fri Apr 19, 2002 at 10:41:34AM -0400, Robert_L wrote:
  snip


 Yes, when you start X. You could also put it in /etc/X11/Xmodmap
 Keep in mind that I don't use it, and I've also seen it written slighly
 different. Perhaps that depends on which version of X. Do a google
 search for xmodmap numlock keycode xfree86, etc, and you'll find others.

Doesn't work for the gdm login screen.

 whichever window managers aren't behaving as expected, you should be
 able to start numlockx by putting it in their scripts in
 /etc/X11/gdm/Sessions. Or on some systems that's /etc/gdm/Sessions.

 CraigW

Been there, done that.  Put in in practically every startup script I could 
find, including xdm's (and of course those in /etc/gdm)  The mumlock trick 
doesn't work as I already have numlock while in my desktop env. (KDE) and in 
tty's.
None of these worked:

/etc/init.d/numlockx:/usr/local/bin/numlockx
/etc/rc1.d/S99numlockx:/usr/local/bin/numlockx
/etc/rc2.d/S19numlockx:/usr/local/bin/numlockx
/etc/rc3.d/S19numlockx:/usr/local/bin/numlockx
/etc/rc4.d/S16numlockx:/usr/local/bin/numlockx
/etc/rc5.d/S19numlockx:/usr/local/bin/numlockx
/etc/rc6.d/S65numlockx:/usr/local/bin/numlockx
/etc/X11/xinit/xinitrc:/usr/local/bin/numlockx on
/etc/X11/xinit/xserverrc:exec /usr/local/bin/numlockx
/etc/X11/xdm/Xsetup:exec /usr/local/bin/numlockx 
/etc/X11/Xsession.d/99xfree86-common_start:/usr/local/bin/numlockx
/etc/X11/gdm/Sessions/Xsession:/usr/local/bin/numlockx
/etc/X11/gdm/Init/Default:exec /usr/local/bin/numlockx
/etc/X11/gdm/PreSession/Default:/usr/local/bin/numlockx
/etc/gdm/PreSession/Default:/usr/local/bin.numlockx


Is there anyone out there who has it working while at gdm login?

all the best,
Robert_L


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



Re: xdm/wdm/gdm/kdm/login.app etc.

2002-04-18 Thread Sean 'Shaleh' Perry

On 19-Apr-2002 Charles Baker wrote:
 I'm setting up a general use box for my family. It
 would be easier on all if there was a graphical login.
 I'm wondering which of these display managers to
 choose? Does anyone know of a comparison? We'll be
 using WindowMaker and Xfce as our primary
 windowmanagers. I'm not trying to start a religious
 war, just need info.
 

doesn't really matter which you choose.  xdm is nice and simple - type your
name, type your password, hit enter.

 Also, since Debian's default run level is 2, is there
 any compelling reason to make the graphical login be
 part of a different run level?
 

beyond that all of Debian's run levels are exactly the same (2,3,4,5).  If you
feel the need to set this up differently go ahead.  But there is no practical
gain.


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



Re: xdm/wdm/gdm/kdm/login.app etc.

2002-04-18 Thread Noah Meyerhans
On Thu, Apr 18, 2002 at 05:58:59PM -0700, Charles Baker wrote:
 I'm setting up a general use box for my family. It
 would be easier on all if there was a graphical login.
 I'm wondering which of these display managers to
 choose? Does anyone know of a comparison? We'll be
 using WindowMaker and Xfce as our primary
 windowmanagers. I'm not trying to start a religious
 war, just need info.

Install them all, then determine which one you think looks best.
Personally, I like wdm.  Xdm doesn't allow users to choose their X
environment when they log in, which I don't like.  Otherwise, they're
all about the same.

noah

-- 
 ___
| Web: http://web.morgul.net/~frodo/
| PGP Public Key: http://web.morgul.net/~frodo/mail.html 


pgpgtM3V7dj4J.pgp
Description: PGP signature


Re: xdm and gdm

2001-05-31 Thread George Dancheff
just type:
# apt-get update 
# apt-get -f install gdm

and Debian will do the rest 
Hope you have the relevant /etc/sources.list
pointed to any Debian archive mirror.
--- Tushar Naik [EMAIL PROTECTED] wrote:
 Hi,
I have been using xdm as my display manager
 recently on Debian
 Potato 2.2. I would like to replace it by gdm. For
 this I have the
 following queries :-
 1) Recently I read in this mailing list that to use
 gdm I have to remove
 xdm. Cannot both of them coexist? i.e. both of them
 are installed. If
 yes then what precautions do I have to take?
 2) From where can I obtain .deb packages of gdm?
 3) Where Can I find good documentation about gdm?
 What I am looking for
 is installation, configuration and maintance.
  I have some experience in linux/unix field.
 So if the answers are
 a little technical in nature are also welcome.
 Thanks in Advance to all those who answer
 
 Have a Nice day.
 To mail me remove .removethispart. from my email
 id, including the
 dots/period
 
 
 
 
 -- 
 To UNSUBSCRIBE, email to
 [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact
 [EMAIL PROTECTED]
 


__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/



Re: xdm and gdm

2001-05-30 Thread Bart Martens
Hi Joseph,

On Wed, May 30, 2001 at 07:49:46PM +0530, Joseph wrote:
 Hi,
   I have been using xdm as my display manager recently on Debian
 Potato 2.2. I would like to replace it by gdm. For this I have the
 following queries :-
 1) Recently I read in this mailing list that to use gdm I have to remove
 xdm. Cannot both of them coexist? i.e. both of them are installed. If
 yes then what precautions do I have to take?

I wouldn't know why you want them both to coexist. Do you want to login
twice? ;-)

 2) From where can I obtain .deb packages of gdm?

With apt-get. Are you familiar with apt-get? If you are, and you have
sources.list correctly configured in /etc/apt then you just login as
root and type: apt-get install gdm

 3) Where Can I find good documentation about gdm? What I am looking for
 is installation, configuration and maintance.

I would start by installing gdm with apt-get, and then look at the 
manual of gdm, by typing: man gdm
In this manual you may find references to other documents on the web.

 I have some experience in linux/unix field. So if the answers are
 a little technical in nature are also welcome.

Oh well, if you said that at the beginning of your mail... ;-)

 Thanks in Advance to all those who answer
 
 Have a Nice day.
 To mail me remove .removethispart. from my email id, including the
 dots/period
 
 
 
 -- 
 To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
 with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
 



Re: xdm and gdm

2001-05-30 Thread Dave Carrigan
Bart Martens [EMAIL PROTECTED] writes:

 I wouldn't know why you want them both to coexist. Do you want to login
 twice? ;-)

No, but maybe you want to use gdm on the actual console, but use xdm to
serve XDMCP to X servers that are not on the console (i.e., Windows X
servers). 

I once ran into a situation where wdm would not work with the Windows X
server software we had (wdm needed the shm extension, IIRC).  But, xdm
would work with the windows X servers. Hence, we ran the more functional
wdm on the console, but ran xdm to serve the Windows boxen.

Since there is no technical reason why multiple display managers cannot
run on a single box, I think that the trend to conflict with other
display managers in the {x,w,k,g}dm packages is not such a good idea. It
hasn't yet irritated me enough to get off my ass and file a bug report
though.

-- 
Dave Carrigan ([EMAIL PROTECTED])| Yow! I think my CAREER is
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | RUINED!!
Seattle, WA, USA| 
http://www.rudedog.org/ | 



Re: xdm and gdm

2001-05-30 Thread Dave Carrigan
Joseph [EMAIL PROTECTED] writes:

 1) Recently I read in this mailing list that to use gdm I have to remove
 xdm. Cannot both of them coexist? i.e. both of them are installed. If
 yes then what precautions do I have to take?

The software itself can coexist, but on Debian gdm conflicts with
{w,x,k}dm, so dpkg will not let you have both. There's no technical
reason why both gdm and xdm cannot run at the same time. You just have
to ensure that only one of them is managing a particular X server, by
tweaking xdm's Xservers file, and gdm's gdm.conf file. If you support
XDMCP clients, then you might also tweak Xaccess (and gdm.conf) to
control which DM handles XDMCP requests.

If you just want to run a display manager on your console, gdm offers
everything that xdm offers, and more, so you don't really need xdm.

 2) From where can I obtain .deb packages of gdm?

Add a deb-src for unstable or testing to your sources.list, apt-get
source gdm, debuild...

-- 
Dave Carrigan ([EMAIL PROTECTED])| Yow! I just had my entire
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | INTESTINAL TRACT coated with
Seattle, WA, USA| TEFLON!
http://www.rudedog.org/ | 



Re: Xdm, Kdm, Gdm.. or just, none?

2001-02-19 Thread ktb
On Mon, Feb 19, 2001 at 01:40:54PM +0100, William Leese wrote:
 After recently getting used to the Blackbox WM i decided i'd try to replace 
 all my KDE apps because they seem more CPU intensive (due to extra KDE 
 proceses?) than other apps. 
 
 Problem is that i've installed Kdm, not because i needed it.. but just 
 because i thought it was quite convinient when using more than one WM. 
 
 However, it is.. after all a KDE app.. which invokes other KDE services (do 
 correct me if i'm wrong, this is just what i've observed from top) and 
 because it will stay active till i log off X.. i'm kinda stuck with it..
 
 So, what i want to have is just plain X with an rxvt terminal.. but if i 
 uninstall or pervent Kdm from starting, i'll be dumped into KDE when i startx 
 by default. So the question (yes yes, finally) is how do i avoid this 
 behavior, which script, config file needs to be changed and is there anything 
 else i need to know?
 

You can uninstall kdm and create .xinitrc in your home directory.  
- chmod 755 .xinitrc
add a line like
- exec fvwm
or whatever window manager your using and run startx
hth,
kent

-- 
 From seeing and seeing the seeing has become so exhausted
 First line of The Panther - R. M. Rilke




Re: Xdm, Kdm, Gdm.. or just, none?

2001-02-19 Thread Erik Steffl
William Leese wrote:
 
 After recently getting used to the Blackbox WM i decided i'd try to replace
 all my KDE apps because they seem more CPU intensive (due to extra KDE
 proceses?) than other apps.
 
 Problem is that i've installed Kdm, not because i needed it.. but just
 because i thought it was quite convinient when using more than one WM.
 
 However, it is.. after all a KDE app.. which invokes other KDE services (do
 correct me if i'm wrong, this is just what i've observed from top) and
 because it will stay active till i log off X.. i'm kinda stuck with it..
 
 So, what i want to have is just plain X with an rxvt terminal.. but if i
 uninstall or pervent Kdm from starting, i'll be dumped into KDE when i startx
 by default. So the question (yes yes, finally) is how do i avoid this
 behavior, which script, config file needs to be changed and is there anything
 else i need to know?

  you can use xdm, it's does not start anything that would tax your
system. I am not sure if it's one of the alternatives (the display
manager) but if not just update-rc.d kdm remove (or something like that,
check syntax) to remove kdm from start-up scripts (it does not remove
kdm, just the links under /etc/rc*, you can still astart it using
/etc/init.d/kdm start).

  not sure if this will automatically reinstate xdm, if not either
(re)install xdm or use update-rc.d to create links in start up scripts.

erik