Simpler console access
We suggest configuring a serial console for your VDS. We find this is a more convenient way to access your server than VNC for the typical occasional use needed after initial installation.
Configure grub and linux
/etc/default/grub, add or change the following settings.
GRUB_CMDLINE_LINUX="console=tty0 console=ttyS0,115200n8" GRUB_TERMINAL=serial GRUB_SERIAL_COMMAND="serial --speed=115200"
Now run the command
update-grub to build a new grub configuration
These lines are sufficient to tell both grub (the bootloader) and the linux kernel itself to use the serial port.
Run getty on the serial
To enable you to log in on the serial console, you will need to run a
getty process on it. Most Linux distros now use
systemd. On these systems, the command to run is:
systemctl enable serial-getty@ttyS0 systemctl start serial-getty@ttyS0
On other systems, you may need to edit
/etc/inittab or similar.
Connect to the console
type the command
console This starts consolidate, a
terminal emulator attached to
ttyS0 of your virtual server. To
exit consolidate, type