Re: does simple "DISPLAY=" and "xhost +" not work anymore?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Message: 13
> Date: Sat, 10 Feb 2007 13:30:03 -0500 (EST)
> From: "Robert P. J. Day" <rpjday@xxxxxxxxxxxxxx>
> Subject: Re: does simple "DISPLAY=" and "xhost +" not work anymore?
> To: For users of Fedora <fedora-list@xxxxxxxxxx>
> Message-ID:
> 	<Pine.LNX.4.64.0702101328380.5643@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@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@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

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux