[Q] Sending command line to remote desktop - Android Software Development

Hello all,
I have been searching the forum but could not find an answer to my question. I have installed a TightVNC server on my dekstop in order to remotly control it by my HTC desire. It works great with the android VNC app.
But the thing is, i only want to send a command line to my PC without using the whole app. I'm designing my own app where i want to send a command lines to my computer. It's just a simple app with a few buttons in order to switch my lights on and off in my room. I have running it on my PC right now with winlirc, which can be controlled by entering a command line.
Is there anyone who can provide me with the Code that connects to the server and can send a command line? If it is not possible to send a command line, then maybe just a way to send a keystroke so i can use autohotkey to act upon it.
Thanks

Have you tried SSH?

I'm working on a windows PC with openSSH at the moment.
But that is just in order to create a secure channel. Don't need it right now since i'm only working in LAN area. Just need the source code that i can put in my app in order to send a command/keystroke

Related

Terminal Services Client.... how to connect to Console?!

hi i need to connect to the console of Windows Server 2003... because every time i connect there is two sessions are ON and eat the RAM
thanx
can you provide any more info?
personally I have created an internet connection and a work connection (vpn) in the exceptions list I've added *.au.mydomain.com
fire up terminal and connect to
servername.au.mydomain.com
all works like a dream (except for the fact you can't run full screen )
I think what is asked for here is something simular to mstsc /console on the desktop. As far as i know it is possible.
Regards,
Allan Boegild Pedersen
www.pda-faq.com (Now 47 howtos to improve you daily pocket pc use)
I think what is asked for here is something simular to mstsc /console on the desktop. As far as i know it is possible.
Regards,
Allan Boegild Pedersen
www.pda-faq.com (Now 47 howtos to improve you daily pocket pc use)
abp said:
I think what is asked for here is something simular to mstsc /console on the desktop. As far as i know it is possible.
Regards,
Allan Boegild Pedersen
www.pda-faq.com (Now 47 howtos to improve you daily pocket pc use)
Click to expand...
Click to collapse
True ... that what i was talking about thanks for making it clear
Having the same question..
Let me try to explain
I have a windows 2003 server at home,
this is also my personal computer, this means it has a nice screen, keyboard, mouse and some nice games on it.
When i`m on a job i connect on my laptop to my ACTIVE console on my home computer, this means i change the shortcut to "remote desktop" and add "/console" to it. Now when i connect to my home server it will take over the active console.
Does anybody know if this is possible on my qtek 9000 terminal services client???
Regards
I am also looking for a solution to this please. I leave one of my servers logged on and need to access the desktop whilst out and about. On a PC i just use remote desktop client with the /console option, but have been unable to find a way of doing this with a pocketpc. Alternatively any suggestions on good fast remote desktop software that works as well as remote desktop over gprs.
oooooooooo
Just before i hit send on this post I thought I would try and find a different approach. What I have found is a workaround that at least lets me do what I need until someone can suggest a way of connecting directly to the console.
You can shadow a terminal server session from another session, including the console. So.... connect to your server using the terminal server client, this will start a brand new remote dekstop. Go to the command prompt and type
shadow 0
This will then connect you to the console. For this to work you have to make sure that you enable permissions for the shadowing to take place. Do as outlined in the following article.
http://support.microsoft.com/default.aspx?scid=kb;en-us;278845
look for the bit right at the end that says
To configure the Windows Server 2003-based server to permit remote control, follow these steps:
although change step 7
7. In the Options box, click Full Control with users' permission, and then click OK.
Change it to without users permission otherwise it will sit there waiting for a response on the console

how 2 use non default port with Terminal Service Client?

In WM5 there is a built in Terminal Service Client. I need to connect to a PC that is behind a firewall and is using a non default port number.
I am easily able to connect via Windows RDP, but the WM Terminal Service Client does not seem to even try and connect if i use a non standard port number.
Example: \\10.0.0.1:4540
Any ideas how to get this to work?
I'm holding a baby in one hand, so briefly, is possible, need to edit registry appropriately. VJFullscreenTSC thread may discuss setting but it's googalable. I think it's the only setting that can be changed.
V
Bonus first hit:
http://theillustratednetwork.mvps.org/RemoteDesktop/RemoteDesktopSetupandTroubleshooting.html
at the bottom

Setting up VNC or Remote Desktop

I've set up LogMeIn, but it's left me dissatisfied. I don't like the fact that it's website based, and it's a little slow for my tastes.
I've attempted VNC and Remote Desktop but, sadly, it's a little over my head. I'm by no means a noobie, but I've never dabbled in remote desktop type work before.
Is there a simple tutorial for setting up VNC or Remote Desktop clients for the Wizard? I could really use one. I've been trying to search for it for a few days, and I turned up absolute zilch.
Thanks!
both VNC and remote desktop would need to be enabled on your workstation / server / computer and make sure that either the required ports for VNC (port 5900+) and Remote Desktop Connection (port 3389) and open your firewall or the windows firewall is turned off.
if you are trying to use VNC / RDP, using your GPRS/EDGE connection then there's more tweaking which needs to be done ... this would entail you to go to your router/firewall and open ports 5900 (VNC) and 3389 (Terminal Services / Remote Desktop Connection) and point these ports to the right IP Address (which would be the IP address of your workstation).
if you have any questions about remote access just email me back ... i use my XDA Exec, Qtek 8500 and all the other PDA's i have to access my network at the office as well as at my clients all the time ... both through VNC and through Remote Desktop Connection ....
what program do you need on the wizard to do remote desktop?
right now i can remote desktop to my work computer from my laptop at home. is it similar? thank you.
There should be a remote desktop client already installed on your Wizard. Look in the Programs folder for "Terminal Services Client". It works pretty much the same as it does on big Windows.
As dumb as this is, I really need a step by step to help me out on this subject.
I'm unsure what is needed to get the Remote Desktop Client working. I have XP Pro. I have a "Remote" section under my home computers system properties. However, the one tutorial I could find asked me to go into Add/Remove Windows Devices and apply some sort of setting there. Upon doing so, I was asked to insert my Windows XP CD which . . . I don't have.
If I don't need that CD, I am open to doing either Remote Desktop or VNC. Whichever is preferable, I guess. I don't know which is more full-featured, which one is quicker, etc.
So I need help getting started. What do I do?
Hey Dr.Other
Okay here is a step by step to enable remote desktop on your computer ( much better then VNC in my book but I am sure others may disagree..so in the end its personal prefrence...I just like RD (remote desktop) better cause I can stream music if I wanted and its also encrypted (I think I read that some where) any way here it is for remote desktop.
Guessing you are useing Windows XP Pro
Right Click on MY COMPUTER ( on your desktop)
From the menu that opens up Click (Left click) on PROPERTIES
You will see a few tabs in a window called System Properties
Click on the REMOTEtab
Check the Box under the Remote desktop area that say ALL USEERS TO CONNECT REMOTELY TO THIS COMPUTER (its not in caps)
Next click on Select Remote User and click ADD
TYpe in the users name (what ever name you use to login with)
Hit Okay till your back to your desktop
Phone:
Start\Programs\Terminal services Client
under servers type in the IP address of your computer ( Hint try it locally 1st if you have wifi in your house and then click connect) its a bit difficult to naviagate and the colors are not the best ( which leads me toa question ...look at the bottem for the Q ) but it will do...I have hcked email looked at my fav places for a book name I had bookmarked but forgot etc. its really cumbersome but in teh end it may get the job done. Though Fair warning your icons and stuff will be bunched up on your desktop computer once you RD from your Phone
RD to your phone..... What ? can you remote desktop to your phone ?
I think so...if you enable terminal service port on the device you maybe able to connect to it from your computer ...but I am still trying to figure that one out
Question for every one: IS it possible to get better colors when connecting to your home computer via terminal services on your phone ? ...they look like 256 colors (eww)
geekserver said:
Question for every one: IS it possible to get better colors when connecting to your home computer via terminal services on your phone ? ...they look like 256 colors (eww)
Click to expand...
Click to collapse
Even if you could it would slow the process down so much it wouldnt be worth it. I wouldnt even have a background on as it slows to a crawl.

Remote Desktop Mobile command line?

Hi
I connect to multiple servers every day and I am wondering if there is a way to use command line to fill in Computer, User name, Password and Domain.
/D
Hi, do you have any new infos about this issue.
I need it too.
Thank you.
Namaste
Elena

[Q] How to use Remote Desktop Mobile

Hello.
I can't find tutorial how to make this program to work.
By the way, i'm under router on my network. What i need to do to make that program work ?
thanks
Hi Mate
launch remote desktop (you have to be on your home network for you to remote onto another PC on your network- WIFI?)
Computer: Type the target PC's IP address (to get that IP address on that PC hold down the WINDOWS key on your keyboard and press the key R
now in the box thats poped up type in CMD and press enter> now in the black dos box type in ipconfig and hit enter - you should get the IP address)
Username / Password needs to be what you log in with on that PC
domain - leave blank
and thats it.
You ofcourse need to make sure that remote desktop connections are allowed on your PC and the right options are turned on
good luck
kebabas said:
Hello.
I can't find tutorial how to make this program to work.
By the way, i'm under router on my network. What i need to do to make that program work ?
thanks
Click to expand...
Click to collapse
http://www.microsoft.com/windowsxp/using/networking/expert/northrup_03may16.mspx
There is some useful tips for connection via RDA
this is definitely one of my favorite programs for windows mobile. i'm constantly connected to my office computer. But I have one big problem. I cannot type properly. half of letters cannot be used on hard keyboard. For example i,o... does anyone have solution for this?

Categories

Resources