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

Bug#617208: Fails if started by init



On 2011-03-08 14:48:12 -0500, John D. Hendrickson and Sara Darnell wrote:
> hi I wrote www.sourceforge.net/projects/xdm-options/
> 
> one reason I've used xdm for so long is that having my environment in xterm
> was more important to me than how X got started
> 
> I think the C-coded display managers out there don't bother with
> /etc/profile or ~/.profile like a login should - but I don't know.
> 
> by the way XAUTHORITY may not be an export when you think it is - and maybe
> it shouldn't be (reasons omitted)

FYI, gdm3 is different from gdm or xdm. It defines its own $XAUTHORITY,
so that if the value is lost (like it is with xterm + the buggy libxt),
then one can no longer start X applications. One cannot even guess what
the $XAUTHORITY value was, since the directory is not readable.

> you can use xauth it is simple to use

It is not possible to use it, as xauth needs to know the location of
the X authority file, which is precisely the information that has been
lost.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)



Reply to: