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

Bug#199063: marked as done (kdm does not set XAUTHORITY)



Your message dated Fri, 12 May 2006 16:40:23 +0200
with message-id <20060512144023.GA16666@mad.intersec.fr>
and subject line This is not a bug
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: kdm
Version: 3.1.2-1


 Kdm does not set the environment variable XAUTHORITY
to $HOME/.Xauthority when it is not already set.
As it is done by startx and gdm I suppose it should
do it. It is a problem because if you do a su
to become root, you do not have an access to X.

I am unsing a GNU/Linux Debian unstable

Thanks,

 Geo



--- End Message ---
--- Begin Message ---
  ack, this is not a bug

On Thu, Jan 06, 2005 at 07:55:49PM +0100, "Olaf Märker" wrote:
> Hi everybody,
> 
> Georges Da Costa wrote:
> 
> >  Kdm does not set the environment variable XAUTHORITY
> > to $HOME/.Xauthority when it is not already set.
> > As it is done by startx and gdm I suppose it should
> > do it.
> 
> The behavior of kdm, xdm, startx is everytime the same. Usually they create
> the file $HOME/.Xauthority to grant access to X to the user and do not set
> the XAUTHORITY environment variable. Only if they cannot write to
> $HOME/.Xauthority, this file will be created elsewhere (e.g. /tmp) and
> $XAUTHORITY will be set to it.
> How gdm handle this i don't know, but xdm, startx and kdm does so (on my
> computers) and this behavior is described in the xdm man page. 
> I think, this is not a bug.
> 
> A simple work around to set the variable is to put
> if [[ -z $XAUTHORITY ]]; then export XAUTHORITY=~/.Xauthority; fi;
> in the $HOME/.bashrc file.
> 
> Best regards,
> 
> Olaf Märker.
-- 
·O·  Pierre Habouzit
··O                                                madcoder@debian.org
OOO                                                http://www.madism.org

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: