[gdm-list] multiseat again



I am building multiseat computers and trying to get multiple users autologin.
But did not found solution yet.
I can't get this working:
In gdm.conf:

AutomaticLoginEnable=true
AutomaticLogin=/usr/local/sbin/AutoLoginUser.sh %d |

The script AutoLoginUser.sh 
with parameter the display name.

that's the script:

#!/bin/bash

if [ "$#" != "1" ] ; then
        exit
fi

DISPLAY="$1"

if [ "$DISPLAY" = ":1" ] ; then
        echo "username1" # login name for first Xgl server
fi

if [ "$DISPLAY" = ":2" ] ; then
        echo "username2" # login name for second Xgl server
fi

if [ "$DISPLAY" = ":3" ] ; then
        echo "username3" # login name 3th Xgl server
fi

if [ "$DISPLAY" = ":4" ] ; then
        echo "username4" # login name for 4th Xgl server
fi

also tried for timed login,no go.One user can get autologin ok
guy


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