30-05-23 03:54 PM
The screen resolution sometimes too small that the automated process will have error:
There is no option for me to change the resolution there, not sure if it is because it is a RDP session or other reasons, pending for DX support reply:
@ewilson , FYI
05-06-23 03:11 PM
That's interesting. So from the perspective of the operating system and the display driver, the resolution you're providing cannot be supported. This could be for a couple different reasons.
Cheers,
Eric
05-06-23 03:22 PM
I just noticed from you screenshot that it looks like you have the Vertical and Horizontal values swapped. This is what you have:
It should actually be this:
Try swapping them around and test again.
Cheers,
Eric
06-06-23 07:53 AM
@Eric Wilson , thanks a lot and it is working now!
I will proceed to test in PRD environment and hopefully it will work too.
(It is because we are using physical PC in UAT environment but vPC in PRD).
06-06-23 01:22 PM
I'm glad to hear it's working for you now. It would be great if you could revisit your asset review on the DX. 😁
Cheers,
Eric
06-06-23 03:45 PM
Hi, Eric,
I tried everything what you recommended, however, no luck. Even with your updated version of VBO I am still getting DISP to be -2.
Any other hint?
Regards
Zdenek
06-06-23 11:34 PM
Hello @Zdeněk Kabátek
Let's start at the beginning. You're testing on a Windows 10 Enterprise machine. Is this your local machine or a machine you're RDP'd into? I assume when you look at the Display Settings on the machine, 1920x1080 is shown as a supported resolution and you have the ability to set it manually? Have you recently rebooted the machine/image and tried setting the resolution after that?
Cheers,
Eric
08-06-23 07:39 AM
Hi, Eric,
let me answer your questions:
I have been struggling with this for more thann 6 months (well, it is not so serious just screen shots having smaller resolution) but I have tried everything what was discussed in community and still no luck. So I hoped that this could resolve it but again this solution does not work for me.
I did one test just now - when I put screen resolution to 1280x800 (HxV) it runs fine and returns true. That is the default resolution. So the action works it is just the machine for some reason does not allow to change the resolution. Any clue why?
Regards
Zdenek
08-06-23 01:59 PM
To be clear, you're running the process while you're RDP'd into the machine? If so, I believe the issue is RDP. If you run the process on that machine from Control Room and then look at the session log afterwards, do you see that the resolution was changed? If it worked as expected, then it's definitely RDP. In that case I'd say you might want to investigate a different remote access application (ex. VNC).
Cheers,
Eric
08-06-23 02:37 PM
Hi, Eric,
nope, I understand that when I RDP to the machine it will take resolution from my computer.
I am talking about running Login Agent then running a process and trying to change screen resolution. For some reason I can't change it and I am getting -2 in DSP variable.
When I want to set up resolution different from the existing one I always get the error. When I run the action with the resolution which is there natively (1280x800) the action returns all parameters are ok.
Regards
Zdenek
08-06-23 03:17 PM