PROBLEMS

empty/black screen

If screen blacked out after 1st reboot, the problem is gfxmode $linux_gfx_mode in grub.
Solutions: (for many servers, see solution 3 directly.)

  1. Temporarily delete by pressing "shift" during boot and "e" (edit).
  2. For permernent effect, oficial solution is to edit /etc/default/grub, uncomment GRUB_GFXMODE and add GRUB_GFXPAYLOAD as the same value, then run update-grub && reboot.
  3. If the oficial solution does not work, try edit /etc/grub.d/10_linux, comment out the usage of gfxmode (the entire if ... then), and run update-grub.
    before comment:

    after comment:

  4. Although renaming defination of function gfxmode directly is easier and can work, (can be done automatically by simple sed/py regular expression), this will raise an error and pause for 3s during boot.

FROM DESKTOP TO TEXT/TERMINAL MODE

See: force text mode

FROM TEXT/TERMINAL TO DESKTOP MODE

See: tdd.nu/vnc

VNC (REMOTE DESKTOP)

See: tdd.nu/vnc