LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 09-15-2011, 06:56 AM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,455

Rep: Reputation: 84
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.
 
Old 09-15-2011, 07:10 AM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 328Reputation: 328Reputation: 328Reputation: 328
Have you seen this tutorial?
 
Old 09-15-2011, 07:24 AM   #3
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904
Quote:
Originally Posted by kaz2100 View Post
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?
 
0 members found this post helpful.
Old 09-15-2011, 08:13 PM   #4
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,455

Original Poster
Rep: Reputation: 84
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.
 
Old 09-15-2011, 08:49 PM   #5
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,111

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally Posted by kaz2100 View Post
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
 
Old 09-18-2011, 08:37 PM   #6
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,455

Original Poster
Rep: Reputation: 84
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
 
Old 09-20-2011, 08:45 PM   #7
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,455

Original Poster
Rep: Reputation: 84
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
 
Old 02-24-2012, 09:09 AM   #8
pierro78
LQ Newbie
 
Registered: Jul 2008
Posts: 7

Rep: Reputation: 0
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

Last edited by pierro78; 02-24-2012 at 10:56 AM.
 
Old 02-28-2012, 02:26 AM   #9
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,455

Original Poster
Rep: Reputation: 84
pierro78

Did you install xinerama?

cheers
 
Old 02-28-2012, 04:29 AM   #10
pierro78
LQ Newbie
 
Registered: Jul 2008
Posts: 7

Rep: Reputation: 0
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 !

Last edited by pierro78; 02-28-2012 at 05:51 AM.
 
Old 02-29-2012, 02:10 AM   #11
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,455

Original Poster
Rep: Reputation: 84
Hya

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

cheers
 
Old 02-29-2012, 08:55 PM   #12
londo58
LQ Newbie
 
Registered: Mar 2009
Posts: 2

Rep: Reputation: 0
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
 
Old 03-13-2013, 05:59 AM   #13
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy jessie
Posts: 1,455

Original Poster
Rep: Reputation: 84
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
 
  


Reply

Tags
dual_head, tcp, xdmx, xhost, xinerama


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ubuntu/GNOME dual monitor setup: Preferring the primary monitor Doc CPU Linux - Desktop 2 09-05-2011 05:58 AM
Mouse click on monitor 1 kills full-screen in flash on monitor 2. Can this be fixed? damgar Linux - Software 12 02-24-2010 12:39 AM
Dual Monitor: 2nd monitor not coming up -- xorg.conf missing something? Hewson Linux - Hardware 3 10-20-2009 12:24 PM
Dual Screen, Output VGA Monitor and Laptop Screen Problems yukapuka Linux - Laptop and Netbook 2 07-24-2009 03:25 AM
dual screen / monitor setup zegenie Linux - Hardware 1 10-02-2002 08:16 AM


All times are GMT -5. The time now is 06:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration