Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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.
a) You can.
Actually quite easily (I know how to with KDE).
b) You shouldn't.
Just because it's [b]VERY[/] poor practice in terms of
security. Even if you're the only user of the machine,
what if someone STEALS the machine? A bit of paranoia
is good for you (and your belongings).
To add to the comments from Tinkster, what if you have a problem booting, as in 'it won't let you in' and you need root privilege to fix it. You can't get there because of the automagic login.
I tried that automatic login once, and never again. Just because of the scenario I mentioned above.
I really appreciate your concern. I realize full well the risks of booting without a login prompt. The computer that I want to do this on is a small server on my home network. I have no monitor or other peripherals for the pc and it's placement is nowhere near the other computers. MAKES IT A LITTLE DIFFICULT TO LOGIN TO A LOGIN PROMPT.......
I'm curious why you'd need to have it automatically login if you're not going to be using it directly; everything will start up and run, unless you have certain things that only run when you logon, in which case you should create startup scripts to start them when the machine boots.
The server that I want logged automatic is number four on a four node network!!!!!
I DO NOT HAVE A MONITOR OR PERPHS FOR THAT MACHINE!!!!!!!!!
I see no need to buy a monitor or perphs for that machine since it's only going to be used as a simple home server!!!!!
In other words, that computer will act as a server to hold files from the other computers on the network!!!!!
Jesus, whats the point in debating an issue that doesnt concern you? Either you know the answer to a question and would like to help out, or you don't know the answer to a question and maybe need not to post. What the hell does anyone here care about what I do to my computer? I mean come on!!!!!! Screwing up is how you learn..........
Cause and Effect......you know?
Just answer the question or dont answer the question. I or noone else needs a mother here!
it's only going to be used as a simple home server!!!!!
THEN WHAT IN THE HELL IS THE POINT OF AUTOMATICALLY STARTING A USER SESSION!!!!!
Jeez, just use ssh already...
No one is telling you to get a monitor and keyboard, just trying to wrangle why you feel you need to do this...
At the risk of sounding redundant: what you are trying to do is pointless.
Quote:
Either you know the answer to a question and would like to help out, or you don't know the answer to a question and maybe need not to post.
Right, and you either want some appropriate answers to your question or you don't.
Quote:
Screwing up is how you learn..........
Another good way to learn is by listening to those that have more experience with something than you
Quote:
Just answer the question or dont answer the question. I or noone else needs a mother here!
Fine. AFAIK you cannot do an automatic text login. So go ahead and install X|G|KDM
and have an automatic X session login on your bloody headless server...
Hell noone gave any appropriate information. Everyone just assumed this or that. Not once did anyone simply ask what I wanted to use the damn thing for.
Listen, I apologize for even posting this. thank your for your comments.
Not once did anyone simply ask what I wanted to use the damn thing for.
Actually we did, but quite simply, you can't do _anything_ with it.
As you so elegantly said, you don't have a monitor or keyboard, so maybe you would like to explain how you are going to access this automatic login session?
matthewa, it appears you don't understand how Linux works. If all this machine is doing is holding files, you don't need a user logged in at all, just boot it. If you have SSH configured and running, you can login via SSH to administer it when needed, and not need a monitor, kbd, or mouse.
SSH will usually include SCP and SFTP for transferring files to/from the box. If you are using this with Windows machines, you could also install Samba and be able to map a drive to this server, though it's less secure than using SCP and SFTP.
If you're using other Linux boxes, you could use NFS to mount the filesystems remotely, but again, that's generally not as secure.
Now, I don't mean to be rude, but if this doesn't answer your questions, you don't know what you are asking for.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.