Hello,
I have been using kiwi for a bit.
My problem is that I cannot make lightdm automatically login to cinnamon desktop.
I add this command
baseUpdateSysConfig /etc/sysconfig/displaymanager DISPLAYMANAGER_AUTOLOGIN tux
or
baseUpdateSysConfig /etc/sysconfig/displaymanager DISPLAYMANAGER_AUTOLOGIN yes
to config.sh
The lightdm appeared, but when I tried to login, it take me back to lightdm, I cannot go to the cinnamon desktop.
If I delete
baseUpdateSysConfig /etc/sysconfig/displaymanager DISPLAYMANAGER_AUTOLOGIN yes or tux
I can login just fine.
The user name is tux.
The config that i’m using is attached below.
<?xml version="1.0" encoding="utf-8"?>
<image schemaversion="6.8" name="openSUSE_Tumbleweed">
<description type="system">
<author>Tee</author>
<contact>tee@email</contact>
<specification>
Factory JeOS, is a small text based image
</specification>
</description>
<preferences>
<type image="iso" primary="true" flags="overlay" hybrid="true" hybridpersistent_filesystem="ext4" hybridpersistent="true"/>
<version>1.99.1</version>
<packagemanager>zypper</packagemanager>
<locale>en_US</locale>
<keytable>us</keytable>
<timezone>Europe/Berlin</timezone>
<rpm-excludedocs>true</rpm-excludedocs>
<rpm-check-signatures>false</rpm-check-signatures>
<bootsplash-theme>bgrt</bootsplash-theme>
<bootloader-theme>openSUSE</bootloader-theme>
</preferences>
<users>
<user password="1234" pwdformat="plain" home="/root" name="tux" groups="root"/>
</users>
<repository type="rpm-md" alias="kiwi" priority="1">
<source path="obs://Virtualization:Appliances:Builder/Factory"/>
</repository>
<repository type="yast2" alias="Tumbleweed" imageinclude="true">
<source path="http://download.opensuse.org/tumbleweed/repo/oss"/>
</repository>
<repository type="yast2" alias="Packman" imageinclude="true" priority="99">
<source path="http://packman.inode.at/suse/openSUSE_Tumbleweed/"/>
</repository>
<packages type="image" patternType="plusRecommended">
<package name="xorg-x11-server"/>
<package name="cinnamon"/>
<package name="lightdm"/>
<package name="python"/>
<package name="perl"/>
<package name="patterns-openSUSE-base"/>
<package name="plymouth-theme-bgrt"/>
<package name="plymouth-dracut"/>
<package name="grub2-branding-openSUSE"/>
<package name="ifplugd"/>
<package name="iputils"/>
<package name="vim"/>
<package name="grub2"/>
<package name="grub2-i386-pc"/>
<package name="syslinux"/>
<package name="lvm2"/>
<package name="plymouth"/>
<package name="fontconfig"/>
<package name="fonts-config"/>
<package name="tar"/>
<package name="parted"/>
<package name="openssh"/>
<package name="iproute2"/>
<package name="less"/>
<package name="bash-completion"/>
<package name="dhcp-client"/>
<package name="which"/>
<package name="kernel-default"/>
<package name="timezone"/>
</packages>
<packages type="iso">
<package name="gfxboot-branding-openSUSE"/>
<package name="dracut-kiwi-live"/>
</packages>
<packages type="bootstrap">
<package name="udev"/>
<package name="filesystem"/>
<package name="glibc-locale"/>
<package name="cracklib-dict-full"/>
<package name="ca-certificates"/>
<package name="openSUSE-release"/>
</packages>
</image>
#!/bin/bash
#================
# FILE : config.sh
#----------------
# PROJECT : OpenSuSE KIWI Image System
# COPYRIGHT : (c) 2006 SUSE LINUX Products GmbH. All rights reserved
# :
# AUTHOR : Marcus Schaefer <ms@suse.de>
# :
# BELONGS TO : Operating System images
# :
# DESCRIPTION : configuration script for SUSE based
# : operating systems
# :
# :
# STATUS : BETA
#----------------
#======================================
# Functions...
#--------------------------------------
test -f /.kconfig && . /.kconfig
test -f /.profile && . /.profile
#======================================
# Greeting...
#--------------------------------------
echo "Configure image: $kiwi_iname]..."
#======================================
# Mount system filesystems
#--------------------------------------
baseMount
#======================================
# Setup baseproduct link
#--------------------------------------
suseSetupProduct
#======================================
# Add missing gpg keys to rpm
#--------------------------------------
suseImportBuildKey
#======================================
# Activate services
#--------------------------------------
suseInsertService sshd
#======================================
# Setup default target, multi-user
#--------------------------------------
#==========================================
# remove package docs
#------------------------------------------
rm -rf /usr/share/doc/packages/*
rm -rf /usr/share/doc/manual/*
rm -rf /opt/kde*
#======================================
# only basic version of vim is
# installed; no syntax highlighting
#--------------------------------------
sed -i -e's/^syntax on/" syntax on/' /etc/vimrc
#======================================
# SuSEconfig
#--------------------------------------
baseUpdateSysConfig /etc/sysconfig/windowmanager DEFAULT_WM cinnamon
baseUpdateSysConfig /etc/sysconfig/displaymanager DISPLAYMANAGER lightdm
baseUpdateSysConfig /etc/sysconfig/displaymanager DISPLAYMANAGER_AUTOLOGIN tux
baseSetRunlevel 5
suseConfig
#======================================
# Remove yast if not in use
#--------------------------------------
#======================================
# Umount kernel filesystems
#--------------------------------------
baseCleanMount
exit 0