On Wed, 2002-12-11 at 17:07, Bret Hughes wrote:
> On Wed, 2002-12-11 at 04:13, gregory mott wrote:
> > On Mon, 2002-12-09 at 16:28, ABrady wrote:
> > > On 09 Dec 2002 15:38:41, gregory mott wrote:
> > > > how do i allow non-root users to launch an additional X session in a
> > > > virtual terminal?  (rh7.3)
> > > > 
> > > > root can do it like so:
> > > > xinit /usr/bin/gnome-session -- :1
> > > > 
> > > > but if any other user tries, she gets:
> > > > Fatal server error:
> > > > PAM authentication failed, cannot start X server.
> > > >         Perhaps you do not have console ownership?
> > > 
> > > startx -- :1
> > > Works here.
> > 
> > ah, now i see.
> > root, OR the user already logged in, can do that.
> > OTHER users CAN'T.
> > 
> > and funny enough, it's ANOTHER user i WANT to do it for.
> > 
> > i've looked at a few things like pam_console and console.perms and my
> > eyes quickly go fuzzy.  is any of that near the right track?
> > 
> > is there a simple solution?
> 
> I think I had this issue when wanting to start an xserver
> automatically.  Digging around I found this change to
> /etc/pam.d/xserver:
> 
>  #auth       required /lib/security/pam_console.so
> auth     required     /lib/security/pam_permit.so
> 
> I wish I remember where I found this two or three years ago.  pam seems
> incredibly flexible but as always with flexibility comes compexity and I
> have never taken the time to wade through the docs uninterupted to try
> to fully get my head around it.
> 
> HTH
> Bret

bingo.
thank you bret!



-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to