[opensuse-support] 'Moving' a running X session to another monitor
Hi list, I wonder if here's some eXperts that know the solution to this: I have a small computer (for astronomy, mount and camera control) that is running openSUSE Tumbleweed. It usually has no monitor or keyboard connected. But it does run graphical.target with an icewm session (autologin). I'm using that via x11vnc_ssh to run the guiding software (phd2). Every now and then I'd like to do something at the mount and would like to see the session on a display that I connect to the (already running) computer. However, the X session won't display there :( I had tried also connecting a keyboard. I can use that to switch to a virtual console, and that is displayed on the newly connected monitor. As soon as I ALT-F7 back to X it goes black again :( Is there a way to get the session to display on a newly connected monitor? I've looked at various xrandr options, but they look quite confusing to a mere mortal :o Thanks for any hints/pointers! -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
On 9/2/19 9:52 PM, Peter Suetterlin wrote:
Hi list,
I wonder if here's some eXperts that know the solution to this:
I have a small computer (for astronomy, mount and camera control) that is running openSUSE Tumbleweed. It usually has no monitor or keyboard connected. But it does run graphical.target with an icewm session (autologin). I'm using that via x11vnc_ssh to run the guiding software (phd2).
Every now and then I'd like to do something at the mount and would like to see the session on a display that I connect to the (already running) computer.
However, the X session won't display there :( I had tried also connecting a keyboard. I can use that to switch to a virtual console, and that is displayed on the newly connected monitor. As soon as I ALT-F7 back to X it goes black again :(
Is there a way to get the session to display on a newly connected monitor? I've looked at various xrandr options, but they look quite confusing to a mere mortal :o
Thanks for any hints/pointers!
As a hacky solution you could launch another x session for the local monitor keyboard and mouse then run a VNC client on it that connects to the existing session, then you'd have the same display with the app already running. It is also a long time since I have played with multiple x sessions, back long ago I used to launch 2 gnome 2 x sessions one for each screen, back then I used to use nvidia-settings to mostly generate a xorg.conf file for my system. I guess you might have to do something in this area. If you go for this approach with 2 xsessions and the second just running a VNC client I should point out that many desktops don't work well if the same user is running multiple instances of them at once due to collisions writing to config files etc, so if you were to take this approach it might be worth seeing if you can launch a different desktop maybe twm on the second x server. -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
Simon Lees wrote: Thanks for the suggestions!
As a hacky solution you could launch another x session for the local monitor keyboard and mouse then run a VNC client on it that connects to the existing session, then you'd have the same display with the app already running.
That's sort of what I did so far, go out with the laptop. But usually the laptop is my control machine in the office, and going out with that disconnects all sort of stuff I'm running. Therefore I hope the 'just-a-monitor' solution would help.
It is also a long time since I have played with multiple x sessions, back long ago I used to launch 2 gnome 2 x sessions one for each screen, back then I used to use nvidia-settings to mostly generate a xorg.conf file for my system. I guess you might have to do something in this area.
Tell me. I'd been translating the XFree Howto to german. Loooong ago. But unused skills vanish :o But, as always: As soon as you start asking for help the solution falls on your head from nowhere. I had been looking at fance xrandr options like output and providers and what else. But the simplest solution is easy to overlook. xrandr --auto was all that was needed and the monitor came to life :) -- To unsubscribe, e-mail: opensuse-support+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-support+owner@opensuse.org
participants (2)
-
Peter Suetterlin
-
Simon Lees