Find the answer to your Linux question:
Results 1 to 7 of 7
Hi all, Just wondering if someone can help me with the following: I have recently installed Red Hat Enterprise Linux 4 and have been able to start the graphical GUI ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! oliver79's Avatar
    Join Date
    Jun 2006
    Location
    United Kingdom
    Posts
    46

    Starting X11


    Hi all,

    Just wondering if someone can help me with the following:

    I have recently installed Red Hat Enterprise Linux 4 and have been able to start the graphical GUI X11 using the following command: /sbin/telinit 5

    Now when I have come to change the inittab file to default to the above using the following command: vi /etc/inittab I have attempted to edit the following line: ID:3:initdefault and change the 3 to a 5; however, I'm unable to save the file (not sure of the Vi command) and secondly it doesn't appear to kick start the GUI screen when I reboot!!!

    Any help much appreciated

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Quote Originally Posted by oliver79 View Post
    Hi all,

    Just wondering if someone can help me with the following:

    I have recently installed Red Hat Enterprise Linux 4 and have been able to start the graphical GUI X11 using the following command: /sbin/telinit 5

    Now when I have come to change the inittab file to default to the above using the following command: vi /etc/inittab I have attempted to edit the following line: ID:3:initdefault and change the 3 to a 5; however, I'm unable to save the file (not sure of the Vi command) and secondly it doesn't appear to kick start the GUI screen when I reboot!!!

    Any help much appreciated
    You must edit that file as root, that's why it won't save. Try again and let us know how it goes.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  3. #3
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    In addition to what MikeTbob said, you'd probably be better off to edit the file with nano rather than vi:

    Code:
    nano /etc/inittab
    It's more new-user friendly than vi is, for most people.

    If you want to save with vi, try:

    :wq
    oz

  4. #4
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    Dang!
    I didn't even see that he was using vi, thanks for the correction ozar.
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

  5. #5
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Quote Originally Posted by MikeTbob View Post
    Dang!
    I didn't even see that he was using vi, thanks for the correction ozar.
    No problem, MikeTbob... my intention was not to correct, but simply add to what you had already said.
    oz

  6. #6
    Just Joined! oliver79's Avatar
    Join Date
    Jun 2006
    Location
    United Kingdom
    Posts
    46
    Hi Guys,

    Thanks for your help

    I used Nano and have been able to successfully start X11...

    It would appear that Nano is the way forward for me in the early stages of me learning Linux!

    Once again thanks for assistance, much appreciated.

  7. #7
    oz
    oz is offline
    forum.guy
    Join Date
    May 2004
    Location
    arch linux
    Posts
    18,733
    Glad you got it all sorted!

    Don't hesitate to create new threads with any new questions.
    oz

Posting Permissions

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