[gdm-list] problem with autologin on multiple displays



I'm using Ubuntu Feisty as the basis for a carpc.  I have one display in the front for control, and two in the back so my kids can watch or play what they want on long trips.  Everything is working great, except I can't get more than one user to autologin.  Here is what I've tried:

/etc/X11/gdm/gdm.conf-custom

[daemon]
AutomaticLoginEnable=true
AutomaticLogin=/usr/sbin/gdm-autologin|

[security]
AllowRemoteAutoLogin=true
DisallowTCP=false

My custom shell script gdm-autologin which returns a user based on DISPLAY:

#!/bin/sh

case $DISPLAY in
  ":0")
    echo "user1"
    ;;
  ":1")
    echo "user2"
    ;;
  ":2")
    echo "user3"
    ;;
esac

User1 on display :0 automatically logs in as desired, but user2 and user3 don't.  I've tried various options to no avail so I'm hoping someone here can help.  Thanks!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]