Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Desktop Environments
  • Search

[SOLVED] problem with installing X

Problems with GUI applications? Questions about X, KDE, Gnome, Fluxbox, etc.? Come on in. NOTE: For multimedia, go up one forum
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
hadian
n00b
n00b
Posts: 72
Joined: Thu May 10, 2007 4:29 pm

[SOLVED] problem with installing X

  • Quote

Post by hadian » Sun Nov 22, 2009 3:11 pm

after installing the base system and booting , i emerged xorg-server and nvidia driver and followed the steps as mentioned in the handbook. when i fire up X by startx, i can see 3 terminal windows and a clock in the screen but the keyboard and mouse does not work and i should restart the system by reset key!!!!!
this is my /etc/X11/xorg.conf file:

Code: Select all

Section "ServerLayout"
	Identifier     "X.org Configured"
	Screen      0  "Screen0" 0 0
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
	ModulePath   "/usr/lib64/xorg/modules"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection

Section "Module"
	Load  "glx"
	Load  "dbe"
	Load  "record"
	Load  "wfb"
	Load  "extmod"
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"
	Identifier   "Monitor0"
	VendorName   "Monitor Vendor"
	ModelName    "Monitor Model"
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "nvidia"
	VendorName  "nVidia Corporation"
	BoardName   "C51PV [GeForce 6150]"
	BusID       "PCI:0:5:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 16
	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
the command : lsmod | grep nvidia results in:
nvidia 9467352 0
i2c_core 12784 2 nvidia,i2c_nforce2

and the command: eselect opengl show gives nvidia
in /dev/input there are 3 options related to mouse . mice, mouse0 and mouse1. i changed the line

Code: Select all

Option	    "Device" "/dev/input/mice"
to

Code: Select all

Option	    "Device" "/dev/input/mouse0"
but nothing changed.
would anybody give me a guide?
Regards
Last edited by hadian on Tue Nov 24, 2009 1:40 pm, edited 1 time in total.
Top
wswartzendruber
Veteran
Veteran
User avatar
Posts: 1261
Joined: Tue Mar 23, 2004 1:16 am
Location: Idaho, USA

  • Quote

Post by wswartzendruber » Sun Nov 22, 2009 3:15 pm

I know this sounds insane, but what if you completely remove your xorg.conf and then try? I would also add the "evdev" flag to make.conf's INPUT_DEVICES section.
Git has obsoleted SVN.
10mm Auto has obsoleted 45 ACP.
Top
aguettinger
Tux's lil' helper
Tux's lil' helper
Posts: 84
Joined: Fri Sep 26, 2003 4:04 pm

  • Quote

Post by aguettinger » Sun Nov 22, 2009 3:26 pm

Two things.

1. Did you start hald? (happened to me, without hald evdev doesn't work)

#/etc/init.d/hald start
#startx

2. Have you evdev in your INPUT_DEVICES section of make.conf?
If not add it and emerge -uNDav world
regards
- andy
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Sun Nov 22, 2009 4:43 pm

Hi, can you post this :

Code: Select all

# emerge --info
# rc-update show
# cd /usr/src/linux && grep -i evdev
Top
RedSquirrel
Guru
Guru
User avatar
Posts: 336
Joined: Tue Apr 22, 2008 8:24 pm

Re: problem with installing X

  • Quote

Post by RedSquirrel » Sun Nov 22, 2009 4:53 pm

hadian wrote:would anybody give me a guide?
The initial Xorg guide is not up-to-date yet. If you've only read that one, have a look at the following guides as well:

xorg-server-1.5-upgrade-guide
xorg-server-1.6-upgrade-guide
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Sun Nov 22, 2009 4:54 pm

Also, you should check this one : http://forums.gentoo.org/viewtopic-t-722498.html
Top
hadian
n00b
n00b
Posts: 72
Joined: Thu May 10, 2007 4:29 pm

  • Quote

Post by hadian » Tue Nov 24, 2009 1:39 pm

thanks.
i added evdev to input devise section of make.conf, and inserted the following commands and the problem solved.
#/etc/init.d/hald start
#startx
#emerge -uNDav world
Top
d2_racing
Bodhisattva
Bodhisattva
User avatar
Posts: 13047
Joined: Mon Apr 25, 2005 2:25 pm
Location: Ste-Foy,Canada
Contact:
Contact d2_racing
Website

  • Quote

Post by d2_racing » Tue Nov 24, 2009 5:15 pm

Nice, and remember to have hald that is running at the default runlevel too.

Code: Select all

# rc-update add hald default
Top
Deathwing00
Bodhisattva
Bodhisattva
User avatar
Posts: 4087
Joined: Fri Jun 13, 2003 9:07 pm
Location: Berlin, Germany
Contact:
Contact Deathwing00
Website

  • Quote

Post by Deathwing00 » Fri Apr 02, 2010 12:16 pm

Moved from Installing Gentoo to Desktop Environments.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Desktop Environments”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic