LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   auto-start and ssh into right X (https://www.linuxquestions.org/questions/linux-newbie-8/auto-start-and-ssh-into-right-x-4175576550/)

JackDinn 04-03-2016 09:01 AM

auto-start and ssh into right X
 
I have had to split my dual monitor mint into separate X servers via the nvidia setting because of tearing problems.

I want to start synergy on the right hand monitor at boot but it always starts on the left hand monitor. I can manually start it on the right if i run a terminal on the right or a shortcut on the right.

I also hope the answer to this will help me understand how to choose which X ssh connections will go to.

pan64 04-03-2016 12:44 PM

if you have two X sessions you will have two different DISPLAY settings. ssh will log onto that host regardless of that display. You need to set DISPLAY variable properly. But probably I misunderstood something, in that case please give us more details

JackDinn 04-03-2016 01:25 PM

thx, it seems that i was under the impression that by setting the nvidia settings to individual X displays for each monitor does not actually create separate X servers , so i am confused but will have to read up on all this.

DISPLAY=:0.1 synergy &

seems to work , i was trying DISPLAY=:1 synergy &

Because thats what i assumed a separate x server would be addressed as ?

I need a visualization of this, This is how i have it in my head atm but i bet im wrong:-

computer can have multiple X-servers which can contain multiple X-displays which can contain multiple displays which in turn can contain multiple desktops ?

pan64 04-04-2016 12:58 AM

yes, you can start several X servers, they will get new displays, like :1.0, :2.0, ...
A single sever may handle several screens, that will be :0.1, :0.2, ...
and a screen may have several desktops, which can only be handled by desktop swithers


All times are GMT -5. The time now is 11:15 PM.