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

Re: xhost +localhost doesn't work



Larry Alkoff sez:
} On Sat, 26 Oct 2002 11:31:12 -0700, Earl F Hampton wrote:
[...]
} >Try xhost +local:localhost
} 
} Ohh, that works!
} Thank you.
[...]
} However after su I must still
} export DISPLAY=:0
} 
} Then I can load synaptic.
} 
} I'd like to not be required to type the 
} export DISPLAY line every time.
} I _believe_ I didn't have to do that in the past.
[...]

When I need to do that sort of thing, I use su -c, e.g.

su -c synaptic

It keeps the environment.

} Thanks very much for your tip.
} Larry
--Greg



Reply to: