How fix Debian or Centos or Ubuntu console just black screen

If you have Debian or Centos or Ubuntu and when you go to NoVNC Console in web panel, you get black screen. To fix it, you can simply reinstall or ssh to the vps and login as root, and

1. For Cenots 6, modify /etc/init/tty1.conf and make sure it contains below

# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]
respawn
exec /sbin/getty -8 38400 tty1


2. For Centos 5/7, modify /etc/inittab and add

1:2345:respawn:/sbin/agetty tty1 38400 linux


3. For Ubuntu 10, 12, 14, modify /etc/init/tty1.conf and add

# tty1 - getty
#
# This service maintains a getty on tty1 from the point the system is
# started until it is shut down again.

start on stopped rc RUNLEVEL=[2345]

stop on runlevel [!2345]

respawn
exec /sbin/getty -8 38400 tty1

4. For Debian 5,6,7, modify /etc/inittab and add

1:2345:respawn:/sbin/getty 38400 tty1


save the file and then Stop VPS and Start VPS via web panel.

War diese Antwort hilfreich?

 Artikel drucken

Lesen Sie auch

How to add LAMP support to Ubuntu 14.0.4 64-bit on New OpenVZ

A LAMP (Linux, Apache, MySQL, PHP) stack is a common web stack used for hosting web content. This...

"Server refused to allocate pty" on New LXC template(s)

NOTE: This seems to happen only on OpenVZ template(s) that's used on LXC, like Cenots 6 32-bit....

How to resize/extend Windows or Linux disk space (LVM)

If you buy a plan with more than 15GB of disk space, the remaining space is empty and need to be...

How to enable and setup RDP on Windows

NOTE: This is done on Windows 2012 DC R2 edition, other versions might be slightly different.1....

How to setup OpenVPN on Ubuntu 14.04

Please see https://help.ubuntu.com/14.04/serverguide/openvpn.html