sudo systemctl set-default multi-user.target.Password login should still work.Īs for the rest of it, getting a headless server with VNC from boot: If you encrypt your home folder you will be unable to use key files without extra steps. Not being able to ssh into a headless server without logging in on a local conole or GUI seems to me like major issue and should be treated as a separate issue. Any help, links, articles, thoughts, and opinions are greatly appreciated thanks! I really don't like the idea of the auto-login either, as I don't plan on keeping the machine at home, and don't want the server logged in when it's "out and about". Right now, I can't find a way to setup VNC without the server going into "GUI-mode" and then it won't let me SSH into it until I log into the server locally, so it can launch the startup programs, and this is unacceptable, I can't be logging into the server locally every time the server reboots or loses power. And to me it seems I should be able to force the server to remain headless until a user remotely logs into it, but I don't know how to do this and I can't find anything useful on Google. but I'm trying to keep the server as simple as possible. If I need to use a VM or some other container application, that wouldn't be the end of the world. Ideal setup would be a headless server that spins up my applications automatically and then I can have users VNC into it via an SSH tunnel and get a GUI on their remote machines to be able to see and use these applications. I want something similar to this, but I don't need the VMs. Then you could VNC into one of server VMs that one server spun up automatically. I was working with a startup at one point, and they had an awesome setup where they had a headless server that spun up and launched everything without the need for a login or GUI.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |