How to Enable Automatic Login on Debian 8 Jessie (for Console)?
Hello,
I would like to enable autologin without using inittab (since jessie hasnt) and without gdm. I found this: Code:
Autologin to text in Debian Jessie Are they other methods? thank you (more nfo: https://bbs.archlinux.org/viewtopic.php?id=169483) |
http://forums.debian.net/viewtopic.php?f=16&t=123694
Your way is very much like the one above except that you don't have to make any directory, it's already there (Systemd stuff, i guess). It has worked for me both on my Jessie xfce install and Debian with standalone OpenBox install so i feel safe to venture that it should work for you too. |
Hello
would you know if there is a simpler solution, I have in mind such as apt-get install flashplugin-nonfree or apt-get install console-autologin dpkg-reconfigure console-autologin give please username: myusername et voila ! |
What could be simpler than copy-pasting 2 lines of code in the designated places and running exactly 1 command after that? Did you even open the link i posted? :)
Edit: Aha! I see now that you are a senior member and were just out to have some fun. I am such an ass for taking the bait. :LOL |
Quote:
Why to do x100-1000 times users things? |
It's the sheer minimalism of the method that i am taken in by, even though i hardly know any bash to speak of, i daresay you couldn't find a more elegant way to do it. All i can hope to do is one day parse the code for myself and understand exactly how it worked.
|
Quote:
|
2 Attachment(s)
Since the OP has neither marked this as solved nor has pursued it further i see fit to not let this thread go to waste and open a new one, for my question is related to what happens after implementation of auto-login and auto-startX as per the aforementioned method.
I succumbed to temptation and decided to make my openbox window pretty. Followed these instructions in the Debian OpenBox wiki faithfully; Code:
# apt-get install feh Next i created this .xsession file and made it executable. Code:
#!/bin/bash Now here's curious part, this is what i get when i boot or reboot my computer, i see the wallpaper for a brief instant, then it disappears and i'm left with what's in the first Screenshot; It is only after i "Exit" the openbox session from it's menu, sometimes twice, that the session restarts automaticlly and i get to what's in the second one. |
On a hunch i went to my LMDE partition and did a fsck -y on this partition from it. Sure enough, it told me that there was an error on line 4 in my /etc/fstab which was magnanimously ignored (has to be by rEFind, this bootloader is a real blessing for the newbie), a "dirty bit" was removed and the partition was clean..tee-hee, "dirty bit". I booted back into my Debian partition and edited my /etc/fstab. Did a
Code:
ls /etc/xdg/openbox Code:
eval `cat $HOME/.fehbg` && gkrellm & The issue mentioned in the title of this thread should now either be considered resolved or followed up and it irks me no end that the OP despite his seniority has left it hanging out to dry and not had the courtesy to do either. :( |
Quote:
I like to think about common Linux users. |
Virtual console
Edit the provided unit either manually by creating the following drop-in snippet, or by running systemctl edit getty@tty1 and pasting its content: /etc/systemd/system/getty@tty1.service.d/override.conf [Service] ExecStart= ExecStart=-/usr/bin/agetty --autologin username --noclear I 38400 linux |
Quote:
it would be seriously nice that there is a package Code:
apt-get install console-autologin |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Quote:
Quote:
|
Quote:
|
All times are GMT -5. The time now is 05:29 AM. |