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

Bug#195279: xdm removes $HOME symlink on logout



On Thu, May 29, 2003 at 06:53:27PM +0200, root wrote:
> Package: xdm
> Version: 4.2.1-6
> Severity: normal
> 
> Possibly this only happens for root; at least, I can't reproduce it from
> a non-root user.
> 
> I have an alternate root user whose home directory is pointed at by a
> symlink.
> 
> When the X session ends, xdm replaces this symlink with an empty file.
> 
> As far as I can tell from strace, some .Xauthority code gets very
> confused, using filenames like <homedir>-n instead of
> <homedir>/.Xauthority-n. (This works right *starting* the session.)
> 
> Stracing the same for a non-root user doesn't show this confusion.

Also, are you still experiencing this problem with xserver-xfree86
4.2.1-11?

If so, can you please provide the strace output and/or the debugging
output of xdm when you experience this problem?  (You can run xdm in the
foregroup from a shell prompt and pass it the -debug parameter.)

[[ While the man page implies that there are multiple debugging levels,
all xdm really does is this:

void
Debug (char * fmt, ...)
{
    char buf[1024];

    if (debugLevel > 0) {
	va_list args;
	va_start(args, fmt);
	vsnprintf (buf, sizeof buf, fmt, args);
	va_end(args);
	WRITES(STDOUT_FILENO, buf);
    }
}

So just provide the -debug option with an argument greater than 0.  ]]

-- 
G. Branden Robinson                |      Mob rule isn't any prettier just
Debian GNU/Linux                   |      because you call your mob a
branden@debian.org                 |      government.
http://people.debian.org/~branden/ |

Attachment: signature.asc
Description: Digital signature


Reply to: