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.

這篇文章有幫助嗎?

 列印本文

Also Read

New template network/ssh down

We just made aware that the new LXC plan template and some new openvz plans, the network/sshd may...

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 access Web Panel or VNC Console from Client Area (New KVM/OpenV/LXC)

NOTE: - If problems, use other web browser or try Private Window on your browser. - If you get...

How to add Extra IP(s) on Linux

IMPORTANT: There seems to be issues with more than 1 IP on Ubuntu, we've so far only figured out...

How to add Tun/TAP/PPP/Fuse support

NOTE: This is for new Openvz/LXC plans only. 1. You need to login to web panel and click the...