LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Dual monitor: How to steal some other monitor as second screen? (https://www.linuxquestions.org/questions/linux-software-2/dual-monitor-how-to-steal-some-other-monitor-as-second-screen-903142/)

kaz2100 09-15-2011 05:56 AM

Dual monitor: How to steal some other monitor as second screen?
 
Hya,

Goal
I would like to use a monitor connected to different CPU as a second screen. I need more desktop space for my job.

Set up
There are several AMD64 (Debian wheeze) penguins. None of them have two VGA connectors. These are connected by TCP. All have graphic chips which work with i915.

So far
Plan A: Original plan was to use xinerama, however, this supports multiheads connected to one body only.
Plan B: Then, moved to use Xdmx, which supports multiheads over multiple bodies. Initial attempt ran into unable to open slave monitor. According to this thread, after conventional -nolisten xhost tricks, it looks like that server can access to slaves (screen blanks when Xdmx kicks in.) However, connection cannot be established, so after a while Xdmx dies saying Connection refused.

Question
Does anybody know how to solve this situation? or where to find detailed documents?

Thanks in advance.

macemoneta 09-15-2011 06:10 AM

Have you seen this tutorial?

cascade9 09-15-2011 06:24 AM

Quote:

Originally Posted by kaz2100 (Post 4472324)
Hya,

Goal
I would like to use a monitor connected to different CPU as a second screen. I need more desktop space for my job.

Set up
There are several AMD64 (Debian wheeze) penguins. None of them have two VGA connectors. These are connected by TCP. All have graphic chips which work with i915.

You dont mean 'CPU' you mean 'box', or 'system', or similar.

Impossible, no AMD system uses i915.

Have you considered buying a video card that does dual monitors?

kaz2100 09-15-2011 07:13 PM

Hya,

Thanks,

macemoneta: Yes, But unfortunately, I am not that stage yet, I guess.

cascade9: Yes, there is confusion (system, CPU) I do not know which one is correct these days. I apologize that I didn't mention in post #1, but new video card is not a good option now.

By the way, I found that "Xdmx :1 -display penguinA:0 -options" on penguinAworks. Next step is to invoke wm, which I need to figure out how to. With totally blank screen it is not easy.

frieza 09-15-2011 07:49 PM

Quote:

Originally Posted by kaz2100 (Post 4472953)
Hya,

Thanks,

macemoneta: Yes, But unfortunately, I am not that stage yet, I guess.

cascade9: Yes, there is confusion (system, CPU) I do not know which one is correct these days. I apologize that I didn't mention in post #1, but new video card is not a good option now.

By the way, I found that "Xdmx :1 -display penguinA:0 -options" on penguinAworks. Next step is to invoke wm, which I need to figure out how to. With totally blank screen it is not easy.

actually if you just run 'xterm -display :1', it should spawn an Xterm session on the blank screen, from which you can then run your wm environment

kaz2100 09-18-2011 07:37 PM

Hya

frieza: You are a star! Yes, your xterm trick works perfect, except I need another penguin with a monitor. I need to figure out how to live without additional penguin. It is something like to find a star on blank screen.

cheers

kaz2100 09-20-2011 07:45 PM

Hya,

Self reply:
No progress
I have not figured out how to live without additional penguin.
Code:

Xdmx :1 +xinerama -display penguin:0 -display localhost:0; setenv display localhost:1; startxfce4
does NOT work.

Some random facts
For some reason, terminal on localhost:0 shows up once in a while, and it is tricky. Probably it segfaults with iceweasel. (Rendering engine issue??)

cheers

pierro78 02-24-2012 08:09 AM

Has anyone got dmx (Xdmx) working on debian squeeze ?

I tried but I can't move any window ... here is what Xdmx says when I am moving a window :

(**) dmx: dmxErrorHandler: BadDrawable (invalid Pixmap or Window parameter)
(**) dmx: Major opcode: 62 (X_CopyArea)
(**) dmx: ResourceID: 0xa0019b
(**) dmx: Failed serial number: 8580
(**) dmx: Current serial number: 8587
(**) dmx: dmxErrorHandler: BadWindow (invalid Window parameter)
(**) dmx: Major opcode: 10 (X_UnmapWindow)
(**) dmx: ResourceID: 0xa0019b
(**) dmx: Failed serial number: 8759
(**) dmx: Current serial number: 8761

(I can move the mouse cursor between my 2 screens though , when using icewm as my window manager ...)

Thanks for any hint/help !
Pierre

kaz2100 02-28-2012 01:26 AM

pierro78

Did you install xinerama?

cheers

pierro78 02-28-2012 03:29 AM

Hi Kaz2100,

I am not sure which xinerama package I should install. Maybe you've got some idea on that ?

Here is what I have :

PC1 :
root@w0104108:/home/phamphu# dpkg -l |grep -i xinerama
ii libxinerama1 2:1.1-3 X11 Xinerama extension library
root@w0104108:/home/phamphu#

PC2 :
etchppp:/work/svn3/checkers/package_checkers_nrpe/trunk/plugins_scripts/LUNIX/LINUX# dpkg -l |grep -i xine
ii libxinerama1 2:1.0.3-2 X11 Xinerama extension library
etchppp:/work/svn3/checkers/package_checkers_nrpe/trunk/plugins_scripts/LUNIX/LINUX#


Cheers !

kaz2100 02-29-2012 01:10 AM

Hya

I guess you have xinerama. Did you follow the tutorial mentioned in post #2?

cheers

londo58 02-29-2012 07:55 PM

Not sure how well it works, but I am
 
using synergy - synergy-foss.org -- i have not tried it with my linux box yet, but that is next on my list of things to do

kaz2100 03-13-2013 04:59 AM

self reply.

After a long interval, goal is almost there.

Thanks to this thread, iceweasel works without causing crash. The trick is
Code:

  -norender -noglxproxy
Thanks to this thread, icewm can be kicked in. The command is
Code:

startx `which icewm` -- /usr/bin/Xdmx :1 -display thisPenguin:0 ...
Last problem is that
mouse pointer does not migrate into slave display. (windows do.)

cheers


All times are GMT -5. The time now is 04:50 AM.