[Q] (Q) Serving up the best solution. VNC Server on Android - General Questions and Answers

I am new to BeagleBoard and Android Development. Recently I had someone literally drop a Android Dev project into my lap. Sweet! He gave me a BeagleBoard and three main objectives. 1. Get android working on BeagleBoard. (completed) 2. VNC Server running without being "rooted" or needing ADB. 3. Ethernet over USB. (usbnet may work just fine) After extensive research I found no usable open source vnc server for Android. (I'm sure I may have missed something with Google or here on the XDA-dev forums. I'm thinking of porting a open sourced java based VNC Server over to Android and am needing suggestion and tips. My main questions is this, must a VNC server require root access to Android or is there a way around this. My client was pretty specific on this requirement. I am using TI-Android-Gingerbread-devkit on a BeagleBoard XM Rev B. the rom is on a 2gb sd card (would a 4gb be better as I may have to purchase that an invoice my client. Something I'd rather not do) So to reiterate, what would be the best way to get a VNC Server running on Gingerbread without the need for ADB or root accress? Thanks for all the great people here and thank you XDA Developers for having such a great site (also thanks for the HTC Inspire tuts that I'll need once I get my grubby hands on it after this project is over )

In this thread is a VNC server being developed: http://forum.xda-developers.com/showthread.php?t=710805

Thanks, I knew I missed something.

Related

[Q] Can an android tablet be put onto a Windows-run environment

Hey there XDA.
i'm in the IT department for a big-time company, and we (obviously) have specific security parameters on our network.
Recently, with all of the talk about android tablets because of CES and other factors (i personally own a Viewsonic G-Tablet running VEGAn 5.1b) the team and i have come to wonder if we would be able to put an android tablet onto the domain the same way we would a regular old Windows PC/Laptop or a Blackberry phone onto the exchange server.
We use Citrix clients/servers as well as pc/laptops, and so far, as i've been scouring the market, i've been able to find a Citrix app, and a Wyse terminal app, which could be used to open VPN sessions on the server, as well as the obvious app which allows an android device to be connected completely with Microsoft Exchange Server. ( touchdown http://www.nitrodesk.com/TouchDown.aspx )
So, XDA, i figured, where else would i go but here, to the most well versed android development website on the interwebs, to ask if you guys might know of anything at all, or if something could be done.
Any ideas?
It would be awesome if someone could help me out with this.
Sent from my X10a using XDA App

[Q] NX client for Android

Hey everybody! Sorry if this isn't the right section to be posting in. I guess we'll find out -- Here's the deal:
I've been administering a server of mine for quite a while now. I started out with it running windows server 2008. I had an application that I was using to connect to it over remote desktop protocol, and everything was grand. I recently switched over to CentOS, which has been absolutely the right decision. After a while of running it, I found a nice little server that works similarly (better!) to remote desktop connection. It also allows me to connect from more than 2 concurrent sessions (most college students can't even afford 5 CAL's) as well as a host of other configuration options, not to mention excellent compression.
After spending some time looking and searching through the market for an app that would offer me the ability to connect to NX or NoMachine sessions, I came up emptyhanded. I must admit, I was a bit disappointed that the adoption seemed to gravitate toward a windows crowd, which seemed odd to me. Considering android is so deeply rooted in linux and open source development, I thought that there must be a solution.
So rather than go on and on (at least more than I have in this thread!) and complaining, I thought "What a good time to put my education in UNIX, Java, and minimal amounts of C/C++ to work for me!"
This begs the question:
"Who else has, like me, searched endlessly for this functionality only to come up emptyhanded?"
So folks, raise your hands if you're interested in adding this capability to the already long list of enhancements that your android phone has over all the other smartphones.
Also, in case anyone is wondering, while I have posted this in the "Paid software" category, I would be more than happy to make this app available to all of my friends here at XDA, the people who have done so much to keep me educated, up to date, and running the latest and greatest software, completely free of charge. In the market, I would offer a free and donate version as well.
Anyone who has suggestions for features is welcome to post them. I have a few in mind already, but I would love to hear some input from you all.
I would definitely be interested in an NX client for Android, if you think you can come up with one. I've thought to myself that considering there are open source NX clients out there for Windows, Mac and linux platforms, it shouldn't be that terribly difficult to port the code to Android's java; but I don't have the coding abilities to do it. It's definitely one of those apps that you'd think would be out there, but it's not. And although you may not have gotten any other responses on here about it, there's definitely other poeple out there looking for just this kind of app - just do a search on Google for "Android" and "NX" and you get tons of results with people looking for it.
I've been running NX (or FreeNX) on my linux machines for a few years now, and I've got to say the technology is great, and I'm surprised it hasn't caught on more than it has. VNC does allow for similar connections, but the performance and efficiency doesn't even compare. It's my guess though that this is why we haven't seen an NX client on Android yet - the fact that you can use VNC, and those apps already exist. Regardless, if you can come up with the NX client, count me in as interested
Oh Hell yes...
Hello,
I would be definitely interested in a NX client for android, shame I have non-existent Java skills!
Stuart
+1 would love to see this.
Maybe it's possible in the Atrix webtop environment. They already have a citrix client apparently which is pretty cool!
I've been using and loving NX too and would like to see such a client too
I'm up for it (and would pay for it too) - I would recommend a tablet version if you can? I'm using a Honeycomb tablet to make remote connections and VNC is painfully slow over a mobile connection!
i would love to see this done.
I have some lightweight Java skills, but have absolutely no exp on the android sdk and will be completely unreliable as I'm supposed to be studying after work, not developing
but drop me a pm if you get this project started and I'll dabble where & when I can
Add another interested party in an NX client for Android. I've been using VNC for everything remote access for years and years. I discovered NX last week when I needed an alternative in a pinch. And I'm a convert. Whenever it's possible, I'll be using NX instead of VNC. So it would be great to have a client on my EVO 3D.
+1!!!!!
I have desktop effects enabled on my desktop/personal server at home, and vnc cant handle that. I researched for alternatives and I came up with FreeNX, perfect solution, except there is no client for my droid!!! I am on the go alot and I would be MORE than happy to donate some cashola to my bro's at XDA! All of you guys rock, and if this is ever going to get done, it'll be through you guys! Count me in.
+1 interested!
Add me to the list as well. I have used nx servers/clients for 2 years or so. Prior to using the Android, back when Maemo was big on Nokia, I found a ported version of QTNX that worked on ARM architectures. My very round about attempt I thought to try is to test that one in a chrooted Ubuntu in android but never could get it to function. I have mild experience now and am in the middle of coding a few android utilities but would love to contribute to this... have you considered setting up a git repo or google project or is there one started? Also, I'm not sure if this would work but was also looking at their new web-player client option. I wonder if anyone has tested that out..
Count me in, too. My 12 year old C++ skills aren't going to help, but I'd be in for a paid version.
I was about to try and develop an NX client for iPhone when we got a Honeycomb tablet - that seems like a lot better way to spend my time. I am an experienced Java coder but haven't developed for Android before; I would be happy to learn and contribute though!
+1 and here's some help
I would definitely use an Android NX client.
If you choose to do this (and haven't done the grunt work of figuring out how), here are some pointers that (hopefully) will help:
NX is based on X. So you'll need an X server written in Java to port to Android for starters. If you're okay with going the pure OSS route, there's a GPL'd one to start from at jcraft.com / wierdx (Sorry, I'm a newbie here so am not allowed to post a direct link.)
I haven't tried it, but usually starting from *something* is better than starting from *nothing*.
You'll also need a pure-Java SSH client. The above site has one or you could rip the one out of Eclipse. I can vouch that this code is good as it's what's used by Eclipse for its CVS/SSH and GIT/SSH support.
NX also uses the Differential X Protocol Compressor (DXPC) as part of the X protocol acceleration. The X server above claims to support this too, but I can't vouch for how well.
If you do this, I would suggest to consider making it open source at your favorite OSS repo (GitHub is mine), which gives you at least a fighting chance of finding other like-minded developers who can help.
Thanks for considering this. I hope you're successful!
Dave Orme
+1 for help
i am also with Java background but no android background
and i would love to donate from my spare time into making this a working OSS project
let me know if and how i can help if you have already started working on it - i will take a look at the pointers loaded in here and see what i can learn from them.
contact me via PM here
X server and NX
I have been getting into this with a bit more detail and I found out that there is no X server for Android, so what I did is the following (work in progress):
- X2VNC, that is an X server with VNC backend (it gets launched automatically via intents), there is also an intent to invoke the X server. I have compiled it statically, I guess it would be a good point to upload that to the market place.
- Compiled nxproxy which are needed to get the nxclient working
I am working for a company which is using NX as their desktop ttransport method, so no plans for developing the nxclient so far, but happy to assist in providing these two elements, the rest would probably be:
- UI interface (Java probably)
- nxssh (ssh client with modified select).
Let me know if anyone is interested.
Fund it!
http://code.google.com/p/desktoid/
http://www.nomachine.com/web-player.php
The X server for android
I have published the X server for Android. Search for Xvnc or X11 in the android market place.
+1 would pay for this too
+1
I'd happily pay $10 for an NX client for my Galaxy Nexus!

Android applications and Linux. Where are the Linux Fans ?

I posted this thread already in the ATRIX sub-forum, but there was nearly no feedback. Hopefully here it will have more rresponse.
The xda-developers forum is really great ! I love it. Was my first place to go, after I bought my ATRIX some weeks ago in USA.
I do not know, what was the reason for you fellows to get an Android smartphone. Mine was to replace my 8 years old cellphone from Samsung with a mondern smart phone. To be honest, the "telephone option" was the less important one. I like the MP3, video and some little games (as Sokoban and Pinball). Of course could have been an other operation system, but Windoz mobile was out of question (I hate everything from M$), Macintoy is too much restriceted and I love Linux. Therefore was an easy decision for me.
For me, as a Linux-fanboy, it was (and still is) a little bit sad that a lot of applications (remote control, synchronizing, ...) and all hacks are running on Windoz. Maybe some there are other ones here in the xda-formum feeling the same.
Therefore my suggestion to the responsibles of the forum:
- Could be an idea to open a sub-forum (or a sub-sub forum) for the Linux-fanboys to exchange information.
and my suggestion to other members:
- Lets share information, ideas about applications (tips, tricks, ... ) running perfect with Linux operating system.
To begin.
- The Moto Phone Portal application (Motorola) is not (too) bad. Running nice with Firefox and Ubuntu (Linux). Except the filemanager option.
"File Manager access supported on Internet Explorer only." Upps ! Even the Windoz-fanboys do not use this buggy program.
- IP Webcam. Running nice with Firefox and Ubuntu (Linux)
- SSHDroidPro. Running perfect with Gnome-commander and Nautilus on Ubuntu.
It sounds like you just want a place to feel superior to all those filthy non-open sourcers.
If xda is making an exclusive Linux-section, they better be doing exclusive Windows and mac-sections as well.
And xda is not a computer forum.
Android = Linux/linux = android
These are fu¢king computers. Not GOphones
Sent from my MB860 using XDA Premium App
Most of the users use windows, yet I do notice that the more advanced users run a GNU/Linux based distri.
Developers usually want to develop for the biggest market.
I have seen a lot of tools being able to run with mono.Usually these are not serving applications but rather tools for the phone like a qtADB, an interface for ADB, Rooting tools, Flashing tools etc.
Btw
GNU/Linux*
or otherwise sadstallman.jpg
Well, if you're a linux user you're probably used to finding your way out of such situations And there's always Wine and Mono for them tools.
P.S. Triple boot Linux/Windows/Hackintosh-yeah-I-know-it's-bad user.
Sent from my HTC Desire using XDA Premium App
there should be a bit to do with linux as i find a lot of stuff easier to do on linux rather than windows
Linux and Android
I'm a full time Linux user, anything Debian/Debian-based really.
I suppose a few docs on things like flashing with Heimdall's frontend or explaining you cant use pit files like Odin. Random stuff like that would be helpful. Then again being a Penguin my response to that is RTFM! hehe.
Thanks for the feedback
Hey, there was some feedback ! This is nice ! I was in Lisbon for some days, so only today I could read your feedbacks. Would like to respond now:
Hi 8ESP,
relax my friend. The idea of my thread was not to show / feel "superior to all those filthy non-open sourcers". For me really doesn't matter what kind of operating system someone uses (on his computer) ...
... "And xda is not a computer forum". Yes I noticed this, we are in the “Android forum“, but thank you for your information. ;-)
… by the way a modern smartphone running Android is a computer
Skye Menjou
… "but rather tools for the phone like a qtADB, an interface for ADB, Rooting tools, Flashing tools etc."
This exactly was my idea, to share some information (between the Linux users) which are interesting applications for us. Why to check 100.000 applications, if someone of you already got some good experiences.
K900
"Well, if you're a linux user you're probably used to finding your way out of such situations"
Yes, one is to share information.
exjinn
"Then again being a Penguin my response to that is RTFM! Hehe."
What manual and why ? ;-)
Of course most of the applications from the market run on your smartphone only, so it doesn't matter if you are a Windoz or Linux-Fan boy. But there are a few exceptions as
Remote control Android <> PC
Streaming
Synchronisation
Addressbook (Thunderbird)
Bookmarks (Firefox)
About this kind of applications I am talking. Here I would like to compare notes
I am game and here to help. Mint is calling my name...anyone else here it..."sudo aptitude install..."
Sent from my PC36100 using XDA Premium App
Well, almost everything Android can be done with fastboot and adb which are both available for Linux. There's also qtadb if you don't like command line tools.
Sent from my HTC Desire using XDA Premium App
bdawg31 said:
I am game and here to help. Mint is calling my name...anyone else here it..."sudo aptitude install..."
Sent from my PC36100 using XDA Premium App
Click to expand...
Click to collapse
Arch / Gentoo / Agilia user here
Sent from my HTC Desire using XDA Premium App
We are approching my idea
Well, almost everything Android can be done with fastboot and adb which are both available for Linux. There's also qtadb if you don't like command line tools.
Click to expand...
Click to collapse
Yes, we are approching my idea. Thanks K900. By the way I will try gtadb. As I my smartphone is an ATRIX, I use the "Motodev Studio for Android" (running on Linux of course)
... but my idea is not the PC side and which Linux is used or what application you use here, but the Android side. - 8ESP reminded us to be in an Android forum. - ;-)
To give an example. I would like to convert my Thunderbird addressbook to my smartphone, to K9-mail or the contacts. Could not find any application (up to now) which is doing this on a Linux (!) PC. I am not in the mood to use a virtual machine for this task. -
An other example. To convert the bookmarks of Firefox (running on Linux) is easy as long as you use the version 4 running on the PC and mobile firefox on Android.
What about a remote control of the Android on the PC (running Linux ;-). For example how can I use my notebook keyboard for the ATRIX. Any bluethooth possibility.
-> I would like to share interresting Android applications between the Linux Fan-Boys.
Something like this : He fellows I found a very nice application doing .... "
Okay, there you go. Contacts - export vcards from Thunderbird (dunno tho. I use KMail), import to desktop GMail, sync. Bookmarks - use xmarks. Remote control - use x11vnc on desktop and any vnc client on the device. Remote control other way - android vnc server on device, any vnc client on desktop. Needs root though.
Sent from my HTC Desire using XDA Premium App
Since everything is cloud based, I have zero concerns about Android in regards to Linux.. When I need to transfer something over I'll just download it in the browser, maybe sometimes put it on Dropbox... I could also sftp it over if I wanted to.
Maybe if you ask a coherent question about what you're wanting to do people can make suggestions...
Couldn't transmit my message ;-(
OK fellows. Thanks for your posts, they showed me that I could not transmit my message, my idea of this thread.
- Was not my intension to talk about Linux and to feel superior
- Was not my intension to ask for help. RTFM
- Was not my intension to dig into Thunderbird (this was only an example)
- Was not my intension to get information about clouds. Good luck, we have only few of them only here in Portugal ;-)
My intension was to share same information between other (Linux) users which are these special applications to get your Androidsmartphone "connected" with Linux. Connected, I wanted to say something like remote control, filesharing, synchronization, addressbook and contacts ...
... nothing more, nothing less.
So lets close this thread and be happy !
I just suggest some of those apps. So I guess this should be a QA thread from now on. People ask, people answer. Simple as that.
Sent from my HTC Desire using XDA Premium App
I'm using linux Fedora 14, my defy and magic works excellent, no drivers needed, tethering is super easy, mounting can't be easier. That's all what I need. Android plus windows is a hell

