does simple "DISPLAY=" and "xhost +" not work anymore?
Cris Rhea
crhea at mayo.edu
Sat Feb 10 19:52:45 UTC 2007
> Message: 13
> Date: Sat, 10 Feb 2007 13:30:03 -0500 (EST)
> From: "Robert P. J. Day" <rpjday at mindspring.com>
> Subject: Re: does simple "DISPLAY=" and "xhost +" not work anymore?
> To: For users of Fedora <fedora-list at redhat.com>
> Message-ID:
> <Pine.LNX.4.64.0702101328380.5643 at CPE00045a9c397f-CM001225dbafb6>
> Content-Type: TEXT/PLAIN; charset=US-ASCII
>
> On Sat, 10 Feb 2007, Mikkel L. Ellertson wrote:
> i made sure both systems had their firewalling de-activated. (yes, i
> know that's hysterically unsafe, but i was just trying to isolate the
> problem.)
>
> > I think most people tunnel X connections over SSH now days - both
> > for security and because the compression speeds things up.
> >
> > As a side benefit, if you use "ssh -Y" to make connection to the
> > remote machine, you don't have to play with xhost of DISPLAY - ssh
> > takes care of this for you.
>
> i'll give that a shot next time, but i'm still curious as to why this
> didn't work in the first place.
>
> rday
>
> --
> ========================================================================
> Robert P. J. Day
Out of the box, FC6 had GDM configured to not allow TCP connections...
[root at kaizen ~]# ps ax | grep gdm
2620 ? S 0:00 /usr/sbin/gdm-binary -nodaemon
2660 ? S 0:00 /usr/sbin/gdm-binary -nodaemon
2664 ? S 0:00 /usr/sbin/gdm-binary -nodaemon
2667 tty7 Ss+ 1:35 /usr/bin/Xorg :0 -br -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7
Notice the last line--- "-nolisten tcp" is the important part.
vi /usr/share/gdm/defaults.conf
Change the line:
#DisallowTCP=true
to be:
DisallowTCP=false
Restart GDM by rebooting or by killing ALL the GDM processes... NOTE:
THIS WILL LOG YOU OFF!!
When you log back in, you will see the changed process:
[crhea at kaizen ~]$ ps ax | grep gdm
6605 ? S 0:00 /usr/sbin/gdm-binary -nodaemon
6634 ? S 0:00 /usr/sbin/gdm-binary -nodaemon
6646 ? S 0:00 /usr/sbin/gdm-binary -nodaemon
6651 tty7 Ss+ 0:01 /usr/bin/Xorg :0 -br -audit 0 -auth /var/gdm/:0.Xauth vt7
Viola! Redirecting your display will work as expected....
--- Cris
More information about the users
mailing list