RE: [Samba] .Xauthority & SMB

2003-12-11 Thread Shannon Johnson
niversity Park, PA 16802 Phone: (814) 865-8267 > -Original Message- > From: Fredrik Tolf [mailto:[EMAIL PROTECTED] > Sent: Thursday, December 11, 2003 3:09 PM > To: Shannon Johnson > Cc: Fredrik Tolf; Samba > Subject: RE: [Samba] .Xauthority & SMB > > Shanno

RE: [Samba] .Xauthority & SMB

2003-12-11 Thread Fredrik Tolf
Shannon Johnson writes: > I changed the Xsession file, and this is the result (and it's quite > long): > > /etc/X11/gdm/PreSession/Default: Registering your session with wtmp and > utmp > /etc/X11/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w > /var/log/wtmp -u /var/run/utmp -

RE: [Samba] .Xauthority & SMB

2003-12-11 Thread Shannon Johnson
Subject: RE: [Samba] .Xauthority & SMB > > Shannon Johnson wrote: > > > > Any ideas? I don't know nearly as much about the X system as > > I probably should (but I'm learning). > > >The ORA book "Linux Security Cookbook" talks abou

RE: [Samba] .Xauthority & SMB

2003-12-11 Thread Shannon Johnson
> > Well, the "No protocol specified" message refers to the fact that the > client program tried to connect without any authentication (since it > hasn't found the X authority file). > > Did you restart GDM after you changed the setting? > > It's also possible that .bash_profile isn't sourced ye

RE: [Samba] .Xauthority & SMB

2003-12-11 Thread William Enestvedt
Shannon Johnson wrote: > > Any ideas? I don't know nearly as much about the X system as > I probably should (but I'm learning). > The ORA book "Linux Security Cookbook" talks about running X apps as root over an SSH link. They suggest using a brief shell script to make sure that the .Xauthori

RE: [Samba] .Xauthority & SMB

2003-12-11 Thread Shannon Johnson
> > The default under RH (and Fedora) is gdm, yes. > > In that case, edit /etc/X11/gdm/gdm.conf and change the UserAuthDir > line so that it reads "UserAuthDir=/tmp". I think that should make it > work. > > Fredrik Tolf I changed that, but I'm getting the same error. The error is: /etc/X11/g

RE: [Samba] .Xauthority & SMB

2003-12-11 Thread Fredrik Tolf
Shannon Johnson writes: > > > > Would you mind posting the exact error message? I'm just curious, > > because I don't think there should be any problems with xauth files on > > SMB. > > > > Sure. From what I understand, the .Xauthority and .ICEauthority use hard > links that don't work o

RE: [Samba] .Xauthority & SMB

2003-12-11 Thread Shannon Johnson
> > Would you mind posting the exact error message? I'm just curious, > because I don't think there should be any problems with xauth files on > SMB. > Sure. From what I understand, the .Xauthority and .ICEauthority use hard links that don't work on any Windows-based filesystem, including SMB. T

Re: [Samba] .Xauthority & SMB

2003-12-11 Thread Fredrik Tolf
Shannon Johnson writes: > I'm mounting the home directories of the users upon login (using > pam_mount) from the Windows server. However, none of the users can run X > Windows. It says there's a problem with the .Xauthority file. Would you mind posting the exact error message? I'm just curious,

[Samba] .Xauthority & SMB

2003-12-11 Thread Shannon Johnson
I asked this question a while ago, but never got any response. Since then, I've researched the problem some more, so I can give a much more concise description of what's happening. I'm mounting the home directories of the users upon login (using pam_mount) from the Windows server. However, none