Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi,
I want to install an exe file in windows from linux command prompt by using rdesktop. I am able to open remote system's desktop but i am unable to do any operation remotely on windows for example opening a notepad. so please help me by providing proper way to achieve this task.
Hi,
I want to install an exe file in windows from linux command prompt by using rdesktop. I am able to open remote system's desktop but i am unable to do any operation remotely on windows for example opening a notepad. so please help me by providing proper way to achieve this task.
why are you not able to open notepad in the RDesktop window? Or am i missing something.
maybe try VNC as an alternative to RDesktop. You can get a Windows VNC server at TightVNC.org. For Linux, vnc clients abound.
No i want to execute an .exe file through RDP port only because in all windows os systems rdp port may be opened. I am using this command
rdekstop -u something -p something -s "cmd.exe /K c:\windows\notepad.exe" ip. But this command not opening notepad.
Last edited by venkatratnam; 10-05-2012 at 12:42 AM.
No i want to execute an .exe file through RDP port only because in all windows os systems rdp port may be opened. I am using this command
rdekstop -u something -p something -s "cmd.exe /K c:\windows\notepad.exe" ip. But this command not opening notepad.
ah, okay. i didn't even know you could do that w/rdesktop.
well, are you sure about the path to notepad? what about just running cmd.exe and leaving off the rest - does that work?
How to run a batch file in remote system which is windows flavors from linux by using rdesktop?
you can enable the MS Windows Telnet service and then telnet to the Windows box. You'll have to add a rule to the Windows firewall, if u have that running. beware the passwords and all comms are passed in the clear using telnet, though.
if i really needed this kind of access, i would probably put Cygwin on the Windows box, enable the cygwin ssh daemon, and then ssh to the Windows box and run my stuff. SSH is stable, secure and has a great host of features and capabilities.
ok thank you for your response. why i choose rdesktop is in all windows systems rdp service is started by default. For example if i use VNC i want to run the VNC server in remote machine so that i prefer RDP.
ok thank you for your response. why i choose rdesktop is in all windows systems rdp service is started by default. For example if i use VNC i want to run the VNC server in remote machine so that i prefer RDP.
i might be wrong but....
This is sounding a lot like practicing to do something that is illegal
I want to use psexec for managing remote systems(install some software on the remote system).I see a requirement that file and printer sharing to be enabled in the remote system,,for psexec to be working. I would like to take remote session into Windows ,using rdesktop and using -s flag of rdesktop ,want to execute a batch file or command like 'netsh' to open ports in remote machine so that the requirements for psexec are fulfilled and I can use psexec to exercise any intended management controls
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.