Computer without keyboard, mouse and monitor?
Hi,
I've a desktop computer that I want to install linux in it. But this computer will not have keyboard, monitor or mouse connected. I will only access the computer with SSH or VNC Is it possible to run a computer without keyboard, mouse and monitor connected? |
Sure. I run and use numerous hosts that way. You will probably need the keyboard and monitor to perform the installation. All of my headless hosts boot a mostly hand-crafted Linux that is loaded at boot time from a PXE server.
--- rod. |
but this work with ubuntu, or I need another linux version?
|
This will work with any distribution. If you want to use Ubuntu I would recommend to run the server version, it comes without GUI. Running a GUI on a headless machine is somewhat pointless and a waste of resources.
|
Quote:
Installing unused applications of any sort, GUI or not, could be considered a waste of resources (disk). I find the most precious resource these days is human time, and I will happily trade a few GB of disk to save an hour of my time. --- rod. |
OK, but you will only need a few X packages (and may be QT,GTK+ or any other GUI framework), which will autumatically be pulled in when installing a GUI application. Therefore the server edition will be a much better choice, rather than installing the desktop edition and disabling all the desktop services that will be running by default and are only useful/usable on desktop systems.
|
The OP says he wants to use VNC to access the computer. From that, I conclude that he must have some GUI applications in mind. Come to think of it, does VNC (Remote Desktop) even work without a full-on desktop environment? I have a hard time picturing what it would look like.
Perhaps some clarification by the OP is in order: is it your intention to run any GUI applications on the headless host? If so, is it a small specific set, or do you want to run a generic suite of application software? A desktop environment? --- rod. |
Quote:
Since we have some issues with remote X servers, anyone can also connect via ssh (which we also use for non GUI activities) and launch a new KDE or Gnome desktop inside a VNC server. Then one can connect and disconnect (without interrupting anything) to that desktop using a remote VNC client. I have no idea what someone had to install/enable on those Centos systems to make all that available (I never did that step of a Centos install myself). But I don't think installing/enabling all of that is difficult. Quote:
Quote:
Regarding the original question: No one here ever installed Centos on a system without a temporary KVM connection. We have KVM switches allowing a few keyboard/monitor/mouse sets to be shared among a large number of Windows servers that each need KVM rarely. To set up a Centos, you borrow the KVM cables off a Windows system to go through one time first-install of Centos, then put the cables back because a Centos system typically never needs them again. |
Quote:
When you use a full D-E remotely, what sort of remote hosts are you using? Usually, a X-server host comes with a D-E already, and configured at a run-level where the D-E is present from boot-up. --- rod. |
I decided not to use VNC. I will stick only to ssh.
And if I decide to open some graphics, I will use the command "ssh -X" |
All times are GMT -5. The time now is 05:02 PM. |