Re: ssh -X shop problem...

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

 



On Monday 27 November 2006 23:36, Mikkel L. Ellertson wrote:
>Gene Heskett wrote:
>> On Monday 27 November 2006 19:37, Gordon Messmer wrote:
>>> Gene Heskett wrote:
>>>> I wondered about that in the past, so I'll pull that back out of
>>>> rc.local just for test the next time I reboot this box.
>>>
>>> You're doing what in rc.local?
>>
>> The
>> xhost +192.168.71.2
>> thing.
>
>This is not going to work from rc.local.

It made X11Forwarding work 100% when I was running FC2, with a hand-built 
xorg-6.8-901 installed.  I didn't have to pay attention to using ssh -X 
al the time, nor did I have to ssh -X gene@shop like I have to now. The 
actual difference?  Damndifiknow.

>It has to be run in the X 
>secession you are trying to control. It has to be able to connect to
>the X server. It also needs DISPLAY set so it knows what X server to
>connect to. You could run it in the terminal window before running
>ssh to connect to the remote machine.
>
>Some things to keep in mind:
>
>The X server is running on the machine you want the program (client)
>to display on. You can run a command on a remote machine and have it
>connect to the X server on the local machine. The relationship
>between the client and server is backwards from the way most people
>are used to thinking of client/server. You connect to a web server
>on a remote machine, but a remote X program connects to the X server
>on the local machine. (Local X programs also connect to the X server
>on the local machine.)
>
>You have to run xhost on the local machine in X. You are changing
>permissions on who can connect to the local X server.

You are saying that this command is invalid unless X is already running?  

FWIW, I never saw that line spit out an error until I'd installed FC6.  
Maybe its the result of plugging a hole, I don't know, and frankly didn't 
care as long as it worked.  Pi$$y attitude I guess, but yum updated a 
bunch of selinux stuff yesterday and broke enough of my system that its 
now disabled just so I can make a backup, and with my configuration here 
at the old farts home being pretty secure against anything from the 
outside, and of course totally at my mercy if its disabled, I'm tempted 
to rip it out entirely.  I've relabeled the system 7 or 8 times now, and 
everytime it breaks something new, usually without fixing the old 
problem.  To me, this whole darned selinux thingy is a solution looking 
for a random place to create a problem.  And lifes waayyy too short to 
screw with it at my age.  I want to *use* this machine to do usefull 
things for me, not spend 3 weeks a month fixing things that an update 
broke.  Back on the farm in Iowa 65-70 years ago we called that stuff 
fertilizer in mixed company.

>Mikkel
>--
>
>  Do not meddle in the affairs of dragons,
>for thou art crunchy and taste good with Ketchup!

Oh yeah?  I've often wondered what they might taste like.  Well done on 
the inside, medium rare on the outside I suppose... :-)

Thanks Mikkel, I appreciate the guidance even if I am in a somewhat foul 
mood.  Or is that fowl.  Nope, no feathers. :)

-- 
Cheers, Gene
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Yahoo.com and AOL/TW attorneys please note, additions to the above
message by Gene Heskett are:
Copyright 2006 by Maurice Eugene Heskett, all rights reserved.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux