Script in /etc/profile.d/ not run ?

Hello, I’ve installed Parrot on a virtual machine (Proxmox KVM).
The problem is that when I try to modify the screen resolution, I dont get mine: 2560 x 1440

I’ve tried to add to the file: /etc/profile.d/
This content:

xrandr --newmode "2560x1440_60.00"  312.25  2560 2752 3024 3488  1440 1443 1448 1493 -hsync +vsync
xrandr --addmode Virtual-1 "2560x1440_60.00"

If I run by hand:

sh /etc/profile.d/

the new resolution appears ok…

But the goal of that file is to do it when Parrot starts…

With Ubuntu 20.04 it doesn’t detect the resolution either, but I have been able to solve it with the file /etc/profile.d/

Do you know why it doesn’t work on Parrot?

Thank you!

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.