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.

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

 طباعة

اقرأ أيضاً :

How to reinstall your OS

1. Login to client area2. Go to your Active services you want to reinstall -> click View...

How to use Debian 8 OpenVPN

If you selected this New OpenVZ template, you just need to SSH to your assigned IP and login as...

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

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