Related
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?
What this will and wont do...
Will...
1. Allow you to run any x86/x64 Windows software from any Android device using the RemoteApp function of Remote RDP.
2. You can use the trackpad and right click of the transformer so most if not all functionality of the native windows app will be available to you.
3. You can create a shortcut for the app directly on you homescreen.
Will not
1. run the program natively in Android
2. run locally (ie you need a network connection)
3. grant you super powers
Requirements:
1. Remote RDP Paid version by Yongtao Wang (~$10) https://market.android.com/details?id=org.toremote.serversmanager
2. Windows 2003 Server or above machine as RDP Host (If anyone knows how to enable "Run Program on Startup" from the desktop versions of Windows RDP Hosts Let us know. Im actually using Windows Server 2008 for my setup)
3. Slight working knowlege of RDP (I will keep everything as extensive as possible and have screenshots all over but you might need to know a bit of whats going on)
--The average setup will must likely be a Win2008 VM running on your daily desktop dedicated to just this. If you need help just post your question, I monitor this thread regularly and update OP to clarify this more and more.
Instructions:
1. Download and install Remote RDP from Android Market. (Link above)
2. On your Windows Server, enable remote desktop connection. (Note your IP address)
{
"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"
}
2.5 Make sure to install the app on the windows server by going to "Control Panel>Install Application on Terminal Server"
2.7 Then Go to "Administrative Tools>TS RemoteApp Manager" Should look like this
2.9 Note the full path with file name for the app (you will need this later)
3. On TF run Remote RDP and select menu>add
4. Fill in the following
-Host: IP address of windows machine noted earlier
-User/Password/Domain: Optional...this will prompt you when you run the app or if you dont care about security or you have total control then put it there (be aware of risks though...)
-Color: leave alone for now not important
-Screen button: press it and select 1280x750 This resolution works best for TF because of the Android Bar that persists throughout.
-Program: fill in the path to the program excecutable in the box here that you noted from your windows machine... I know I didnt mention earlier. Ill edit again later.
-Name: use this to name what you want your shortcut to be named on your homescreen (not shown on screenshot)
My example
5. Hit back button
6. Select your app to test it (Ill add more test steps when I edit again...ie you should test if RDP is working before filling in program etc. This is just first draft to get the faster people up and running noawz!)
7. If your app runs good...back out of it using HC back button. BTW, this is full Excel on Android! with usage of TF Trackpad and right click...
7.5 Save to TF Storage (in the options if you notice that there was a check box for "SD Card" it actually mounts your internal storage to the Remote Server and allows you to save to it!
8. Longpress your app and select "Home screen shortcut".
More Info to come...please comment on your experience with this. I will answer troubleshooting questions too.
Thanks to...
- Azhad for his Thread earlier today "RDP Terminal service client, with FULL trackpad and external mouse support" http://forum.xda-developers.com/showthread.php?t=1136359
- Yongtao Wang for his mastery of RDP...Check out his other work. I think they have a full working secure HTML 5 RDP Client.
Reserved for more info.
Just looking for confirmation.
This is different from logmein and splashtop in that once you connect you are creating a shortcut on the TF desktop to a specific program on the Windows machine. And once setup, when you click on the shortcut it auto starts RDP and opens the windows app only in the RDP window on the TF so you are virtually using the program from windows as opposed to controlling the entire windows desktop from within RDP?
i wonder if this could be used to say play videos from the host computer. Or maybe netflix.
While PhoneMyPC is slightly more expensive I think it's quite a bit better than your method above. It's a bit more versatile and I get a faster response time with it (over wifi) than RDP on my TF.
Each to their own though ofc.
proplayer44 said:
Just looking for confirmation.
This is different from logmein and splashtop in that once you connect you are creating a shortcut on the TF desktop to a specific program on the Windows machine. And once setup, when you click on the shortcut it auto starts RDP and opens the windows app only in the RDP window on the TF so you are virtually using the program from windows as opposed to controlling the entire windows desktop from within RDP?
Click to expand...
Click to collapse
Yes. This is virtually using the program from windows from within your TF. Basically you are running an x86/64 app from a personal cloud!
Side note: I was testing and googling to get it to run programs residing on an xp machine and couldnt get it to work and couldnt googforce my way through it. If anyone finds a way to "Run application on startup" from an RDP session with an XP host please share. I will update OP with the info. (Guess its Windows Server 2003 and up for now)
JMQUINT00 said:
i wonder if this could be used to say play videos from the host computer. Or maybe netflix.
Click to expand...
Click to collapse
Yes. Give it a try. You will need to set colors and have it be local network. Dont know RDP performance for video over WAN but guessing it will suffer due to overhead. Also over LAN may not be optimum. You may want to just convert or use some type of VLC streaming or something like that. I dont know how to do that but someone might post a link later if they know.
stuntdouble said:
While PhoneMyPC is slightly more expensive I think it's quite a bit better than your method above. It's a bit more versatile and I get a faster response time with it (over wifi) than RDP on my TF.
Each to their own though ofc.
Click to expand...
Click to collapse
Does this open just a windows program alone with no desktop and allow use of trackpad and rightclick? If not then you dont understand the purpose of this thread (no disrespect). I currently use Logmein and WYSE Pocket Cloud for the functionality you speak of "Plain old connection" to remote PC, but what this thread is about primarily is the usage of an x86/64 app from windows on Android in a simulated fashion that makes it virtually seemless as and Android app. Try it out, you will see the difference. Use Word or excel as an example.
nothing happened. tried windows 7 and server 2008, it would remote in and do nothing. tried to open IE, couldnt get it any way I tried.
daweiteh said:
Does this open just a windows program alone with no desktop and allow use of trackpad and rightclick? If not then you dont understand the purpose of this thread (no disrespect). I currently use Logmein and WYSE Pocket Cloud for the functionality you speak of "Plain old connection" to remote PC, but what this thread is about primarily is the usage of an x86/64 app from windows on Android in a simulated fashion that makes it virtually seemless as and Android app. Try it out, you will see the difference. Use Word or excel as an example.
Click to expand...
Click to collapse
Yes you can do via their 'execute actions' which lets you run any command line code. I've not tried to run anything at startup using this though. It lets you use usb mice, the trackpad, etc. I'm not sure if every piece of software can be run so it feels seemless or not but it's probably possible with it.
dude2k5 said:
nothing happened. tried windows 7 and server 2008, it would remote in and do nothing. tried to open IE, couldnt get it any way I tried.
Click to expand...
Click to collapse
I will update OP with more info on the windows side of it. Dont know if 7 will work but 2008 is great. (meant to rhyme)
When you save, where do the files save to?
newtybar said:
When you save, where do the files save to?
Click to expand...
Click to collapse
See OP at step 7.5
I just added this because you asked a very good question and even I didnt know until checking it out. This is getting better and better...
Only Windows Server 2003/2008 will let you launch individual apps, normal version don't have Terminal Server and remote apps. Those who want such functionality should consider running Windows Server 2008 with VMware Workstation or VirtualBox.
RemoteApp Manager was the key. Worked once I got that. Thanks a lot for the screenshots. So awesome!
edit: also, found this but I couldnt get it to work with my desktop. I have yet to try a fresh install though. I will try at work next week. http://geekswithblogs.net/twickers/archive/2009/12/18/137048.aspx
Might be a stupid question, guys:
Has anyone tried this over 3G? If so, how does it perform?
Through using SplashtopHD, my Transformer is becoming my work machine (as i connect to my desktop at home)... this works well, although the lack of proper mouse support can be frustrating.
If this works over 3G, it even sounds like the right-click on the keyboard dock / touchpad would work...
Can someone confirm this will work in windows 7 pro?
Trevor_g said:
Might be a stupid question, guys:
Has anyone tried this over 3G? If so, how does it perform?
Through using SplashtopHD, my Transformer is becoming my work machine (as i connect to my desktop at home)... this works well, although the lack of proper mouse support can be frustrating.
If this works over 3G, it even sounds like the right-click on the keyboard dock / touchpad would work...
Click to expand...
Click to collapse
This works over 3G just set colors accordingly if you have bandwidth issues. This works better than Splashtop.
Curtisbeef said:
Can someone confirm this will work in windows 7 pro?
Click to expand...
Click to collapse
RDP inherently works on win7pro just like XP. The solution for running just the app without the desktop will only work with the server versions AFIK.
daweiteh said:
RDP inherently works on win7pro just like XP. The solution for running just the app without the desktop will only work with the server versions AFIK.
Click to expand...
Click to collapse
Will running just the app work on Windows 7 Ultimate? Thats not considered a server version is it?
Id really love to see a way to do this without running a old operating system...
Curtisbeef said:
Will running just the app work on Windows 7 Ultimate? Thats not considered a server version is it?
Id really love to see a way to do this without running a old operating system...
Click to expand...
Click to collapse
You can use windows 7 ultimate for rdp but the remote app functionality is part of terminal services in the server os. Win 2008R2 is the Server version of Win 7. It is the latest server edition and came out with 7.
Hi,
I followed this thread Chroot Ubuntu and installed ubuntu
As other guys, some application won't launch or crash under gnome
On the OP, people talk about memory limit of 32M per app on android, but for example the system monitor is a small app that consumes less than 4M and it won't launch...
Unfortunately, i cannot post on the OP (too few posts for me, cannot post on dev section), so i give what i found here (maybe a gentle admin will move the thread )
So
I installed lxde from terminal, and switched to lxde :
# apt-get install lxde
# update-alternatives --config x-session-manager
(i chose "start lxde")
Click to expand...
Click to collapse
reboot the TF, restart chroot ubuntu, vncserver, then connect, i got the lxde x env, and guess what ?
system monitor works, update manager, synaptic package manager, etc...
Don't know if it's because it's a lighter interface, but it does the trick !
@+
Some things still don't seem to load properly even on lxde , such as chromium, but it seems to be an improvement.
Probably should check for issues involving shared memory and X extensions. Remember, it is not quite the current X.Org you're running.
Sent from my Transformer TF101 using Tapatalk
Thanks for that trick!, but I can run more than 4-5 apps in chroot Ubuntu (not at the same time). I open Firefox, close it, open OpenOffice Writer, close it, open Gedit, close it, open LXTerminal and closeit. After doing this, I'm unable to start other app
tisi1988 said:
Thanks for that trick!, but I can run more than 4-5 apps in chroot Ubuntu (not at the same time). I open Firefox, close it, open OpenOffice Writer, close it, open Gedit, close it, open LXTerminal and closeit. After doing this, I'm unable to start other app
Click to expand...
Click to collapse
That's pretty strange, i made a few tests on mine
I can run at the same time Firefox, LXterminal, Gedit, Synaptic package manager, system monitor, movie player...
Close them, reopen Firefox etc
But Zoho web applis don't start at all for example.
Spidey01 said:
Probably should check for issues involving shared memory and X extensions. Remember, it is not quite the current X.Org you're running.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
Thanks for the info
I wonder if we can run another distro, ubuntu 11.10 for example, via chroot ?
I noticed that the swap is disabled in the kernel used in the root.fs image, which could maybe help the memory management
Depending on how much work you want to do you can run any distro that supports the processor architecture. I use Debian stable because it seems to have a lot more debs available than Ubuntu, when you have ARM instead of x86 crud .
From talk I believe Ubuntu will eventually be a great choice, perhaps even as a total replacement or dual boot, but the TF101 may look like a G1 or original Droid by then.
Sent from my Transformer TF101 using Tapatalk
ID6548437 said:
That's pretty strange, i made a few tests on mine
I can run at the same time Firefox, LXterminal, Gedit, Synaptic package manager, system monitor, movie player...
Close them, reopen Firefox etc
But Zoho web applis don't start at all for example.
Click to expand...
Click to collapse
I was not so lucky. I can only run one app at a time as well. Maybe there's a difference in how we're set up?
Spidey01 said:
Depending on how much work you want to do you can run any distro that supports the processor architecture. I use Debian stable because it seems to have a lot more debs available than Ubuntu, when you have ARM instead of x86 crud .
From talk I believe Ubuntu will eventually be a great choice, perhaps even as a total replacement or dual boot, but the TF101 may look like a G1 or original Droid by then.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
I just want to run p2p client to download tv series
Not a lot of stuff
I will take a look at Debian
Thanks
livinsacrfice said:
I was not so lucky. I can only run one app at a time as well. Maybe there's a difference in how we're set up?
Click to expand...
Click to collapse
I made very minor changes to the initial config, i just removed a few app from the menu "Preferences > Desktop session settings"
I just left :
Wicd network manager tray
SSH key agent
Certificate and key storage
Secret storage device
I unchecked all others
And that's all i did, i believe
But i run UltraVNC client from my win xp, what about you ?
oh, I was using the VNC client on the TF101. When I connected from a different machine, I was able to load multiple apps at a time.
Nvidia is pretty good about releasing drivers for their x86 graphics hardware. Have they not released drivers for the transformer geforce that we still have to use vnc servers instead of x.org?
Is there really no way to run x.org on the transformer? That would totally take away the need to use nvflash and deal with partitioning etc....
If we could just chroot and startx right from there and at the same time kill the apk stuff
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.
I want to bring back the modem squak to modern cell phones. I wonder if you can write an app that will use old school modem technology using sound to transfer data between adjacent smart phones. I know transfer speeds won't be fast, but it would be more for novelty sake. I know there have been some acoustic file transfer methods out there. Just seeing if I could revel in my nostalgia for the past.
Use app flash tranfer
Its amazing to transfer large file
Its a good app
sent by typing by my fingers
[email protected] said:
Use app flash tranfer
Its amazing to transfer large file
Its a good app
sent by typing by my fingers
Click to expand...
Click to collapse
I honestly have no problems transferring files. I just want to see if there is a way to do it using old school dial-up modem technology. I want to be able to put to phones next to each other and use "modem squak" to transfer files. I guess there would have to be some sound isolation or some sort of synchronization to deal with cross talk between the phones. I just think it would be funny.
when I ran an "apt-cache search" on Debian Kit I found a few packages that had something to do with data over voice lines. Perhaps a port from Linux to Android would satisfy you? I've been pondering something similar as from time to time it be nice to hear that afoul squirreling again.
Sent from either my SPH-D700 or myTouch3Gs
Debian Kit/QEMU Linux Install guide for all android devices that I'm writing:
http://forum.xda-developers.com/showthread.php?t=2240397
Now have working Installers for ARM Java 7 JDK + Maptools + jMonkey