LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Three simple questions (https://www.linuxquestions.org/questions/linux-newbie-8/three-simple-questions-632566/)

progame64 04-02-2008 07:25 PM

Three simple questions
 
Question 1 : How do i install / login to "root"
Question 2 : When I try to start alot of games it goes to a black screen
like its going to start up but then it goes back to desktop.
Question 3 : When i try to change screen resolution The higest It can go it is 800 by 600

pljvaldez 04-02-2008 07:32 PM

What linux distribution are you using?

progame64 04-02-2008 07:33 PM

ubuntu 7.10

yulester 04-02-2008 09:15 PM

What machine are you using
 
Reason I ask - I had a mini Dell Desktop unit that wouldn't work for crap in the graphics resolution catagory. Found out I had to adjust the graphics memory allocation in the BIOS. Runs Kubuntu 7.1 just fine now.

What kind of games are you running?

What kind of graphics card / chipset are you using?

edit - Root at command line??

Ubuntu/Kubuntu like the first user name and password to be root administrative. Don't think you have to leave it that way, but that's what I have found in the past.

pixellany 04-02-2008 10:14 PM

1. Ubuntu disables the root user by default. To enable, simply enter "sudo passwd root". Give your user password and the prompt, and then enter the new password for root.

3. You have to first specify the right driver for your video card. You can use xorgconfig or you can simply edit /etc/X11/xorg.conf
Tell us what your video card is, and we'll go from there.

progame64 04-02-2008 10:42 PM

nVidia Corporation C51 [GeForce 6150 LE]

progame64 04-02-2008 10:47 PM

Quote:

Originally Posted by yulester (Post 3108897)
Reason I ask - I had a mini Dell Desktop unit that wouldn't work for crap in the graphics resolution catagory. Found out I had to adjust the graphics memory allocation in the BIOS. Runs Kubuntu 7.1 just fine now.

What kind of games are you running?

What kind of graphics card / chipset are you using?

edit - Root at command line??

Ubuntu/Kubuntu like the first user name and password to be root administrative. Don't think you have to leave it that way, but that's what I have found in the past.

I'm trying to run mostly FPS'S and Doom 1 and mostly 3d games.

my GFX card is nVidia Corporation C51 [GeForce 6150 LE]

and no root and command line did not work.

yulester 04-03-2008 01:13 AM

To Verify Root - -
 
Whatever the password you use to do administrative tasks in the GUI should be the root password at the command line.

Tinkster 04-03-2008 03:34 AM

Quote:

Originally Posted by yulester (Post 3109065)
Whatever the password you use to do administrative tasks in the GUI should be the root password at the command line.

Ummm .............. no.

That's his OWN password.


Cheers,
Tink

pixellany 04-03-2008 06:15 AM

Quote:

Originally Posted by progame64 (Post 3108966)
nVidia Corporation C51 [GeForce 6150 LE]

You'll want to install the "nvidia" proprietary driver. If it is not available with your package manager, then go here:
http://www.nvidia.com/Download/index.aspx?lang=en-us

The new Nvidia driver installation script is REALLY nice.

progame64 04-03-2008 09:39 AM

ok downloaded.. Tried to install says I need to nstall as root how I do that?

progame64 04-03-2008 05:43 PM

Please help look here.

http://imgplace.com/image_bin/9267/2...06c.png.th.jpg

pixellany 04-03-2008 09:02 PM

Quote:

Originally Posted by progame64 (Post 3109913)

You posted a 100x100 pixel image!! Can you read it?

On Ubuntu, to "run as root" use "sudo". you will likely need to change permissions first:
sudo chmod 755 filename
then:
./filename

for "filename" you can use simply "NV*"--it will expand the the full name.

progame64 04-04-2008 09:12 AM

Hello So i tried to take off the Xserver because i got an error but now.
It only comes to console version and when i try to go back it says error. Can I just Reinstall ubuntu over it again?

greengrocer 04-04-2008 07:02 PM

Quote:

Question 1 : How do i install / login to "root"
You really just need to change the 'root' password.

You can change the 'root' account password the following way:

i) open a command terminal (click on Applications menu, then click Accessories, then click Terminal)

ii) type in the following:

Code:

sudo passwd root
You will be first prompted for your own password, so type that password in.

Then you will be prompted (twice) to enter a new password for the root account.

Now you will be able to login as root, here are two ways you can do that:

i) Type 'su' into a terminal window and enter the new root password that you had set earlier.

OR

ii) Hold down CTRL+ALT+F1 and then type in the user name 'root' and then type in the new password that you created for 'root' earlier. To return to the Gnome desktop, simply hold down CTRL+ALT+F7

IMPORTANT: You should avoid logging in as 'root' as much as possible, and should further avoid leaving yourself signed in as 'root' for extended periods of time. Use the 'exit' command when your finished 'root'ing.


Quote:

Question 2 : When I try to start alot of games it goes to a black screen
like its going to start up but then it goes back to desktop.
Which games?

Quote:

Question 3 : When i try to change screen resolution The higest It can go it is 800 by 600
You will need to edit the xorg.conf file, do the following:

i) i) open a command terminal (click on Applications menu, then click Accessories, then click Terminal), and then type:

Code:

sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf.backup
sudo pico /etc/X11/xorg.conf

enter your own password and then scroll through the file, make sure you have the following lines in there:

Code:

Section "Screen"
        Identifier      "Default Screen"
        Device          "<name of your graphics card>"
        Monitor        "<name of your monitor>"
        DefaultDepth    24
        SubSection "Display"
                Depth          1
                Modes          "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth          4
                Modes          "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth          8
                Modes          "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth          15
                Modes          "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth          16
                Modes          "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Depth          24
                Modes          "1280x1024" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection

Basically, for each depth, there is a list of screen resolutions, you should make sure that the screen resolution that you want to use is listed for each display depth.

If you want to run at a reolution of "1280x1024", then you will need to have it listed as shown above.

Edit the file as required and then save out the file using CTRL+O to save and then CTRL+X to exit.


Regards,
Greengrocer


All times are GMT -5. The time now is 08:17 PM.