4
4
Yesterday I have installed Debian on a virtual machine.
I have SSH configured and everything set up.
I don't like developing inside a VM.
It doesn't help to resize the browser and test everything the way I want.
So, I decided to connect using Xming and PuTTY, which works flawlessly.
The boring stuff is that I have to always choose a username and password to be able to use the machine.
How can I set it to automatically login into the desktop without asking username or password?
EDIT
Author says re ssh keys "It's not that. I just want that when I boot the VM, it goes straight to the desktop instead of the LXDE login screen. Everything else is working perfectly. "
@barlop I was explaining WHY I want to do on this way. I can remove those lines if needed. The question itself might be badly worded, but it is no reason to downvote. I just want to skip the login screen and go to the desktop. – Ismael Miguel – 2015-01-09T11:05:59.493
+1 yeah I removed the downvote even before your comment, 'cos at least the question is interesting..but it's annoying that your question looked like you might've needed to know about ssh keys (talking about ssh and wanting to log in automatically) when you later say you weren't asking about ssh keys. Also at least you responded fast to say you didn't – barlop – 2015-01-09T11:27:42.980
@barlop I'm really sorry for the wording. Your edit looks great! Can you please remove the line saying "I have SSH configured and everything set up."? And change "The boring stuff is that I have to always choose a username and password to be able to use the machine." to "The boring part is that I have to login first to the desktop to use it."? That might help a lot more to define what I want. – Ismael Miguel – 2015-01-09T11:40:16.113
ok but first, to clarify, which machine is it that you have to use the username and password to get into? can you provide a screenshot (could be a pic taken from your phone), or something from google images, that shows the user/pass screen that you need to automatically get through? ('cos I guess you have a windows system a linux system and ssh and a pic would clarify what you mean) – barlop – 2015-01-09T11:49:16.837
@barlop If you mean "where did I got it?", I simply downloaded the CD version with LXDE on their website. If you mean "which machine" literally, then I dont know how to answer that. I have 2 users (root and test, both with the same password), I don't know if that makes any difference. – Ismael Miguel – 2015-01-09T11:53:14.807
show a picture of the screen where you have to enter the username and are trying to do automatically – barlop – 2015-01-09T11:54:00.423
Let us continue this discussion in chat.
– barlop – 2015-01-09T11:55:02.393@barlop I'm really Sorry, but the chat is all bugged. I will post the answer now. – Ismael Miguel – 2015-01-09T13:43:05.630
ok that's no problem, glad I could help. It's interesting what you are doing.. locally accessing the headless VM to a different view so as to avoid the virtual machine GUI quirks you've found. I like the idea. – barlop – 2015-01-09T13:45:32.263
@barlop You have no idea how great it is to work like that! You just start the VM, wait 2 minutes, start PuTTY, connect to the VM and you can access the programs just like if you were using separate programs in windows. If you want to go crazy, you can start the XWindow manager (in my case, running the command
startlxde&
) and you can have both desktops at the same time. I don't recommend using the latest way – Ismael Miguel – 2015-01-09T13:58:14.1901@barlop If you have any doubt and you want to try it yourself, and you find any doubt, you can ask here and I will happily answer. – Ismael Miguel – 2015-01-09T15:46:17.583