LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   How do i get the ubutnu Gui up, i seem to be stuck in CLI :o (https://www.linuxquestions.org/questions/ubuntu-63/how-do-i-get-the-ubutnu-gui-up-i-seem-to-be-stuck-in-cli-o-442866/)

aysiu 05-08-2006 06:24 PM

It sounds as if you might have done a server install instead of a regular install. A regular install is supposed to give you a GUI.

You don't need a CD if you have an internet connection.

When you get to a black screen with white text and a login prompt, log in.

You should then get a prompt that looks like this:
Code:

username@ubuntu:~$
At that prompt, type these commands:
Code:

cd
wget -c http://www.psychocats.net/ubuntu/breezy.list
sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup
sudo cp breezy.list /etc/apt/sources.list
sudo apt-get update
sudo apt-get install ubuntu-desktop
rm breezy.list
sudo /etc/init.d/gdm restart


rawplug89 05-09-2006 11:04 AM

It works! Not sure how, not sure why :P
Its currently installing i shall report back later.

1 more question. Is there a way to re-arrange the order of the OS in GRUB boot loader, the technoboic people in my house want it to boot xp by defualt....



******
When i say it worked, i mean it worked, mounting the cd and getting the files from there

rawplug89 05-09-2006 11:59 AM

Ok i now get the GUI login screen but whenever i try to login with my user name i get
home/tom appears to be your directory
this does not exist setting your directory to /root
this is unlikely to work unless you run in terminal mode


is there something i need to do get a user to login?

voger 05-09-2006 01:19 PM

Try to go with ctrl+alt+f1 in command line and

Code:

sudo mkdir /home/tom
sudo chown tom /home/tom
sudo chgrp tom /home/tom

Just a question. How did you managed to mess up such a straight forward installation? lol

rawplug89 05-09-2006 01:25 PM

Quote:

Originally Posted by voger
Just a question. How did you managed to mess up such a straight forward installation? lol

No idea just went throught the steps they told me.... therefore not my fault.... honestly

rawplug89 05-09-2006 01:31 PM

all three of those lines give me operation not permitted errors

any other ideas.
Also any way of changing the default OS in GRUB?

rawplug89 05-09-2006 01:42 PM

Just had to boot into windows for something and noticed that the user profiles i had created were appearing under the FAT32 partition i created, shouldn't they be on the linux partition???

Becuase i wanted to dual boot XP i found a guide which suggested splitting my 80GB hd into
50GB Windows
14GB Linux
1GB Linux Swap file
5GB FAT32

is this screwing it up?

voger 05-09-2006 01:52 PM

With what username do you login in command line? If it is your username (i assume tom) do you type these commands as seen above? If yes then the system asks the password. Do you type the password of the user that is currently loged in?

For the grub thing.

Code:

sudo cp /boot/grub/menu.lst /boot/grub/menu.lst-backup
vi /boot/grub/menu.lst

Just in case you dont want to mess up with vi
Code:

sudo apt-get install mc
sudo mcedit /boot/grub/menu.lst

In that file there are entries like

Quote:

title Ubuntu, kernel 2.6.12-9-686
root (hd0,7)
kernel /boot/vmlinuz-2.6.12-9-686 root=/dev/hda8 ro quiet splash
initrd /boot/initrd.img-2.6.12-9-686
savedefault
boot
And one entry like

Quote:

title Windows NT/2000/XP (loader)
root (hd0,0)
savedefault
makeactive
chainloader +1
The first entry is entry nr. 0. So you start counting the entries 0, 1, 2, 3. If i remember well WinXP must be nr. 3. So you find near the beggining of the file the line

Quote:

default 0
and change that to 3

rawplug89 05-09-2006 01:59 PM

I login with tom and when i type the sudo commands i type the root password...

voger 05-09-2006 02:03 PM

Quote:

ust had to boot into windows for something and noticed that the user profiles i had created were appearing under the FAT32 partition i created, shouldn't they be on the linux partition???
You probably selected, during the installation, the fat32 partition to be mounted as /home. Can you post the contents of /etc/fstab file?

voger 05-09-2006 02:04 PM

Quote:

I login with tom and when i type the sudo commands i type the root password...
Nope. Needs tom's password

rawplug89 05-09-2006 02:07 PM

Oh there is one way for me to login, if i start in recovery mode, login with root and then run StartX i get gnome up but lots of things dont work, like the media player, ect... does this make any difference?

rawplug89 05-09-2006 02:09 PM

Quote:

Originally Posted by voger
You probably selected, during the installation, the fat32 partition to be mounted as /home. Can you post the contents of /etc/fstab file?

A friend suggested that and all it says is lots of the little squiggles

ECTFSTAB[NEWFILE] 0,0-1 All

no idea what this means tho



Why did someone say they needed my password?

rawplug89 05-09-2006 02:09 PM

I did manage to change the GRUB boot order by logging in throught the root, and then changing the text file

voger 05-09-2006 02:13 PM

Hmmm without seeing the full fstab file it is hard to understand what you mean. Maybe a copy paste here would help


All times are GMT -5. The time now is 03:46 AM.