Setup Process:

Step #1 – Configure the desktop to automatically login.

  1. Launch YaST or YaST2
  2. Click on System–>Sysconfig Editor–>Desktop–>Displaymanager–>displaymanager_autologin
  3. Enter the username used in logging into the desktop.

Now after the workstation is rebooted, the workstation should automatically do a local login to the desktop.

Step #2 – Configure the Novell Client for Linux to automatically login.

Option A: Use a script

  • Edit and append the following lines to the /home/<username>/.profile.
NOTE: Lines in bold (found at the beginning) should be changed with your specific information
#===================================

#USER="<mylocaluser>"
USER="<username>"

#SERVER="<myserver.novell.com>"
SERVER="<dns or IP>"

#VOLUME="SYS"
VOLUME="<volume>"

#EDIR_USER="<admin>"
EDIR_USER="<edir user>"

#EDIR_PASWORD="<novell>"
EDIR_PASWORD="<password>"

#EDIR_USER_CONTEXT="<ou=users,o=novell>"
EDIR_USER_CONTEXT="<edir context for user>"

#MAPLOCATION="</home/jmeldrum/Desktop/mymap>"
MAPLOCATION="<map location and name>"

loggedIn="$(nwconnections | sed -n "/[0-9]/p")"

if [ $(whoami) == "$USER" ]; then
        if [ -z "$loggedIn" ]; then
                echo "=========`date` ================" >> /tmp/mylogin.log
                /opt/novell/ncl/bin/nwmap -d $MAPLOCATION -s SERVER -v $VOLUME -u $EDIR_USER -p $EDIR_PASWORD-c $EDIR_USER_CONTEXT 2&1 >> /tmp/mylogin.log
        fi
else
        echo "$(whoami) does not match user $USER" >> /tmp/mylogin.log
fi
#===================================

Option B: Setup Integrated Login

AutoAdminLogon is now setup.

(Visited 1 times, 1 visits today)
Tags: ,
Category: SUSE Linux Enterprise Desktop, Technical Solutions
This entry was posted Friday, 11 November, 2011 at 1:42 pm
You can follow any responses to this entry via RSS.

Leave a Reply

Your email address will not be published. Required fields are marked *

No comments yet