[HTC EVO 3D] EarlyMon:
Sorry for the unclear wording. :o

I'm getting a related question at Android Forums, so I'll lay out the whole deal here. Hopefully, this will cover the space for everyone.

1. Clients

You can mange to get two vnc clients running - one on your phone and one on a laptop, for example - but the way this is configured, you'll see the same thing in each - they will mirror each other. Because of the limited resources, I wouldn't try to fix this, but it's something you can tinker with.

But the word client only means something in terms of the server being discussed. So, let's call a vnc client/server running setup a "vnc session" and move on to desktop clients:

When I complained of missing multiple clients, I was not configured properly - in my vnc session I could launch a terminal client or a web client on my desktop, but not both. danaff37 squared me away.

2. Desktops and Window Managers

The default X11 desktop is a gray field where you can see your mouse move and that's it, nothing more. Most people are sunk if that's all they get, so it's best to configure X11 startup to configure a richer, more useful desktop.

The first thing you need is a window manager, it's not really optional. You have two choices that are easy to get to, and others if you can find and install them. The easy ones are:

X Window Manager

IceWM

You need more than a plain gray field with nothing you can interact with, so there are two things you can do:

Just declare an X startup that launches at least one useful client, like an X terminal, and that's all you'll see on your plain gray field, and then elaborate from there

Go with a more modern desktop that you're probably used to or can adapt to easily

You want the way described in the second bullet. Again, there are two choices that are easy to get to, and others if you can find and install them. The easy ones are:

GNOME

LXDE

GNOME comes with the ubuntu.img distribution here. It's what most people are used to, but it comes at a price - it uses more resources and the touchscreen keyboard won't work.

LXDE - the Lightweight X11 Desktop Enviroment - you have to install separately. It's not as rich and pretty as GNOME, but everything works, including most touchscreen keyboards. It's stable, it's been around since 2003 and it very much reminds me of the KDE 1.0 or 2.0 desktop, circa 1998~2000 (as best I can remember - that was a ways back ;)).

While the Evo 3D packs a lot of silicon for a phone, it's not so much compared to a modern laptop, and so because I like things working and know I can trust a lighter desktop, I went with LXDE.

How to install LXDE:

apt-get install lxde

This will include a basic IceWM and is really all you need.

If you would like the full IceWM and be able to go town on that - including being able to just run the plain, single-screen, gray X desktop with just some X clients floating on it, then by all means install the full IceWM (but I won't be advising on that configuration, I've not run one of those since something like '93 or '94, so Google is your friend on that). That said, here's your full IceWM install:

apt-get install icewm

But like I said, I didn't bother with that.

3. How to Configure

So, I changed my startup file so that it's a usable template, as self-explanatory as I know how to make it. This is on the Ubuntu side, get to the right area after running bootubuntu.

Here is /root/.vnc/xstart -

#!/bin/sh

xrdb $HOME/.Xresources
xsetroot -solid grey

# Here's the holdover that will just launch an X terminal on your plain
# X desktop, it came commented out, just avoid it, but leave it for maybe.
#x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &

# I don't think using IceWM with GNOME is a good idea, but you can use
# either one with LXDE.
# Chose your window manager by uncommenting only one of the following lines.

#x-window-manager &

icewm &

# Chose your desktop, the first will launch GNOME, the second, LXDE.
# Uncomment only one.

#/etc/X11/Xsession

startlxde &

I like to be able to just have my vnc server start by running the bootubuntu command from Terminal Emulator. (Note my screen shot of this on Android Forums shows a cd to /sdcard/ubuntu, I hadn't realized at the time that was unnecessary due to it being installed under /system.)

I added some lines to my .bashrc file. This is on the Ubuntu side, get to the right area after running bootubuntu.

.bashrc is long enough and I expect people to know how to manage that. Here is the top and only the top of my /root/.bashrc -

# ~/.bashrc: executed by bash(1) for non-login shells.
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc)
# for examples

# If not running interactively, don't do anything
[ -z "$PS1" ] && return

export USER=root
cd /
rm -r -f tmp
mkdir tmp
cd /
vncserver -geometry 960x540

# don't put duplicate lines in the history. See bash(1) for more options
#export HISTCONTROL=ignoredups

<rest of stock .bashrc follows from here>

As you can see, I simply added:

export USER=root
cd /
rm -r -f tmp
mkdir tmp
cd /
vncserver -geometry 960x540

I'm not going to be responsible for other .bashrc changes, sorry.

I've mentioned earlier in the thread why I chose the native resolution over 1200x800 - and I still recommend that whatever you chose, you're best to consider something with a 16x9 ratio. No disrespect at all to the instructions - I would not be here without StrumerJohn - but his recommendation comes from the original days before we had qHD displays. Besides, he mentioned in the OP that chosing resolution was optional to your needs.

4. Installation

If you already grokked what the OP install steps were doing when you read them, you can interject the above steps where appropriate.

Otherwise, just play it safe and do all of this after you have the OP's stuff working and happy for you.

~~~~~~~~

Note to StrumerJohn - if you think this is in any way worthy, suggest you just quote this or reference it in your original instructions. That way, you retain the righteousness and I'll retain the support for this stuff - but, do as you see fit, after all, it's Open. ;)

PS, if anyone cares and if you've missed it, I have my screen shots and a relationship diagram beginning at this post over on AF -

http://androidforums.com/evo-3d-all-things-root/387978-ubuntu-linux-3vo.html#post3040572

~~~~~~~~~

PPS - Guess I just can't pass up showing what an old BSD guy living in the desert uses for wallpaper. ;)