I've got a desktop machine and a laptop, both running Ubuntu 10.04.
I want to be able to use the laptop screen as a secondary monitor for the desktop, like MaxiVista allows you to do with Windows (their home page has a nice animation showing what I'd like to accomplish).

Searching the web turned up that this is possible on Linux using software called xdmx.
I installed the xdmx and xdmx-tools packages from the repositories, but have been unsuccessful in getting it to work.

I've read somewhere that I should have both X servers listening on TCP, but I don't know how I'd do that. I've looked through the man pages for xdmx but that didn't really get me very far.

Does anyone have experience with getting xdmx up and running?

  • do you mean xbmc (X-Box Media Center) or is there a program xdmc? Aug 27 '10 at 23:34
  • I mean the Distributed Multihead X Project :) Aug 28 '10 at 0:25
  • I don't know the answer, but asking this on unix.stackexchange.com may be a good idea.
    – phunehehe
    Sep 20 '10 at 2:47

I don't have experience with xdmx, but the gdmsetup GUI is the easiest way I know to get the X server listening on TCP. Check the security tab.

  • Unfortunately, GDM has been rewritten and Ubuntu 10.04 has the new version. gdmsetup has been stripped down and no longer has the functionality you describe. There isn't a suitable GUI replacement yet as far as I can tell. Aug 27 '10 at 22:48
  • 1
    Sorry about that, it's been a long time since I personally did it. I believe all the manual configuration you need is at library.gnome.org/admin/gdm/2.30/… Aug 28 '10 at 1:30

Edit /etc/gdm/gdm.conf - where it says DisallowTCP=true you want DisallowTCP=false. You may also need to comment out -nolisten tcp in /etc/X11/xinit/xserverrc. This should get the X server listening on TCP.

Check if it is with telnet <IP adress> 6000. It should successfully connect but not show any output (or perhaps a daemon message?).

What other troubles are you running into? What error messages do you get when you try to make it run?

  • OK but how would you use the X server as the second screen on the other machine? Jun 10 at 19:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.