Find the answer to your Linux question:
Results 1 to 10 of 10
Hi, I'm running Red Hat Enterprise Linux version 5 and am having problems with my X server. MY problem is As long as the file /tmp/.X0-lock exists I am not ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Apr 2009
    Posts
    33

    about X server


    Hi,

    I'm running Red Hat Enterprise Linux version 5 and am having problems with my X server. MY problem is As long as the file /tmp/.X0-lock exists I am not getting GUI (Gnome) Login when i delete .X0-lock file and I execute command startx then only GUI screen will appear. I want GUI should appear bydefault once i boot the system.

    How to solve this Problem.
    Last edited by devils casper; 07-06-2009 at 11:06 AM. Reason: Removed formatting.

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    Does system boot in command line mode by default? Post the output of this
    Code:
    grep -i initdefault | /etc/inittab
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined!
    Join Date
    Apr 2009
    Posts
    33
    I am getting following output when i fired grep -i initdefault | /etc/inittab command

    -bash:/etc/inittab: permission denied

  4. #4
    Just Joined!
    Join Date
    Apr 2009
    Posts
    33
    Right now I have to press Ctrl+Alt+ F1 or F2... keys to login and then i will delete .X-lock file and then startx command for my gnome Desktop to be appeare

  5. #5
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    What does appear on boot up? A blank screen or what?
    it looks like machine is booting up GUI but problem is in xorg.conf file.

    Execute
    Code:
    su -
    grep -i initdefault | /etc/inittab
    lspci | grep -i vga
    exit
    grep -i driver /etc/X11/xorg.conf
    Post output here.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  6. #6
    Just Joined!
    Join Date
    Apr 2009
    Posts
    33
    i am getting screen like after booting. i am getting blank screen with only mouse kerser

    i am posting this output after deleting .x-lock file

    bash: /etc/inittab: Permission denied

  7. #7
    Just Joined!
    Join Date
    Apr 2009
    Posts
    33
    for this command grep -i driver /etc/X11/xorg.conf output

    root@localhost ~]# grep -i driver /etc/X11/xorg.conf
    Driver "kbd"
    Driver "intel"

  8. #8
    Just Joined!
    Join Date
    Apr 2009
    Posts
    33
    [root@localhost /]# lspci | grep -i vga
    bash: lspci: command not found

  9. #9
    Just Joined!
    Join Date
    Apr 2009
    Posts
    33
    su
    grep -i initdefault | /etc/inittab
    bash: /etc/inittab: Permission denied

  10. #10
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,729
    i am getting screen like after booting. i am getting blank screen with only mouse kerser
    It means problem is with Graphics Card only.

    As I suggested earlier, type - ( minus sign ) with su to gain root privileges.
    Code:
    su -
    lspci | grep -i vga

    Execute this
    Code:
    su -
    nano /etc/X11/xorg.conf
    It will open xorg.conf file in nano editor.

    Replace Driver "intel" with "vesa" in Video Card section.
    Press Ctrl+X, Y and hit Enter key to save file.
    Execute this to reboot machine :
    Code:
    su -
    shutdown -r now
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

Posting Permissions

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