Remote execution over SSH - incomplete environment
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
A certain remote application, when launched using an SSH one-liner does not function correctly, I believe this is because the environment is incomplete when using SSH non-interactively.
The specific malfunction is that in this application (Telelogic Synergy GUI) it is not possible to open a new window by double-clicking an entity.
I have tried echo command | ssh -YC user@remotehost and this does not appear to help.
Is there a way to get SSH to execute the user profiles properly so I get a complete environment, in a non-interactive one-liner (goal is to execute via a Linux desktop launcher)?
Firstly, I don't know which user will be executing it, and each may have a different environment.
Also, that's not a clean or portable (i.e. between different systems) solution as it requires work on the backend, which we would need to remember to reproduce for any new server that is commissioned.
I am just launching just the app not the whole WM. This is how remote execution using SSH with X extensions works.
NX I have read is a lighter and faster X compression mechanism but it requires local and remote connection proxies and I cannot install any software on the backend.
This should be possible with no changes to the backend (installing software, scripting etc)... but currently I just can't see how.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.