[Q] VNC Server? - Motorola Photon 4G

I have a stock ROM rooted Photon.
I used AndroidVNC server, granted it superuser permissions, and started server.
Problem is,
When I attempt to connect through PC server stops!
I tried several VNC viewers, same result.
I know it's my Photon because my friend has a rooted SG2 and it works perfectly.
I also have the latest binary updated.
Please help if you know a solution.

Hmm, doesn your friends work while connecting to your pc? If not, it could be as a result of closed ports on your software firewall and/or hardware firewall. Not sure what ports the viewers youre using uses, but try to find out and ensure that those ports are either already open or set to be forwarded in your firewalls. Easy way to fivure out if this is the issue is to disable all of your pc's security momentarily and try to connect. If it does, you know your problem is on the pc side and not your phone or the app. Good luck.

Does the vnc-server allow you to use a mouse and keyboard from the computer on the phone? or access the webtop/ubuntop?

I think this must be a bug from the vnc server, it most likely crashed during the connection.
Try our vmlite vnc server, it will surely work on your device, as we do have other users using the same device.
https://play.google.com/store/apps/details?id=com.vmlite.vncserver&hl=en

Related

[Q] Anyone been able to ssh remotely (not with wifi) to their Thunderbolt?

ssh from your computer over wifi is easy, but doing it over LTE seems to be problematic if not impossible (with the phone acting as the server). It doesn't look like we're given a public ipv4 address and they're just doing an NAT magic to translate it into an ipv4 addy on their end, but it doesnt necessarily link back to you always (if you check your ip over a browser).
With my home connection being SOL as far as having ipv6 thanks to craptactular att "we dont need no ipv6 for our customers," I don't see any possible method to reach the phone.
Blackberries had a static ipv4 (when I had one) but I know that's a dying thing for new phones with ipv4's days numbered.
I know there's other solutions (like vpn), but obviously that's not the same.
i have not had any luck either and that makes sense now cuz i remember having issues with trying to run a server on my phone . damn this is annoying.
I cant get ANY data to work with the exception of once and that was only searching google.com but no other website would work... any ideas anyone?
ddarvish said:
i have not had any luck either and that makes sense now cuz i remember having issues with trying to run a server on my phone . damn this is annoying.
I cant get ANY data to work with the exception of once and that was only searching google.com but no other website would work... any ideas anyone?
Click to expand...
Click to collapse
Nope, not really. Probably could set up a vpn server on my VPS server and and vpn into that to get around the NAT though and do some work in iptables for routing. That was the only thing I could come up with.
Hi,
I know that it was stated that "ssh from your computer over wifi is easy," but this process is not immediately obviously to me. I have succeeded in sshing with the phone, but not into it. Can someone explain how to ssh into the phone (from a computer with wifi that the phone is also connected into)?
Thank you,
Michael
mcoughlin said:
Hi,
I know that it was stated that "ssh from your computer over wifi is easy," but this process is not immediately obviously to me. I have succeeded in sshing with the phone, but not into it. Can someone explain how to ssh into the phone (from a computer with wifi that the phone is also connected into)?
Thank you,
Michael
Click to expand...
Click to collapse
You need an ssh server on your phone. You can either use something like dropbear, which comes by default on most AOSP ROMs and you can figure out how to set it up by reading this or you can use something like sshdroid, which is a GUI app.
I'd be willing to bet that verizion simply blocking ports and not giving you a real ip
Sent from my ADR6400L using XDA App
movielover76 said:
I'd be willing to bet that verizion simply blocking ports and not giving you a real ip
Sent from my ADR6400L using XDA App
Click to expand...
Click to collapse
Unless you're roaming, you're always behind NAT and an IP within verizon's network. No one is going to give you a real and static ipv4 address nowadays regardless of the mobile network, there just arent enough left. IPv6 however I do not know if it routes out or not, haven't tested yet and the only place that I have an ipv6 address is my remote server so it doesn't do that much good usability wise to me.
Thank you for the really helpful comment! Now for another silly question: imagine the case where you have your phone connected by USB to your computer. Is it still possible to "ssh" into it using one of the methods described above?
mcoughlin said:
Thank you for the really helpful comment! Now for another silly question: imagine the case where you have your phone connected by USB to your computer. Is it still possible to "ssh" into it using one of the methods described above?
Click to expand...
Click to collapse
if you have the usb cable connected, you could just use adb and type "adb shell"
Otherwise, I don't think so because you aren't registering a network address via usb.
So once you are into your phone with adb, is it possible to run a program like ConnectBot to ssh out from the phone through your computer's adb shell?
mcoughlin said:
So once you are into your phone with adb, is it possible to run a program like ConnectBot to ssh out from the phone through your computer's adb shell?
Click to expand...
Click to collapse
Yes, if you mean ssh into your computer's sshd (ssh server).
ssh client (phone) → ssh server (computer)
or you can go the other way as well if you have an ssh server on your phone.

[Q] PC Remote Control over WiFi

as it shows on the title,is it possible to connect my android based device to my PC via wifi hotspot and control it from my phone,its like teamviewer but without having to connect to the internet ,i.e the connection would be between the pc and cellphone directly.
i hope my point is clear.
Sometime like RDP will work over a LAN, but having never used a wifi hotspot I'm not exactly sure if the connection would be correct. Connected to the same router a phone would be able to use RDP to connect to the local IP (usually 192.168.x.x) without ever going through the internet.
If I tether my Droid 3 and the Windows 7 laptop with bluetooth this method works with any app that supports Microsoft RDP. You would also need to be using a Windows version with RDP host support to get this to work.
thanks for your reply
I'm looking for a remote desktop app for the Android that uses (or is able to use) a bluetooth connection to connect. Or if that's not possible, a local wifi connection, ie: direct from my droid to my computer's wireless card, using only my local area connection.
Does anyone know an app that will do this?
It needs to give me the full screen of my computer, so nothing like Gmote or any remotes used for media centers will work for this project. I'd also like it to keep my screen on the computer while I use it, instead of locking it up.
Basically PhonemyPC but without having to use the internet to do so.
My reasons? I'm trying to connect to and control my Carputer running Centrafuse in my Eclipse. So that I can leave the car running, go outside of it, and pull up the full screen to push buttons and control the car's media center (and more) or even from the back seat. You know.. for the ladies Without having to send every command over 3g to verizon's servers, back out to a tower, and back into my carputer, slowing things waaay down. Thanks!
Well you could use Microsoft RDP (Remote Desktop Protocol) if your carputer is running Windows XP Pro or 7 Pro/Ultimate. Bluetooth support is better on Windows 7 as it has a newer stack. RDP host functionality is not included in home edition versions of Windows. The biggest advantage of Microsoft RDP is it doesn't require any extra software on the Windows host and is relatively easy to connect to. For the Android device, just search the market for your any remote desktop program that supports RDP. A disadvantage to RDP is that it sends the host system back to the Windows login screen when a remote session starts. This is a security feature so others can't see what you are doing and I don't think it can be disabled.
You could also try VNC, its similar to RDP and will work on other OSes, home versions of Windows, Linux, etc.
Either bluetooth or wifi tether (which is basically ad-hoc) should work. If the computer can surf the internet from the phone then it must be getting a local IP assigned.
Thanks for your suggestion.
However, this doesn't seem to apply yo what I need as A. It's for a mac (I have a PC) B. it doesn't seem to be an actual live streaming remote PC type of program, more like a monitoring program that sends you screenshots and data every few minutes, and finally.. from what I can tell their app is for ipod only, no android.
Maybe I'm mistaken, but thanks anyways
have you tried 2x client rdp/remote desktop?
EDIT:
after reading more of what you are trying to do...if you just want a media center remote, use myremote donate. it gives you keyboard and mouse control, as well as a full media center remote. works off wifi. you would need to download the server app for your puter off their website, and their client app connects to the server app to allow control of the computer. I use it all the time as a media center remote control. works awesome!
Try gPad, it's awesome. I hope that's what you're looking for. =)

[Q] reverse tether? is it possible?

I'm basically on a per-MB data plan, and my Fascinate's wifi receiver is horrible, even compared to my iPod Touch 4.
Right now I am getting wifi through a high-gain directional usb adapter. I can share the connection to my iPod through an AdHoc network, and Firestarter's internet sharing feature [on Ubuntu].
But since the Fascinate doesn't recognize AdHoc, I cannot find a way to reverse tether my phone, that is, use my Laptop's connection on my phone.
Is it possible?
I tried making a Hotspot with my fascinate, connecting to it with my laptop, so my laptop was something [I forget the exact numbers] like 10.42.43.114, and my phone was 10.42.43.120. I tried Proxy Droid, telling it to use 10.42.43.120 SOCKS5 proxy (I used ssh localhost -D1111 on my laptop for socks5 proxy), and tried loading a page. I got nothing. Then I tried setting up a SQUID http proxy, and this time I got a "Squid access denied" message, so it was loading from my laptop.
but I tried this again later, and could not even get squid to load anything after that.
Is there a way to do this easily?
Maybe you can try couple possible solutions from here?
Hyper_Warp said:
Maybe you can try couple possible solutions from here?
Click to expand...
Click to collapse
I can't get the connections bridged in linux. I tried following some steps someone posted somewhere, but it gave me an error, saying my wifi [wlan1] couldn't be added to the bridge [br0]
You can try this: http://www.maryfi.com/
Saw it on lifehacker
nufan said:
You can try this: http://www.maryfi.com/
Saw it on lifehacker
Click to expand...
Click to collapse
Looks fine.. except I can't be rebooting into Windows 7 all the time..
I have Ubuntu, as I stated in my original post
There is a new app called ReverseTether that allows you to do just that and it doesn't require any additional software or tech savviness, and it's very straight forward and simple to use.
Check this out:
Benn awhile since I used bridge utils but I seem to recall similar errors when I had an IP assigned to all the interfaces. I had to have the two interfaces without ips and assign the ip to br0 instead. If I remember correctly.

SSH server

