Back to Home

Solving the problem of setting the screen resolution in Thinstation

Thinstation

Solving the problem of setting the screen resolution in Thinstation

    In continuation of the previous articles ( We save electricity on thin clients , Connecting two printers to Thinstation and binding them to ports , Monitoring and managing Thinstation 5.x ) I will continue to share the experience of configuring Thinstation.

    With the transition to Thinstation-5, the problem of “incorrect” screen resolution often arises , although the option SCREEN_RESOLUTION = *** x *** is defined.

    For some reason, developers are dragging this glitch from version to version, despite my messages in the bugtracker. You have to fix it every time manually.

    Thinstation screen resolution sets xrandr- X server extension that allows you to configure monitors. There are many manuals on the Internet how to work with this extension, but they do not solve this problem, because when starting the application in Thinstation, the settings, in our case , are not applied.

    To correct this misunderstanding, you have to crawl into the "bowels" of the Thinstation constructor, i.e. we will edit the packages / base / etc / thinstation.packages file . We find the line in it:
    auto)
    

    After it there is a line run_command , before it add the line use_xrandr and then look for the line:
    window|fullscreen)
    

    also below we add the line use_xrandr before run_command .

    For complete happiness, we prescribe in thinstation.conf. *** options (with your screen resolution):
    USE_XRANDR=TRUE
    XRANDR_OPTIONS="-s 1920x1080"
    SCREEN_RESOLUTION="1920x1080"
    

    We compile the image and after loading the thin client we enjoy the work done.

    Read Next