Netrunner Logo
Board Index divider Search Member List Help
Hello There, Guest! Login Register
Login
Username:
Password: Lost Password?
 
Index › Netrunner Rolling › Rolling 2016.01 › Auto login

Pages (2): 1 2 Next »
Auto login
Codeslinger
**

Joined: May 2014
Posts: 32
Chief Offline
#1
3rd June 2014, 1:29
How do you get auto login to work? It ignores the setting during installation as well as the settings in the System Settings GUI. Huh
Find
Reply
Moderator

Joined: Apr 2014
Posts: 3,499
AJSlye Offline
#2
3rd June 2014, 1:42 Edited(This post was last modified: 3rd June 2014, 1:45 by AJSlye.)
Auto login isn't working with SDDM and systemd:

Known issues

Incompatibility with systemd
Affected DMs: Entrance, MDM, SDDM, SLiM
Some display managers are not fully compatible with systemd, because they reuse the PAM session process. It causes various problems on second login, e.g.:
NetworkManager applet does not work,
PulseAudio volume cannot be adjusted,
login failed into GNOME with another user.
See the following bugtracker reports for more details:
MDM: [1]
SDDM: [2] (fixed in git master), although it doesn't work with autologin [3]
SLiM: [4] [5]

I copy and pasted from the bottom of: https://wiki.archlinux.org/index.php/display_manager

This is just a suggestion but, you might try switching to KDM.
Find
Reply
Jack-of-all-Trades
*

Joined: May 2014
Posts: 16
drbellerive Offline
#3
3rd June 2014, 2:10
Auto login with SDDM is working well for me with netrunner rolling installed in a Virtualbox virtual machine.
Find
Reply
Moderator

Joined: Apr 2014
Posts: 3,499
AJSlye Offline
#4
3rd June 2014, 2:45 Edited(This post was last modified: 3rd June 2014, 2:52 by AJSlye.)
I just tried using the GUI to set up auto-login and it worked for me. did it ask for a password when you hit apply?
Find
Reply
Moderator

Joined: Jul 2013
Posts: 2,684
leszek Offline
#5
3rd June 2014, 9:57
We fixed sddm up as we had autologin issues on the live media aswell. So it should now work also when installed.
Find
Reply
Moderator

Joined: Apr 2014
Posts: 3,499
AJSlye Offline
#6
3rd June 2014, 13:04 Edited(This post was last modified: 3rd June 2014, 13:20 by AJSlye.)
@chief

Have you ran any updates since installation?
If not the first updates need to be run from the command line:

sudo pacman -Syuu

if you would like an icon in the system tray for update notifications you'll need to install octopi-notifier.

PS. you should check for updates at the least every 2-3 weeks, most the time updates come in every week on Sunday, but can sometimes take much longer if there are any major issues (like the move to systemd or the symlinking of /bin, /sbin & /usr/sbin to /usr/bin). Manjaro tries to deal with any problems they find and correct them using the manjaro-system package so that their users don't have to.
Find
Reply
Codeslinger
**

Joined: May 2014
Posts: 32
Chief Offline
#7
3rd June 2014, 18:30
(3rd June 2014, 9:57)leszek Wrote: We fixed sddm up as we had autologin issues on the live media aswell. So it should now work also when installed.

I have the old iso so I did a system update from Octopi. I went to System Settings Other and Login Screen. I have EnableAuto-Login checked and my user selected. I have Preselect User as Specified with my User selected. I have Enable Password-Less Login selected for my user. It still asks for a password at restart. What am I doing wrong?Huh
Find
Reply
Jack-of-all-Trades
*

Joined: May 2014
Posts: 16
drbellerive Offline
#8
3rd June 2014, 18:43
(3rd June 2014, 18:30)Chief Wrote:
(3rd June 2014, 9:57)leszek Wrote: We fixed sddm up as we had autologin issues on the live media aswell. So it should now work also when installed.

I have the old iso so I did a system update from Octopi. I went to System Settings Other and Login Screen. I have EnableAuto-Login checked and my user selected. I have Preselect User as Specified with my User selected. I have Enable Password-Less Login selected for my user. It still asks for a password at restart. What am I doing wrong?Huh

The System Settings--> Advanced --> Other --> Login Screen is for KDM.
Use System Settings --> System --> Startup and Shutdown --> Login Screen for SDDM. The advanced tab has the auto login checkbox and a dropdown box to select the user.
Find
Reply
Moderator

Joined: Jul 2013
Posts: 2,684
leszek Offline
#9
3rd June 2014, 18:47
Hmm.. Maybe you need to manually edit the config file. Make sure to have the correct AutoUser=username and LastUser=username written in /etc/sddm.conf
Find
Reply
Codeslinger
**

Joined: May 2014
Posts: 32
Chief Offline
#10
3rd June 2014, 18:55
(3rd June 2014, 18:43)drbellerive Wrote:
(3rd June 2014, 18:30)Chief Wrote:
(3rd June 2014, 9:57)leszek Wrote: We fixed sddm up as we had autologin issues on the live media aswell. So it should now work also when installed.

I have the old iso so I did a system update from Octopi. I went to System Settings Other and Login Screen. I have EnableAuto-Login checked and my user selected. I have Preselect User as Specified with my User selected. I have Enable Password-Less Login selected for my user. It still asks for a password at restart. What am I doing wrong?Huh

The System Settings--> Advanced --> Other --> Login Screen is for KDM.
Use System Settings --> System --> Startup and Shutdown --> Login Screen for SDDM. The advanced tab has the auto login checkbox and a dropdown box to select the user.

Never had so much fun since the hogs ate my little sister TongueBig Grin Thanks that worked. Now off to load this puppl on my wife's Laptop and see if I can network to Linux platforms.
Find
Reply
Jack-of-all-Trades
*

Joined: Oct 2014
Posts: 17
Janning Offline
#11
5th October 2014, 17:26 Edited(This post was last modified: 5th October 2014, 17:28 by Janning.)
(3rd June 2014, 18:55)Chief Wrote:
(3rd June 2014, 18:43)drbellerive Wrote:
(3rd June 2014, 18:30)Chief Wrote:
(3rd June 2014, 9:57)leszek Wrote: We fixed sddm up as we had autologin issues on the live media aswell. So it should now work also when installed.

I have the old iso so I did a system update from Octopi. I went to System Settings Other and Login Screen. I have EnableAuto-Login checked and my user selected. I have Preselect User as Specified with my User selected. I have Enable Password-Less Login selected for my user. It still asks for a password at restart. What am I doing wrong?Huh

The System Settings--> Advanced --> Other --> Login Screen is for KDM.
Use System Settings --> System --> Startup and Shutdown --> Login Screen for SDDM. The advanced tab has the auto login checkbox and a dropdown box to select the user.

Never had so much fun since the hogs ate my little sister TongueBig Grin Thanks that worked. Now off to load this puppl on my wife's Laptop and see if I can network to Linux platforms.

I have Kubuntu 14.10 KDE 5 plasma desktop. HAving THE hardest time getting to auto login.
Have read your thread above,,,,I didn't have some of these icon options in my systems settings I had to:

sudo apt-get install Login Screen (login screen SDDM)

I run login screen SDDM
NOW I have something that has the auto login check box!

However, when I check the box..and Apply, then click ok...its not saving
the changes, when I go back in, the box is unchecked!!

Is there a way to set auto login at the command line ?
Find
Reply
Moderator

Joined: Jul 2013
Posts: 2,684
leszek Offline
#12
5th October 2014, 20:27
The plasma 5 in combination with sddm is still in early development so such problems might occur.
Quote:Is there a way to set auto login at the command line ?
You could check the config file directly in /etc/sddm.conf as far as I know the config option should be AutoLoginUser=username. Autologin itself then only works if the LastSession option is set to something valid.
Find
Reply
Jack-of-all-Trades
*

Joined: Oct 2014
Posts: 17
Janning Offline
#13
5th October 2014, 23:49 Edited(This post was last modified: 6th October 2014, 20:25 by starbuck.)
My sddm.conf has no "AutoLoginUser=username" Can you tell me where in sddm.comf this would go and in any special format ?
Thanks AJ
Trying to attach my sdd.conf to this thread, if I can't I'll post it in another Reply just after this

Code:
# SDDM
#
# The display manager service manages the X servers running on the
# system, providing login and auto-login services
#
# based on lightdm upstart script

description     "SDDM"
author          "Rohan Garg <rohangarg@kubuntu.org>"

start on ((filesystem
           and runlevel [!06]
           and started dbus
           )
          or runlevel PREVLEVEL=S)

stop on runlevel [016]

respawn
respawn limit 2 15

emits login-session-start
emits desktop-session-start
emits desktop-shutdown

script
    if [ -n "$UPSTART_EVENTS" ]
    then
        # Check kernel command-line for inhibitors, unless we are being called
        # manually
        for ARG in $(cat /proc/cmdline); do
            if [ "$ARG" = "text" ]; then
        plymouth quit || :
                stop
        exit 0
            fi
        done

        [ ! -f /etc/X11/default-display-manager -o "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/bin/sddm" -o "$(cat /etc/X11/default-display-manager 2>/dev/null)" = "/usr/sbin/sddm" ] || { stop; exit 0; }
        plymouth quit
        clear >/dev/tty7
    fi
    exec sddm
end script

post-start script
    sleep 5
    clear > /dev/tty7
end script

post-stop script
        clear > /dev/tty7
        sleep 1
        if [ "$UPSTART_STOP_EVENTS" = runlevel ]; then
                initctl emit desktop-shutdown
        fi
end script
Find
Reply
Jack-of-all-Trades
*

Joined: Oct 2014
Posts: 17
Janning Offline
#14
6th October 2014, 3:00
I went back to one of my virtual machines that has 14.04 and plasma 4 on it...to the login screen, and enabled auto login and apply. When I go back in....it also does not save the setting. There has to be a way to have it auto login. I know there is because, I had it doing it on 14.04 and 14.10 (last week), before I formatted and started over.

I've about worn out google...still coming up with nothing. I know this is something very simple I'm over looking.
Find
Reply
Moderator

Joined: Jul 2013
Posts: 2,684
leszek Offline
#15
6th October 2014, 9:19 Edited(This post was last modified: 12th October 2014, 15:01 by starbuck.)
That looks not like the /etc/sddm.conf that you posted but a upstart service file that starts sddm.
Find
Reply
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

  • Contact Us
  • Netrunner Forums
  • Return to Top
  • Lite (Archive) Mode
  • RSS Syndication
Current time: 24th April 2018, 14:43 Powered By MyBB, © 2002-2018 MyBB Group.
Linear Mode
Threaded Mode