Host Screen Resolution
-
@Sebastian-Roth Hi,
I installed new binaries on a test computer, which has a default screen resolution of 1440x900. I activate display manager service for this hosts and set screen resolution to 1336x768 on Fog web UI, unfortunatly resolution didn’t change and fog.log return this :
------------------------------------------------------------------------------ --------------------------------DisplayManager-------------------------------- ------------------------------------------------------------------------------ 16/01/2020 08:17 Client-Info Client Version: 0.11.17 16/01/2020 08:17 Client-Info Client OS: Windows 16/01/2020 08:17 Client-Info Server Version: 1.5.7.93 16/01/2020 08:17 Middleware::Response Success 16/01/2020 08:17 DisplayManager Resolution is already configured correctly ------------------------------------------------------------------------------
-
@Matthieu-Jacquart Can you please post the full log here? Is this the same message for
DisplayManager
all over the log? -
@Sebastian-Roth fog.log
Yes same message all over the log -
@JoshA @Matthieu-Jacquart Ok, looking through the code I think I found an issue and fixed it. Please download the Modules_fix01.dll, stop FOGService on the client, move the new DLL to
C:\Program Files (x86)\FOG\Modules.dll
(rename the original one before). Now start off the FOGService again and take a look at the log. Post output here. -
@Sebastian-Roth Resolution didn’t change but fog.log return this :
------------------------------------------------------------------------------ --------------------------------DisplayManager-------------------------------- ------------------------------------------------------------------------------ 18/01/2020 12:40 Client-Info Client Version: 0.11.17 18/01/2020 12:40 Client-Info Client OS: Windows 18/01/2020 12:40 Client-Info Server Version: 1.5.7.93 18/01/2020 12:40 Middleware::Response Success 18/01/2020 12:40 DisplayManager Current Resolution: 0 x 0 0hz 18/01/2020 12:40 DisplayManager Attempting to change resoltution to 1366 x 768 60hz 18/01/2020 12:40 DisplayManager Display name: Generic PnP Monitor 18/01/2020 12:40 DisplayManager:Display Testing resolution to ensure it is compatible 18/01/2020 12:40 DisplayManager:Display Changing resolution 18/01/2020 12:40 DisplayManager:Display Success ------------------------------------------------------------------------------
-
@Matthieu-Jacquart said in Host Screen Resolution:
Current Resolution: 0 x 0 0hz
This seems to be a bit stange.
Display name: Generic PnP Monitor
As well I am wondering if this really is the correct display on your PC.
So I went ahead and added more code to figure this out. Download new module and try again. Log output will be long, post it here.
-
@Sebastian-Roth Now there are just thousands of lines with same output :
18/01/2020 18:37 DisplayManager:Display * S (0 x 0, 0hz
-
@Matthieu-Jacquart said in Host Screen Resolution:
Now there are just thousands of lines with same output
Really thousands? So it seems like the enumeration loop doesn’t exit properly. Sorry for that. Next try…
EDIT: Give it a try but it’s probably not much better. I need to do more testing on this myself to figure it out. Won’t have enough time right now. Maybe next week.
-
@Sebastian-Roth ok much better for number of lines !
------------------------------------------------------------------------------ --------------------------------DisplayManager-------------------------------- ------------------------------------------------------------------------------ 20/01/2020 08:08 Client-Info Client Version: 0.11.17 20/01/2020 08:08 Client-Info Client OS: Windows 20/01/2020 08:08 Client-Info Server Version: 1.5.7.93 20/01/2020 08:08 Middleware::Response Success 20/01/2020 08:08 DisplayManager Loading display settings from registry: 20/01/2020 08:08 DisplayManager * Generic PnP Monitor 20/01/2020 08:08 DisplayManager:Display Enumerating displays through API call: 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager:Display * S (0 x 0, 0hz) 20/01/2020 08:08 DisplayManager Found 72 displays, will try to change settings for S. 20/01/2020 08:08 DisplayManager Current Resolution: 0 x 0 0hz 20/01/2020 08:08 DisplayManager Attempting to change resoltution to 1366 x 768 60hz 20/01/2020 08:08 DisplayManager Display name: S 20/01/2020 08:08 DisplayManager:Display Testing resolution to ensure it is compatible 20/01/2020 08:08 DisplayManager:Display Changing resolution 20/01/2020 08:08 DisplayManager:Display Success ------------------------------------------------------------------------------
I’ll make a try on another PC because this one is pluged on a KVM hub, so maybe screen is not well recognized…
-
@Matthieu-Jacquart said in Host Screen Resolution:
I’ll make a try on another PC because this one is pluged on a KVM hub, so maybe screen is not well recognized…
Give it a try but I am farily sure the code is still not right. The module was never ready for production and so it needs more work I think.
-
@Sebastian-Roth Hi, just tested on another computer, same result with last fixed modules.dll
------------------------------------------------------------------------------ --------------------------------DisplayManager-------------------------------- ------------------------------------------------------------------------------ 27/01/2020 08:37 Client-Info Client Version: 0.11.17 27/01/2020 08:37 Client-Info Client OS: Windows 27/01/2020 08:37 Client-Info Server Version: 1.5.7.100 27/01/2020 08:37 Middleware::Response Success 27/01/2020 08:37 DisplayManager Loading display settings from registry: 27/01/2020 08:37 DisplayManager * Generic PnP Monitor 27/01/2020 08:37 DisplayManager:Display Enumerating displays through API call: 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager:Display * S (0 x 0, 0hz) 27/01/2020 08:37 DisplayManager Found 54 displays, will try to change settings for S. 27/01/2020 08:37 DisplayManager Current Resolution: 0 x 0 0hz 27/01/2020 08:37 DisplayManager Attempting to change resoltution to 1366 x 768 60hz 27/01/2020 08:37 DisplayManager Display name: S 27/01/2020 08:37 DisplayManager:Display Testing resolution to ensure it is compatible 27/01/2020 08:37 DisplayManager:Display Changing resolution 27/01/2020 08:37 DisplayManager:Display Success ------------------------------------------------------------------------------
and displaymanager is not anymore in 0.11.18 client
-
@Matthieu-Jacquart I feel really dumb as I’ve just figured out that DisplayManager is not run within the FOGService but the FOGUserService process (run in user context). There is so much I still need to learn about this piece of software…
So what that means is that DisplayManager actually has been enabled in the fog-client for a long time. Just need to check the right log file,
%USERPROFILE%/.fog_user.log
in this case. Still this is not working currently but I will take a look in the next days. -
@Sebastian-Roth OK ! I found this log :
------------------------------------------------------------------------------ --------------------------------DisplayManager-------------------------------- ------------------------------------------------------------------------------ 28/01/2020 10:46:41 Client-Info Client Version: 0.11.18 28/01/2020 10:46:41 Client-Info Client OS: Windows 28/01/2020 10:46:41 Client-Info Server Version: 1.5.7.100 28/01/2020 10:46:41 Middleware::Response Success 28/01/2020 10:46:41 DisplayManager Loading display settings from registry: 28/01/2020 10:46:41 DisplayManager * Moniteur Plug-and-Play générique 28/01/2020 10:46:41 DisplayManager:Display Enumerating displays through API call: 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:41 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager:Display * c (0 x 0, 0hz) 28/01/2020 10:46:42 DisplayManager Found 2438 displays, will try to change settings for c. 28/01/2020 10:46:42 DisplayManager Current Resolution: 0 x 0 0hz 28/01/2020 10:46:42 DisplayManager Attempting to change resoltution to 1366 x 768 60hz 28/01/2020 10:46:42 DisplayManager Display name: c 28/01/2020 10:46:42 DisplayManager:Display Testing resolution to ensure it is compatible 28/01/2020 10:46:42 DisplayManager:Display Changing resolution 28/01/2020 10:46:42 DisplayManager:Display Success ------------------------------------------------------------------------------
-
@Sebastian-Roth Hi,
I’m still searching for a solution to force screen resolution on teachers computers, is there any way to do this with Fog now ?
Thanks,
Matthieu -
Hey @Matthieu-Jacquart! Hope you are doing fine. I’ve had this on my list of things to look at for a long time now but never got to it. Don’t think I will get to it before Winter as there is just to much going on right now.
-
@Sebastian-Roth Hi Seb, no problem I get it very well, you all made great job ! Keep me in touch if you need any test