SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have installed slackware 14.1 on a laptop which should automatically start XFCE.
I know it is not safe but no one else has access to this laptop and it is meant as host for a Windows7 virtual machine for some one with no linux experience.
You need to have you laptop set up for a graphical log in - run level 4. There should be an option in your chosen DE to set up an automatic log in. For example in KDE in the system settings go down to system administration and double click on Login Screen. From there click on the convenience tab and you can set it up there.
Note that KDE can be configured to let a user account login automatically, but you need XFCE and for XFCE I do not know of such feature.
I did not try myself, but this should work :
Run "xwmconfig" and select XFCE as the desktop environment of your choice.
Add the following line to /etc/rc.d/rc.local :
Code:
su -l YOUR_USERNAME -c '/bin/bash -l -c startx &>/dev/null' &
if it is stolen ( or left someplace)
the thief or whomever will have access to well
YOUR CREDIT CARDS!!!
YOUR PASSWORDS -including to your amazon account
all your "naughty" sites you have a subscription to
and SO ON ....
Autologin should have been wiped off the 'options' long ago.
You may not have a use for it, but others do. People who set this up generally do it knowing the security implications it can bring. This is why it's an option.
My laptop never leaves my house. It is currently running Windows because of some software requirements, but I don't have it lock and I have it log in automatically (although, the account does have a password). If someone breaks into my house, my laptop being unlocked is the least of my problems. I have the laptop so I can work from places in the house other than the office (I am usually ssh'ed into my desktop). If I was constantly traveling with my laptop, I'd consider different security precautions, but as it stands, I think they're unnecessary for my current use. If I'm worried about a friend accessing my laptop to "hack" my facebook to change my status or worried a friend's kid might get button happy, I'll lock the laptop so it requires a password to unlock it.
As I said earlier, I've done this knowing fully well the security implications it brings.
In my opinion, auto-login absolutely makes sense on a laptop. To protect your data in case it's stolen or lost, you should use disc encryption with a strong pass phrase anyway. And I really don't see a huge security benefit in also asking for a user and pw after you need the pass phrase to boot it. But of course your laptop should be locked when you suspend it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.