LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 04-23-2010, 05:46 PM   #1
PClOStinspace
Member
 
Registered: Jun 2008
Location: Bracknell, UK
Distribution: Ubuntu, mostly!
Posts: 161

Rep: Reputation: 20
Calling remote apps on a windows server from a 'buntu client


Hi, this is perhaps a strange one!!

My desktop is running 'buntu 9.10 and I have recently aquired a couple of half decent servers running Windows server 2003. I have a few windows app's that I use regularly for work that I have had limited success in running with wine or in vm's.

I stumbled upon a how to to call apps in a vm to run seamlessly on the host desktop and did some playing and have succeeded in calling app's on my servers from my 'buntu desktop, the command I have set in my launcher for one of them (DIALux) is:-


Code:
rdesktop -A -s "c:\seamlessrdp\seamlessrdpshell.exe C:\Program Files\DIALux\DIALux.exe" <servers IP address>:3389 -u username -p password
This works fine to launch the app.

My question is, can I change the default application/file association in 'buntu with a custom command so I can double click on a file and have it open in one of these remote app's??

If I can, what is the correct custom command to be using as using the above doesn't work at all, it just tries to open the file with rdesktop not the remote app.
 
Old 04-23-2010, 06:01 PM   #2
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Rep: Reputation: 51
Is the file located on the server or on local Ubuntu machine? If it's on the local machine, you should share it via FTP/SSHFS/SMB/NFS/etc., mount on the server as a drive, then make a wrapper script to start the program you need with the argument of file name, converted to server path, something like this:
Code:
#!/bin/bash
rdesktop -A -s "c:\seamlessrdp\seamlessrdpshell.exe C:\Program Files\DIALux\DIALux.exe `translatePath $1`" <servers IP address>:3389 -u username -p password
where translatePath is the program/script which would translate ubuntu path to server path to the share you mounted on the server.
Then, associate the file type with this wrapper script, and you're done.
 
  


Reply



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
Opening several graphical apps via X on a remote server clueless_linguist Linux - Software 3 03-06-2010 01:54 AM
Remote Dialup Client Apps (PPPoE connections) Last Attacker Linux - Software 1 12-28-2008 12:39 PM
can't run remote x-windows apps using ssh -X jcurts71 Linux - Server 3 06-05-2007 04:33 AM
Remote Administrator Tool with Linux client and Windows Server WarlockofVirgo Linux - Security 3 04-19-2007 09:27 PM
Linux remote client to Windows XP LabMonkies Linux - Software 2 06-13-2005 01:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:29 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