LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 10-05-2012, 12:10 AM   #1
venkatratnam
LQ Newbie
 
Registered: Oct 2012
Posts: 6

Rep: Reputation: Disabled
rdesktop


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.
 
Old 10-05-2012, 12:18 AM   #2
nugat
Member
 
Registered: Sep 2012
Posts: 122

Rep: Reputation: 31
Quote:
Originally Posted by venkatratnam View Post
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.
 
Old 10-05-2012, 12:41 AM   #3
venkatratnam
LQ Newbie
 
Registered: Oct 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
rdesktop

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.
 
Old 10-05-2012, 04:36 AM   #4
venkatratnam
LQ Newbie
 
Registered: Oct 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
rdesktop

How to run a batch file in remote system which is windows flavors from linux by using rdesktop?
 
Old 10-05-2012, 08:22 PM   #5
nugat
Member
 
Registered: Sep 2012
Posts: 122

Rep: Reputation: 31
Quote:
Originally Posted by venkatratnam View Post
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?
 
Old 10-05-2012, 08:26 PM   #6
nugat
Member
 
Registered: Sep 2012
Posts: 122

Rep: Reputation: 31
Quote:
Originally Posted by venkatratnam View Post
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.
 
Old 10-05-2012, 11:16 PM   #7
venkatratnam
LQ Newbie
 
Registered: Oct 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
rdesktop

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.
 
Old 10-05-2012, 11:31 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,589

Rep: Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643Reputation: 2643
Quote:
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
 
1 members found this post helpful.
Old 10-05-2012, 11:44 PM   #9
venkatratnam
LQ Newbie
 
Registered: Oct 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
rdesktop

Please say straight forward is it possible to execute an exe file in windows system from linux by using rdesktop? if it possible please give me clue.
 
Old 11-12-2012, 05:43 AM   #10
venkatratnam
LQ Newbie
 
Registered: Oct 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
rdesktop smwai Linux - General 2 08-11-2009 03:12 AM
Help with rdesktop pccdrussell Linux - Software 2 12-10-2006 12:17 AM
Where's rdesktop? GuestFox Slackware 2 03-07-2005 09:32 PM
rdesktop help please! biggyfries Linux - Networking 4 06-11-2003 04:54 AM
rdesktop? tdanco Linux - General 5 02-22-2003 08:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration