Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 14
Hey all. I just installed Redhat 9 . And I am trying to update my vid card but I need to log out of x server. I have been through ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jun 2003
    Posts
    17

    Log out X window


    Hey all. I just installed Redhat 9 . And I am trying to update my vid card but I need to log out of x server. I have been through the settings for x server not to start at boot but it always does. What gives ??

  2. #2
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    edit /etc/inittab

    change the line:
    id:5:initdefault:

    to:
    id:3:initdefault:

    that will bring your system to a no GUI login every time you turn it on. if you want to get back to X from the Non-Gui, just run "startx"

    Jason

  3. #3
    Just Joined!
    Join Date
    Jun 2003
    Posts
    17
    Hey there I tried your tip . I logged in as root but it will not let me edit the file.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    Quote Originally Posted by dusted4eva
    Hey there I tried your tip . I logged in as root but it will not let me edit the file.
    How did you try to edit it? how did it tell you that you cannot edit the file?

    Jason

  6. #5
    Just Joined!
    Join Date
    Jun 2003
    Posts
    17
    I browsed the drive and opened the file in the folder and tried to edit as using notepad. The numbers won't change when highllithed

  7. #6
    Just Joined!
    Join Date
    Jun 2003
    Posts
    17
    id:5:initdefault: { this information is not in the file }

    to:
    id:3:initdefault:

  8. #7
    Just Joined!
    Join Date
    Jun 2003
    Posts
    17
    # Run xdm in runlevel 5
    x:5:respawn:/etc/X11/prefdm -nodaemon

    This is the closest I can find to the descripion of the file to edit.

  9. #8
    Just Joined!
    Join Date
    Jun 2003
    Posts
    17
    I just sent you an email of the inittab file in my system

  10. #9
    Linux Guru
    Join Date
    Apr 2003
    Location
    London, UK
    Posts
    3,284
    Quote Originally Posted by dusted4eva
    I browsed the drive and opened the file in the folder and tried to edit as using notepad. The numbers won't change when highllithed
    open a shell.

    type "su"<RETURN> to get to root.

    type "vi /etc/inittab" <RETURN>

    type "a"

    using the cursor keys on your keyboard, navigate to the 5, and change it to a 3.

    Press the Escape Key

    Press the Colon/semi colon key while holding SHIFT key on your keyboard (to produce ":").

    type "wq" <RETURN>


    restart the PC.

    Jason

  11. #10
    Just Joined!
    Join Date
    Jun 2003
    Posts
    17
    oops I just foung the id:5 line.. sorry. but it still won't let me edit.

Page 1 of 2 1 2 LastLast

Posting Permissions

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