Kubuntu question

exilera

Senior member
Apr 12, 2005
940
0
0
Just installed Kubuntu on my second HD. When I choose 'ubuntu' from the GRUB boot loader, it takes me to a linux command prompt. How do I get it to boot into Linux, or do I have to type a string to get it to do so? If so, what's the string? Did I do something wrong when installing?

Thanks.
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
Well it should start X up automaticly.

Usually if X's config is broken it will try to start (and the screen would go blank then back to the prompt) 3 or 4 times before it gives up.

If it doesn't do that then try the command:
startx

and see what happens. Try to remember the errors that happen.
 

forkd

Golden Member
Jan 17, 2001
1,122
0
0
yeah... use the command

startx

It is odd that you have that issue. I had a tough time getting Ubuntu to not start x @ boot....sometimes you have to kick them in just the right place :)
 

Tbirdkid

Diamond Member
Apr 16, 2002
3,758
4
81
it could be possible that linux isnt supporting your video, thus putting you on the cli. what happens when you type startx?
 

P0ldy

Senior member
Dec 13, 2004
420
0
0
Even if you're getting dumped to the terminal, you should get an error. "No screens found!" is common.
 

exilera

Senior member
Apr 12, 2005
940
0
0
Yea, I get "no screens found". Here's what I've done...

Two seperate drives. I formatted the first (and wiped the second) and installed Kubuntu on the first drive. I chose "automatically partition free space" and it made two partions, one with the majority of the drive which it made "ext3" and a 3gb swap partition.

Then, it went through the install (I think, I'm a complete linux newbie :)). It took a few minutes, then finally brought me to a command prompt, asking for my username and password, which I entered. It then gave me the following errors when I type "startx" (that's the only command line command I know!):

(==) Using config file: "/etc/x11/xorg.conf"

Skipping "/usr/x11R6/lib/modules/extensions/libGLcore.a:m_debug_clip.o": No symbolds found

repeat for m_debug_norm.o and m_debug_xform.o

Fatal server error:
no screens found

XIO: fatal IO error 104 (connection reset by peer) on X server ":0.0"
after 0 requests

Then it brings me to:
horizon@kubuntu:~$

This same thing happens whenever I try to install this. I burned the 5.04 install onto a CD from kubuntu.org and I'm installing with that CD.

Please help! :)
 

exilera

Senior member
Apr 12, 2005
940
0
0
I found something that might be of use here:

http://ubuntuforums.org/showthread.php?p=244746#post244746

My question here is, when I try to exit and save the changes made per this article (change 'ati' to 'vesa') I get an error stating "could not open file for writing: permission denied". I thought I was logged in? I logged in after rebooting to the command prompt (won't go into the GUI of course) with the username/password I setup when I installed the OS.
 

bersl2

Golden Member
Aug 2, 2004
1,617
0
0
Originally posted by: exilera
I found something that might be of use here:

http://ubuntuforums.org/showthread.php?p=244746#post244746

My question here is, when I try to exit and save the changes made per this article (change 'ati' to 'vesa') I get an error stating "could not open file for writing: permission denied". I thought I was logged in? I logged in after rebooting to the command prompt (won't go into the GUI of course) with the username/password I setup when I installed the OS.

You are logged in; but since /etc/X11/xorg.conf is a system file, it is owned by user root. I think (U|Ku)buntu is one of those distros that doesn't allow logons as root, so prepend all commands that need root permission with sudo. It should ask you for your password, but it will run the command with root privileges, letting you edit the file.
 

sourceninja

Diamond Member
Mar 8, 2005
8,805
65
91
you can also run xorgconf (sudo xorgconf) and use it to setup X.

Its fairly straight forward to use.
 

exilera

Senior member
Apr 12, 2005
940
0
0
Originally posted by: bersl2
Originally posted by: exilera
I found something that might be of use here:

http://ubuntuforums.org/showthread.php?p=244746#post244746

My question here is, when I try to exit and save the changes made per this article (change 'ati' to 'vesa') I get an error stating "could not open file for writing: permission denied". I thought I was logged in? I logged in after rebooting to the command prompt (won't go into the GUI of course) with the username/password I setup when I installed the OS.

You are logged in; but since /etc/X11/xorg.conf is a system file, it is owned by user root. I think (U|Ku)buntu is one of those distros that doesn't allow logons as root, so prepend all commands that need root permission with sudo. It should ask you for your password, but it will run the command with root privileges, letting you edit the file.

Thanks for the tip. What should I type at the command prompt then? What's the syntax? Sorry, I'm just starting to learn linux :)
 

drag

Elite Member
Jul 4, 2002
8,708
0
0
If you want to use sudo it's very simple.

sometimes it's disabled and yo have to add your user to the sudo users file to be able to use sudo, but I beleive that Ubuntu does this by default.

so if you normally open up the file like this:

pico /etc/X11/xorg.conf

you can go:
sudo pico /etc/X11/xorg.conf

Sometimes there are issues with PATH enviromental variable. Its a variable that stores directories for your system look for a command that you type.. generally users have /bin /usr/bin/ and /usr/local/bin and often /usr/X11R6/bin... Root users, or super users have extra directories added onto the PATH search.. /sbin/ /usr/sbin/ /usr/local/sbin. They contain commands that are generally useless to non-root users.

But fundamentally sudo is pretty simple to use. You just add sudo command before the command you'd normall just type out.