Results 1 to 7 of 7

Thread: RHEL AS 4. Can't startx as user

  1. #1

    RHEL AS 4. Can't startx as user

    Hello,

    I have a RHEL AS 4 system that I recently installed. I am able to startx as root but not as a general user. This is the error I get.

    [nmrunud@server /]$ startx


    Fatal server error:
    PAM authentication failed, cannot start X server.
    Perhaps you do not have console ownership?


    Please consult the The X.Org Foundation support
    at http://wiki.X.Org
    for help.
    giving up.
    xinit: Connection refused (errno 111): unable to connect to X server
    xinit: No such process (errno 3): Server error.
    Couldnt get a file descriptor referring to the console

    ########################


    I have looked at Xorg.log but I did not see any obvious errors.


    Thanks in advance

  2. #2
    This is a post on an older version of Red Hat, but might be worth a try:

    http://www.redhat.com/archives/pam-l.../msg00069.html
    My crime is that of curiosity. My crime is that of judging people by what they say and think, not what they look like. My crime is that of outsmarting you, something that you will never forgive.

  3. #3
    Thanks, but that directory doesn't even exist on RHEL 4.

  4. #4
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760
    as root you could try

    xauth -b
    xhost +localhost

    Out of curiousity, is your filesystem full? This can do it. There is reserved space for root, so that root can always login. Users would not have that luxury.

  5. #5
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    Quote Originally Posted by Schotty
    There is reserved space for root, so that root can always login. Users would not have that luxury.
    Had exactly that a few days ago.. I was banging my head why my Debian box was not allowing me to log on and I thought it was Xorg that went bang. I was trying all sort of things for almost two months. Low and behold, a few days ago, I was doing something and typed df -h and it hit me.... / is 100%.
    LinuxVillage - The truely community run Linux/Floss forum !

    No IT BS !!

  6. #6
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760
    Quote Originally Posted by Compunuts
    Had exactly that a few days ago.. I was banging my head why my Debian box was not allowing me to log on and I thought it was Xorg that went bang. I was trying all sort of things for almost two months. Low and behold, a few days ago, I was doing something and typed df -h and it hit me.... / is 100%.
    Doesn't it suck ;D It pissed me off to no end to put it rather lightly .... Helps to have email or gui monitors for that stuff. If I copuld ever learn snmp that could be an option.

  7. #7
    I'm good on disk space.
    I will try the xauth stuff the next time I access the machine.

Similar Threads

  1. RHEL-ES and RHEL-AS differences
    By krishgudd in forum Redhat / Fedora
    Replies: 2
    Last Post: 09-02-2009, 06:00 PM
  2. Upgrading RHEL-3 ES Update 3 to RHEL-3 Update5
    By krishgudd in forum Redhat / Fedora
    Replies: 4
    Last Post: 08-29-2009, 07:32 PM
  3. C Program error when moved to 64-bit RHEL 4.0 from 32-bit RHEL 2.0
    By contact_vickey@yahoo.com in forum Redhat / Fedora
    Replies: 1
    Last Post: 02-19-2007, 03:57 PM
  4. Startx problems
    By vetrivelsn in forum Linux - General Topics
    Replies: 2
    Last Post: 12-26-2004, 05:16 PM
  5. startx
    By creedon in forum Linux - Software, Applications & Programming
    Replies: 3
    Last Post: 07-02-2002, 09:48 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •