I'm trying to get a window manager running under Debian. I'm using Xvfb and x11vnc. So far I've gotten the server up and running but I get a socket error on my vnc viewer after negotiating protocol. Anyone want to help?
Well, the clean way to display a X client on the phone would be IMHO to implement an x server in a windows. kind of like xming or xephyr. Too bad I don't know java
Anyway, using vnc looks like a smart idea. I worry about the performance, though.
I'll give it a try once I have re-installed debian on my ADP1 (trying to install it in a dedicated partition on the sd)
jusplainmike said:
I'm trying to get a window manager running under Debian. I'm using Xvfb and x11vnc. So far I've gotten the server up and running but I get a socket error on my vnc viewer after negotiating protocol. Anyone want to help?
Click to expand...
Click to collapse
Use X over SSH. Man I'll just write up a post.
I think he's trying to achieve X display on the phone, not on his computer.
Yes, I'm trying to get the display on the phone, not having to really on tunneling x11 over ssh.
I'm running a similar setup on my phone, in order to run X apps like xpdf. Works fine. Here's what you need:
In your debian chroot, apt-get install tightvncserver, and run it.
On the android side, run the android VNC viewer and connect to localhost:1 (or whatever display tightvncserver started). You'll get X on your screen.
You can apt-get and run a small window manager like twm if you need one. I generally use it without a window manager, with apps running in full-screen mode. For example, "xpdf -g 1024x768+0+0 some-file.pdf" to view a PDF. (at least until there's a decent PDF viewer for android).
Don't bother trying OpenOffice on it though. Too heavy - I actually tried it.
mod1 said:
I'm running a similar setup on my phone, in order to run X apps like xpdf. Works fine. Here's what you need:
In your debian chroot, apt-get install tightvncserver, and run it.
On the android side, run the android VNC viewer and connect to localhost:1 (or whatever display tightvncserver started). You'll get X on your screen.
You can apt-get and run a small window manager like twm if you need one. I generally use it without a window manager, with apps running in full-screen mode. For example, "xpdf -g 1024x768+0+0 some-file.pdf" to view a PDF. (at least until there's a decent PDF viewer for android).
Don't bother trying OpenOffice on it though. Too heavy - I actually tried it.
Click to expand...
Click to collapse
Are you telling me you got to run x app on the phone?
Yep, that's what I wrote. It was one of the first things I installed on the phone when I bought it. And performance is not as bad as I expected, as long as you don't try to run animation. Reasonable for reading a pdf.
Has anyone else tried this?
I cannot connect with android vnc viewer from my phone and tightvnc server running on debian showing "localhost:/#".
I am not using a password. I am trying to log in on vnc-viewer at 127.0.0.1 and have tried several ports including the default and 23.
mod1 said:
Yep, that's what I wrote. It was one of the first things I installed on the phone when I bought it. And performance is not as bad as I expected, as long as you don't try to run animation. Reasonable for reading a pdf.
Click to expand...
Click to collapse
Will i be abkle to run pidgin?
when i try to run vncserver it tells me that the USER envirioment variable i snot set
For the user variable error.Type su Again by itself before you start vnc. It has to do with now having set user in the enviroment set. I have an image that give you 2 gigs more of free space (uses up storage card) the current one only has 300megs free which limits you drastically and also a fixed script that you won't have to go into su again....
For the guys that can't get vnc working type localhost in the server field only and as for port use 5901... Use a password upon initial setup of vnc. Sorry about spekking errors but I'm half drunk and typing on g1
Okay I set up the password and stuff but when I go to the vnc viewer on the phone it does nto conect and the crash
When I go to vnc-viewer, I can log in but the window I get says--
Xsession:unable to start x session ---- no "/root/.xsession" ...no session managers,
Can someone please help me get this runing, my messenger is [email protected]
Okay I finally got it to run and get a grey screen, when i go t back to termina it is on android terminal not debian so I log back.
Now how to I run pidgin after I install it? just type pidgin?
I finally got pidgin runing!!!!
Rafase282 said:
I finally got pidgin runing!!!!
Click to expand...
Click to collapse
Now *that* would be a good reason to do this
JesusFreke said:
Now *that* would be a good reason to do this
Click to expand...
Click to collapse
I warn you it will be slow and still cant use the sub functions of the buttons form the keyboard to at least I don't know how. I'm trying to take a screenshot with the program from the windows manager, and i use twm
Okay I have tried with twm, vtwm, and icewm
So far I like icewm the most but still have vtwm for back up. It runs fine not as slow as before with twm. I have pidgin runing but still cant figure out how to run the screenshot program that comes with debian.
Can anyone tell me a way to get a screenshot in command line so I can show you the screen and prove that it works?
I really want the game "Let's Golf." Gameloft won't make it available for Tegra 2 devices and all the .apk's for other devices don't translate well.
The new Asus tablet is supposed to have it, which matches the hardware and screen specs of the xoom, which leaves me to assume that it would work on the xoom.
Does anyone know how to pull that app off the tablet and put it on my xoom?
Adb pull /system/data/golf.apk C:\some\folder
Adb push C:\some\folder\golf.apk /system/data/golf.apk
Adb reboot
Of course change your directories accordingly...or you can use root explorer....
Sent from my SPH-D700 using XDA Premium App
I'm going to be completely honest, I have no idea what that means
Sure that would be classed as piracy.
I have a acer A500 and Im sure it's a demo. Havent played it yet though.
virgil1528 said:
I'm going to be completely honest, I have no idea what that means
Click to expand...
Click to collapse
You need Android SDK Tools a USB lead and your phone, you can download the Android SDK from here. You use the commands Kcarpenter mentioned to push and pull using ADB via Command Promt in Windows.
And like he said, it's easier to use Root Explorer, assuming the Xoom has S-OFF it should be easy enough.
You can also use ES File Explorer to backup the apk to an sdcard then transfer from there to the Xoom.
BUT, I know from personal experience that Gameloft games download content after you install. I don't know if this will work with a pirated apk. Because essentially you are pirating a paid game if you do this.
Which is illegal and im sure should not be discussed on XDA...
Asus transformer prime and Acer A500 all have native linux, all I can find is a very old and non-updated thread in Xoom... Using the VNC to operate ubuntu is very lag, it can't be daily use. Acer A500 may have the same hardware as Xoom, is that anyone can transplant the method of A500 to our Xoom?
Hi there
Someone has installed native debian http://forum.xda-developers.com/showthread.php?t=1138661 on the xoom in the past i think if more devs wanted to work on this it would be doable, dual boot with linux and android is something i would love to have, I too can't stand chroot options and spend alot of time ssh'ing into a debian box to do things on my xoom i can't do otherwise while sat on the sofa >8^P.
Are you refering to the Terminal Emulator that can be installed on any Android device?
The terminal emulator will give you access to the console where you can run several native linux commands and operate the device just like a Linux with a shell.
See if this is what you mean:
https://play.google.com/store/apps/details?id=jackpal.androidterm
The android shell works for the most part, but lots of things tend to be missing if you typed iw or nano for example, but most people know what to expect form android shell and you can compile nano if you want. Go ahead and try compiling something with your terminal emulator.
What id like is to be able to run gnome and run native app gui's and the like or do apt-get install nano and have one os running faster than a laggy hack that chroot is, running one os on top of another.
Hi guys,
I have an Amazon Kindle and the SGS2 which I take out and about with me.
I want to be able to transfer documents to and from the phone and Kindle (already got SSH access to the Kindle over WiFi) while out and about.
My phone is rooted and I've installed dropbear SSH. I can use connectbot to SSH into the phone locally but the shell I'm presented with doesn't see `scp`. I believe this is supposed to be included with dropbear? How do I get scp from this shell?
The reason I'm looking to do it all from a root shell on the phone is becuase I believe this is the only way to get access to the clients connected to the virtual access point. Hence I'll be able to:
be in the middle of the desert, create a WiFi tethering hotspot with the phone (though it has no signal), connect the Kindle to the phone via this access point, get a root shell on the phone and scp documents from the phone to the Kindle.
I believe I am as far as this final step but need an extra kick to get me there. Perhaps I need to install another shell?
Thanks!
Bump
Hello. so i am a complete noob here.
I have a linux vps. I mistakenly purchased this instead of windows rdp.
But I am looking for a GUI. Mainly a way to browse the web through my vps. Is this possible using a android phone?
Right now when I log into the vps all I get is the root command terminal. No idea how to use any of this. Serves me right for trying to save a few bucks from the RDP. So am I SOL? I really don't feel like trying to reprogram an entire phone for this.
Thank You.