LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-20-2006, 12:19 AM   #1
shanec
LQ Newbie
 
Registered: Apr 2006
Distribution: Fedora Core 5
Posts: 14

Rep: Reputation: 0
export display acts firewalled - FC5


New install of Fedora Core 5 here...

With Administration -> Security Level And Firewall, I've disabled the firewall and the SELinux stuff.

Step 1) open xterm and enter "xhost +"

Step 2) login to some other machine on my network and enter "export DISPLAY=<my_node>:0". Confirmed display with "echo $DISPLAY"

Setp 3) run something graphical and I get an error saying it can't open the display

I know the issue is with my new Fedora Core 5 machine because it works with other machine. But what's the problem?
 
Old 04-20-2006, 04:18 AM   #2
elluva
Member
 
Registered: Aug 2003
Location: Belguim, Ostend and Ghent
Distribution: Ubuntu
Posts: 600

Rep: Reputation: 30
How do you login on the other machine, when you use ssh, you can login with the command ssh -X <iporhostname>, then you the client sets the environment up for you.
 
Old 04-20-2006, 02:36 PM   #3
shanec
LQ Newbie
 
Registered: Apr 2006
Distribution: Fedora Core 5
Posts: 14

Original Poster
Rep: Reputation: 0
I was just telneting. It may not be the shortest way, but I'm 110% sure the export display command is right because I do this frequently (on machines other than the one with this new FC5 install).

I think the problem may be this from my ps list:
Quote:
/usr/bin/Xorg :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7
I tried editing /etc/X11/xdm/kdmrc to remove the nolisten option. But that made no difference. I still get the nolisten option showing up in my process list.

I've also tried a recursive grep from /etc to look for "nolisten" and nothing else that isn't alrady commented out shows up. How can I turn off the Xserver's "nolisten tcp"?
 
Old 05-23-2006, 01:48 PM   #4
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,609

Rep: Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115Reputation: 4115
In FC5 you need to edit /etc/gdm/custom.conf and add the following to the [security] section:

Code:
DisallowTCP=false
If you prefer the GUI, you can run gdmsetup - there should be something along the lines of "Remote login disabled."

--jeremy
 
Old 08-21-2006, 11:43 AM   #5
hachibay
LQ Newbie
 
Registered: Aug 2006
Posts: 1

Rep: Reputation: 0
Wink

I bumped into exactly the same problem and solved just a moment ago, so i hope this could be a help for you, too.

As you have mentioned,

Quote:
/usr/bin/Xorg :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7
this -nolisten tcp bit was the problem.
I commented the last line of /etc/X11/fs/config, which was saying
no-listen = tcp
(no wonder why couldn't have been grepped with "nolisten")

then added following lines to /etc/gdm/custom.conf
[security]
AllowRemoteRoot=true
DisallowTCP=false

finally I rebooted the system.

Xorg process now became as follows
Quote:
/usr/bin/Xorg :0 -audit 0 -auth /var/gdm/:0.Xauth vt7
typed
# xhost +
on Xserver.

then typed
# export DISPLAY=192.168.0.1:0.0
# yast2
on the other machine(SLES9), where 192.168.0.1 is Xserver, and worked fine.

Last edited by hachibay; 08-21-2006 at 11:45 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
How to export HP-UX display to linux box xgreen Other *NIX 5 07-06-2007 08:58 AM
Trying to export display automatically in Linux ? lab123 Linux - Networking 0 09-29-2005 08:33 AM
how to export the display bruse Linux - Networking 18 05-03-2005 09:13 PM
can't export my display to another systems jaybrus LinuxQuestions.org Member Intro 2 05-15-2004 04:29 AM
can't export my display to another systems jaybrus Linux - General 1 05-14-2004 03:25 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:14 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
Open Source Consulting | Domain Registration