VNC for XDA newbie question - MDA, XDA, 1010 General

what naming convention does vnc want for the server to connect to
if i simply type in my servers ip address (like i do on normal VNC) i get a "invalid vnc server specified, server should be of the form host:display" error, then i try ip address followed by port ie xxx.xx.xx.xxx:5900 .. and still no luck,
tks in advance
cheers
C

Found this info on PocketPCCity:
Just for you people. server_name:display, means ip address:display number. The port 5800 relates to display 0, 5801 to 1, 5802 to 2, etc. I'm running serveral x-server, with rfb on linux, and can succesfully access these port. Just a handy tip to work with...

still no Joy
Thanks, digger but that didn't work either,
just to recap.
I have the VNC server app installed and running on my pc (i can connect to it from othe vnc viewers on other PC's
but on my XDA i cannot
i try to connect to my server by typing in the server address as
nnn.nn.nn.nnn:5800
have also tried all of the following
nnn.nn.nn.nnn:5801
nnn.nn.nn.nnn:5900
nnn.nn.nn.nnn:5802
were nnn.nn.nn.nnn = the ip address of my pc running the VNC server app
is my naming convention correct ? if so then i can continue to troubleshoot in other areas
tks again
cheers
C

how do you connect ?
from a cattle ?
from a usb cable ?
from a seriel cable ?
using IR ?

Rudegar said:
how do you connect ?
from a cattle ?
Click to expand...
Click to collapse
Yeah, PDA-phones are great: Even when sitting on top of my livestock I can still control my PC back at the ranch.

tried dial up and cradle
Hi Rudegar
I tried over a dial up connection
and the usb cradle,
no luck

Peter Poelman
yeah the new greenhorn which is to replace bluetooth make things like that possible and comfortable

Related

Browsing desktop web server from xda

Hi all,
I know we can connect to the internet using desktop connectivity with ActiveSync.
Now, I want to develop some simple WAP application and place it in my http://localhost (desktop IIS) for testing purpose. How can I browse it this site from my xda?
Anyone can help? TIA.
try http://<ip-number of Desktop PC>
It doesn't work at all. Beside, I use dial-up connection in my desktop, so the desktop doesn't have any ip before connecting to the internet, and I want to develop the application offline.
I tried to assign permanent ip address to my desktop in without connecting and it still doesn't work.
internal network
I doubt you have networked computers but here goes...
If you have a network card in your PC for networking. Then you have an IP address with this. normally "192.168.???.???" so you could use that.
Hope this may be of help ..
or http://127.0.0.1
You will need to be connected to the internet on your PC before you try to browse, or you will need to configure internet connection sharing while your xda is cradled for it to work.
Though I can't test this (no webserver running), it's gotta work:
Put your XDA in the cradle, and the go in VXutil and go to info. There, under the adapter called "Serial on USB," you should see some IP config info. The "Default Gateway" should be the IP of your machine (as your XDA sees it).
Just for kicks, mine turns out to be 192.168.55.100
I've tries http://127.0.0.1 but since my desktop computer is not network and I don't have any ethernet card installed, I cannot assign IP address to this machine?
What is Vxutil anyway?
Thanks.
rezz16 said:
I've tries http://127.0.0.1 but since my desktop computer is not network and I don't have any ethernet card installed, I cannot assign IP address to this machine?
What is Vxutil anyway?
Thanks.
Click to expand...
Click to collapse
POCKET HOSTS worsk ok
yes use usb asycn to pda -
setup VPN or non-vpn
first setup VPN network in computer
link to that in pda
no password ect
admin or guest with autologon on direct contact will do
I use say 192.168.100.100 etc

Please help me set up remote desktop

I have it on my phone.. Ive checked you tube the web and here but i cant seem to get it working
what is a domain for windows vista?
How do i get it?
Can someone please help me.
put ip address for domain, or put real domain and connect.
It will ask you login infomation and password.
OK
zsunsun said:
put ip address for domain, or put real domain and connect.
It will ask you login infomation and password.
Click to expand...
Click to collapse
under username i put my comp username
and password
and domain is IP
so computer is what? my computer name?
?
zsunsun said:
put ip address for domain, or put real domain and connect.
It will ask you login infomation and password.
Click to expand...
Click to collapse
its says
Cannot connect. Likely reasons are:
1. Specified computer name or ip does not exist.
2. A network error occurred while establishing the connection.
Are you sure your computer and PDA is in same network? and can talk to each other?
Try pinging from and to computer.
Are you trying to RD to a computer on your same local network or across the internet? Either way, you should make sure your software firewall on your target computer is allowing the Remote Desktop connections through. That would be opening port 3389.
Also, you said you have Windows Vista. Make sure that you have allowed RD on that computer. Right Click My Computer in the Start Menu and go to Properties. Click on Advanced system settings link when the System dialog box pops up. Then click on the Remote tab when the System Properties box pops up. Make sure you have selected the middle option.
start/run/system/remote settings/ check 2nd option under remote desktop
input your network in your phone. Connect to it. (turn on wifi please)
Make exception in your firewall (windows , norton , avg whatever)
put ip of computer you want to connect to in computer
user name is what you see when you click start and look up
password is if you have one to log on to windows . Not everyone does .
There is one more step if you don't have UPnP enabled. You would have to forward ports 3389 open to conncet. Thats ONLY if you don't have UPnP enabled on your router.
Also
Just to add to the previous post, also make sure that you have XP PROFFESIONAL or VISTA PRO or ULTIMATE as the other versions of Windows do not have/support Remote Desktop Connections.

[SOLVED] Help! TCPClient via Wifi .NET Compact Framework

SOLVED - But I'm not sure how, I was redesgning the app so that I could put it up here for other leo owners to test and gave it one last go to take a screenshot of the error to show people what I was looking for and viola it starts working (I never changed the TCP code) sorry anyone who finds this who has the same issue but it just randomly started working!!
Hi fellow devs,
After a massive googling session I have not been able to find an answer to the following issue:
I am writing a TCP client/server app with my PC as the server and the client being my HD2.
I am writing the app in VB.net using the .net compact framework 3.5 and the windows mobile 6 sdk.
I just cannot get the following code on the client side to work over wifi:
Code:
Dim ParsedIPAddress As IPAddress = IPAddress.Parse("192.168.1.10")
Dim client As New TcpClient()
client.Connect(ParsedIPAddress, 7209)
I get the following exception:
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond
Click to expand...
Click to collapse
If I connect the phone via active sync it will work and I can send and recieve data ok so it appears there is no issue with the code itself.
While connected via active sync - if I turn off the server side app I get the following exception:
No connection could be made because the target machine actively refused it
Click to expand...
Click to collapse
However the exception message remains as the original if I do the above but using wifi so it just is not able to establish a link at all (or not even trying) using wifi??
-----------------
I have tried:
1. Ensuring that windows firewall on the server is off and not getting in the way of anything
2. Ensured that my mobile has got an active wifi connection and can see the machine (wifi remote control apps such as GRemotePro work ok)
3. Turned off all other types of data connection (GPRS,3G) to make sure my mobile has only one route out
------------------
Is there anyone out there who has successfully got TCP to work with the .net compact framework and if so how???
Should I be using another class rather than TCPClient maybe the underlying Sockets class?
Any help would be greatly appreciated.
Cheers,
Prime.
P.S. I don't mind if people only have a solution in C# I'm happy to do any translation etc...
Socket class also fails
Ok so I've tried the socket class now as well and that fails in exactly the same way over wifi, ensured that I can ping my device and ping my pc from the device so clearly the underlying hardware is working just not for the TCPClient or Socket... Any ideas anyone?
Have you enabled port forwarding for the relevant port and IP address in your wireless router?
That's the only thing that springs to mind for me.
Thanks for the reply but...
Hey John,
Thanks for trying to help although unfortunately this does not bear any consquence in this particular situation, you only need to do port forwarding if Network Address Translation is going on between you and the end point. In this case the endpoint (IP + Port) is on the internal LAN with no address translation in between. It appears the the internal WIFI adapter is not being accessed correctly from the application i.e. this is an internal issue on the phone not an issue with the network in general as I can run the same code via active sync and it works also I can convert the project to a standard windows pc app and run the same code from a pc and it works. Oh and of course every other damn (this is really wierd) wifi app I've got works so something with the .net cf and wifi maybe??
Cheers,
Tony.
A development...
Ok so I have dug out my old Orbit II just to see if this was device related and low and behold it is ARGGGHHH!!! The app works just fine on the Orbit II over wifi.
Does anyone know of any policies, security or otherwise, that would stop the HD2 (leo) from being able to use wifi from the .net cf?
<<--delete-->>
Generic reasons for communication failures
Hi
This is a pretty generic problem, I'm afraid you can't give an exact idea of where is the problem so I can't give also an exact solution.
Usually a communication problem is due to one of this three
1) The server does not listen or does not receive
2) There is a problem with the network
3) The client does not make the call
Type 1 should be checked trying to connect to the server with a PC or a laptop. You should be able to make the client run in a PC.
Usually when a (web) server has a (web) tcp service stopped, when you try to connect to it it rejects the connection (this is what that of "the target machine refused it" sounds to me). Start then the (web) service on the server. Change (web) for your application.
My advice is that you should have something in the server side where you could run a wireshark sniffer. Then you would see all the traffic coming from the PDA and see if your client is sending packets.
Type 2 are the ones that can be checked with a ping. Maybe there is a firewall somewhere dropping the packets.
Type 3 may be due to several things
a wrong code (I don't know, there is a lot of time since I made programs)
you're trying to connect to a dns name that can't be resolved. Try with IP address.
You have a wrong network configuration. The server should be in the same network but client is not able to get the server's (or the router's) MAC with the ARP protocol. So it doesn't make the call.
I hope it helps.
Regards

Configuring 2x remote desktop

Hi guys,
I've just downloaded the 2X Cliente Remote Desktop for Android but I'm having a hard time making it work.
I've chosen Terminal Server Connection
Alias - some random alias I came up with to test
Server - the IP address of the computer I want to be able to remotely connect to
Port - 3389 (I've added this to my port forwarding list on my router)
Username - some random username I came up with to test
In connection mode it's greyed out and it says "Gateway mode"
When I try to connect it says:
Code [1a/00000001]
The specified remote connection could not be found.
Verify that you have typed the correct computer name or IP address, and then try to connect again.
Any thoughts would be greatly appreciated.
.....Nobody?
I haven't tried that app i think. But i have tried like 6 apps for remote desktop or VNC, but none were to my liking. They all had lag, and were 6 frames each second max. I want to be able to game and watch movies threw remote desktop. So if you ever find a good remote desktop application, please let me know!
Concerning your problem, for most of the apps i've used i needed to install a windows program that enabled a VNC server for remote desktop. Did you install that? And ofcourse, your firewall isn't blocking anything? And the username you specified, make sure it's an existing windows username with the same password and administration rights.
Hope it helps....

Connecting to Virtual Machines Via Splashtop THD

Recently got the new splashtop thd and it looks great, just a question though - How can I connect to guests instead of hosts?
I have 2 virtual machines I'm interested in connecting to for my forensics coursework. One is a win7 vm and another is a backtrack vm. Both are running on a Win7 host that I have no problem connecting to.
I've tried to setup various NAT/Bridge settings and I still can't see the exact network address of the VM's on my tablet (I've gone as far as mac spoofing and assigning static IPs).
I do get some vmnet options showing up - but none of them are the correct address.
How can I connect to either of my VM's and if I wanted to remotely connect to them is a VPN the best route to take?
I haven't tried your specific setup, but as a work-around until you figure it out, you can remote into the host, then access the guest (either locally, or remotely)..
For example, I can use splastop to remote into my laptop at home. I have another box running an OS X VM that I connect to from my laptop via VNC. So I just remote into the laptop (via splashstop), and from the laptop, fire up VNC to get to the OS X guest on the other box.
It's an extra step, so it's not pretty, but maybe it'll help in the mean time.
My next step was to install the splashtop client on the OS X guest, but like I said, I haven't done it yet. I'll let you know if I have any success.
Try setting up internet discovery on the VM and leaving it connected. Then let splash top figure out how best to connect to it lol. Good luck!
Sent from my Inspire 4G using xda premium
ickkii said:
Recently got the new splashtop thd and it looks great, just a question though - How can I connect to guests instead of hosts?
I have 2 virtual machines I'm interested in connecting to for my forensics coursework. One is a win7 vm and another is a backtrack vm. Both are running on a Win7 host that I have no problem connecting to.
I've tried to setup various NAT/Bridge settings and I still can't see the exact network address of the VM's on my tablet (I've gone as far as mac spoofing and assigning static IPs).
I do get some vmnet options showing up - but none of them are the correct address.
How can I connect to either of my VM's and if I wanted to remotely connect to them is a VPN the best route to take?
Click to expand...
Click to collapse
If you know how to set your router to "port forward #"3389" to the "VM IP:3389" it will work awesome.
twack said:
If you know how to set your router to "port forward #"3389" to the "VM IP:3389" it will work awesome.
Click to expand...
Click to collapse
I thought the outgoing ports were randomly assigned?

Categories

Resources