Struggling to install 2.7.4 debian wheezy

More
10 years 8 months ago #70397 by gryphon68
This method works well if you don't use a display manager. I only use XFCE4 on my Wheezy installs, no need for a display manager if the same user is going to autologin in on startup every time.

I

www.debianadmin.com/how-to-auto-login-an...nager-in-debian.html

First you need to edit the /etc/inittab file
Code:
#su Password: ROOTPASSWORDHERE #nano /etc/inittab

look for the following line
Code:
1:2345:respawn:/sbin/getty 38400 tty1
and comment out
Code:
#1:2345:respawn:/sbin/getty 38400 tty1
add the following line
Code:
1:2345:respawn:/bin/login -f YOUR_USER_NAME tty1 </dev/tty1 >/dev/tty1 2>&1
Save and exit the file

Now you need to edit .bash_profile in your home directory
If you are still root (su) from above type "exit" first:
Code:
# exit # cd # nano .bash_profile

at the bottom add the following command and save:
Code:
startx

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #70474 by Amedee
On the other hand, doing autologin from lightdm is easier to setup, does not require to tinker with inittab (which can generates trouble for inexperienced users) and still allows you to login from the console without starting X...

I would strongly discourage this practice unless you really understand what you are doing...

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #70476 by Todd Zuercher
I think Lightdm is the one i've installed.

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago - 10 years 8 months ago #70477 by Amedee
I am on Jessie, but to be sure I just did a default LinuxCNC/Wheezy install from the live CD.

Lightdm is indeed the default DM, so to get autologin, you just need to edit the lightdm conf file:
Code:
myuser@linuxcnc:~$ sudo vi /etc/lightdm/lightdm.conf
(or with any other text editor ;) )

And change 'autologin-user' to your username (don't forget to 'uncomment' that line)



That's it!
Last edit: 10 years 8 months ago by Amedee.
The following user(s) said Thank You: Clive S

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #70483 by dkmc
I got it sorted using the Lightdm method.
Thanks to all!

Please Log in or Create an account to join the conversation.

More
10 years 8 months ago #70568 by bevins
lightdm.conf has an autologin option as far as I remember......

Please Log in or Create an account to join the conversation.

Time to create page: 0.069 seconds
Powered by Kunena Forum