Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Question Unity 22.03 with multiple X11 windows

Discussion in 'Linux' started by tkk_bhi, Nov 20, 2023.

  1. tkk_bhi


    Jan 31, 2020
    We had our app built with 2020.3.23f1, it works in multi-X Window environment well.
    But then we updated to latest LTS 2022.3.9f1.
    It seems that it does not understand X windows at all.
    I made a simple 2D unity app using 2D Core template.
    Normally you define with environment variable DISPLAY the window you want to use.
    DISPLAY=:0.1 ./display_test.x86_64
    If I do this with e.g. xclock, it goes to right X window.
    But when I do this with test app, the UI comes to window where I am giving the command. It seems that Unity bypasses X windows somehow.

    Does anyone have any experience on multiple X windows with Unity?
    How do I force it to specific X window if environment variable is not working?