after failed emerge xrdp X fails to load

Anything that pertains to Portage

Moderator: Moderators

after failed emerge xrdp X fails to load

Postby yodawg » Fri Dec 05, 2008 1:14

I was installing "xrdp" with emerge the other day and it was going through all the dependencies, and it got to one called "vnc-4-patch-something-something" and couldn't find it so I couldn't continue, but when I booted up my computer this morning X wouldn't start, when I ran "startx" at the bash prompt I got these errors:

[atiddxSetup] X version mismatch - detected X.org 1.3.0.0, required X.org 7.1.0.0
(EE) Failed to load module fglrx (module requirement mismatch, 0)
(EE) No drivers available


Could have what I was doing last night with xrdp screwed X or Xorg up ?
yodawg
Baby Hen
 
Posts: 15
Joined: Fri Apr 04, 2008 15:18

Re: I screwed X / Xorg up

Postby yodawg » Fri Dec 05, 2008 1:33

I have googled this a little bit and it seems everyone with this problem was installing ATI drivers. I have an ATI card but I haven't ever installed any drivers for it, I have on my Windows install which is what I am using right now.
yodawg
Baby Hen
 
Posts: 15
Joined: Fri Apr 04, 2008 15:18

Re: I screwed X / Xorg up

Postby xlnagla » Fri Dec 05, 2008 5:10

no, normally we'll have fglrx installed automagically for you. check /etc/X11/xorg.conf and make sure you're loading a driver appropriate for your card - ati and gentoo (and I think Sabayon) have lists of the supported cards by fglrx - it's also possible you'll need radeon (xf86-video-ati) instead. That could be your trouble if re-emerging fglrx doesn't do anything. also, revdep-rebuild is a good habit to get into when things start breaking on your machine.

~xlnagla
xlnagla
Sagely Hen
 
Posts: 1078
Joined: Mon May 28, 2007 2:44

Re: after failed emerge xrdp X fails to load

Postby yodawg » Fri Dec 05, 2008 5:54

Here is the graphics part of xorg.conf
# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "VESA"
Driver "fglrx" # do not remove vesa
#Option "RenderAccel" "on"
#Option "XAANoOffscreenPixmaps"
#Option "BusType" "PCI"
#Option "ColorTiling" "on"
#Option "EnablePageFlip" "on"
EndSection



Here is the entire thing.
Section "Files"


#FontPath "/usr/share/fonts/local/"
FontPath "/usr/share/fonts/misc/"
FontPath "/usr/share/fonts/Type1/"
FontPath "/usr/share/fonts/TTF/"
FontPath "/usr/share/fonts/75dpi/"
FontPath "/usr/share/fonts/100dpi/"
FontPath "/usr/share/fonts/corefonts"

EndSection

# **********************************************************************
# Module section -- this is an optional section which is used to specify
# which run-time loadable modules to load when the X server starts up.
# **********************************************************************

Section "Module"

Load "dbe"
Load "i2c"
Load "glx"
Load "ddc"
Load "type1"
Load "freetype"
Load "extmod"
Load "synaptics"
Load "vbe"
Load "dri"

EndSection


# **********************************************************************
# Server flags section. This contains various server-wide Options.
# **********************************************************************

Section "ServerFlags"

Option "AllowMouseOpenFail" "true"

EndSection

# **********************************************************************
# Input devices
# **********************************************************************

# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"
Identifier "Synaptics1"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "SHMConfig" "on"
# For ALPS TouchPads
#Option "MaxSpeed" "0.7"
#Option "MinSpeed" "0.18"
#Option "AccelFactor" "0.08"
#Option "TopEdge" "120"
#Option "LeftEdge" "120"
#Option "BottomEdge" "830"
#Option "RightEdge" "650"
#Option "FingerLow" "25"
#Option "FingerHigh" "30"
# Do you keep moving the mouse while typing? Try this trick.
#synclient TouchpadOff=1 disable your synaptics touchpad
#synclient TouchpadOff=0 enable your synaptics touchpad
EndSection


Section "InputDevice"

Identifier "Keyboard1"
Driver "kbd"

Option "AutoRepeat" "500 5"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
Option "XkbRules" "xorg"

EndSection


Section "InputDevice"
Driver "wacom"
Identifier "wacom1"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "stylus"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "wacom2"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "eraser"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection

Section "InputDevice"
Driver "wacom"
Identifier "wacom3"
Option "Device" "/dev/wacom" # Change to
# /dev/input/event
# for USB
Option "Type" "cursor"
Option "ForceDevice" "ISDV4" # Tablet PC ONLY
EndSection


