Monthly Archives: May 2013
a bug in tightvnc java library
I found a bug for the tightvnc java library, if my setup like this tightvnc (java) -> java proxy server -> java proxy server -> vnc server IT doesn’t work, after I trace the code, this could caused by this line: this.is = new DataInputStream(new BufferedInputStream(is)); In Reader.java constructor, it is called twice. You can see that if you […] 2013/05/28
GKD Dev Plan 2013/05/25
test : PB -> C -> catch breakpoint -> C C -> catch breakpoint -> N x Si -> C restart Qemu refactor all the equals(“bochs”) code to LibGKD better to use enum for bochs/qemu enhance profiling feature for vnc recording Here is the list of gdb command: (gdb) help all Command class: aliases […] 2013/05/25
Able to display the qemu screen in GKD
I use Tightvnc java library to display the qemu screen in GKD. The tightvnc java library is able to display in a JFrame/JApplet, but not in a JPanel, so I modified it to make it work in a JPanel, all the code is in , take a look the function initVNCPanel() 2013/05/21
example launch the vnc by tightvnc java library
After a few hours hack into the tightvnc code, i can display the vnc onto a JPanel, i will replace the buggy novnc with my own vnc proxy server, so user don’t need to setup the novnc for openstack but able to remote to every instance using openstack. PeterIPasswordRetriever.java: 2013/05/20
tightvnc java viewer, cancel connection dialog popup
when running tightvnc java viewer, add parameter “-password=mypassword myhost:9401” change line 181 in Viewer.java, from to 2013/05/19
The script i use to restart the devstack
This is the script i use to restart the devstack, i am using it with ubuntu 12.10 64 bits and devstack restart_devstack.sh 2013/05/17
Samsung galaxy s4, charging the battery, using samsung USB cable is much faster
Samsung galaxy s4, charging the battery, using samsung USB cable is much faster than third-party usb cable, here is my test 1) samsung power adapter + samsung usb cable, charge from 10% to 30% takes 20 minutes 2) samsung power adapter + third-party 3M-long usb cable, charge from 10% to 30% takes 1 hour and 15 […] 2013/05/13
converted LibGKD to maven project
converted LibGKD to maven project, because peter-swing is now a maven project, better to convert it too 2013/05/12
openstack token expiry date
my colleague Thomas discovered that if we send two commands to openstack using the curl to get the same token, the expiry will keep changing to later time. This will cause the token never expire. 2013/05/07