PDA

View Full Version : [ubuntu] JUST installed ubuntu, have 2 questions!



thetimer
September 21st, 2008, 05:04 PM
Hello , I hope someone can help me out here!

I have just installed ubuntu for the first time, and everything is great except fora few things I would like to change, and im not sure how to go about doing this.

My first question is how do I change my bootup/startup so that when I first turn the computer on, it goes to console mode instead of automatically launching Gnome.. ? I would like it to just boot up into console mode so that I can launch Gnome manually if need be, it seems right now there is no way to get around this and it is frustrating!

My second question is screen resolution in gnome, it says currently the largest screen resolution available to me is 800x600, and I think that would be because my video drivers are not installed. Does that sound right?

Thanks in advance!!! :guitar:

Vadi
September 21st, 2008, 05:07 PM
2nd question - go to system - administration - hardware drivers, and enable the video driver there. That should hopefully help.

No idea about the first however, it's not a common request.

Bucky Ball
September 21st, 2008, 05:17 PM
Oddly enough, someone was asking about booting into a terminal rather than gnome just the other day. Coincidentally! Never seen that one before now twice in quick succession.

Anyhow, from the login screen, you can hit CTL/ALT/F1 and that will take you to a shell. About the best a bunch of us could come up with. You are asked for your username and password in the shell and there you go ... text for your enjoyment!

Kellemora
September 21st, 2008, 05:21 PM
Hi TT

I'm a Noob also and hit the same problems most do with Resolution and virtually none of the suggestions offered worked, so I did some digging and put together a couple of small articles that should help you with that problem anyhow.

The first one is getting your screen resolution right.
The second one is if you have HUMONGOUS screen on log in.

I'll post both right here below for your perusal!

Good Luck

TTUL
Gary

Screen Resolution Problems? Easy fix!
Ubuntu 8.04 Hardy Heron

From a Noob for fellow Noobs!

Preliminary Note:
This document is to address Changing Screen Resolution using Preferences causes Screen to Roll horizontally, vertically or just mess up royally. Also, only 640 x 480 resolution available in Preferences. This fix may or may not allow you to select other available resolutions from the Preferences Option without changing MODE lines in /etc/X11/xorg.conf which I am not addressing here.
If this fix causes log-in screen obesity (HUGE SCREEN), see my other post titled Huge Log-in Screen? Easy fix! Which addresses that problem separately and easily.

To get started we need the Tool called Screens and Graphics.
If it is not available under Applications/Other, then RIGHT CLICK on Applications, select Edit Menu (left click) and wait for the Main Menu screen to open. From the Main Menu, left column (Menus) select 'Other' and a new list of text will appear in the right screen (items). Place a check mark in the box to the left of Screens and Graphics, this will automatically select 'Other' if it was NOT in your drop down list under Applications. Close this window.
You will have to REBOOT for the change to take affect.

Once you're up and running again, left click on Applications/Other/Screens and Graphics.
A log-in screen will appear, type your Normal log-in password. Why it don't ask for Root I don't know.

In the Screens and Graphics Preferences window select Graphics Card first just to check to make sure your correct graphics card is displayed. Normally these entries are correct, but check them anyhow!

OK, now select the Screen Tab and get things set up to run properly.

Click on the little Monitor icon to the right of Model: It may currently say Plug n Play. A new (Choose Screen) window opens, from the Left window, select the Manufacturer of your Monitor. The screen on the right will change to the models that manufacturer makes. Scroll through the list to find your Monitors model name and number and/or identification.
If you have an .inf driver for your particular monitor and it is not listed, select add and follow the directions there. I've not found a monitor not already in the listing yet. Then I never have many new things either, that might not be listed long before I get it, hi hi......... IF a Test button comes up, just IGNORE IT, because your screen will mess up royally. After selecting your monitor, select OK! This will bring you back to the Screen and Graphics Preferences screen.
Here you will select the desired resolution you would like your DESKTOP to run in. The proper bandwidth should self-select, but check to make sure it's right for your monitor. A wrong setting could damage your monitor!
Select OK and it will change and ask you if you want to Keep this setting. If all looks OK, select YES.
This change, and all the default parameters for your selected monitor WILL be written to the /etc/X11/xorg.conf file. Also, the Screens and Graphics window may show UNKNOWN for your monitor. The result of this Unknown Monitor or sometimes even if the Monitor is KNOWN and displays correctly the resultant change to the xorg.conf file, may cause your log-in screen to become OBESE (HUGE) and you might not be able to see your log-in boxes.

But don't worry, you KNOW they are there!
Just type in your log-in name, hit enter and type your password, hit enter and wait for the log-in to complete. Your xwindow (Gnome or others) should be at the desired resolution now.

IF you did have the HUGE log-in problem, see my post on Huge Log-in Screen? Easy fix!

The above was tested on the following machines with complete success:
HP Pavilion 753n, 2.53GHz Intel P4, 512mb, Intel 82845G/GL video, Samsung SyncMaster 955df.
e-machines T4165, 1.6GHz Intel P4, 256mb, AGP 3D video, AOC monitor.
Compaq 5420, 1.47GHz Athlon XP1700, Savage 4 AGP video, Samsung SyncMaster 3Ne.


TTUL
Gary/aka Kellemora
9/10/08 – rev 9/15/08


Huge Log-in Screen? Easy fix!
Ubuntu 8.04 Hardy Heron

