A few months ago I converted an old desktop computer into a basic server by putting Ubuntu (desktop version) onto it and setting up apache2, etc. I have SSH configured so that I can work on it remotely, and use FTP to move files. When I tried to access my server yesterday I found that it was down, and I could not get in at all. I'm at college, and my server is at home, so I called my mom, who told me that there had been a brief power outage at my house, and I concluded that my server had restarted. I have the computer set to require a password on startup, so it turns out that it had just been sitting at the log in screen for the past few days, waiting for a password. My instinctive question is whether SSH or some other program can be used to log the system in (as if in person) from a remote computer after the server has been restarted.
As I said, I currently have the computer set to require a password to log into the one and only user account on the server upon startup. When I SSH or FTP, I use the same log in/password, though I'm guessing that I'm going to be told that this is the wrong way to go about doing it, and is the source of my problem. In that case, what would you recommend?
Thanks in advance.
In response to the comment and answer, I don't know what the X environment is, so it's probably not something that I want to log in to. The way I have the server set up, when you physically turn the machine on, it boots up, and then asks for a password, just like most normal computers do. You have to enter the password in order to get to the desktop and run applications. From my experience, the web server application, ssh server application, etc. are not active until the password is entered and the desktop is loaded. Hence, I need to log in to the computer in order for it to come on line as a server. What I need is a way to get the server running again (at desktop, with apache) after the machine loses power and boots back up without having to physically enter a password in person.