# **********************************************************************
# Core Pointer's InputDevice section
# **********************************************************************

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"

Option "Device" "/dev/psaux"
Option "Protocol" "ImPS/2"
Option "ZAxisMapping" "4 5"

EndSection

Section "InputDevice"
Identifier "Mouse2"
Driver "mouse"
Option "Protocol" "ImPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
EndSection


# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "Generic Monitor"
#Option "DPMS"

VertRefresh 43 - 60
HorizSync 28 - 80

EndSection

# **********************************************************************
# Graphics device section
# **********************************************************************

# Any number of graphics device sections may be present

Section "Device"
Identifier "VESA"
Driver "fglrx" # do not remove vesa
#Option "RenderAccel" "on"
#Option "XAANoOffscreenPixmaps"
#Option "BusType" "PCI"
#Option "ColorTiling" "on"
#Option "EnablePageFlip" "on"
EndSection


# **********************************************************************
# Screen sections.
# **********************************************************************

Section "Screen"

# The Identifier, Device and Monitor lines must be present

Identifier "Screen 1"
Device "VESA"
Monitor "Generic Monitor"
#Option "AddARGBGLXVisuals" "true"

# The favoured Depth and/or Bpp may be specified here

DefaultDepth 24

SubSection "Display"
Depth 8
ViewPort 0 0
Modes "1024x768" "800x600" "640x480"
EndSubsection

SubSection "Display"
Depth 16
ViewPort 0 0
Modes "1024x768" "800x600" "640x480"
EndSubsection

SubSection "Display"
Depth 24
ViewPort 0 0
Modes "1024x768" "800x600" "640x480"
EndSubsection


EndSection


Section "ServerLayout"
# The Identifier line must be present

Identifier "Main Layout"
Screen 0 "Screen 1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Mouse2" "SendCoreEvents"
#InputDevice "Synaptics1" "SendCoreEvents"
#InputDevice "wacom1" "SendCoreEvents"
#InputDevice "wacom2" "SendCoreEvents"
#InputDevice "wacom3" "SendCoreEvents"
InputDevice "Keyboard1" "CoreKeyboard"

EndSection

Section "DRI"
Mode 0666
EndSection

Section "Extensions"
#Option "Composite" "Enable"
EndSection
yodawg
Baby Hen
 
Posts: 15
Joined: Fri Apr 04, 2008 15:18

Re: after failed emerge xrdp X fails to load

Postby xlnagla » Fri Dec 05, 2008 6:02

eselect opengl list

eix fglrx

run those and give us the output
~xlnalga
xlnagla
Sagely Hen
 
Posts: 1078
Joined: Mon May 28, 2007 2:44

Re: after failed emerge xrdp X fails to load

Postby yodawg » Fri Dec 05, 2008 7:38

xlnagla wrote:eselect opengl list

eix fglrx

run those and give us the output
~xlnalga


eselect opengl list:
[1] ati
[2] nvidia
[3] xorg-x11 *

eix fglrx
eix: command not found

I tried to install it with emerge..

sudo emerge eix:
>>>!!! A file is not listed in the Manifest: '/usr/portage/app-portage/eix/eix-0-10.5.ebuild'
yodawg
Baby Hen
 
Posts: 15
Joined: Fri Apr 04, 2008 15:18

Re: after failed emerge xrdp X fails to load

Postby xlnagla » Fri Dec 05, 2008 14:34

forced emerge --sync and layman -S your portage, it seems to have become slightly borked. Did you try an emaint fix world?

It seems you already have fglrx installed - that's usually what having ati as an option in your opengl settings means. Either that or some of its files became corrupted during a recent install/upgrade.

I'd force-sync portage and your overlays, re-emerge fglrx, and then run a revdep-rebuild to see what else needs fixing.

~xlnagla
xlnagla
Sagely Hen
 
Posts: 1078
Joined: Mon May 28, 2007 2:44

Re: after failed emerge xrdp X fails to load

Postby yodawg » Sun Dec 07, 2008 3:10

There is not even a package called fglrx.
yodawg
Baby Hen
 
Posts: 15
Joined: Fri Apr 04, 2008 15:18

Re: after failed emerge xrdp X fails to load

Postby xlnagla » Sun Dec 07, 2008 4:24

sorry, the package is called ati-drivers. Should have probably mentioned that.

~xlnagla
xlnagla
Sagely Hen
 
Posts: 1078
Joined: Mon May 28, 2007 2:44


Return to Portage|Emerge Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest

cron