From a Noob for fellow Noobs!

Preliminary Note:
FWIW: I did NOT have any luck using StartUpManager from Synaptic. Editing /etc/usplash.conf xres and yres was unnecessary as they were already correct. Neither dpkg-reconfigure -phigh xserver-xorg nor update-initramfs -u worked either to correct the HUGE Log-in screen problem.

This is from a total Noob, but took much research to find out exactly, what changed where, to figure it out. It's also fairly long because it is geared toward big dummies like myself, hi hi.....

A Simple Test:
If you return your monitor to the original default settings, you should find that your log-in screen once again works right. This was the CLUE to finding out which file controlled the log-in screen for me!

How to change screen resolution (not using Properties) is in another document titled “Screen Resolution Problems? Easy fix!” This too might cause log-in screen obesity!

Being a Noob, there may be an easier faster way to do this, but this is what consistently works for me.

The following changes are made using the “ROOT TERMINAL”.

The Terminal in Applications/Accessories does not work for me. No Permission when you go to save!
If you do not have the Root Terminal under Applications/System Tools, then RIGHT CLICK on Applications, select Edit Menus (by left click) and a Main Menu will appear shortly. In Main Menu (under Menus) select System Tools and the screen (titled Items) to your right will change. Place a check mark in the box to the left of Root Terminal and select CLOSE. The Root Terminal will now appear as a selection when you select Applications/System Tools.

NOW, Select the Root Terminal. Before the Root Terminal Opens you will have to Log-in as Administrator. This is your NORMAL log-in! Why it doesn't ask for Root Log-in I have no idea.
Even though it shows you are IN Root, you will notice that you are still in your /home/name/ directory. If you try to open the required file from here, you will get a blank screen so DON'T save it, Close without Saving.

At the prompt type cd .. this will take you back to your /home directory.
Type cd .. again and you will be in the ROOT Directory and can perform the following command.

Note that the X is a capital letter, all others are lower case! It's X Eleven not XII.

gksu gedit /etc/X11/xorg.conf This will open your xorg.conf file for editing.

SAFETY OPTION: Right Click on File, select SAVE AS (left click). Add .old behind the filename xorg.conf so it reads xorg.conf.old, then Right Click on SAVE. You will now be VIEWING the saved file so select Right Click on the OPEN Icon and select xorg.conf to reopen the working file for changes. You can always revert back to the original file by saving it as xorg.conf without the word .old behind it. End of Safety Option.

Scroll down (near the bottom) and you will find a line titled Section “Screen”, tabbed in twice you will find a line that reads Virtual followed by two sets of digits. You should recognize these digits as being common screen resolutions.
Be very careful here! It's better to be safe than sorry.
You may notice a High screen resolution listed here, one your monitor cannot recognize, like 1792 1344 (which defaults to 640 480), or it may be very low, like 640 480 already. My desired screen resolution for the log-in screen is 1024 768 so those are the numbers I chose to replace the numbers.

DO NOT delete the existing numbers yet. They appear to me to be in placeholders is why!

For safety reasons. Place your cursor after the first digit of the first existing number and if different from the first number already listed, type the new single digit then move left one space and delete the first number, then move back right and enter your remaining numbers, then delete the old numbers from behind it. If you are going from 1792 down to 1024, just place your cursor between the 1 and 7 and type 024 then delete the 792 ONLY. I still use this method if I'm going from 640 up to 1024, placing the cursor between the 6 and 4 as my starting point, typing the whole number 1024.
OK, move to the second number, it may be 1344 and you want 768. Use the same method here too! Place your cursor between 1 and 3, type 768, delete the 344, move left and delete the leading 1.

This may be an unnecessary overkill way of doing it. But why take chances when we're only Noob's?

Go to the top of the Screen and Select SAVE, then wait for a bit to make sure it saved before exiting the gedit program.

This has worked on all Ubuntu 8.04 Hardy Heron machines I have tried it on in my testing!

FWIW: I did NOT have any luck using StartUpManager from Synaptic. Editing /etc/usplash.conf xres and yres was unnecessary as they were already correct. Neither dpkg-reconfigure -phigh xserver-xorg nor update-initramfs -u worked either to correct the HUGE Log-in screen problem.

The above was tested on the following machines with complete success:
HP Pavilion 753n, 2.53GHz Intel P4, 512mb, Intel 82845G/GL video card.
e-machines T4165, 1.6GHz Intel P4, 256mb, AGP 3D video card.
Compaq 5420, 1.47GHz Athlon XP1700, Savage 4 AGP video card.
e-machine T6524, 2.30GHz Athlon 64-3500+, ATP Radion Express 300 video card.

TTUL
Gary/aka Kellemora
9/10/08 – rev 9/15/08

thetimer
September 21st, 2008, 05:31 PM
thanks guys! :D

billgoldberg
September 21st, 2008, 05:36 PM
I guess by now the resolution this is solved?

The first one:

I'm not sure what you are asking?

Do you want it to start in console mode?

Or does it start in console mode and you want it to start in graphical mode?

Both are answered in this link:

http://cviorel.rdscv.ro/?p=57

Bucky Ball
September 21st, 2008, 06:02 PM
Both are answered in this link:

http://cviorel.rdscv.ro/?p=57

Excellent tip, billgoldberg. tnx. So simple, System > Administration > Services and switch Gnome off then logout. Why didn't I think of that when someone was asking a few days ago? [-(