LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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, 01: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, 01: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, 01: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 01:42 AM.
 
Old 10-05-2012, 05: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, 09: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, 09: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-06-2012, 12:16 AM   #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-06-2012, 12:31 AM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
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-06-2012, 12:44 AM   #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, 06: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 04:12 AM
Help with rdesktop pccdrussell Linux - Software 2 12-10-2006 01:17 AM
Where's rdesktop? GuestFox Slackware 2 03-07-2005 10:32 PM
rdesktop help please! biggyfries Linux - Networking 4 06-11-2003 05:54 AM
rdesktop? tdanco Linux - General 5 02-22-2003 09:36 AM


All times are GMT -5. The time now is 04:06 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration