Broken Screen + Using adb shell to run vnc server I have an HTC HD2 with a completely busted screen, I tried repairing it with a replacement screen but broke the ribbon cable to the screen (oops) sad day, 

I've got two of these and I've been running them as servers and ipcam cameras.

I started using qtadb, which did work on my phone despite a broken screen. I installed droid VNC Server beta using the file manager on qtadb.
I grabbed the app's manifest:

&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;manifest android:versionCode="52" android:versionName="0.991" package="org.onaips.vnc"  xmlns:android="http://schemas.android.com/apk/res/android"&gt;
    &lt;uses-sdk android:minSdkVersion="3" /&gt;
&lt;application android:label="droid VNC server" android:icon="@drawable/icon" android:name="MainApplication" android:debuggable="false"&gt;
    &lt;activity android:label="@string/app_name" android:icon="@drawable/icon" android:name=".MainActivity" android:launchMode="singleInstance"&gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.MAIN" /&gt;
            &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
        &lt;/intent-filter&gt;
    &lt;/activity&gt;
    &lt;activity android:label="Preferences" android:name="preferences" /&gt;
    &lt;meta-data android:name="com.mobclix.APPLICATION_ID" android:value="1F34160B-63BB-4854-BDB7-D46B7EADBF06" /&gt;
    &lt;activity android:name="com.mobclix.android.sdk.MobclixBrowserActivity" /&gt;
    &lt;service android:name="StartAtBootService"&gt;
        &lt;intent-filter&gt;
            &lt;action android:name="org.onaips.vnc.StartAtBootService" /&gt;
        &lt;/intent-filter&gt;
    &lt;/service&gt;
    &lt;receiver android:name="StartAtBootServiceReceiver"&gt;
        &lt;intent-filter&gt;
            &lt;action android:name="android.intent.action.BOOT_COMPLETED" /&gt;
            &lt;category android:name="android.intent.category.HOME" /&gt;
        &lt;/intent-filter&gt;
    &lt;/receiver&gt;
    &lt;service android:name="avncservice" /&gt;
&lt;/application&gt;
&lt;uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" /&gt;
&lt;uses-permission android:name="android.permission.ACCESS_SUPERUSER" /&gt;
&lt;uses-permission android:name="android.permission.ACCESS_WIFI_STATE" /&gt;
&lt;uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /&gt;
&lt;uses-permission android:name="android.permission.INTERNET" /&gt;
&lt;uses-permission android:name="android.permission.GET_TASKS" /&gt;
&lt;uses-permission android:name="android.permission.READ_PHONE_STATE" /&gt;
&lt;uses-permission android:name="android.permission.WAKE_LOCK" /&gt;
&lt;/manifest&gt;


and I have tried several things to start and run the service using the console on qtadb. I have tried running:

am start -a android.intent.action.MAIN -n org.onaips.vnc/com.mobclix.android.sdk.MobclixBrowserActivity

am start -a android.intent.action.MAIN -n org.onaips.vnc/org.onaips.vnc.MainActivity

am start -n org.onaips.vnc/com.mobclix.android.sdk.MobclixBrowserActivity

am start -n org.onaips.vnc/org.onaips.vnc.MainActivity


am startservice -a android.intent.action.MAIN -n org.onaips.vnc/com.mobclix.android.sdk.MobclixBrowserActivity

am startservice -a android.intent.action.MAIN -n org.onaips.vnc/org.onaips.vnc.MainActivity


etc....

I test each time by NMAPing my device's ip address, no new ports show up. (I don't have a firewall)

But on a working phone, it doesn't start when you run the app; it starts when you press the run button. So How do I press the run button with a broken screen?

I just need vnc server to run so i can actually do some config things to run debian and my video server on it.
Use adb shell am start -a android.intent.action.Main -n org.onaips.vnc/.MainActivity outside the shell, and the VNC server will start.