I did some searching, and was unable to find a working ssh SERVER for the rezound. Has anyone done this before? I am interested in setting up a proxy tunnel through my phone. I tried SSHDroid but it doesn't seem to be working for me.
Thanks
ES file explorer has this built in. I haven't really tried it, but it may be worth checking into.
I have ES explorer, but I don't see an ssh server anywhere
trud9340 said:
I have ES explorer, but I don't see an ssh server anywhere
Click to expand...
Click to collapse
That's because I was having a momentary lapse of reason. I was thinking FTP and steered you wrong. Sorry man.
Look for the app that installs linux on your phone then install an ssh server from within the linux chroot. I forget what the app name is because I'm in the middle of flashing roms
What exactly does the Linux Installer do? Create a virtual linux instance, running under the current ROM?
it sets up a chroot environment and installs a full blown Linux OS in your phone (I think the only two choices are Debian and Ubuntu ATM) minus the X Server so it's only the CLI. It may be too convoluted for it to actually work but it's worth a try.
What your looking for is sshdroid its on the play store. I also believe you need to be rooted for it to function
seeker160 said:
What your looking for is sshdroid its on the play store. I also believe you need to be rooted for it to function
Click to expand...
Click to collapse
The OP tried that....
trud9340 said:
I tried SSHDroid but it doesn't seem to be working for me.
Click to expand...
Click to collapse
I gave it a shot and it didn't work for me either. I'm rooted. It gave some quick error that looked like a invalid options screen, but it went by very fast.
Sshdroid seems to start successfully, but when I attempt to ping or ssh to the provided ip address, it doesn't respond.
Sent from my ADR6425LVW using XDA
With your phone browser, try: http://www.whatismyip.com/ and see if that matches the same IP you think it is.
I got nothing but an error when I tried it. Came to a screen that said revert, .... and adfree. Adfree took you to the market pro version to buy. I think the middle option was cancel. It had an options error displayed quickly on the screen but it didn't stay long.
Were you on wifi or 4g? I only had it work on wifi. The 4g ip4 address isn't publicly routable. I heard the ipv6 address is but i couldn't get that one working either.(Might of been the network I was trying from though or the program I was using for ssh)
Forgot about that. I remember trying to do this with a 4G Hotspot. Even though you have an outside IP, traffic is not allowed back in. For a while when I got it, you couldn't even do a VPN connection with it... kind of useless for a business tool, but they ended up fixing that.
I tried both on WiFi and 4G. They both give me different ips, and for both, I tried the suggested IP, and also the IP thats provided by whatismyip.com.
Seems I'm out of luck. I would have thought that with root, something like this would have been done by some nerd (like me) by now.
trud9340 said:
I would have thought that with root, something like this would have been done by some nerd (like me) by now.
Click to expand...
Click to collapse
it is not the phone, it is the network. Wifi should work. VNC server works.
Via Rezound using XDA Premium
As someone else mentioned you can't connect to your phone while you're on Verizon's network, because IIRC they're actually "private" IPs but on a huge (NAT'd) network. So you can only really make connections to your Rezound via wifi or somehow setup a reverse connection where the phone initiates the connect. If I understand everything correctly, the problem is you're essentially behind Verizon's firewall which only allows incoming connections from certain IPs or one that were originating from the phone itself.
QuickSSHd works fine for me over WiFi.
Its widget shows current IP, which is convenient.
I'm rooted, of course.
when running on WiFi, you need to poke a hole in your routers firewall to let the ssh traffic into the ip used by your phone.
otherwise, when on the same network as the phone, use the internal ip address of the phone... go to WiFiSettings-> Advanced-> and read the line under 'IP address' should say like 192.168.x.x or 10.x.x.x or 172.
trud9340 said:
I tried both on WiFi and 4G. They both give me different ips, and for both, I tried the suggested IP, and also the IP thats provided by whatismyip.com.
Seems I'm out of luck. I would have thought that with root, something like this would have been done by some nerd (like me) by now.
Click to expand...
Click to collapse
These "apps" are just wrappers for dropbear SSH Server, which is free. You might be able to build it yourself, but, frankly, dropbear sucks.
Try the Linux CHROOT environment. You'll get OpenSSH which is better than the dropbear SSH server that these "apps" use.
Not only that, but the OpenSSH route allows you to use SSHFS, which will allow you to mount your rezound over wifi as a hard drive wirelessly.
So, man up, and choose Linux ;-)
I'll dig up some thinks for you in a moment.
Tried lildebi and the ubuntu methods and neither works as directed. Going to take a closer look later.
Lildebi fails with execution when it tries to create the file system and the ubuntu process uses an image that is too large for vfat. Going to try to cook an ubuntu filesystem that is 1.5gb and see if I can move on from there.

[Q] Connection refused on VNC apps

Hey guys, I have been looking for a way to control my CM 10.1 DNA through my PC (Windows XP SP3) and have tried a few things with no luck. I got android screencast working, but found that I couldn't operate the phone through the PC (and it was very laggy). If I might be missing something here, then let me know.
I also tried using apps like 3CX DroidDesktop and when I attempt to connect from my PC I get errors. I'll enter in the IP and port and I usually get an error that says my phone refused the connection. I've tried Real VNC, Tight VNC, and even just the browser. I'm a total noob at this so I apologize if this question has already been asked or something. And yes the phone and laptop are both connected to the same Wi-Fi connection.
Thanks for any and all help guys!
Edit: So I've gotten it to work through USB, and realvnc but I do not have the ability to control with the keyboard or mouse

Categories

Resources