Before anything, I am new to linux (please bear with me :)) I am using debian 12 and I followed the documentation on how to install the NVIDIA driver (I installed the unstable sid drivers).
The issue I am having is that I am trying to have 2 separates X windows server setup to work. The reason for this is that when I play a game on my linux and tab out, my game screen would just randomly fly to my 2nd screen on the left. So I thought that maybe separating them is the solution, since I couldn’t find anything online. However, after looking around, I found myself with only 1 screen (my main one working) and my 2nd one is on, but is just a dark screen and when I hover on it, my cursor just becomes an X and I can’t move anything on that 2nd screen.
Please let me know if this first of all would not be the solution to my original problem. But either way, I would like to see if I can manage to get 2 X windows screen to work.
Thank you and please let me know whatever info is needed !
The second Xscreen is working, there’s just not running anything on it. Modern window managers don’t support more than one Xscreen anymore. To run something on it, you’ll have to use the DISPLAY variable, e.g. running
DISPLAY=1.1 xterm
should open an xterm on the second screen.
Thank you for the quick reply, I understood the first part on why the 2nd screen doesn’t show anything, but I am not quite sure to understand that example that you explained. In the sense that I am not sure on where to run it or write on which file. Would it be possible to specify more on this ? I don’t mind showing my xorg.conf if it has to do with anything with that.
So I tried the command you mentioned and it gave me the error :command not found and went and installed it with the following command:
apt-get install xterm (for debian as root)
after installing it, I ran it again and it gave me the error:
xterm: Xt error: Can’t open display: 1.1
I haven’t found anything on the internet to solve this error message.