[Atrix 4G General] Djazin:
Moved to Beta

Stepping Closer to Perfection

Ello,

Been messing with this for a bit now and think I have a decent set of instructions organized for getting a vnc server (with resumable sessions) of your webtop in a pinch for those times you say "where the hell is a hdmi/dock/etc when I need one" its a little repetitive but simple as hell hopefully someone who knows more can set up the x server config to include this set up as a just in case.

Pre-recs

Of course Root!!

Full Native Ubuntu Webtop (Sogarths webtop2sd here)

Terminal Emulator (I recommend this one)

And vnc viewer something like really shouldn't matter.

And you'll need to fix your dependencies using this regardless of which mod so you wont have to worry about not being able to use apt to install things.

Any form of a custom dock not stock version e.g. xfce-panel, debain panel or genome otherwise you'll have no dock at all (I am working on getting a way around this for DebainMOD/stock dock users)

More Pre-recs DO THIS BEFORE ANYTHING!! WHY? because I rather that than I told you so XP

BACK YOUR SH%^T UP I recommend using the more expanded CWM Due to its backing up sd-ext and osh

Fun stuff:

Open Terminal Emulator

and enter the following minus (anything in)

su

(get root for term)

/usr/bin/sudo - u adas bash

(get into the webtop enviornment, can be used alot XD)

sudo bash

(gotta love root)

({or just} /usr/bin/sudo -u root bash {for easy way to root shell})

apt-get install tightvncserver

apt-get install lxde

or just

apt-get install tightvncserver lxde

(install a vnc server and a desk environment)

tightvncserver

(run before the config worked best for me it'll ask you to set up a password then ask if you would like to set up a view only password which I liked with this I used getvncstate for that one jic I wanted to see if it was running up to you really)

(now config the vnc display, this way was the least fubar'ed x display I managed to get working and repeated)

export USER=adas

vncserver -geometry 1024X800

(if you ran this before the previous set thats fine after you might see a localhost:2(ect) don't worry if you did this before first use you'll be asked to enter a password. once set enter the next line by line)

cat > /root/.vnc/xstartup

#!/bin/sh

xrdb $HOME/.Xresources

xsetroot -solid grey

icewm &

lxsession

(then hit ctrl-d twice then enter should get you out, that is pretty much where you select what you want to have started in your root environment in vnc if you don't want stock dock or the webtop panel remove them lxsession starts xfce if you used that you can also add gnome -session or panel which ever)

(now to fix known keyboard mapping issue for 9.04 from root terminal in webtop run)

apt-get install nano

nano /root/.vnc/xstartup

(add the line {export XKL_XMODMAP_DISABLE=1} before /etc/X11/Xsession or gnome-session or if you have another way of adding this that'll do)

(use gedit to do this on one of my atrix's webtops was sooo much easier XO)

(now hit the home key and open up your vnc viewer on your phone)

The drop down should be newconnection

Nickname: adas (or whatever I use root)

Password: (the password you set up if you dont remember then...try below steps for reconnect)

Address:localhost

port: 5901 (5902 worked too x.x idkw)

(the press the connect button XD Always exit your vnc connection before leaving it!!!!)

(This should not fubar your x display for hdmi/dock/etc but did notice that on the first run re plugging the hdmi loaded the moto screen with a black screen though rebooted it went fine though the vnc server needed to be reset so...

Get to webtop root through the terminal emulator and run...)

tightvncserver

(you'll be promoted to set up another password, once done you can go back and use the vnc view settings you had before and get back in do what you need and exit and you will beable to plug in too hdmi/doc/etc without loading up a completely grey screen with the nice useless x courser XP)

Now the really fun part kicking myself that I didnt realize this shortly after setting this up, but you got this vnc server running on your webtop but you really arn't big on messing with the tiny screen while your on a wifi and you have access to a computer or even your pluged into a computer and have moto phone portal open on it.... well haha just download a vnc viewer get your IP address (from network or the phone portal ip) on the network and plug

(the x's are your IP numbers being that every network might be different you get the diffrent)

XXX.XXX.XXX.XXX:5901

as the target address and you be asked to enter a password that you set up and note that the 01 in the port suffix is indeed the display number.

And bamn easy access to your webtop on your Atrix while your chilling and using your TV for what every you watch XP

Any suggestions changes or better how to's post your stuff and Ill add it with quotes this will not work in any of the Debian mods Images/Including Blacktrack 5 (v.v) due to not being able to load the linux app from the command line Tho will work on the DebainMOD/ w apt sources fixed. I'm looking into getting into chroot after I finish up my tweaks from a fresh test run.

Known Half Way Marks: Use Seamonkey Browser to replace firefox while using vnc sessions. The sessions are in root user which is fine for the pinch use, but if you wanna resume what you were using on the webtop from vnc veiwer in hdmi and vica versa I need some one to look at the commands and see where it is I marked up above where I think it is the grey part x.x will update this part think I'm closing in on a solution to this, and it would reflect what you see on the hdmi and be shared XD

Known pita: Screen time out..... kills the tightvncserver display as well >,>

For now the most recommended use guide can be found here you don't necessarily have to plug into the HDMI of the initial launch if you follow the steps above, although not the intended direction mostly the safest if you follow these steps being that currently without X or Xvnc being configured you may very well mess with your HDMI at display at DISPLAY=:1 being that the vnc method at this point exports the root environment only the method below is safe and would do XP

See this for the direction of vnc without use of a dual boot within chroot still needs messing with as mentioned above back your Sh%^t up X3