CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Remote Desktop - Black screen

Register Blogs Community New Posts Updated Threads Search

Like Tree14Likes
  • 13 Post By Gert-Jan
  • 1 Post By aero_head

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 21, 2020, 05:49
Default Remote Desktop - Black screen
  #1
Senior Member
 
Jiri
Join Date: Mar 2014
Posts: 218
Rep Power: 13
Jiricbeng is on a distinguished road
Hi, when connecting via remote desktop, CFX screen (Pre and Post), where the model is, is black. I tried different settings of RDP connection but did not help. Fluent works fine as well as other Workbench utilities. I also tried CFX -> properties -> compatibility -> change high DPI settings -> override high DPI scaling behaviour to System (enhanced) as this was needed to set for Workbench and Fluent due to graphical issues. But this was not the problem in CFX.


Graphic card is dedicated NVIDIA GeForce GT 640.



Any ideas are welcome.
Jiricbeng is offline   Reply With Quote

Old   February 25, 2020, 04:27
Default
  #2
Senior Member
 
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11
urosgrivc is on a distinguished road
I have the same problem.

Even more interesting thing is that If one would get on the computer via VNC or any other connection than remote desktop this problem diapers and you can open CFX pre and post without black screen.
Then if you cancel the VNC connection and acces it via remote desktop it works normally, till you close it and try to open again, then it is black again.

So I think it is not even Remote desktop problem it must be just something when turning on CFX pre and post only via remote desktop.

This problems were not present in the ansys18 version, but are present in 2019.

Any ideas?
urosgrivc is offline   Reply With Quote

Old   February 26, 2020, 03:41
Default
  #3
Senior Member
 
Jiri
Join Date: Mar 2014
Posts: 218
Rep Power: 13
Jiricbeng is on a distinguished road
Yes, exactly. I have the same experience. I searched the issue on the internet and it seems it is problem of "OPENGL". An interesting point is that if you set the system variable to QT_OPENGL = desktop, the CFX Pre can be opened via RD without black screen, but CFD Post does not even start. I have not found a solution yet, only opening the CFX by VNC or Teamviewer and then using RDP.


An even more interesting fact is, that if you switch CFX and have the black screen and then you physically go to login on the PC, the black screen is still presented also on the PC. Obviously, the black screen issue propagates back to the PC screen.
Jiricbeng is offline   Reply With Quote

Old   February 26, 2020, 05:00
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,723
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
There used to be an option in CFX-Pre and Post to start it is MESA graphics mode which means it did not use OpenGL. Have a look in the documentation and see if this option still exists.

The problem is usually OpenGL does not render to the remote desktop application. Laso have a look at the remote desktop options, and see what controls you have in rendering OpenGL.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   March 29, 2020, 11:38
Default
  #5
New Member
 
Join Date: Mar 2009
Posts: 29
Rep Power: 17
Freeman is on a distinguished road
I am experiencing the same problem.

I set the QT_OPENGL=desktop variable in the PC where I run Remote Desktop and the black screen is still there (CFX Post).

By the way, in which PC the environment variable has to be set?
Freeman is offline   Reply With Quote

Old   March 29, 2020, 11:50
Default
  #6
Senior Member
 
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12
AtoHM is on a distinguished road
We experienced the same behavior with my home oc running win10 and the work station on win7. We upgraded the ws to win10 and now I can use CFX in whole via remote. I don't know what causes the issue in the first place, but both computers running the same OS helped for me. We have the latest CFX release.
AtoHM is online now   Reply With Quote

Old   March 29, 2020, 16:49
Default
  #7
New Member
 
Join Date: Mar 2009
Posts: 29
Rep Power: 17
Freeman is on a distinguished road
Quote:
Originally Posted by AtoHM View Post
We experienced the same behavior with my home oc running win10 and the work station on win7. We upgraded the ws to win10 and now I can use CFX in whole via remote. I don't know what causes the issue in the first place, but both computers running the same OS helped for me. We have the latest CFX release.
I am using Win10 in both machines, ANSYS 2019 R2.
Freeman is offline   Reply With Quote

Old   March 30, 2020, 01:05
Default
  #8
Senior Member
 
M
Join Date: Dec 2017
Posts: 642
Rep Power: 12
AtoHM is on a distinguished road
We switched to cfx 2020R1 recently. Had the same issue as you with cfx19, but at that time there was also the version mismatch of the computers, so I can't tell if that would have fixed it for cfx19.
AtoHM is online now   Reply With Quote

Old   March 30, 2020, 01:40
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,723
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I suspect you will find it has nothing to do with the version of ANSYS/CFX. It is all about the rendering of OpenGL applications and how it is handled in remote desktop. Do a google search on OpenGL and remote desktop and you will find lots of stuff on it.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
ghorrocks is offline   Reply With Quote

Old   June 11, 2020, 02:16
Default
  #10
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,835
Rep Power: 27
Gert-Jan will become famous soon enough
On the RDP machine, set an environment variable:

Variable Name: QT_OPENGL
Value: desktop

You can do it as a User Environment variable. Then it only works for you.

If you are allowed to do it, set it as a system environment variable and it will work for anyone.
norman, Dinar, manahara and 10 others like this.
Gert-Jan is offline   Reply With Quote

Old   June 11, 2020, 03:04
Default
  #11
Senior Member
 
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 11
urosgrivc is on a distinguished road
Uuu nice It works thank you so much
urosgrivc is offline   Reply With Quote

Old   September 15, 2020, 04:01
Thumbs up
  #12
New Member
 
Freddy Fang
Join Date: Feb 2017
Posts: 1
Rep Power: 0
freddy_fang is on a distinguished road
Quote:
Originally Posted by Gert-Jan View Post
On the RDP machine, set an environment variable:

Variable Name: QT_OPENGL
Value: desktop

You can do it as a User Environment variable. Then it only works for you.

If you are allowed to do it, set it as a system environment variable and it will work for anyone.
It worked! Thx so much!
freddy_fang is offline   Reply With Quote

Old   October 28, 2020, 06:19
Default Nvidia still not working after environmental variable setting
  #13
New Member
 
Chris
Join Date: Jan 2019
Posts: 5
Rep Power: 7
Darko is on a distinguished road
Dear All,
Just to add to the comments above.
If you have set the variables as mentioned before and still get the black docked view within CFD-post you can use this article and download a developer's file that runs the opengl upon starting a remote desktop.
go to:
https://developer.nvidia.com/designworks
and look for:
Accelerate Windows Remote Desktop
there is a file for windows but be aware you will be asked to sign up!

Regards,

Chris
Darko is offline   Reply With Quote

Old   November 12, 2020, 18:59
Default
  #14
Senior Member
 
Kira
Join Date: Nov 2020
Location: Canada
Posts: 435
Rep Power: 8
aero_head is on a distinguished road
Hello Everyone,

I had the same issue, but there is a Nvidia RDP exe to install from their website to use CFX over RDP on Win10 with GeForce GTX graphics cards.

Go to https://developer.nvidia.com/nvidia-opengl-rdp (you need to register). Then the exe to install is: nvidiaopenglrdp.exe

Hope this helps.
AtoHM likes this.
aero_head is offline   Reply With Quote

Old   August 30, 2022, 16:28
Default
  #15
New Member
 
Ujjawal
Join Date: Sep 2019
Posts: 1
Rep Power: 0
UjjawalArya is on a distinguished road
Thanks for this suggestion! It worked as expected!
For people who are trying to figure out how to add these environment variables:
ThisPC->Right_click->Properties->Remote_Settings->Advanced->Environment_Variables->New
UjjawalArya is offline   Reply With Quote

Old   November 15, 2022, 14:48
Question black screen in cfd
  #16
Member
 
naji
Join Date: Nov 2022
Posts: 37
Rep Power: 3
aiden_1995 is on a distinguished road
hi guys
i have the same problem but it doesn't solve with this method can anybody help me with that?
aiden_1995 is offline   Reply With Quote

Old   November 16, 2022, 03:31
Default
  #17
Senior Member
 
Gert-Jan
Join Date: Oct 2012
Location: Europe
Posts: 1,835
Rep Power: 27
Gert-Jan will become famous soon enough
I came across this following link which might be applicable for your situation

Resolved: Problem using Remote Desktop MobaXterm (black screen)
Gert-Jan is offline   Reply With Quote

Old   November 16, 2022, 10:47
Default
  #18
Member
 
naji
Join Date: Nov 2022
Posts: 37
Rep Power: 3
aiden_1995 is on a distinguished road
thanks ever so much
aiden_1995 is offline   Reply With Quote

Old   July 3, 2023, 22:43
Default
  #19
Member
 
Sheng
Join Date: Jun 2011
Posts: 62
Rep Power: 14
micro11sl is on a distinguished road
Thank you so much! Changed env variables. It works!
micro11sl is offline   Reply With Quote

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] Black Screen with Paraview 5.6.0 on Ubuntu 18.04 after OpenFOAM update ksmithgall ParaView 12 August 29, 2019 11:52
Black screen appears when trying to Open Fluent M.Shousha FLUENT 1 November 10, 2018 09:57
Any users of remote desktop applications with Ansys? mullenc525 ANSYS 0 January 7, 2011 20:02
Remote Desktop problem eshimshi FLUENT 2 November 24, 2010 16:22
job on remote desktop jack FLUENT 2 January 9, 2009 03:11


All times are GMT -4. The time now is 10:07.