LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-20-2010, 06:29 PM   #1
ecb5
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Rep: Reputation: 0
Remote X display with debian


Hi,

This is my first post to LinuxQuestions. I'm absolutely certain this is a ridiculously newbie question with a simple answer, but it's got me totally flummoxed, so here we go.

Here's the short version:

I have three boxes with lenny debian recently installed. I'd like to be able to display X apps running on host1 and displaying on host2. "xhost +" would do the trick for me if I could get it to work but as far as I can tell it does nothing. (BTW, I'm aware of the security risks. This is not a concern for me. I'm safely behind a good firewall. I'm also aware of "ssh -X" but that won't quite solve my problem. See the long version below.) I suspect that Debian secures the xhost command out of the box in some way but I can't seem to figure out what it is. If that is true and someone can show me how to reset it, or direct me to appropriate documentation I think that would solve my problem.



Here's the long version:

What I really want to do is play xbattle with my kids but I need to be able to display the board to three different screens. In xbattle the command line is:

% xbattle -red me -blue host1:0 -green host2:0 {and more stuff of no consequence to my question}

This opens a game board for player red locally, player blue on host1 and player green on host2. Or at least it should. If there is a way to make this work with "ssh -X" (or anything else for that matter) I'll be happy to use that instead, but so far as I can tell "ssh -X" only lets me redirect the display back to the one I ssh'd from whereas I need to direct to multiple displays to run xbattle.

Any help will be appreciated.
 
Old 02-20-2010, 06:43 PM   #2
HasC
Member
 
Registered: Oct 2009
Location: South America - Paraguay
Distribution: Debian 5 - Slackware 13.1 - Arch - Some others linuxes/*BSDs through KVM and Xen
Posts: 329

Rep: Reputation: 55
Quick answer: If you're using a full Debian installation, you probably have a HOWTO you can access this way:
Code:
$ zless /usr/share/doc/HOWTO/en-txt/XDMCP-HOWTO.gz
to do what you want fast.
Other HOWTO:
Code:
$ zless /usr/share/doc/HOWTO/en-txt/Xterminals.gz

Last edited by HasC; 02-20-2010 at 06:45 PM.
 
Old 02-20-2010, 11:59 PM   #3
ecb5
LQ Newbie
 
Registered: Feb 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks. Reading those files got me going in the right direction.

It took a while but it turns out that all I had to do was use gdmsetup to kill the "nolisten tcp" option when starting X11.

Last edited by ecb5; 02-21-2010 at 12:29 AM.
 
  


Reply


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
remote X display error noir911 SUSE / openSUSE 1 05-26-2008 06:24 PM
xterm -display remote:0.0 Can't open display - xterm from tru64 to debian 3.1 loopy69 Linux - Software 2 04-01-2008 07:54 PM
Remote login with SSH, but display on remote computer. brodin Linux - Software 3 09-09-2007 04:01 AM
can't display xwindow on remote machine using Debian 3.1 linian Linux - Software 3 07-20-2006 10:40 AM
Remote Display doublejoon Linux - General 3 06-19-2006 07:56 AM


All times are GMT -5. The time now is 06:34 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration