Android

From LXDE.org
Revision as of 16:13, 12 January 2012 by 10.0.0.8 (Talk)

Jump to: navigation, search

It's official you can run X-Windows and your choice of GUI

Here are instructions about running X-Windows and more specifically the LXDE Desktop GUI on the G-1.

Prerequistes; Debian Shell instructions here: http://www.androidfanatic.com/cms/community-forums.html?func=view&catid=9&id=251

Also if your 'debian.img' file is a little small you may want to resize it - instructions here:
http://www.androidfanatic.com/cms/community-forums.html?func=view&catid=9&id=1610

You need three basic packages:

From the Android OS: Download VNCviewer for Android from our repo here: http://www.androidfanatic.com/cms/unofficial-app-repo.html?func=fileinfo&id=16 or from google here: http://code.google.com/p/android-vnc-viewer/

Now copy the .apk file to your sdcard and then run 'Apps installer' from the Market to install that.

From the terminal, boot your debian shell and then type:

apt-get install tightvncserver (return)

apt-get install lxde (return)

or if you want a really basic desktop use IceWM:

apt-get install icewm (return)

Now you need to setup your vncserver

at the prompt type:

export USER=root
(return)
vncserver (return)

This will create an x-windows session and a startup file
in the /root/.vnc/ directory. Vncserver will also ask you to set up two passwrds. You will need the first password to log in, but just say no to the second password.
The next thing to do is to kill the session you just started: vncserver -kill :1

This is so you can edit the startup file to set it up correctly.

go to /root/.vnc

type

nano xstartup



comment out the line for xsession:

#/etc/X11/xsession


add these two lines:

icewm &
lxsession


or if you decided to go for IceWM instead:

icewm &
xterm


save the file (trackball then 'o' and exit nano (trackball then 'x'.

Then restart an x windows session by vncserver ( you should kill it after you are done with x-windows later on).

This next bit does some housekeeping and sets up the VNC service each time you boot your debian shell - saves messing about everytime!

Now back inside your debian prompt you need to edit your /root/.bashrc file

cd /root
nano .bashrc


Add the following near the top of the file:

export USER=root
cd /
rm -r -f tmp
mkdir tmp
cd /
vncserver -geometry 480x320


(this sets your resolution - you can change this if you will be connecting via your computer).

save the file (trackball then 'o'File:Wink.png, and exit nano (trackball then 'x'File:Wink.png.

Type 'exit' to exit the Debian shell.

reboot the phone.

Once rebooted go into Terminal and boot yor Debian shell.

Press the HOME button to revert back to the Android OS while leaving your Debian shell running.

Open androidVNC from your android programs menu.

Connect to 'localhost' port '5901' and enter your password.

Viola, you now have XWindows running on your phone. Obviously you can connect to your phone's new desktop GUI with a VNC viewer from your computer too jsut enter it's ip address instead of localhost.

To make the cursor work with your finger:

Press the MENU button on your device and select 1:1 then just press the trackball ONCE!

Now whenever you want a proper x-windows Desktop GUI right there on your phone, just run the debian shell with 'bootdeb' and it sets up your vncserver. Then just press home to leave it running and get back to your android menu, where you can choose to VNC directly onto it.

Cool eh?

When you are finished just exit androidVNC, if you want to get back to your Debian shell, HOLD DOWN the home key to bring up your running processes and switch to it.

What the heck, you could even install GNOME or KDE but it may be a little slow!
LXDE-Android.jpg

Links

Berita Terkini Ocimnet Blog English News Online Technology News Internet News Tutorial Creative News Online Kocim News persib Ocimnet.us ocimseo berita unik terbaru football news Top Blog Tutorial Free Templates Blogger Tattoo Artists Automotive Guide Information Health Information Bird Information The Dogs Online Various Cake Recipe Berita_terbaru User:Ocim Gmail Untuk Domain Baru Gmail Domain Gmail Domain Who is Muhammad?Nabi Muhammad Saw Who is Muhammad?Nabi Muhammad SawVideo TsunamiBencana TerdahsyatBencana Terdahsyat Video TsunamiFenomena AlamAlam SemestaFenomena AlamAlam SemestaFreeFree GamesGames OnlineDownloadVideoGamesCounter StrikeMusicMusik TerbaruCounter Strikemap counter strikeSuper Junior Salam kenal New BieKata mutiara4sharedyoutubegemscoolfrivkata mutiara cintakata kata motivasikata rayuan gombalstatus lucukata lucucerita humorlagu indonesia terbarulagu barat terbarusms lucupuisi cintapuisi rindupuisi untuk ibucinema3satucherry bellecara mempercepat koneksi internetgemscoolKata Kata Bijak Drama KoreaKoreaArtis TerseksiGames OnlineYoutubeArtis Korea TerseksiArtis TerseksiArtis Korea Terseksi10 Artis Terseksi - Artis Korea Terseksi Kata Kata Mutiara Drama Korea Secret Garden Drama Korea Secret Garden Alicia Keys - Music - Album - Pictures - Video Video Pictures Alicia Keys Music Ksaday Drama Korea Cara Menghilangkan Bau Cara Menghilangkan Bau Badan Cara Menghilangkan Bau Badan Video Cara Menghilangkan Bau Badan Paling Efektif 4shared Ramalan Zodiak Capricorn Hari Ini Terbaru Ramalan Zodiak Zodiak Capricorn Zodiak Zodiak Zodiak Capricorn Zodiak Sagitarius Zodiak Aquarius Zodiak Cancer Zodiak Taurus

Ksaday Kanker Rahim Youtube Waptrick Facebook Counter Strike Artis Korea Artis Terseksi Alicia Keys Zodiak Capricorn 4Shared Warcraft Cara Bersalin Who is Muhammad Dota Friv Wanita Solehah Kata Mutiara Ultrabook Notebook Tipis Harga Murah Terbaik Credit Card Exxon Mobil Credit Card Online Payment What Is a Credit Report? Mobile Credit Card Machine Hotmail Free All World Compozt