I am currently trying to run Ubuntu chrooted and I all I get when I connect to the chrooted session through any vnc viewer is a blank grey screen with a small x in the middle. I"m using Complete Linux Installer from the market. I have tried with CM7, Nottachtrix, and Neutrino. They all give me the same result. Is there any way I can fix this? Thanks in advance.
Edit: Here's a couple screenshots
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
P.S. I typed exit AFTER taking the previous two screebshots.
you have to change the VNC geometry to the same res and colour as your screen.. ie 960x540 with 16/24bit colours (not 100% sure about the colours) make sure to delete you previous vnc sessions as they for some reason clash with the new ones
I have already been using those settings. Thanks anyways
.
I been trying also lately
same results as above same screenshots
Sent from my MB860 using xda premium
stevendeb25 said:
I been trying also lately
same results as above same screenshots
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
I don't know if I should be glad or scared that such a great dev like you can't figure it out either. x]
What I do know is that the problem lies somewhere on the Ubuntu side since I was able to connect to my brothers laptop through VNC.
If you are using tightvncserver you should edit the xstartup file in the .vnc folder to include the startup script for whatever window manager you want to run. For xfce, you would add
startxfce4
to the bottom of the xstartup file.
The xstartup file is only going to exist once you have ran the server once.
This is happening because tightvncserver cannot automatically guess what window manager you want to run.
above post is correct.. the black screen with X is usually a problem with "X" in u know what i mean... if you havnt started any desktop environments then you would get this error..
PS. please do tell me if you get it to work if the keyboard works properly... i have ubuntu running on my Dell Streak but the keyboard mapping is all wrong and i havnt been able to fix the problem, i really dont want to remap all the keys manually
Jason_25 said:
If you are using tightvncserver you should edit the xstartup file in the .vnc folder to include the startup script for whatever window manager you want to run. For xfce, you would add
startxfce4
to the bottom of the xstartup file.
The xstartup file is only going to exist once you have ran the server once.
This is happening because tightvncserver cannot automatically guess what window manager you want to run.
Click to expand...
Click to collapse
Where exactly is the xstartup file? I was about to mount the img on Ubuntu. I just couldnt find the xstartup file. If it was in the root folder, I was unable to open it because of some permission denied error I kept getting.
djscopesofm said:
above post is correct.. the black screen with X is usually a problem with "X" in u know what i mean... if you havnt started any desktop environments then you would get this error..
PS. please do tell me if you get it to work if the keyboard works properly... i have ubuntu running on my Dell Streak but the keyboard mapping is all wrong and i havnt been able to fix the problem, i really dont want to remap all the keys manually
Click to expand...
Click to collapse
Have you tried using a different VNC viewer app? Or changing the language in Ubuntu? It might have changed to some other language.
U need to chmod 775 the startx file
Yea I've tried all the vnc viewer it's all the same.
Related
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
NOTES:
This version of Karmic (9.10) Ubuntu was made for desktops. It is not a mobile OS and has no phone/text apps. It runs as a completely separate OS that displays on your phone.
While this OS does run "natively", you can only see the lxde gui through a VNC viewer. The filesystem file stays on your sd card.
Installing with the install script does not fully install the OS to your phone, but rather allows you to boot and run with commands from /system/bin instead of the ones placed in /sdcard/ubuntu
Any changes made can be reversed by typing rm -rf /sdcard/ubuntu in a shell/terminal or deleting that folder from root explorer/astro. While this can do no harm to your phone whatsoever, it can freeze it and hog the cpu completely.
I can guarantee that no one will keep this on his/her phone for more than a week. It is simply proof of concept.
You can view the OS on your computer, but you must use WiFi.
Other similar ports *cough* Vibrant *cough* lack features such as many graphical apps, but this strives to be as fully featured as possible. All apps should run, but don't try to multitask. It's a phone. Not a computer.
This is a thinktank because it's not polished enough for me to flat out call it a release. There are many errors and crappy ways of doing things. If you want to help (I don't expect you to; it's futile and useless) run things from terminal and look at the bugs in the README on the desktop.
Thank you to bubs and st0101 for testing and confirming the ability of this port.
Please don't try this if you can't follow directions or are completely new to command line/linux/android/smartphones/technology
All directions and credits are hardcoded in. If you read the outputs of the commands, you will have no problem. However, a starter's guide is below.
Download ubuntu.zip and unzip it
Mount your sd card to your computer
Copy the ubuntu folder to your sd card *!THIS TAKES UP 2 GIGABYTES!* and it will take a while to copy.
Unmount your sd card, but keep your phone connected to your computer
Open an adb shell (adb shell if you have the binaries installed, ./adb shell in the tools folder of the sdk if you don't have them installed)
cd /sdcard/ubuntu
su (also grant superuser rights on the phone when it pops up)
sh ./ubuntu.sh (errors are common, but you will receive the directions to type 'bootlinux' if everything succeeded)
bootlinux
Follow the directions on screen! To use a command line, [email protected]# means that you have access. To use a gui:
cat gui (and then follow the directions)
Read every readme that you can find
cat gui will give you instructions on how to set up a localhost VNC server with no network lag.
DOWNLOAD:
http://www.megaupload.com/?d=VCVD5C95
Screenshots!
nice work!!!
I don't know why anyone would want to do this but it's a great feat. Good job!
Sent from my Dirrk overclocked/lagfixed SCH-i500
Haha, that's the point
I really want to do this so I can run this on my phone and be super cool, just for the browser alone, but I am feeling like I would get lost.
destroyerbmx said:
I really want to do this so I can run this on my phone and be super cool, just for the browser alone, but I am feeling like I would get lost.
Click to expand...
Click to collapse
Get lost? It's easy as balls
Posted from my SCH-I500 (Samsung Fascinate with Voodoo @ 1200 MHz)
Gitykins said:
Get lost? It's easy as balls
Posted from my SCH-I500 (Samsung Fascinate with Voodoo @ 1200 MHz)
Click to expand...
Click to collapse
I don't play with balls on a regular basis, so it might not be as easy as it looks to some. lol jk
Pretty neat.
it works good thanks again
bubs
Sent from my SCH-I500 using XDA App
Thanks guyz.
Link Working!
DO NOT UPDATE IT TO 11.04 ITS HORRIBLY SLOW AND BREAKS THE .IMG
New Host For Part1/2
XDA-Hosting
DO NOT DOWNLOAD PART 2 UNTIL YOU CAN SEE PART 1, THEY ARE UPLOADING NOW SO IF YOU DOWNLOAD TOO SOON YOU WILL GET A BROKEN FILE.
File sizes should be;
Part2 = 572 MB
Part1 = 900 MB
Google Host
Part1
Part2
FTP Host
k0bra
Select both parts and unzip the folder and copy to your internal sdcard
/sdcard/
download and install terminal emulator and vnc viewer
with terminal emulator
cd /sdcard
su
sh ubuntu.sh
press home DO NOT CLOSE you need to keep this shell open
open VNC
address: localhost
port: 5900
password: ubuntu
set colour to 24 bit
Whats Working?
USB Host
WiFi
3G
Browser - FireFox
When you've finished shut-down the Linux install then kill the terminal shell and clear memory,
Doesn't seem to close properly from the VNC however this is just the background that remains in the memory, everything unmounts cleanly, and it can't be reopened until the memory is cleared. Since its a CHROOT its opened from the android environment and needs to be killed from the same terminal. You'll see when you shut-down the terminal closes and there are unmount commands in the .sh that are executed upon shut-down.
Its pretty much working, let me know if you have issues.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks to whoever built most of this, this was floating around on dell streak forum months ago then it dissapeared so cant find it hosted anywhere any more, modified a few bits to get it working on galaxy s II
will be tryign this when i get home, will let u know how it goes!
UPDATES
Updates will be deployed here as scripts, no new images will be published as this would destroy your file system.
Hello
I can give you and ftp account if you want.
[email protected]
I support any project as long as it has something to do with my phone ;-)
PM me when you finished uploading, I'll host it on one of my servers (without limit)
cheers.
Nice Project! I'm looking forward to try this once the upload is finish. I can Mirror this on my server as well, PM me if you need.
pls upload to file host that support resume function. thanks & cant wait to try this
wow running Ubuntu on a phone?
It seems handheld computers are closer than we think.
I cant download, bad link or still uploading?
Edit: link now works, downloading!
Sent from my SAMSUNG-SGH-I997R using XDA Premium App
The link do not work, can you put it other time? Please
yea dropbox banned me for generating excessive traffic lol.... ill host it somewhere else...
got a 100GB of hosting with Google... should be up in next hour or so
Thanks bro...will try it out..nice!
if you host such big files for free you will allways run into problems like size limit or excessiv use. go for a private host.
check your pm
Sent from my GT-I9100 using XDA App
Good job there mate !
Sent from my GT-I9100 using XDA Premium App
Can't wait to try this!
Good work!
cant wait
Please Upload the file......
can't wait for this outstanding job. thank you sir
SoldierBoy89 said:
Please Upload the file......
Click to expand...
Click to collapse
Waiting for link too...
Fixed Links
Ive read for about 3 days and tried everything. Can someone please make a layman's guide on how to get ubuntu on my atrix so that I could use it on my laptop dock.
I am unlocked, rooted with stock rom but willing to change to any rom.
Are you getting the stock webtop when you connect to your lapdock? You should see a desktop, phone window in the upper left, browser window, and and the AWN dock at the bottom.
All that without any modification.
troycarpenter said:
Are you getting the stock webtop when you connect to your lapdock? You should see a desktop, phone window in the upper left, browser window, and and the AWN dock at the bottom.
All that without any modification.
Click to expand...
Click to collapse
yes I get the stock webtop, but i want to try out ubuntu because the stock one is too boring
A quick search will find you quite a few methods of modifying either webtop, or maybe even installing debian in a chroot environment.
Start by reading the NOOB guide to modifying webtop at http://forum.xda-developers.com/showthread.php?t=1397583
Webtop is still being understood by many of us, especially how far we can push it before it breaks. I've just downloaded the source and am trying to generate a clean webtop image from it, and down the road seeing if I can create new and updated packages in a repository.
Hey hopeing yous can help me out I am looking for a guide on how to make my own rims I am trying to make a rom that will be native ubuntu with ATRIX 4G drivers (for data and sms)
Sent from my MB860 using xda premium
Room7 said:
Ive read for about 3 days and tried everything. Can someone please make a layman's guide on how to get ubuntu on my atrix so that I could use it on my laptop dock.
I am unlocked, rooted with stock rom but willing to change to any rom.
Click to expand...
Click to collapse
This isn't a webtop version, just straight Ubuntu on your phone using Ubuntu image, terminal and androidvnc
https://market.android.com/details?id=com.zpwebsites.ubuntuinstall
I've tried it on n my MoPho and it works great, I use a bt mouse and kb as I don't own a dock but I hdmi to my tv and it's awesome.
MoPhoACTV Initiative
Well, you can't run Ubuntu on blur/deblured OS. I don't know why. Sorry
ovitz said:
Well, you can't run Ubuntu on blur/deblured OS. I don't know why. Sorry
Click to expand...
Click to collapse
Do you mean natively or at all? Cause you can run through VNC server for sure.
MoPhoACTV Initiative
moonzbabysh said:
Do you mean natively or at all? Cause you can run through VNC server for sure.
MoPhoACTV Initiative
Click to expand...
Click to collapse
Through VNC, you will get blank screen with mouse pointer. I've tried on 5 different roms.
Same with me... frustrating
you can try with kernel from CM7 or CM9
I'm on cm7 weekly6 and tried installing the img and using vnc but I think I'm missing something.I want to use the full ubuntu img so when I connect my lapdock I can use ubuntu instead of webtop.........can any point me to the thread u used to get it working on the atrix
Room7 said:
Ive read for about 3 days and tried everything. Can someone please make a layman's guide on how to get ubuntu on my atrix so that I could use it on my laptop dock.
I am unlocked, rooted with stock rom but willing to change to any rom.
Click to expand...
Click to collapse
Follow the guide troycarpenter suggested.
I finally got mine to work pretty stable with gnome and I can even change themes and sound events.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my Atrix 4G using Tapatalk
Has any anyone gotten Ubuntu to run on the Samsung galaxy player?
I heard it works on the galaxy s, so shouldn't it work on SGP?
It does work, well, I did Debian anyways. I downloaded linux installer from the market and then followed the directions here
http://wiki.lxde.org/en/Android
If you try it, let me know how it goes
This looks awesome! But when i try to follow the instructions for installing the debian shell the link for the Installer Package just takes me to the Android Fanatic homepage instead of where the file is hosted. Could you post the file?
You can use any vnc viewer. Just pick one up at the market.
EDIT: Linux installer does that part for you.
Sent from my YP-G70 using XDA App
I installed everything and there were no issues but when try to boot into it with linuxchroot it enters chroot and then says "Galoula LinuxInstaller not found or Android Bind is not active!" then gives me a bash shell or something. Not sure where to go from here....
BOBdotEXE said:
Has any anyone gotten Ubuntu to run on the Samsung galaxy player?
I heard it works on the galaxy s, so shouldn't it work on SGP?
Click to expand...
Click to collapse
Try boch emulator .
Android Bind
Im not 100% sure but I think there was something about Android Bind in the setup menu. Try reinstalling with that option enabled
Tried bochs and I actually had the same problem with Redhat with it becoming a bash shell instead of a UI.
kekx said:
Im not 100% sure but I think there was something about Android Bind in the setup menu. Try reinstalling with that option enabled
Click to expand...
Click to collapse
Tried the option and still gives me the same error. I'm using terminal emulator to execute "linuxchroot" if that might be a problem. Everything seems to be correctly installed so I'm not sure what i could be missing. What is supposed to happen after you type "linuxchroot" into the terminal?
Made a small screenshot for you
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Just a few lines and then youre in debian/ubuntu/whatever...
Used Debian 6 cause I heard thats the best choice.
My setup:
+"Install in a block device" and "Use loop file" checked
+Debian 6 (squeeze)
+Domain name "localhost"
+Loop file location "/mnt/sdcard/Linux.loop"
+1200MB loop filesize
+Allow write to system checked
Its important that u prevent your device from turning off/going to standby mode, cause that could interrupt your installation or your wlan connection.
Then just press that buttons one by one:
Create target loop => Format target loop => Mount loop => Install in loop => Install linuxchroot script.
After that, just type linuxchroot in your favourite terminal emulator and youre good 2 go
//Read youre post again and looked at my screenshot and found out that everything is ok for you xD You are already in Ubuntu! In that bash thingy, You can now install your stuff and do everything you want to
//That bash prompt is normal! To get a UI, you have to install a VNC server like tightvncserver. Then just start it, install a client on your Android like android-vnc-viewer and connect to the Server.
[email protected]@rd said:
I installed everything and there were no issues but when try to boot into it with linuxchroot it enters chroot and then says "Galoula LinuxInstaller not found or Android Bind is not active!" then gives me a bash shell or something. Not sure where to go from here....
Click to expand...
Click to collapse
Thats the debian shell. Now follow the rest of the directions on the page.
Sent from my YP-G70 using XDA App
O OK! Thank you so much for your help! I'm new to Linux so I'm still working on understanding how it all works.
idk what im doing wrong. I know im a little rusty at this but i did root my nexus 1 couple yrs ago and i dont remember having any problems
i followed the steps in this thread http://forum.xda-developers.com/showthread.php?t=1426377
i unlocked the bootloader but i'm getting stuck at #3. (im on a Mac)
on page 4-5 of that thread some1 else was stating they were getting stuck also. i tried to do what they did but it still not working. they also said something about choosing the option "install from SD card"...but im not seeing that option anywhere (& i do have debugging enabled)
I've put the .zip file on my sd card but when I go to fastboot on my phone, it just says keep saying "no image or wrong image"
this is what it says when i try to fastboot
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
any help is greatly appreciated
Try this...
Download this- http://d-h.st/Vsy
then extract the folder within the zip to your home folder.
open a terminal (it should start up in your home folder)
type sudo chmod 777 Recovery_Flasher
then type cd ~/Recovery_Flasher
once there type ./Flash.sh
Let me know if you get errors... i will try to fix them for you. also, this will reboot your phone into recovery mode when its done to test if it worked. if 4ext recovery loads then it worked
thanks!!!
but could u elaborate on what or where exactly this "home" folder is? the android folder? or is it folder on my sd card?
and i tried to enter those commands in terminal and all i got was "no such file or directory'
acjei said:
thanks!!!
but could u elaborate on what or where exactly this "home" folder is? the android folder? or is it folder on my sd card?
and i tried to enter those commands in terminal and all i got was "no such file or directory'
Click to expand...
Click to collapse
Your home directory on your mac
Sent from.... wait! where am I?
oh ok.
the commands still arent working. still says no such file or directory
im about to call it quits
where can i get the HTC drivers that im supposed to install on my mac?
I have one more idea... Will type it when I get home from school
Sent from.... wait! where am I?
acjei said:
where can i get the HTC drivers that im supposed to install on my mac?
Click to expand...
Click to collapse
Shocking I know, but Google and perhaps HTC would solve your question
Sent from my HTC_Amaze_4G using xda app-developers app
Spastic909 said:
Shocking I know, but Google and perhaps HTC would solve your question
Sent from my HTC_Amaze_4G using xda app-developers app
Click to expand...
Click to collapse
already did that..im only seeing .exe files....i have a Mac
where can i get the link for this toolkit?
the link on his site is dead
http://forum.xda-developers.com/showthread.php?t=1493905
You need to find a recovery image. I think the command in fastboot is ./flash recovery.IMG. dont forget commands in mac are ./ then the command.
Sent from my HTC_Amaze_4G using xda app-developers app