LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-20-2006, 12:44 AM   #1
FallenEmpire
LQ Newbie
 
Registered: Jul 2006
Posts: 9

Rep: Reputation: 0
Hello people, I'm new to linux


I got a copy of FC5 and I installed it. I did some reading on Linux but the problem is most things aren't going according to plan and I'm wondering if I should just give up or are there obvious things I am doing wrong?

1. After installing my nvidia drivers I went to System->Administration->Display and I chose dual display and configured my second monitor. Afterward I restarted and I was confronted with a blue screen that said X server failed to start. I finally just got my computer to start back up normally again and I'm wondering if I did something wrong?

2. Is there a difference between logging in as root and using su command and typing your password?

3. If I install the nvidia drivers as root will they work in a user account? For some reason my user account seems choppier when I scroll webpages.

4. If I start a full screen game am I supposed to turn off any background windows? My fps is dangling around 4 - 11.

5. When a full screen game freezes what series of keystrokes should I try to unlock my system with? (ctrl-alt-del doesnt work)

6. If an X server (I think that is what they are called) freezes how can I kill it? I know that the first display or X server or whatever it is called is accessed by ctrl-alt-f7. If I wanted to turn off the display how would i do that in the command line accessable by ctrl-alt-f2?

7. How do I interpret and analyze log files so as to debug what is causing the errors? Is there a general approach or is it always different depending on which log file? Can you direct me to any readings that deal with specific log files and how to analyze them, what everything means on them etc... (Start with graphic log files if there are many readings)


For now I think those are the things vexing me. I don't know if my questions are reasonable to be asking here, but I guess I'll find out soon eough. Thanks.
 
Old 07-20-2006, 01:16 AM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Hi,

And welcome to LQ!

Quote:
Originally Posted by FallenEmpire
2. Is there a difference between logging in as root and using su command and typing your password?
There is - primarily if you're using X. You're potentially more open
to exploits if you login as root and run your sessions that way.

Quote:
Originally Posted by FallenEmpire
3. If I install the nvidia drivers as root will they work in a user account? For some reason my user account seems choppier when I scroll webpages.
Yes, they will.

Quote:
Originally Posted by FallenEmpire
4. If I start a full screen game am I supposed to turn off any background windows? My fps is dangling around 4 - 11.
Kind of suggests that NVidia drivers aren't loaded (unless your
machine is a P90 ;}).