IPv6 - now working on Android! (no matter if your provider supports it)

I searched xda-developers a lot about IPv6 (Android related) but only questions, no one seamed to get it to work. Now I got IPv6 working on my Android phone and I want to share it.
Of course I can not held any responsibility for anything. I am no developer, just a user, who used Google a lot and who put a lot of single things together. Rather I am not sure why it works, but it does work.
Quick guide:
1. find out if Linux (Debian) is available for your Android phone and learn how to use it
2. find out if a tun module or a kernel with tun support exists for your phone
3. learn how to use IPv6 on Windows (if you are a Windows user) (I was happy with gogo Client at http://gogonet.gogo6.com/page/download-1) and on normal Linux (normal in meaning of running on PC) (I used miredo first)
4. learn what aiccu is and how to use it on PC
5. install Linux (Debian) on your phone
6. load the tun module (or use a kernel with tun support)
8. register aiccu
9. request tunnel at aiccu
10. install aiccu on your rooted Android phone (with tun) inside Debian chroot
11. done, test "ping6 ipv6.google.com" inside console, should work, and test in Android stock browers, it should also work!
Comprehensive guide:
First of all, before you start fiddling with Android and IPv6, which is quite tricky, I highly recommend to learn how to use IPv6 on Windows (only if you are a Windows user) and on some Linux distribution (Debian or Ubuntu recommend, as Debian is imho the most easy to get Linux for our Android phones).
On Ubuntu, which was running in VMware, I installed a package called miredo.(used this guide https://wiki.ubuntu.com/IPv6 look for miredo) It is a great piece of software. I just installed it and afterwards an apache2 webserver and the server was reachable from outside the virtual machine. Furthermore I did run another virtual machine with XP, both virtual machines, XP and Ubuntu where behind NAT (standard network configuration in VMware, setting up port forwardings is quite complicated) and also my router has a NAT and Windows firewall on host computer was also activated. Still... From the XP virtual machine I could access the apache2 running on Ubuntu. Great. You do not need VMware to learn how to use IPv6, of course, you can also use real hardware, but for me, VMware is very convenient.
Also learn what aiccu is and how to use it (https://wiki.ubuntu.com/IPv6#Get_connected_with_SixXS).
After you just learnt how to use IPv6 on normal Linux (normal refers to the normal end user version, no hacked stuff for Android) you have to learn how to use Linux (Debian) on your Android phone.
I used this guide http://forum.xda-developers.com/showthread.php?t=1254283 but you will need another guide for your phone, because this is phone specific. Google the name of your phone in conjunction with chroot, Android, Linux, Debian or search xda. It may not be possible to install Linux on all Android phones. I do not know that and I can not help you with that because I am a Linux noob. Of course, maybe you don't have to use Debian on your phone, I just like Debian because imho you'll find most informations in conjunction with Android about it and because it's more newbie friendly in general compared to other Linux distros. So maybe you prefer some other distro.
Then you need to get a tun module for your phone/kernel or a kernel with tun support for your kernel. Load the module.
You need to register for aiccu and also request a tunnel.
Afterwards, last step, install aiccu. I think I edited aiccu.conf and entered username and password.
ping6 inside Debian chroot is working for me and also in Android stock browser I can access IPv6 websites.
There are quite a lot requirements and things to learn before, I am sorry, because I can not ease this process.
Right now I also can not tell you nothing about how stable this works, how reliable it is or what the benefits are.
Update:
Working - 3g connection on phone (everything only IPv6 of course)
- apache2 webserver
- SSH server - access with Putty
- SFTP - access with FireFTP or WinSCP
Native aiccu for Android
Some time ago, I hacked together a native aiccu port for Android. I only tested it with AYIYA tunnels. It worked greatly both on Android 2.1 in a Xperia X10 mini pro and on Android 2.3 in a Galaxy Tab.
To use, copy the aiccu-android-bin.7z contents to your phone and put your config at /data/aiccu/aiccu.conf.
Please note that you HAVE to use the provided "ip" executable. The one provided with busybox is incomplete for usage with aiccu, and won't work.
The aiccu-android-src.7z contains the source code if someone is interested in hacking deeper. In particular, testing heartbeat tunnels and seeing if any changes are needed to the source would be nice. Also, cleaning up and trying to push upstream would be great.
Nice thx
Sent from my MB860 using Tapatalk
thotypous said:
Some time ago, I hacked together a native aiccu port for Android. I only tested it with AYIYA tunnels. It worked greatly both on Android 2.1 in a Xperia X10 mini pro and on Android 2.3 in a Galaxy Tab.
To use, copy the aiccu-android-bin.7z contents to your phone and put your config at /data/aiccu/aiccu.conf.
Please note that you HAVE to use the provided "ip" executable. The one provided with busybox is incomplete for usage with aiccu, and won't work.
The aiccu-android-src.7z contains the source code if someone is interested in hacking deeper. In particular, testing heartbeat tunnels and seeing if any changes are needed to the source would be nice. Also, cleaning up and trying to push upstream would be great.
Click to expand...
Click to collapse
Very nice. This simplifys the process a lot.
Unfortunately this does not work on my x8. Maybe because busybox is preinstalled with my ROM?
When I do acciu test, it complains about the ip executable. But I already copied both.
Can I get ride of the old buybox ip? Should it work on x8 as well?
T-Mobile USA has an beta native IPv6 service for ICS Nexus S and Galaxy Nexus UMTS phones. You can google the details. It is natively supported on the stock ICS software now using the UMTS network.
New solution:
https://code.google.com/p/gogodroid/wiki/GogoDroid
drawback:
needs ROM (kernel) with TUN (but any app could null that dependency)
First of all thanks for your work of putting all these information together!
I am using a Galaxy Nexus which allready has tun built in to the stock rom (ICS 4.0.4).
Unfortunately I cant get gogoDroid working. It seems it doesnt recognize the built in tun functionality.
So I tried it with the tun.ko module - no luck there neither, since there is no compiled version for the IMM76I Build :-(
Any suggestions on how to get it working anyways?
Edit: I also found another app which supports 6to4 tunneling called IPv6Config - you can find it on the Play market. Unfortunately 6to4 doesnt get thru NATted mobile networks...
Hello all !
Sorry to dig out this old thread again but here some infos about running IPv6 tunnels on a rooted Android phone.
I wrote a little app to simplify the installation, configuration and running the binaries posted by thotypous:
The app is called Androiccu and you can find it in the google market. Sorry, I'm not old enough to be allowed to post a link to it.
It's still in an early development stage but it does basically work for me and I would enjoy some feedback about success or failure.
This application downloads and installs the binaries, creates a config file with your login infos and can start and stop aiccu. All from a GUI, no need to play on a terminal.
Cheers and have fun testing.
why tunnel when you can have native ipv6 https://sites.google.com/site/tmoipv6/lg-mytouch
elgato99 said:
why tunnel when you can have native ipv6
Click to expand...
Click to collapse
Because most mobile network operators don't provide native IPv6 yet. You're among a few lucky ones that has such an operator. I'm not. When i'm at home i don't need this app as my router provides natively an IPv6 address to my phone over the wifi network. But on my router itself i have to run a tunnel as well as my provider is also not able to provide IPv6.
The biggest aim of this application is to become quickly obsolete when finally all mobile network operators will be able to provide IPv6 natively.
Best regards,
Martin
ty for info. my phone now running sixxs and route it on hostpot.
core7x said:
ty for info. my phone now running sixxs and route it on hostpot.
Click to expand...
Click to collapse
I have a sixxs tunnel. But how can I route this to wifi tethering? My ipad is connected to the wifi hotspot from the android, but the ipad can not resolve ipv6.google.com, but the android can do this.

[Q] Mapping a shared Windows file to Android using Adhoc

I am newer to Android development but would like to know how to communicate with my Windows 8 (7 or XP) environment over Adhoc from my Android phone. I have researched this topic and I generally see people refer to the play store to download an app. I don't just want the functionality, but I want to know how to do it myself. Whether if there is a specific library I can use through android development, or if their is some command line option I can use via Android to do this.
So, how would I go about browsing files on my Windows machine without using an app? I know the Android O/S (at least what I gathered from the articles I have read) does not support this. So what are developers doing in their apps to create this connection? Or what is the best book to buy to help me understand how to do this?
Thanks!
google about android socket file transfer

Categories

Resources