LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 08-09-2007, 10:39 PM   #1
moracca
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Rep: Reputation: 0
am I just a stupid noob or....


maybe its just me, and if it is, I should probably hang myself. I installed fedora 7, finally got it to start the xserver after having to flassh my bios, finally got my wireless card working with ndiswrapper, everything seems to be going Ok. One problem... how in the hell do you shut down the computer?

After searching forever online (which, why would anyone ever put such an obvious thing as how to shutdown on a site), I came to the conclusion that shutdown SHOULD be listed under the system menu. On mine, however, my system menu goes: Preferences, administration, help, about gnome, about fedora, log out root..., and suspend. Is something screwed up here, or am I a complete idiot?
 
Old 08-09-2007, 11:22 PM   #2
Larry Webb
LQ Veteran
 
Registered: Jul 2006
Location: Crystal Beach, Texas
Distribution: Suse for mail +
Posts: 5,100
Blog Entries: 7

Rep: Reputation: 229Reputation: 229Reputation: 229
Don't get down on yourself, I don't have fedora but I would check under "log out" and there should be options to "restart" - "Shutdown" etc.
 
Old 08-10-2007, 04:54 AM   #3
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
The "log out root" worries me, are you always logging in as root? That's considered to be a big security risk.

I've had the similar symptoms to yours with core6, but only when I initially booted to the command line, then did a "startx". When I went to shutdown, there's no "quit" button, only "logout". I had to do a "poweroff" to shutdown. Not sure why that would happen if you're booting straight into gnome.
 
Old 08-10-2007, 07:27 AM   #4
moracca
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
well I've only just installed, so I'm logged in as root till I can get everything up and running. I haven't created my user account yet, but thats to come. You mentioned that you only had this issue when you log in in text mode and startx. This is what I'm doing also, as when I changed the default runlevel in inittab to 5, for some reason it would only let my resolution go up to 800x600, whereas if I run startx it lets me have the full range. When I run startx, I don't have the shutdown option, or even "power off" as you mentioned. The only way I can shutdown is to open a shell and 'shutdown -r 0'. Frustrating, but doable. If you have any idea why I cant up the resolution when runlevel is 5, I would much rather boot directly into gnome anyhow. Thanks for your input.
 
Old 08-10-2007, 08:23 AM   #5
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
Sounds like you had a different install experience to me, my user account was set up as part of the install process.

resolution and stuff is set up in /etc/X11/xorg.conf You need to have the correct video card and monitor details there.
If it's any help, this is mine, yours of course needs to reflect what you have.

Section "Monitor"
Identifier "Monitor0"
VendorName "NEC"
ModelName "NEC V730"
DisplaySize 330 250
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 120.0
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "sis"
VendorName "Silicon Integrated Systems [SiS]"
BoardName "661/741/760/761 PCI/AGP VGA Display Adapter"
BusID "PCI:1:0:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1152x864" "1152x768" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1152x864" "1152x768" "1024x768" "800x600"
EndSubSection
EndSection
 
Old 08-10-2007, 11:49 AM   #6
moracca
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
thanks for the suggestions.. I'll definitely have to try that when I get home tonight. Yeah, during the install, I hadn't flashed the bios yet, so the xserver was unable to start and I had to do the install in text mode. Maybe that's why I didn't get the opportunity to set up the user accounts? It only asked me for the root pass. Not sure. I imagine that if I start in runlevel 5 I'll have the shutdown option, however I'll have to check to be sure, as I didnt stay in it long once I realized i couldn't resize the resolution. Thanks again!
 
Old 08-10-2007, 11:53 AM   #7
kool_kid
Member
 
Registered: Sep 2004
Location: Dubai, UAE
Distribution: RHL
Posts: 350

Rep: Reputation: 30
type this in ur Konsole

Code:
 init 0
do save all ur work

and u aint stupid just a noob like we all are
 
Old 08-10-2007, 06:54 PM   #8
moracca
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Here's my xorg.conf file's contents (obviously not correct). My question is, how does it know what to use when I run startx? If I know where it is getting these settings, maybe I can copy into the xorg.conf file.

Quote:
# Xorg configuration created by pyxf86config

Section "ServerLayout"
Identifier "Default Layout"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "i810"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
edit: oh yeah, and the important part of my lspci output is as follows if it helps:
Quote:
00:00.0 Host bridge: Intel Corporation 82845G/GL[Brookdale-G]/GE/PE DRAM Controller/Host-Hub Interface (rev 01)
00:02.0 VGA compatible controller: Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device (rev 01)
edit2: I ran xorg -configure and got this file:
Quote:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
FontPath "unix/:7100"
FontPath "built-ins"
EndSection

Section "Module"
Load "dri"
Load "glx"
Load "extmod"
Load "xtrap"
Load "dbe"
Load "GLcore"
Load "vnc"
Load "record"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
#DisplaySize 320 240 # mm
Identifier "Monitor0"
VendorName "EMA"
ModelName "eView 17f3"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
Option "DPMS"
EndSection

Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
#Option "DRI" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option "PageFlip" # [<bool>]
Identifier "Card0"
Driver "intel"
VendorName "Intel Corporation"
BoardName "82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device"
BusID "PCI:0:2:0"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection

Last edited by moracca; 08-10-2007 at 07:15 PM.
 
Old 08-10-2007, 09:00 PM   #9
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Unless you specify your screen sizes, the X server is supposed to get that information from your monitor. (There's a command to which the monitor is supposed to respond with a list of the screen resolutions it supports.)
 
Old 08-11-2007, 03:02 AM   #10
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Are you using a log-in manager? GDM, KDM? Those have a large role to play in shutting-down as well so maybe this is your problem?
 
Old 08-11-2007, 04:57 AM   #11
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
Hate to say it, but now you're bios is fixed, may be easier to do a reinstall in graphical mode.

Although the way you're going is a big learning aid.

My monitor wasn't included in the list of one of the distros I installed. So I just copied the Vert & Horiz sync rates from the manual into xorg.conf. Have you got your monitor specs, can google find them for you?

Last edited by decrepit; 08-11-2007 at 05:05 AM.
 
Old 08-11-2007, 05:46 PM   #12
moracca
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jay73
Are you using a log-in manager? GDM, KDM? Those have a large role to play in shutting-down as well so maybe this is your problem?

no, I am just logging in at the command line, and running startx from there, because when I started into runlevel 5 I was unable to change my resolution. That's why I'm trying to figure out what I need to put in my xorg.conf file in order for x to start up properly without having to start it manually. I have a feeling that once that happens, my shutdown option will magically appear. Now its just a matter of figuring out what I need to put in the file. :P
 
Old 08-11-2007, 05:47 PM   #13
moracca
LQ Newbie
 
Registered: Aug 2007
Posts: 10

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by PTrenholme
Unless you specify your screen sizes, the X server is supposed to get that information from your monitor. (There's a command to which the monitor is supposed to respond with a list of the screen resolutions it supports.)

hmm. now that I'm thinking about it, would a KVM switch affect that command getting to and from the monitor? Perhaps that is part of my issue. I might try plugging in directly to see what it can come up with, but at this point it may be easier to just create the xorg.conf file manually.
 
Old 08-11-2007, 06:00 PM   #14
jay73
LQ Guru
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 133Reputation: 133
Everything is working fine for me with a Belkin KVM switch (with the occasional exeption of the mouse - that's why I use two).

Have you checked /var/log/Xorg.0.log for any signs of errors when you log in as a regular user?
 
  


Reply



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
Stupid Noob Question Majusiak Linux - Newbie 2 06-08-2007 08:55 PM
the noob is back with another stupid linux question texasnoob Linux - Software 15 05-28-2007 09:06 AM
I'm just a stupid noob ubuntuuser Linux - Newbie 8 01-19-2006 10:36 AM
Stupid Noob Question #47 purplemooseman Slackware 2 08-14-2004 01:11 AM
stupid noob driver question wilcox69 Linux - Newbie 2 05-27-2004 11:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 02:36 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
Open Source Consulting | Domain Registration