Главная страница


ru.linux

 
 - RU.LINUX ---------------------------------------------------------------------
 From : Dmitry Ponomaryov                    2:5020/968.28  27 Jan 2002  01:53:33
 To : Alex Korchmar
 Subject : Re: xterm
 -------------------------------------------------------------------------------- 
 
 .ru> <a1sn0h$5i7$1@homeserver.ponshome.linux.msk.ru> <a228m4$sjh$1@host.talk.ru>
 .ru> <a2brb8$lkm$1@homeserver.ponshome.linux.msk.ru> <a2c2he$eet$1@host.talk.ru>
 .ru> <a2f9di$6rm$1@homeserver.ponshome.linux.msk.ru> <a2q893$qn$1@alx.private>
 
 [fntuser@homeserver.ponshome.linux.msk.ru ~]$ /bin/cat
 /home/fntuser/.article.7487
 
 DP>> PZ. Оторвем RH руки :-х
 AK>может, свои сперва выпрямишь?
 
     1. Читать {1} ниже.
     2. Читать {2} ниже.
     3. Править и updatе'ить по-вкусу.
 
 DP>>     - в RH 6.1 [и в 6.2 imho тоже] стандартные .rpm с XFree86
 DP>>     имеют грабли с pam'ом и как итог - X запускаются только от
 DP>>     root'а. Сегодня только
 AK>вот интересно - и почему это у всех запускаются от кого попало?
 DP>>     [`touch /var/lock/console/$USER`].
 AK>вот за это точно надо руки кое-кому оторвать.
 AK>startx (речь, надо думать, о нем, у чайников почему-то полагается некошерным
 AK>сразу стартовать в приличный runlevel)
 
     С приличиями я сам разберусь ("id:3:initdefault") и
     не удивлюсь если они у нас разные.
     
 AK>запустится либо от рута, либо от 
 AK>пользователя _которому в терминах pam принадлежит консоль_.
 AK>Такой пользователь может быть только один, а виртуальных консолей - шесть.
 AK>Об остальном догадайся сам, если лень прочитать документацию на pam_console.
 
     Это смотря какой у кого pam и X Window.
 
 >{1}
 
 ===
     _________________________________________________________________
    
    [[1]Date Prev][[2]Date Next][[3]Thread Prev][[4]Thread Next][[5]Date
    Index][[6]Thread Index]
    
                   X authentication problem, should be in FAQ
      _________________________________________________________________
    
      * To: [7]devfs@oss.sgi.com
      * Subject: X authentication problem, should be in FAQ
      * From: Martin Costabel <[8]costabel@wanadoo.fr>
      * Date: Mon, 04 Sep 2000 09:27:02 +0200
      * Organization: Chez moi
      * References: <[9]390D8166.ED1D2AB1@netactive.co.za>
      * Sender: [10]owner-devfs@oss.sgi.com
      _________________________________________________________________
    
 Hi,
 
 for a while, I couldn't start XFree86 as a non-root user using startx.
 The problem turned out to be an incomplete <console> entry in
 /etc/security/console.perms.
 
 It seems that [1] not only /etc/securetty, but also
 /etc/security/console.perms needs to be informed about the /dev/vc/*
 names of the virtual consoles. From the devfs FAQ:
 
 - --- /etc/security/console.perms.orig    Sat Apr 17 16:26:47 1999
 +++ /etc/security/console.perms Fri Feb 25 23:53:55 2000
 @@ -14,7 +14,7 @@
  # man 5 console.perms
 
  # file classes -- these are regular expressions
 -<console>=tty[0-9][0-9]* :[0-9]\.[0-9] :[0-9]
 +<console>=tty[0-9][0-9]* [0-9][0-9]* :[0-9]\.[0-9] :[0-9]
 
  # device classes -- these are shell-style globs
  <floppy>=/dev/fd[0-1]*
 
 For me, the important line has to be changed to
 
 +<console>=tty[0-9][0-9]* vc/[0-9][0-9]* :[0-9]\.[0-9] :[0-9]
 
 Otherwise if I startx as a non-root user, I get the message
 
    Authentication failed - cannot start X server.
    Perhaps you do not have console ownership?
 
 And yes, this is with XFree86-4.0.1 which, according to the FAQ, should
 not have such problems at all.
 
 ... 
 
 --
 Martin
      _________________________________________________________________
    
      * References:
           + [11]bug in FAQ
                o From: Chris the Elder <chippo@netactive.co.za>
        
      * Prev by Date: [12][PATCH] devfs v99.18 available
      * Next by Date: [13]DevFS and IDE/ATAPI CDRWs
      * Prev by thread: [14]Re: bug in FAQ
      * Next by thread: [15][PATCH] devfs v167 available
      * Index(es):
           + [16]Date
           + [17]Thread
 
 References
 
    1. http://oss.sgi.com/projects/devfs/mail/devfs/msg00222.html
    2. http://oss.sgi.com/projects/devfs/mail/devfs/msg00224.html
    3. http://oss.sgi.com/projects/devfs/mail/devfs/msg00098.html
    4. http://oss.sgi.com/projects/devfs/mail/devfs/msg00100.html
    5. http://oss.sgi.com/projects/devfs/mail/devfs/maillist.html#00223
    6. http://oss.sgi.com/projects/devfs/mail/devfs/threads.html#00223
    7. mailto:devfs@oss.sgi.com
    8. mailto:costabel@wanadoo.fr
    9. http://oss.sgi.com/projects/devfs/mail/devfs/msg00096.html
   10. mailto:owner-devfs@oss.sgi.com
   11. http://oss.sgi.com/projects/devfs/mail/devfs/msg00096.html
   12. http://oss.sgi.com/projects/devfs/mail/devfs/msg00222.html
   13. http://oss.sgi.com/projects/devfs/mail/devfs/msg00224.html
   14. http://oss.sgi.com/projects/devfs/mail/devfs/msg00098.html
   15. http://oss.sgi.com/projects/devfs/mail/devfs/msg00100.html
   16. http://oss.sgi.com/projects/devfs/mail/devfs/maillist.html#00223
   17. http://oss.sgi.com/projects/devfs/mail/devfs/threads.html#00223
 
 ===
 
 >{2}
 
 ===
 
                               [1]Mail Archive 
                                       
                                 apollo-list
                                       
             [2]<-- [3]Chronological [4]--> Find _______________
                           [5]<-- [6]Thread [7]-->
                                       
                         Re: XFree 3.3.5-0.5.2 problems
      _________________________________________________________________
    
      * From: Jon
      * Subject: Re: XFree 3.3.5-0.5.2 problems
      * Date: Thu, 9 Sep 1999 13:48:12 -0700
      _________________________________________________________________
    
 On Thu, Sep 09, 1999 at 02:37:29PM -0400, Jon wrote:
 
 <snip>
 
 > I upgraded all relevant files with the provided RPMS, and all installed
 > without any problems.  However, now when I go to start the X server,
 > I get this:
 >
 > Authentication failed - cannot start X server.
 > Perhaps you do not have console ownership?
 
 <snip>
 
 > I noticed this almost right away:
 >
 > The XFree installs a file called "xserver" in /etc/pam.d, and in
 > /etc/security/console.apps.  The file in /etc/security/console.apps
 > is blank, but the one in /etc/pam.d includes the following line:
 >
 > auth  required        /lib/security/pam_console.so
 >
 > On the 6.0 machine, this file exists in the specified location.  On
 > my 5.2 machine -- this file does not exist.  I believe that this
 > is where my problem lies...
 
 <snip>
 
 It turns out I was right.. after banging away on this all day trying to
 get a new version of PAM and initscripts installed, I tried a last ditch
 at searching [8]http://www.deja.com again... what do you know, I came across
 this freshly posted tidbit, credit goes to Preston Brown over at RedHat:
 
 In /etc/pam.d is the file I mentioned above, "xserver".. it needs the
 following changes:
 
 Remove the line:
 
 auth    sufficient      /lib/security/pam_rootok.so
 
 The change the line:
 
 auth    required        /lib/security/pam_console.so
 to
 auth    required        /lib/security/pam_permit.so
 
 This will fix your problem.  It was as I had suspected, some 6.0 only
 items somehow got mixed into the 5.x stuff.  Also mentioned was the fact
 that an updated (fixed) release of the XFree RPMS will be on the way.
 
 If only I hadn't spent all day trying to figure out what the hell was wrong
 with my machine! ;)
 
 --
 -----------------------------------------------------------------------------
 Jon C.  --  System Administrator
 jon@lightstream.net
 LightStream Internet, Incorporated        **       [9]http://www.lightstream.ne
 t
 (440)/269-2352
 -----------------------------------------------------------------------------
 --
   PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
 [10]http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
          To unsubscribe: mail apollo-list-request@redhat.com with
                        "unsubscribe" as the Subject.
      _________________________________________________________________
    
      * Follow-Ups:
           + [11]Re: XFree 3.3.5-0.5.2 problems
                o From: Thomas Ribbrock \(Design/DEG\) <09/10/1999>
        
      * References:
           + [12]XFree 3.3.5-0.5.2 problems
                o From: Jon <09/09/1999>
        
      * Prev by Date: [13]XFree 3.3.5-0.5.2 problems
      * Next by Date: [14]Re: XFree 3.3.5-0.5.2 problems
      * Prev by thread: [15]XFree 3.3.5-0.5.2 problems
      * Next by thread: [16]Re: XFree 3.3.5-0.5.2 problems
      * Index(es):
           + [17]Main
           + [18]Thread
        
                              Reply via email to
                                     Jon
 
 References
 
    1. http://www.mail-archive.com/index.html
    2. http://www.mail-archive.com/apollo-list%40redhat.com/msg04762.html
    3. http://www.mail-archive.com/apollo-list%40redhat.com/maillist.html#04763
    4. http://www.mail-archive.com/apollo-list%40redhat.com/msg04764.html
    5. http://www.mail-archive.com/apollo-list%40redhat.com/msg04762.html
    6. http://www.mail-archive.com/apollo-list%40redhat.com/index.html#04763
    7. http://www.mail-archive.com/apollo-list%40redhat.com/msg04764.html
    8. http://www.deja.com/
    9. http://www.lightstream.net/
   10. http://www.redhat.com/RedHat-FAQ
   11. http://www.mail-archive.com/apollo-list%40redhat.com/msg04764.html
   12. http://www.mail-archive.com/apollo-list%40redhat.com/msg04762.html
   13. http://www.mail-archive.com/apollo-list%40redhat.com/msg04762.html
   14. http://www.mail-archive.com/apollo-list%40redhat.com/msg04764.html
   15. http://www.mail-archive.com/apollo-list%40redhat.com/msg04762.html
   16. http://www.mail-archive.com/apollo-list%40redhat.com/msg04764.html
   17. http://www.mail-archive.com/apollo-list%40redhat.com/maillist.html#04763
   18. http://www.mail-archive.com/apollo-list%40redhat.com/index.html#04763
 
 ===
 
 >> Alex
 
  Dmitry Ponomaryov
                                [ Honorary member of F.M.Dostoevsky Club ]
  
 --- tin/pre-1.4-19990624 ("Dawnrazor") (UNIX) (Linux/2.2.12-20 (i686))
  * Origin: Feel the power of Linux (2:5020/968.28@fidonet)
 
 

Вернуться к списку тем, сортированных по: возрастание даты  уменьшение даты  тема  автор 

 Тема:    Автор:    Дата:  
 Re: xterm   Alex Korchmar   25 Jan 2002 04:18:43 
 Re: xterm   Dmitry Ponomaryov   27 Jan 2002 01:53:33 
Архивное /ru.linux/175888c572ba6.html, оценка 2 из 5, голосов 10
Яндекс.Метрика
Valid HTML 4.01 Transitional