virtualbox

VirtualBox Manager – Debian – RedHat – BSD

Currently Debian systems are fully supported in VirtualBox Manager. It is apparent, based on initial user feedback, that RedHat and BSD systems are responding to various commands differently. Ultimately VBM issues a variety of VBoxManage commands and captures the standard output for analysis. Something is different on RedHat and BSD systems.

I am currently installing Fedora, and will install a comparable BSD system for analysis. When proper formatting of the commands are determined I will update VBM with an option to select the type of host being connected to.

VirtualBox Manager Pro – Slowww Pace

Ok, I see what people mean about Android apps being extremely slow compared to iPhone apps. I’ve had about 315 downloads of the free version, and a whopping 5 downloads of the paid version. This by all means is exciting for the first week of distribution, but if thinks don’t pick up to some degree there will be no more reason to invest time and effort into the app. It would be more logical to begin another, more viral app that could sell more copies.

Also, users are extremely annoying when they leave negative comments for a bug, then do not update the comment when the bug is fixed. The nice thing about the Android market is that you can mark any comment as spam, and frankly a comment that was left about a bug that no longer exists is definitely spam.

I expect, and hope that Google updates the market establishing better standards. It would be nice to develop for the Android full time, but currently that is not even a consideration.

VirtualBox Manager Pro – Machine Status Check Plus More

Added to VirtualBox Pro is status checking. When you login to the host your virtual machines are displayed with on/off information. In the onCreate a thread is launched that scans the server for machine status; it then updates the UI thread accordingly. I’ve also added header icons to replace the default one, and a new menu item has been added. The new menu item, in the free version, will not change. It currently dispalys information regarding upcoming features. In the Pro version the features will be implemented.

The Pro version will soon have the ability to login to individual machines, hosts or virtual machines, and scan for running processes. It will display the status of the running process and give the ability to start, stop, or reset it. Theoretically the list can be the entire contents of ps aux, but at first I will probably restrict it to Apache, Mysql, Sendmail, and Dovecot. The user can start, stop, and reset the processes the same way virtual machines are controlled in the current application. I should be done with the new features within a week or so.

Downloads look promising. In the first week there were about 250 downloads. I think this should grow being that first week downloads is always random. Users searching for random keywords to see what apps exist. As a reputation builds downloads should also be driven by word of mouth and hopefully a listing in the tops apps. In time, we’ll see. The paid version is off to a slow start, but as the free version grows in popularity I expect sales to pick up given the powerful features only available in the Pro version.

VirtualBox Manager – Dialogs Class Complete Re-Write

I re-wrote the dialogs class and removed 3 redundant methods. I was able to consolidate 4 methods into a single re-usable method that substantially reduced the code to implement the main host settings menu. The user will no see any difference, but it should reduce the size of the package slightly, and is just simply betting coding. The new style allows for the easy implementation of additional menu settings, whereas the previous design required each setting to be coded individually.

VirtualBox Manager Pro – UI Updates and Stability

I have added a variety of user interface updates to the pro version. In addition to the toast popups actual notifications add a sence of feedback and depth to the program. I want the program to feel that its actually aware of what you are doing and processing interactions accordingly. I feel with recent enhancements this is becoming more and more the case.

I have fixed a couple of potential situations where an i/o exception can occur. I have also added enhancements that clarify a particular action based on the current state of setting. All in all the depth and feedback offered by the application is improving.

Without substantial feedback/comments by actual users, I see very little confusion using the app and no bugs. Every action performs accordingly. The primary situation I think users may encounter is the inability to login. In such a situation the connecting dialog will just continue to spin. VirtualBox Manager is designed for users to first login to a host using password authentication. Therefore for each host the first connection must be made to an ssh server with PasswordAuthentication set to yes in /etc/ssh/sshd_config. Withe the correct host/port/username/password set in the app, and port forwarding properly configured in a users router/network a connection will occur. The user can then click the menu, and select generate key; which generated a new 1024 bit DSA key. The user can view the private and public keys directly from buttons in the menu. There are strategic dialog boxes that state the user can then upload the key to the server, which automatically appends it to the bottom of ~/.ssh/authorized_keys2. Pressing upload automatically enabled key login for the particular host. Enabling and disabling key login is done via the hosts configuration options accessible on the main screen.

There are many checks to prevent confusion. A user cannot enable key login unless there is a key. Keys cannot be displayed/uploaded before they are created; which would be an i/o exception. There is also a warning when a user tries to generate a key when a key already exists. This can cause a problem that will prevent other hosts from loggin in; if the key changes it will no longer match the public key stored on the host. A dialog will appear explaining that password login will be re-enabled for the host, and that when the key is uploaded password authentication will be used. If a new key is generated the user must disabled key authentication for other hosts configured in the app; once logged in to other hosts using password auth the user can easily upload the new public key to the server, reestablishing key based authentication for the respective host.

After a public key is uploaded to the server password authentication can be disabled. This substantially diminishes and practically eliminates the possibility of a brute force intrusion.

The pro version adds support for 20 hosts, and 20 machines per host. This is done using a ScrollView wrapped around each activity. Its a logical addition. If users request support for more hosts it can easily be added.

I want to change the oncreate structure to each of the three activities. I want to initialize the buttons in a background thread. While the UI is fast and there is no visible delay I would like to code the oncreates as such. Frankly given the speed of recent phones I don’t think there will be any visible differences. Theoretically on a slower processor the activity would display with no button, and then as the thread processes the views they will display on the screen one by one.

I will add some additional features in time, but until comments start rolling in a new project is in the works. Linux Manager Pro. I’ll posts as it develops.

VirtualBox Manager/Pro Enhancements

As I refine VirtualBox Manager I find new enhancements to make. Various graphical enhancements have been made to both the free and pro versions. Android uses the Toast class to display an unobtrusive message on the screen. Utilizing this to display confirmation dialogs assures the user that a particular action has completed successful. It adds a sense of feedback to the application.

One feature removed was the disabling of auto correction on the input menus. Since domain names, usernames, and passwords do not require auto correction, I wanted to disabled the feature. But the ability to disable the feature was not available in Android 1.6 therefore the feature is not currently available in the current packages. As more phones shift toward >2.1 I will re-enabled the feature and push the update to the Marketplace.

The entire application is much more stable after some recent updates. If the password is correct, and the private and public keys match then there is only one reason the system will not login; signal strength. I have noticed it does not work with 1X and only works where there is a reasonably strong 3G connection. I will try figure out how to program a timeout that publishes a notification that the connection failed due to signal strength.

More updates to come. I also want to implement a robust server management tool that reads for common processes using ps, and give the user the ability to see if they are running, restart, or shut them down. ect…. I may integrate this into VirtualBox Manager pro or just as a standalone application.