Trying to build a machine as a Kiosk with no login needed. update /etc/gdm/custom.conf. This is to enable automatic login with root user. ------------- [daemon] AutomaticLogin=root AutomaticLoginEnable=True So, more specifically I need to have my system boot to a graphical target as a particular user... #yum -y install gdm @gnome-desktop @^graphical-server-environment @internet-browser subscription-manager register --auto-attach yum -y install gdm yum -y install motif xterm xorg-x11-fonts-* xorg-x11-server-Xorg xorg-x11-xinit xorg-x11-apps subscription-manager repos --enable=rhel-7-server-optional-rpms yum -y install xorg-x11-xinit-session systemctl set-default graphical.target cat << EOF > /etc/sysconfig/desktop unset GSESSION unset STARTKDE EOF # update the GDM file to have automatic login enabled (as root in this case) sed -i -e 's/\[daemon\]/\[daemon\]\nAutomaticLogin=morpheus\nAutomaticLoginEnable=True/g' /etc/gdm/custom.conf USERS=...
Linux: The whole world made it for you... This blog is a collection of things I come across either at home or at work as a Linux Administrator. I have worked as an Admin working with Solaris, SAN, Backups and Linux at the Enterprise level for over 16 years.