Quote:
Originally Posted by FallenEmpire
5. When a full screen game freezes what series of keystrokes should I try to unlock my system with? (ctrl-alt-del doesnt work)
Ctrl-Alt-BkSpc should kill an Xsession (if the machine hasn't locked hard).

Quote:
Originally Posted by FallenEmpire
6. If an X server (I think that is what they are called) freezes how can I kill it? I know that the first display or X server or whatever it is called is accessed by ctrl-alt-f7. If I wanted to turn off the display how would i do that in the command line accessable by ctrl-alt-f2?
See 5, or (as root) skill -9 xdm X (or whatever other processes
are involved with a graphical login with FC).

Quote:
Originally Posted by FallenEmpire
7. How do I interpret and analyze log files so as to debug what is causing the errors? Is there a general approach or is it always different depending on which log file? Can you direct me to any readings that deal with specific log files and how to analyze them, what everything means on them etc... (Start with graphic log files if there are many readings)
Basically really just read them; hunt down entries chronologically
close to the time the problem occurred.



Cheers,
Tink
 
Old 07-20-2006, 01:20 AM   #3
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 623
Blog Entries: 1

Rep: Reputation: 49
Here are some answers to some of your questions:

(1) did you by chance use nvidia's proprietary drivers or are you using the drivers supplied by Fedora. I remember reading something about there being major problems with nvidia's proprietary drivers. You might want to look through the Fedora website to see what it has to say about nvidia drivers.

(2) Logging in as root causes all of the programs that you start up to have root privileges, whereas doing an su and providing password causes only the terminal shell that you did su in to have root privileges. So, there is a difference.

(5) You might want to type ctrl-alt-f1 to get a terminal shell, log in as root and then type "reboot" (with the "s) at the terminal prompt.
 
Old 07-20-2006, 01:27 AM   #4
RAdams
Member
 
Registered: May 2006
Location: Cincinnati, Ohio
Distribution: Ubuntu
Posts: 256

Rep: Reputation: 30
1. How did you install the nVidia drivers?

2. Yes. Logging in as root gives you complete access to all files, commands, etc. for that entire session. Using "su" will allow you to operate as "superuser" for a time; namely, until you end that terminal session. Logging in as root leaves you open to exploits and may restrict/foul up installing or running some programs (Crossover Office comes to mind). It is not advisable, and rarely necessary, to login as root. I only do this once every blue moon when I'm making extensive changes to my system, such as rebuilding an X Configuration, or mucking about with a custom kernel (not that I know what I'm doing; I just muck about. ). At any rate, don't login as root unless it's ABSOLUTELY necessary. One of the great things about Linux is that 99.9% of the time, you can operate as a normal user, do what you need to do, and leave your system protected against local or remote exploits.

3. Almost usually always yes. Again, how did you install your drivers?

4. See above question.

5. In Fedora, Ctrl+alt+backspace will end your session in a hurry, or you can run gconf-editor and go to apps -> metacity -> Global Keybindings and set a custom keystroke by double clicking "run_command_1". In the box that pops up, type:
Code:
<Ctrl><Alt>Delete
Then go over to keybinding_commands and find command_1. Double click, and when the box pops up, type:
Code:
gnome-system-monitor
6. By, "turn off the display", do you mean actually turn the monitor off, or go to a command line only interface? If it's the former, that's going to depend on some hardware variables. If it's the latter, using our little gconf-editor trick above, you could assign your favorite keystroke to run:
Code:
init 3
7. Look for a utility called "Bug Report Tool". There are helpful guides linked that will give you logging information specific to your distro.

Never give up. There's a learning curve at first, but you will find these forums can help you jump those hoops. Also, I remember from my Fedora days coming across a really great Fedora guide at http://www.fedorafaq.org/. Happy Lxing!
 
Old 07-20-2006, 01:32 AM   #5
FallenEmpire
LQ Newbie
 
Registered: Jul 2006
Posts: 9

Original Poster
Rep: Reputation: 0
Thanks for the answers. Good news is I somehow got the fps normalized so the drivers seem to be okay.

"See 5, or (as root) skill -9 xdm X (or whatever other processes
are involved with a graphical login with FC)." This response is kind of confusing and I'm afraid to test it out incase i lose all my windows.

do you mean run either:

Code:
See 5
or
Code:
skill -9 xdm X
to kill the display? (how can i specify which display to kill, or is there only one? I am thinking like can i have a display on ctrl-alt-f7 and f8?

And about su, I know those things I was asking if there is a difference between suing in a terminal and then typing in a command as opposed to logging in as root? Because when I ran setsebool it came up as not a command when I sued to become root and when i logged in as root suddenly setsebool was a command.

And how can I get my duel display running? Any links?
 
Old 07-20-2006, 02:12 AM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by FallenEmpire
And about su, I know those things I was asking if there is a difference between suing in a terminal and then typing in a command as opposed to logging in as root? Because when I ran setsebool it came up as not a command when I sued to become root and when i logged in as root suddenly setsebool was a command.
There's a difference between "su" and "su -". su will preserve the
current users environment, hence stuff that lives in */sbin/ won't
show up in your normal users path, and not in roots either if you
just su. su - fixes that.


Cheers,
Tink
 
Old 07-20-2006, 02:18 AM   #7
Razze
Member
 
Registered: Dec 2004
Location: Espoo, Finland
Distribution: Gentoo, 2.6.16-gentoo-r11
Posts: 108

Rep: Reputation: 15
Hello!

There are some differences between logging in as root or using su other than what have been mentioned so far.

If you enter
Code:
# su
you will have the authorisation of the root user, but will still be using all the environment variables and the settings of the user you logged in as.
If you enter the command
Code:
# su -
then you will basically log in as root in the terminal window with all the environment settings ($PATH etc) set for user root.
 
Old 07-20-2006, 02:29 AM   #8
FallenEmpire
LQ Newbie
 
Registered: Jul 2006
Posts: 9

Original Poster
Rep: Reputation: 0
okay that clears it up.

I just ran into another problem with yum, can someone take a look? It's been doing the same thing for 3 completely different things I've been trying to download.

Code:
[root@localhost ~]# yum -y install flash-plugin
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
atrpms                                                               [1/7]
core                                                                 [2/7]
dries                                                                [3/7]
macromedia                                                           [4/7]
updates                                                              [5/7]
freshrpms                                                            [6/7]
extras                                                               [7/7]
Reading repository metadata in from local files
primary.xml.gz            100% |=========================| 1.2 MB    00:01
ftp://fedora.mirrors.tds.net/pub/fedora-core-extras/5/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 787 kB    00:01
ftp://mirror.newnanutilities.org/pub/fedora/linux/extras/5/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================|    0 B    00:30
http://mirror.linux.duke.edu/pub/fedora/linux/extras/5/i386/repodata/primary.xml.gz: [Errno 4] Socket Error: timed out
Trying other mirror.
primary.xml.gz            100% |=========================| 1.2 MB    00:02
http://download.fedora.redhat.com/pub/fedora/linux/extras/5/i386/repodata/primary.xml.gz: [Errno -1] Metadata file does not match checksum
Trying other mirror.
primary.xml.gz            100% |=========================| 112 kB    00:21
 
Old 07-20-2006, 02:21 PM   #9
xode
Member
 
Registered: Aug 2003
Distribution: Mandrake 9.0; FC4; FC8; SUSE 10.3; SUSE 12.1; SUSE 13.2
Posts: 623
Blog Entries: 1

Rep: Reputation: 49
Quote:
From FallenEmpire

I just ran into another problem with yum...
Maybe you want to manually download and install the packages locally, using something like smart, which you can find at http://labix.org/smart The advantage of this approach is that if you ever have to reinstall (e.g. a hard drive fails) and provided that you have kept good backups, you can do it from local RPMs and not have to go through the rigmarole of pulling everything down through the internet again.

You will probably need to use rpm itself to install smart since yum can't do local installs very well, if at all. Simply do, at a root prompt, rpm -i <smart-package-rpm-name> and rpm -i <smart-package-gui-rpm-name>.

If you take this approach, you should start with the packages that you know you want to install (e.g. flash-plugin) and use smart to see what dependencies need to be satisfied (if any) in the form of more packages that will need to be downloaded. Then, once all dependencies are satisfied, use smart to install the packages and all of their dependencies.
 
Old 07-21-2006, 01:25 PM   #10
RAdams
Member
 
Registered: May 2006
Location: Cincinnati, Ohio
Distribution: Ubuntu
Posts: 256

Rep: Reputation: 30
Quote:
Originally Posted by FallenEmpire
okay that clears it up.

I just ran into another problem with yum...
Looks like you either lost connection, or the package you were trying to download has changed. Have you tried using yumex or another visual yum installer? There is one included with Fedora. I suggest this because you may get additional debugging info if you use one of these programs.
 
Old 07-21-2006, 01:28 PM   #11
RAdams
Member
 
Registered: May 2006
Location: Cincinnati, Ohio
Distribution: Ubuntu
Posts: 256

Rep: Reputation: 30
Quote:
Originally Posted by FallenEmpire
Thanks for the answers. Good news is I somehow got the fps normalized so the drivers seem to be okay.

"See 5, or (as root) skill -9 xdm X (or whatever other processes
are involved with a graphical login with FC)." This response is kind of confusing and I'm afraid to test it out incase i lose all my windows.

do you mean run either:

Code:
See 5
or
Code:
skill -9 xdm X
to kill the display? (how can i specify which display to kill, or is there only one? I am thinking like can i have a display on ctrl-alt-f7 and f8?

And about su, I know those things I was asking if there is a difference between suing in a terminal and then typing in a command as opposed to logging in as root? Because when I ran setsebool it came up as not a command when I sued to become root and when i logged in as root suddenly setsebool was a command.

And how can I get my duel display running? Any links?
He means the latter of the two codes you gave. And I would suggest following the ctrl+alt+backspace and ctrl+alt+delete tricks I and others have mentioned.

Regarding how to get the dual display running, how did you install your video drivers?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How many people around you using Linux? zyzyis General 60 02-21-2013 07:16 AM
How many people did you help switch to Linux ? Ben2210 General 18 10-20-2008 12:55 PM
How can I get people to use Linux? I'm bad at converting people over. Mr. Hill Linux - Newbie 31 10-19-2008 09:16 AM
Hello there linux people konsolebox LinuxQuestions.org Member Intro 3 07-19-2006 03:23 PM
hi all u Linux people robbat LinuxQuestions.org Member Intro 1 01-20-2005 08:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration