Terminal emulation for InterSystems Cache in browser - terminal

Sometimes I need to run terminal driven system utilities for InterSystems Caché database but have no ssh access. On the other hand I have web access to this server. Are there any solutions of terminal emulation in browser?

You can use WebTerminal project for that purpose.

Related

Is it possible to run programs locally from a terminal services remote app?

First, I guess I'd have to figure out if I'm running remotely and second I'd have to figure out whether my remote connection is a standalone remote app or an app running on a terminal server (that may be tricky).
But, once I've figured out all those awful things, is there a way to run a windows function like ShellExecute locally instead of remotely?
The reason I'd want to do this is because I launch a web browser to view rather high bandwidth things that require javascript and flash and certain sysadmins who administer our product aren't too keen on having to make unnecessary and insecure modifications to their terminal server farm.
Yes, if the clients are running Windows and you can install software on them.
See Remote Desktop Services Virtual Channels in MSDN.
There is a free tool that does exactly what you want. I got reference from TechNet forums, it's named Remote Executer from http://www.mqtechnologies.com
Good luck

Detecting a Citrix XenDesktop Session

I'm looking to determine if our application is running on a XenDesktop session rather than locally. Here is what I have found so far:
We currently have code to detect a Citrix XenApp session similar to the solution mentioned by Helge Klein in "API for Determining if App is Running on Citrix or Terminal Services".
Sadly that solution in a XenDesktop environment is returning back a WTSClientProtocolType of 0 which signifies a local console session.
In response to the same question Josh Weatherly mentioned checking the sessionname environment variable.
However a quick console check with echo %sessionname% on the XenDesktop environment returns back 'Console'.
From "Detect citrix “application mode”?" John Sibly suggested a solution for detecting a remote session (not Citrix in particular):
GetSystemMetrics(SM_REMOTESESSION) however returns 0 which also means that it is a local session.
Does anyone know of a way to detect that it is a XenDesktop session? So far as you can see all my attempts are returning that the session is a local console session.
I'm using XenDesktop Express 5.5, accessing the desktop using the Citrix Receiver Web Plug-In.
If you are using XenDesktop for VDI, then as far as the application is concerned, the application is executing locally. VDI, or virtual desktop infrastructure, consists of delivering the GUI from a full featured desktop operating system to a remote device. Typically, the desktop O/S executes in a virtual machine on a hypervisor in a data center, and the GUI is transmitted to the remote device using Citrix' ICA stack. For example, this happens in the pooled desktops scenario.
XenApp offers virtual desktops, which is a slightly different concept. Again, the desktop is delivered to a remote device using the ICA stack. However, the desktop is no longer running on a dedicated O/S. Rather, it is one of a number of user sessions on a single Windows Server. There may be any number of users logged on to that server. This places limits on the applications that can be run, which is why applications might want to know that they are on a multi-user O/S.
What you might try to do is determine whether the GUI is being delivered remotely using the ICA stack. A simple check would involve looking for the "ProticaService", which is responsible for implementing the ICA stack.
Alternatively, you may be trying to determine if your machine is running in a VM or native to a machine. Besides the pooled scenario described in the first paragraph, XenDesktop can deliver desktop running native. This overcomes limits on virtualision I/O devices such as graphics cards used by CAD applications. In this case, you need to rule out the presence of a VMM, or hypervisor.
I have updated my answer linked to in the question with a description of how to determine the remoting protocol type in XenDesktop sessions.
You need the (not really well documented) function WFGetActiveProtocol from Citrix' WFAPI SDK. Proceed as follows:
Download the SDK (link)
Install WFApiSDK64-65.msi
In your C++ project include wfapi.h and link to wfapi[64].lib
Use the undocumented function WFGetActiveProtocol
More detail and sample code here.

executing command on a Windows Machine from a UNIX/LINUX Machine

is it possible to execute a command (ex: launching a .bat file located on the remote machine) on a Windows Remote Machine, using a UNIX or Linux Machine ?
Is there something like a scp/ssh mechanism or at least a way to connect to a Windows Machine passing through the network ?
Thanks for your help.
By default, recent Windows versions only support the Remote Desktop protocol. As far as I know, client versions only allow a single user, while server versions with installed Terminal Services allow for multiple simultaneous users.
Windows Server versions also support the Telnet protocol, but the server is disabled by default - it may not even be installed. Therefore you will have to enable it manually. Do you really want to use Telnet of all things, though? Just the security concerns are enough to make it mostly useless.
There is also a version of OpenSSH for Windows, that uses the Cygwin DLL. I have not tried it, but using an SSH implementation from the Unix world does have its appeal (and probably a few disadvantages). See also this.
EDIT:
Recent Windows versions also support the Windows Remote Management system, which allows you to launch an interactive session throuh a bit of trickery.
You may want to try Vandyke VShell.

Good Mac OS X app that allows server connection via FTP?

I'm looking for a web based FTP client, with a good PHP, javascript, html, code editor. possibly with unzip capability.
I've tried eXtplorer, but it's pretty buggy, especially the editor.
Any suggestions?
EDIT:
I thought about this and i decide that maybe it's better to have a desktop app that allows this kind of connection (read the comment below) instead of using a web app that is slower for sure.
So I change my question: Is there a mac os app that allows me to manage my server files via a protocol like web ftp, so that i'm not firewalled by public networks limitations?
To turn your request around emacs provides remote file access over a variety of protocols including ftp (tramp mode), and can function as a web browser as well. If you really want it to run in a browser you can find a web terminal emulator and run emacs from the command-line.
How about PHPfileNavigator? (I'm assuming you want PHP based on eXtplorer.) I haven't used it, but a friend of mine said it worked pretty well once.
Edit: Based on your edit, are you just looking for a Mac FTP client? There are certainly plenty of those around. What is the specific requirement that's preventing you from using a normal one? Is it that an FTP service can't be opened on that server for some reason?
If that's the case, what services can be made available on the server? FTP on a different port? SSH/SFTP, perhaps?

Prefered method to map a remote filesystem in windows?

For a current project, I need to allow users to access their files remotely from Windows. I'm looking for a solution with an explorer integration (using Shell Namespace Extensions).
I first try using WebDAV and the built-in client in Windows but the client is not of equal quality in all Windows version and adding SSL and/or authentication is not working as espected.
I am not attached to WebDAV, it can be any protocol. I prefer open-source project or a commercial one with a SDK license (must be integrated in a product).
Have you tried "sharing" the filesystem? If your server runs Linux, you could try samba. I haven't tried Windows in a while, but I seem to remember that the Explorer did ftp as well.
I'm assuming plain HTTP is a no go here.

Resources