Debian: How to access VNC remote desktop in web browser

noVNC
1) Install vncserver

apt-get install vnc4server

2) Set password using vncpasswd
3) Launch vncserver

vncserver :1

3) Install Git

apt-get install git

4) Get noVNC

git clone git://github.com/kanaka/noVNC

5) Launch noVNC

cd noVNC
./utils/launch.sh --vnc <ipaddress>:<VNC port>

In my case

./utils/launch.sh --vnc 10.10.9.18:5901

6) At this point, you can open up a web browser, and navigate to the URL shown in the output of the last command (e.g., http://10.10.9.18:6080/vnc.html?host=10.10.9.18&port=6080).

Ubuntu Server 14.04 LTS (and CentOS 7) booting into black console

BlackScreenOnUbuntu14.04Yesterday I installed Ubuntu Server 14.04 on my machine (D2500 board with integrated graphics): after finishing install and rebooting the monitor does not get a signal and goes into standby right after boot process end.
Oss.: BIOS was displayed normally !

Situation
1) Monitor in Standby
2) SSH available
3) System booted “correctly” (except graphics)

I get this error in /var/log/syslog

[drm:cdv_intel_dp_i2c_aux_ch] *ERROR* too many retries, giving up

Continue reading

How to rename a Domain Controller in Windows 2008

name
In some cases in the real sysadmin world you have to rename an AD Server Hostname. In this post I’ll show all steps involved in this process.

Att.: Domain Controllers configured as a Certificate Authority (CA) cannot be renamed.

Check Active Directory domain and forest functional levels
The domain and forest functional levels must be at least Windows 2003 to change the domanin controller name.
Continue reading