rdp

Does an RDP client library under Linux exist?

主宰稳场 提交于 2019-11-29 02:53:28
问题 Are there any libraries for connecting as a client via Remote Desktop Protocol (RDP) in Linux? The language used is secondary to the issue of existence. Any mainstream language would do (e.g. C++, Perl, Java, Ruby, PHP, Python), and even less popular ones like OCaml or Scheme. Is there any option available other than taking the rdesktop source and hacking a library out of that? 回答1: There is a set of cross-platform open source RDP libraries available in FreeRDP project. They are written in C

Can RDP clients launch remote applications and not desktops

て烟熏妆下的殇ゞ 提交于 2019-11-28 14:23:57
问题 Can RDP clients launch a remote application and then only display that application (and not the desktop)? The application would appear fullscreen within the client and if the application were closed the session would end. 回答1: Using an RDP connection file you can set the alternate shell to be your application; the file syntax is like alternate shell:s:c:\winnt\system32\notepad.exe and you pass that as a command-line argument to mstsc.exe; this similar to chrissr's solution, but without

Which graphics card is used when working with OpenGL shaders over RDP?

孤者浪人 提交于 2019-11-28 12:42:31
问题 I'm taking an introductory OpenGL development course with a Surface Pro, and was hoping to connect to my more powerful desktop for development through the native Windows remote desktop tool. I'm having trouble with the shaders on my first test program, which leads to my question. Will the shader work be done by the graphics card on my Surface (RDP client) or my desktop (RDP host)? 回答1: That depends on your remote system's configuration. Your usual consumer GPU with standard drivers will not

WPF: Prevent unload & load after RDP (dis)connect

本小妞迷上赌 提交于 2019-11-28 02:02:43
When my WPF application is open, and I open a Remote Desktop Connect to my PC, WPF reloads the application (Unload and Load events on the main control are triggered). When I disconnect, this happens again. I understand that the UI has to be redrawn, but why is the control reloaded? Can this be prevented? Or is there a way to detect if a reload is triggered by an RDP (dis)connect? Interesting question, i don't know why this happens, but with some code from this page http://blogs.msdn.com/b/jgoldb/archive/2010/02/27/optimizing-visual-studio-2010-and-wpf-applications-for-remote-desktop.aspx I

Run mstsc.exe with specified username and password

强颜欢笑 提交于 2019-11-27 18:10:39
I realize that in Windows 7, it is not possible to save different credentials for the same host, but I need some workaround. Can I provide the username and password manually in the code? Store them in a temp .rdp file? Process rdcProcess = new Process(); rdcProcess.StartInfo.FileName = Environment.ExpandEnvironmentVariables(@"%SystemRoot%\system32\cmdkey.exe"); rdcProcess.StartInfo.Arguments = "/generic:TERMSRV/192.168.0.217 /user:" + "username" + " /pass:" + "password"; rdcProcess.Start(); rdcProcess.StartInfo.FileName = Environment.ExpandEnvironmentVariables(@"%SystemRoot%\system32\mstsc.exe

Powershell Log Off Remote Session

别说谁变了你拦得住时间么 提交于 2019-11-27 11:41:26
I am trying to formulate a Powershell command to remotely log off a user. We have a terminal server with a very unstable program that sometimes locks sessions. We have to remotely log off a user but I'm trying to write a Powershell statement that will log off the person who ran the script. I Googled around, and found this command: Invoke-Command -ComputerName MyServer -Command {shutdown -l} However, the command returns "incorrect function." I can run other commands successfully in the brackets, such as Get-Process. The idea is for me to put that into a script that users can run to log

Can we RDP / install third-party software to Azure App Service Web App

孤街浪徒 提交于 2019-11-27 06:38:26
问题 I have read plenty of literature in this context (see links below). The presence of classic vs new Azure management portal, Roles vs App Services, Azure Website vs Azure Web Apps only complicates the matter. Although I believe I have good understanding of these terms and the latters are more or less improved re-incarnations of the formers in the above comparisons, the literature is written mostly using the former of these and not necessarily depicts the options available in the new Management

Create Windows Session programmatically from Console or Windows Service

戏子无情 提交于 2019-11-26 23:35:18
问题 How can I programmatically log in to windows to create a Windows Logon Session? I need a way that works from a WinForms app, from a Console app, and (most important) from a Windows Service. One other requirement is that I need it to work on a the local system that the program/service is running on and also for remote systems. If there's a way to do this using pInvoke/Win32 API I am open to that too. I found these similar questions/answers in my research: Programmatically create and launch and

Alternative to SendKeys when running over Remote Desktop?

让人想犯罪 __ 提交于 2019-11-26 20:09:37
问题 I have an application which injects keystrokes into applications via SendKeys. Unfortunately, the application will not work when I am running it via Remote Desktop because of the well known issue that SendKeys doesn't work with Remote Desktop. Has anyone solved this issue before, or have any good suggestions on how to resolve it? 回答1: SendKeys is not a good fit mainly due to: It can only send keys to active/focused application, which is never guaranteed to work because the the active