Find the answer to your Linux question:
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20
Hi everybody. I am finally making the switch from Windows to Linux. A friend gave me a CD with the install and live boot of Ubuntu. I tried the live ...
  1. #1
    Linux Newbie
    Join Date
    Aug 2005
    Location
    Sterling, VA
    Posts
    100

    New To Linux - Ubuntu Install/GUI Problem

    Hi everybody.

    I am finally making the switch from Windows to Linux. A friend gave me a CD with the install and live boot of Ubuntu. I tried the live boot and I liked it so I decided to install. I seem to have completed the install process, but now I am at the command prompt (or terminal, whatever it is called in linux). That is where it goes when I reboot.

    How do I log into the GUI interface? Also, how do I set it up to boot directly to the GUI at startup.

    Thanks in advance,

    EndianX

    EDIT:

    Something to add. In this guide, http://mrbass.org/linux/ubuntu/install/, after the screen where you reboot, I didn't get any of the others. I just rebooted and got a login prompt. Did my install not complete successfully?
    - EndianX -

  2. #2
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    You can start the GUI from the command line by typing
    Code:
    startx
    There may be some way to do this that is peculiar to Ubuntu, but in most Linuxes you can set it to start in the GUI by editing your /etc/inittab file. Change the line that looks like this:
    Code:
    id:3:initdefault
    And make it look like this:

    Code:
    id:5:initdefault
    If the number is already a 5 then something else is going wrong during boot.
    Registered Linux user #270181
    TechieMoe's Tech Rants

  3. #3
    Linux Newbie
    Join Date
    Aug 2005
    Location
    Sterling, VA
    Posts
    100
    Thank you for the quick reply.

    I changed id:2:initdefault to id:5:initdefault but it is still booting to terminal.

    There does not seem to be a startx command.
    - EndianX -

  4. #4
    Linux Newbie
    Join Date
    Aug 2005
    Location
    Sterling, VA
    Posts
    100
    Update

    I downloaded a new ISO from the following site

    http://us.releases.ubuntu.com/releases/5.04/

    Burned it to a CD at a slow speed to be sure it was good.

    I reinstalled to be sure I didn't get any sort of errors.

    Also I had it connected to the network during this install incase that made a difference.

    Same thing. I boot into the terminal window and can't figure out how to start the GUI.

    Any ideas? =/
    - EndianX -

  5. #5
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by EndianX
    Same thing. I boot into the terminal window and can't figure out how to start the GUI.

    Any ideas? =/
    What does the console print out when you type the startx command?
    Registered Linux user #270181
    TechieMoe's Tech Rants

  6. #6
    Linux Newbie
    Join Date
    Aug 2005
    Location
    Sterling, VA
    Posts
    100
    Quote Originally Posted by techieMoe
    Quote Originally Posted by EndianX
    Same thing. I boot into the terminal window and can't figure out how to start the GUI.

    Any ideas? =/
    What does the console print out when you type the startx command?
    Code:
    -bash: startx: command not found
    - EndianX -

  7. #7
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by EndianX
    Code:
    -bash: startx: command not found
    Obviously something went wrong with your install, because Ubuntu should have installed your X Windows environment and it didn't. You can try installing it with apt-get. You'll need to have superuser privileges to do this.
    Code:
    apt-get install xorg
    Registered Linux user #270181
    TechieMoe's Tech Rants

  8. #8
    Linux Newbie
    Join Date
    Aug 2005
    Location
    Sterling, VA
    Posts
    100
    Quote Originally Posted by techieMoe
    Quote Originally Posted by EndianX
    Code:
    -bash: startx: command not found
    Obviously something went wrong with your install, because Ubuntu should have installed your X Windows environment and it didn't. You can try installing it with apt-get. You'll need to have superuser privileges to do this.
    Code:
    apt-get install xorg
    Well, I can't log in to SU using the su command, but I'm dealing with that in a different thread. The sudo command seems to work fine for now though.

    When I do a sudo apt-get install xorg I get
    Code:
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package xorg
    What could have gone so wrong with my install? I can't imagine its the CD. Could it be my hardware (IMB Thinkpad)? I looked very carefully for errors during install and didn't see any.

    Thank you very much for the help by the way.
    - EndianX -

  9. #9
    Linux Guru
    Join Date
    Nov 2004
    Posts
    6,110
    Doesn't Ubuntu have runlevels 2-5 the same? The startup script may be missing as it is not called as it would be in other distros, though I'm just gessing. Do you have the var/X11R6/bin/X command, and if so does it run/error at all? Can you upost back results?

  10. #10
    Linux Guru techieMoe's Avatar
    Join Date
    Aug 2004
    Location
    Texas
    Posts
    9,496
    Quote Originally Posted by EndianX
    When I do a sudo apt-get install xorg I get
    Code:
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package xorg
    Hmm... I'd try running apt-get update first and then apt-get install xorg. Sometimes it just needs to refresh its repository listings.

    What could have gone so wrong with my install? I can't imagine its the CD. Could it be my hardware (IMB Thinkpad)? I looked very carefully for errors during install and didn't see any.
    That's a good question. I've not run into an Ubuntu install before that simply didn't install X Windows.
    Registered Linux user #270181
    TechieMoe's Tech Rants

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
  •