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
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.
Wednesday, October 23, 2013
Wednesday, October 2, 2013
Thursday, September 26, 2013
Thursday, September 12, 2013
Tuesday, September 3, 2013
Thursday, May 23, 2013
bash tips
http://samrowe.com/wordpress/advancing-in-the-bash-shell/
if joe is in that userlist, we want to remove him from it. We can
either fire up vi with that long directory tree as the argument, or as
simply as
Which bash expands to:
Bang dollar-sign
!$ is the "end" of the previous command. Consider the following example: We start by looking for a word in a file- $ grep -i joe /some/long/directory/structure/user-lists/list-15
- $ vi !$
- $ vi /some/long/directory/structure/user-lists/list-15
Thursday, May 16, 2013
Wednesday, April 24, 2013
Friday, March 22, 2013
Tuesday, February 5, 2013
full git history of Linux kernel
http://stackoverflow.com/questions/3264283/linux-kernel-historical-git-repository-with-full-history
http://archive.org/details/git-history-of-linux
http://lwn.net/Articles/285366/
http://archive.org/details/git-history-of-linux
http://lwn.net/Articles/285366/
Subscribe to:
Posts (Atom)