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.

هل كانت المقالة مفيدة ؟

 طباعة

اقرأ أيضاً :

My Ubuntu template cannot SSH as root

If you have Ubuntu on your OpenVZ/LXC plans and you cannot login as root via SSH, it is because...

How to install virtio disk driver for Windows install

First you go to "NoVNC Console" in web panel to access console and start your windows ISO...

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 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...

"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....