rdp

RDPSession ConnectToClient Terminating Unexpectedly

江枫思渺然 提交于 2019-12-01 12:50:39
I have successfully created a desktop sharing solution where an RDPViewer connects to an RDPSession. That's all working beautifully. Now, however, I'm trying to get the opposite to work: using the RDPViewer's StartReverseConnectListener method, and RDPSession's ConnectToClient method (where the session side would connect to the viewer side to work around NAT/Firewall issues). I've followed the steps outlined at http://msdn.microsoft.com/en-us/library/windows/desktop/aa373359%28v=vs.85%29.aspx , mainly: The viewer obtains its connection string by calling the StartReverseConnectListener method,

Get a screenshot of desktop in full screen 3D-application

那年仲夏 提交于 2019-12-01 01:07:27
Is it possible to render the desktop into a screen shot when using a full screen 3D-application (such as a game)? Or does windows close the rendering engine while the game is running? I am looking for ways to render the desktop into a texture in my game. Can RDP like protocols be a solution? Edit: To clarify, is there any deep level api mechanism to force rendering into another buffer such as when screen shots are made. Doesn't matter if it is only windows 7 or Windows 8/9. You can get a screenshot by calling the PrintWindow Win32 API function on the hWnd of the desktop window. I tried this on

Possible to connect to Remote Desktop with PHP?

岁酱吖の 提交于 2019-11-30 13:42:35
I've got a few servers that I'd like to connect to every so often to run a program. However, to make it easier, I'd like to make a PHP script connect to each of them via remote desktop and run each of them. Is this possible? If so, where should I start? An example would be lovely. In theory you could implement a PHP script that could communicate with a server in the RDP protocol, but I certainly wouldn't want to try to build a script that can do anything meaningful, as RDP is built to expose a remote machine's user interface to the connected client and PHP is built first and foremost to

How do I tell if my application is running in an RDP session

你。 提交于 2019-11-30 06:45:49
I have a .net winforms app which has a few animation effects, fade ins and scroll animations etc. These work fine however if I'm in a Remote Desktop Protocol session the animations start to grate. Can someone suggest a way of determining whether or not an app is running across an RDP session so I can turn the effects off in this case? Assuming you're at least on .NET Framework 2.0, there's no need to use P/Invoke: just check the value of System.Windows.Forms.SystemInformation.TerminalServerSession ( MSDN ). Ian Boyd See a similar question i asked: How to check if we’re running on battery?

Does an RDP client library under Linux exist?

大兔子大兔子 提交于 2019-11-30 05:05:40
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? There is a set of cross-platform open source RDP libraries available in FreeRDP project. They are written in C and under Apache Licence 2.0. See http://www.freerdp.com Typing rdp into my Mandriva Software Managment tool

Possible to connect to Remote Desktop with PHP?

 ̄綄美尐妖づ 提交于 2019-11-29 19:07:06
问题 I've got a few servers that I'd like to connect to every so often to run a program. However, to make it easier, I'd like to make a PHP script connect to each of them via remote desktop and run each of them. Is this possible? If so, where should I start? An example would be lovely. 回答1: In theory you could implement a PHP script that could communicate with a server in the RDP protocol, but I certainly wouldn't want to try to build a script that can do anything meaningful, as RDP is built to

Powershell to find out disconnected RDP session and log off at the same time

谁说胖子不能爱 提交于 2019-11-29 16:42:35
Is there a script that can log out my disconnected RDP session from any server? This is causing a lot of pain and constant ad account lockouts. Any help would be awesome. I have got the answer and I am writing this answer to help someone in need as I had to figure this out myself. I created a script using online resources to find out disconnected RDP sessions on all Windows Server in my AD environment. I run a query on each Windows Server and create a CSV formatted list, I then use that list to log out my ID from those servers, so I don't have any disconnected sessions. I did this to make sure

Color bar missing in ggplot legend, Windows Remote Desktop

两盒软妹~` 提交于 2019-11-29 15:30:45
I'm running R version 3.0.1 and ggplot2 version 0.9.3.1 on a Windows machine and getting aberrant behavior from color bar legends -- the legend labels appear but the color bar mysteriously does not. For example, if I run the following code: d <- data.frame(x=rnorm(100), y=rnorm(100), z=rnorm(100)) ggplot(d, aes(x, y, color=z)) + geom_point() I get this plot: whereas on my other machine (a Mac running R version 2.15.2 and ggplot 0.9.3.1) the same code gives me this: The behavior seems to apply only to color bars for continuous numerical variables -- legends for discrete factors appear as

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

懵懂的女人 提交于 2019-11-29 08:56:28
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 portal. So what I am really looking forward to understand very clearly is: Can I RDP to Azure App

How do I tell if my application is running in an RDP session

会有一股神秘感。 提交于 2019-11-29 06:13:53
问题 I have a .net winforms app which has a few animation effects, fade ins and scroll animations etc. These work fine however if I'm in a Remote Desktop Protocol session the animations start to grate. Can someone suggest a way of determining whether or not an app is running across an RDP session so I can turn the effects off in this case? 回答1: Assuming you're at least on .NET Framework 2.0, there's no need to use P/Invoke: just check the value of System.Windows.Forms.SystemInformation