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

Re: Problem forwarding X over ssh



On Mon, Dec 13, 1999 at 01:49:55PM -0700, Gary Hennigan wrote:
> what network it was attached to. This local name doesn't necessarily
> correspond to its real name on the network and thus ssh was setting
> the display to this local name instead of the laptops real network
> name. Obviously this disallows a functional forward of X11.
> 
> In my case I need to figure out how to set the host name to the "real"
> name of the laptop depending on what network it resides (maybe PCMCIA
> has some provision for this?). For now I can set it's host name
> manually via the "hostname" command to it's real network name and that
> fixes the problem.

You might be able to get around it by generating a cookie for the host name
as it is seen from the network:

xauth generate outside.name:0 .

Dunno if that will work or not.

-- 
William Burrow -- New Brunswick, Canada
A 'box' is something that accomplishes a task -- you feed in input and
out comes the output, just as God and Larry Wall intended.
                                         -- brian moore


Reply to: