Tuesday, November 19, 2013

fix a vncserver issue on Scientific Linux 6.1


I tried to connect a vncserver from a Windows 7 machine to a SL 6.1 server. But it gave following error:

Failed To Connect: Connection Refused (10061)

After checked lots of things, I finally found that following command caused the problem:

sudo service vncserver start

(btw: I was logined in as a normal user, not root.)

The output of this command looks good, but you will never connect the vnc server.

The correct commands is to start vncserver as the login user, just type:

vncserver


Friday, November 15, 2013

Linux SATA names


http://utcc.utoronto.ca/~cks/space/blog/linux/LinuxSATANames

Tuesday, November 12, 2013

pass QEMU monitor commands to virsh


Virsh supports qemu-monitor-command to pass any QEMU monitor commands. Following is an example:

virsh # qemu-monitor-command 45 --hmp info cpus
* CPU #0: pc=0xffffffff8144d27a thread_id=19994

"45" is the domainID
"--hmp" tells the virsh to use human readable mode
"info cpus" are QEMU monitor commands, you can use any supported by QEMU.