Jump to content

installing Mandrake 9.1...help please


Guest Brit
 Share

Recommended Posts

OK, before I look through the XF86Config in detail.

 

It seems the Xauthority wasn't cleaned.

That means when you define that X is started on console 7 (the mdk default) it thinks one is already running!

 

so as root

 

rm /tmp/.X0-lock

 

The Vaio modeline is always there on Mandrake !

However we'll edit out some stuff now

 

Your XFree86 is actually set up for dual screen!

To avoid confusion I'm going to comment your file with ## and so the already commented lines will just have #

Section "Monitor" 

Identifier "monitor1" 

VendorName "Plug'n Play" 

ModelName "SDM-HS73" 

HorizSync 28-65 

VertRefresh 48-65 



# Sony Vaio C1(X,XS,VE,VN)? 

# 1024x480 @ 85.6 Hz, 48 kHz hsync 

##ModeLine "1024x480" 65.00 1024 1032 1176 1344 480 488 494 563 -hsync -vsync 



# TV fullscreen mode or DVD fullscreen output. 

# 768x576 @ 79 Hz, 50 kHz hsync 

##ModeLine "768x576" 50.00 768 832 846 1000 576 590 595 630 



# 768x576 @ 100 Hz, 61.6 kHz hsync 

##ModeLine "768x576" 63.07 768 800 960 1024 576 578 590 616 



EndSection 



Section "ServerLayout" 

Identifier "XFree86 Configured" 

InputDevice "Mouse0" "CorePointer" 

InputDevice "Keyboard0" "CoreKeyboard" 

Screen 0 "Screen0" 0 0 

##Screen 1 "Screen1" RightOf "Screen0" 

EndSection 



Section "Files" 

ModulePath "/usr/X11R6/lib/modules" 

RgbPath "/usr/X11R6/lib/X11/rgb" 

FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled" 

FontPath "unix/:-1" 

EndSection 



Section "Module" 

Load "dbe" 

Load "dri" 

Load "extmod" 

Load "glx" 

Load "record" 

Load "xtrap" 

EndSection 



Section "InputDevice" 

Identifier "Keyboard0" 

Driver "keyboard" 

EndSection 



Section "InputDevice" 

Identifier "Mouse0" 

Driver "mouse" 

Option "Protocol" "auto" 

Option "Device" "/dev/mouse" 

EndSection 



Section "Device" 

Identifier "Card0" 

VendorName "ATI Technologies Inc" 

BoardName "Radeon RV100 QY [Radeon 7000/VE]" 

Driver "ati" 

BusID "PCI:0:11:0"

## For your info this is the result of your 'scanpci - the output in hex has 0:0a:0  (if this is correct) BUS,SLOT,CARD 

#Option "CloneHSync" # [<str>] 

#Option "AGPMode" # <i> 

#Option "VideoKey" # <i> 

#Option "AGPFastWrite" # [<bool>] 

#Option "CloneVRefresh" # [<str>] 

#Option "ForcePCIMode" # [<bool>] 

#Option "DDCMode" # [<bool>] 

#Option "CPPIOMode" # [<bool>] 

#Option "PanelOff" # [<bool>] 

#Option "Dac6Bit" # [<bool>] 

#Option "AGPSize" # <i> 

#Option "EnableDepthMoves" # [<bool>] 

#Option "UseFBDev" # [<bool>] 

#Option "CloneMode" # [<str>] 



### 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 "BufferSize" # <i> 

#Option "Dac8Bit" # [<bool>] 

#Option "NoBackBuffer" # [<bool>] 

#Option "CPusecTimeout" # <i> 

#Option "CloneDisplay" # <i> 

#Option "RingSize" # <i> 

#Option "EnablePageFlip" # [<bool>] 

EndSection 



##Well comment out the whole MGA config

##Section "Device" 

##Identifier "Card1" 

##VendorName "Matrox Graphics, Inc." 

##BoardName "MGA G200 AGP" 

##Driver "mga" 

##BusID "PCI:1:0:0" 

##  This means its on the PCI bus in slot 1.

#Option "AGPMode" # <i> 

#Option "Crtc2Ram" # <i> 

#Option "AGPSize" # <i> 

#Option "Int10" # [<bool>] 

#Option "MergedFB" # [<bool>] 

#Option "Crtc2Half" # [<bool>] 

#Option "MGASDRAM" # [<bool>] 

#Option "DigitalScreen2" # [<bool>] 

#Option "MetaModes" # [<str>] 

#Option "VideoKey" # <i> 

#Option "UseFBDev" # [<bool>] 

#Option "NoAccel" # [<bool>] 

#Option "TexturedVideo" # [<bool>] 

#Option "Monitor2Position" # [<str>] 

#Option "ShadowFB" # [<bool>] 

#Option "SwappedHead" # [<bool>] 

#Option "SetMclk" # <freq> 

#Option "OverclockMem" # [<bool>] 

#Option "PciRetry" # [<bool>] 

#Option "DRI" # [<bool>] 

#Option "HWcursor" # [<bool>] 



### Available Driver options are:- 

### Values: <i>: integer, <f>: float, <bool>: "True"/"False", 

### <string>: "String", <freq>: "<f> Hz/kHz/MHz" 

### [arg]: arg optional 

#Option "SWcursor" # [<bool>] 

#Option "TVStandard" # [<str>] 

#Option "ShowCache" # [<bool>] 

#Option "SyncOnGreen" # [<bool>] 

#Option "Overlay" # [<str>] 

#Option "TV" # [<bool>] 

#Option "DigitalScreen1" # [<bool>] 

#Option "CableType" # [<str>] 

#Option "Rotate" # [<str>] 

#Option "NoHal" # [<bool>] 

#Option "Monitor2HSync" # [<str>] 

#Option "ColorKey" # <i> 

#Option "Monitor2VRefresh" # [<str>] 

##EndSection 



Section "Screen" 

Identifier "Screen0" 

Device "Card0" 

## This is defined as the logical name for your ati card!!!

## ************************************************************************

##Monitor "Monitor0" 

##    ********** Unless this is elsewhere in the file Monitor0 is not defined, look right at the top its called monitor1



##Subsection "Display" 

##Depth 1 

##EndSubsection 



##Subsection "Display" 

##Depth 4 

##EndSubsection 



##Subsection "Display" 

##Depth 8 

##EndSubsection 



##Subsection "Display" 

##Depth 15 

##EndSubsection 



##Subsection "Display" 

##Depth 16 

##EndSubsection 



##Subsection "Display" 

##Depth 24 

##EndSubsection 

##EndSection 



Section "Screen" 

Identifier "Screen1" 

##Device "Card1" 

## It looks like the two are confused !!! Im just swapping the Card0 (ati) for card1 (MGA)  but you also seem to have a default depth line missing ??

Device Card0

Monitor "Monitor1" 

## According to what you posted its actually monitor1  (note case)

Monitor "monitor1" 



Subsection "Display" 

Depth 1 

EndSubsection 



Subsection "Display" 

Depth 4 

EndSubsection 



Subsection "Display" 

Depth 8 

EndSubsection 



Subsection "Display" 

Depth 15 

EndSubsection 



Subsection "Display" 

Depth 16 

EndSubsection 



Subsection "Display" 

Depth 24 

EndSubsection 

EndSection

 

You have no default depth so

startx -bpp 16

This passes it a reasonable depth to start with !

 

 

You sould add a line

        Modes "1024x768" "800x600" "640x480"

to the

    Subsection "Display" 

       Depth 16 

       Modes "1024x768" "800x600" "640x480" 

   EndSubsection

and also for the other colour depths!

and right at the top of the Screen Definition ....

Section "Screen" 

   Identifier "Screen0" 

   Device "Card0" 

   Monitor "monitor1" 

   DefaultColorDepth 16

Add the line:

DefaultColorDepth 16

 

That should be close!!!

Link to comment
Share on other sites

  • Replies 90
  • Created
  • Last Reply

Top Posters In This Topic

Morning Gowator, or afternoon

 

Ok i think i did everything from your last post.

 

The only problem i had was with startx -bpp 16

 

[brit@localhost brit]$ startx -bpp 16

xauth: /home/brit/.Xauthority not writable, changes will be ignored

xauth: error in locking authority file /home/brit/.Xauthority

xauth: error in locking authority file /home/brit/.Xauthority

xauth: error in locking authority file /home/brit/.Xauthority

 

_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed

_XSERVTransMakeAllCOTSServerListeners: server already running

 

Fatal server error:

Cannot establish any listening sockets - Make sure an X server isn't already running

Link to comment
Share on other sites

If you added the red entry for default colour depth you can just use startx :D

 

Anyway....

What its telling you are that the files aren't able to be created becuase they already exist...

This could data back to your install for root ...

the ones in sue could be due to your power outage while it was running!

 

Since Im on NT at work its difficult to be certain but the files are probably created with no write bit set.

It sounds like your actually trying to start it from user 'brit'

 

Thats Ok and all.

Not that this is recommended usually but try a

sh /usr/X11R6/bin/startx

as root.

and as sue.

 

you can also delete the files

/home/brit/.Xauthority as root with

rm /home/brit/.Xauthority

If it complains then

chmod +x /home/brit/.Xauthority ; rm -f /home/brit/.Xauthority

 

try those and report back!!!

Link to comment
Share on other sites

hi Gowator

 

Not sure what i did ...but i had to restart my computer so when i went into the XF86Config file to edit it again...it has completely changed....!!!!

 

 

Section "ServerLayout"

Identifier "XFree86 Configured"

Screen 0 "Screen0" 0 0

Screen 1 "Screen1" RightOf "Screen0"

InputDevice "Mouse0" "CorePointer"

InputDevice "Keyboard0" "CoreKeyboard"

EndSection

 

Section "Files"

RgbPath "/usr/X11R6/lib/X11/rgb"

ModulePath "/usr/X11R6/lib/modules"

FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"

FontPath "unix/:-1"

EndSection

 

Section "Module"

Load "dbe"

Load "dri"

Load "extmod"

Load "glx"

Load "record"

Load "xtrap"

EndSection

 

Section "InputDevice"

Identifier "Keyboard0"

Driver "keyboard"

EndSection

 

Section "InputDevice"

Identifier "Mouse0"

Driver "mouse"

Option "Protocol" "auto"

Option "Device" "/dev/mouse"

EndSection

 

Section "Monitor"

#DisplaySize 340 270 # mm

Identifier "Monitor0"

VendorName "SNY"

ModelName "SDM-HS73"

Option "DPMS"

EndSection

 

Section "Monitor"

Identifier "Monitor1"

VendorName "Monitor Vendor"

ModelName "Monitor Model"

EndSection

 

 

I cant see the ati card anywhere.

 

I refuse to give up, well thats as long as your giving me advice.

Link to comment
Share on other sites

Ok ignore the last one this is my new XF86Config from root

 

[root@localhost brit]# cat /etc/X11/XF86Config-4

Section "ServerLayout"

Identifier "XFree86 Configured"

Screen 0 "Screen0" 0 0

Screen 1 "Screen1" RightOf "Screen0"

InputDevice "Mouse0" "CorePointer"

InputDevice "Keyboard0" "CoreKeyboard"

EndSection

 

Section "Files"

RgbPath "/usr/X11R6/lib/X11/rgb"

ModulePath "/usr/X11R6/lib/modules"

FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"

FontPath "unix/:-1"

EndSection

 

Section "Module"

Load "dbe"

Load "dri"

Load "extmod"

Load "glx"

Load "record"

Load "xtrap"

EndSection

 

Section "InputDevice"

Identifier "Keyboard0"

Driver "keyboard"

EndSection

 

Section "InputDevice"

Identifier "Mouse0"

Driver "mouse"

Option "Protocol" "auto"

Option "Device" "/dev/mouse"

EndSection

 

Section "Monitor"

#DisplaySize 340 270 # mm

Identifier "Monitor0"

VendorName "SNY"

ModelName "SDM-HS73"

Option "DPMS"

EndSection

 

Section "Monitor"

Identifier "Monitor1"

VendorName "Monitor Vendor"

ModelName "Monitor Model"

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 "Dac6Bit" # [<bool>]

#Option "Dac8Bit" # [<bool>]

#Option "ForcePCIMode" # [<bool>]

#Option "CPPIOMode" # [<bool>]

#Option "CPusecTimeout" # <i>

#Option "AGPMode" # <i>

#Option "AGPFastWrite" # [<bool>]

#Option "AGPSize" # <i>

#Option "RingSize" # <i>

#Option "BufferSize" # <i>

#Option "EnableDepthMoves" # [<bool>]

#Option "EnablePageFlip" # [<bool>]

#Option "NoBackBuffer" # [<bool>]

#Option "PanelOff" # [<bool>]

#Option "DDCMode" # [<bool>]

#Option "CloneDisplay" # <i>

#Option "CloneMode" # [<str>]

#Option "CloneHSync" # [<str>]

#Option "CloneVRefresh" # [<str>]

#Option "UseFBDev" # [<bool>]

#Option "VideoKey" # <i>

Identifier "Card0"

Driver "ati"

VendorName "ATI Technologies Inc"

BoardName "Radeon RV100 QY [Radeon 7000/VE]"

BusID "PCI:0:11:0"

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 "SWcursor" # [<bool>]

#Option "HWcursor" # [<bool>]

#Option "PciRetry" # [<bool>]

#Option "SyncOnGreen" # [<bool>]

#Option "NoAccel" # [<bool>]

#Option "ShowCache" # [<bool>]

#Option "Overlay" # [<str>]

#Option "MGASDRAM" # [<bool>]

#Option "ShadowFB" # [<bool>]

#Option "UseFBDev" # [<bool>]

#Option "ColorKey" # <i>

#Option "SetMclk" # <freq>

#Option "OverclockMem" # [<bool>]

#Option "VideoKey" # <i>

#Option "Rotate" # [<str>]

#Option "TexturedVideo" # [<bool>]

#Option "Crtc2Half" # [<bool>]

#Option "Crtc2Ram" # <i>

#Option "Int10" # [<bool>]

#Option "AGPMode" # <i>

#Option "AGPSize" # <i>

#Option "DigitalScreen1" # [<bool>]

#Option "DigitalScreen2" # [<bool>]

#Option "TV" # [<bool>]

#Option "TVStandard" # [<str>]

#Option "CableType" # [<str>]

#Option "NoHal" # [<bool>]

#Option "SwappedHead" # [<bool>]

#Option "DRI" # [<bool>]

#Option "MergedFB" # [<bool>]

#Option "Monitor2HSync" # [<str>]

#Option "Monitor2VRefresh" # [<str>]

#Option "Monitor2Position" # [<str>]

#Option "MetaModes" # [<str>]

Identifier "Card1"

Driver "mga"

VendorName "Matrox Graphics, Inc."

BoardName "MGA G200 AGP"

BusID "PCI:1:0:0"

EndSection

 

Section "Screen"

Identifier "Screen0"

Device "Card0"

Monitor "Monitor0"

SubSection "Display"

Depth 1

EndSubSection

SubSection "Display"

Depth 4

EndSubSection

SubSection "Display"

Depth 8

EndSubSection

SubSection "Display"

Depth 15

EndSubSection

SubSection "Display"

Depth 16

EndSubSection

SubSection "Display"

Depth 24

EndSubSection

EndSection

 

Section "Screen"

Identifier "Screen1"

Device "Card1"

Monitor "Monitor1"

SubSection "Display"

Depth 1

EndSubSection

SubSection "Display"

Depth 4

EndSubSection

SubSection "Display"

Depth 8

EndSubSection

SubSection "Display"

Depth 15

EndSubSection

SubSection "Display"

Depth 16

EndSubSection

SubSection "Display"

Depth 24

EndSubSection

EndSection

Link to comment
Share on other sites

Brit

XFree86Config shouldn't change by itself.

The only thing that might happen is if somehow the MGA is being detected as a new card in startup when it says detecting new hardware.

 

Your new config is a two screen config again!!!

 

Make sure you back them up by copying them...

You might have a whole set like

XFree86Config-4.nearly-there-one-last-try

etc...

 

Anyway,

See if you can't change it back...

Its very weird it should change!!

If it says new device found etc. next time you install, just say no

 

Otherwise it might just overwrite it AGAIN!

Just check its only got one screen section etc...

Also, make some notes as to which one its using....and what it works with ....

Gota sign off becuase Im busy installing wireless networking....

BACK LATER MAYBE...WISH ME LUCK FOLKS!!

Link to comment
Share on other sites

hi

 

I have been working a lot this week so havent really had a chance to do anything.

 

I have a really stupid question!!!!

 

Ok my XF86Config-4 changed, and i cant get the origianl one back, so cant i edit the new one i have with the old one and replace it. It seems logical to me but hey what would i know.

 

I was so close to getting it working!!!

 

Thanks sue

Link to comment
Share on other sites

Remember the ones we copied ..

 

You can edit and achive it whatever way U want :D

However ...

Make sure you make a backup copy...

 

Remember you created it in /root/XF86Config.new

 

You can start with this .....

Just try and get it looking like it was as much as possible then you can try it!!!

 

Tip....

Always create backup copy's before editing anything....and try and add documentation to it in the form of comments.

You can comment any line with the good old #

 

 

Once you actually get close, post back.... hopefully in the meantime you cleaned out the offending lock files and startx might actually workl !!!

 

You probably didn't slip as far back as you thought...

Im a bit busy on the PCMCIA stuff on this 9.2RC2 install but a bit later on I have to recompile the kernel "so Ill be back!!!" (as the man said)

 

If I get chance I might be generous and edit it for ya....

then you can ftp it from my site....

 

(You remember how to ftp under CLI ????) hehe

Link to comment
Share on other sites

Just for the sake of getting a new file.....

mv /etc/X11/XF86Config-4 ~/

XFdrake --expert --noauto

choose as best you can and you have a new file. This will also allow you to say no to 2 cards which I think is your issue. But I won't say it again.....promise....heck, unless you're having fun, I'd reinstall....something's a_muck, you have a bad burn/cd or both, or something, but it isn't rt. You can do what you want though. X won't start if your mouse is configured wrong and ya'll want to play with xinit and stuff?.......crazy....have fun! :)

Link to comment
Share on other sites

First off bvc is probably right.... it depends how curious you are and if you wanna get it working as fast as possible....

if you wanna go ahead .....

 

This should work

You can also ftp a copy from

http://www.lepeanuts.homelinux.com

login mdkusers

password (email) mandy@mandrakeusers.org

 

 

#XF86Config-4

#Hand edit

#temporary file

 

Section "ServerLayout"

Identifier "temp"

Screen "Screen0"

InputDevice "Mouse0" "CorePointer"

InputDevice "Keyboard0" "CoreKeyboard"

EndSection

 

Section "Files"

RgbPath "/usr/X11R6/lib/X11/rgb"

ModulePath "/usr/X11R6/lib/modules"

FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"

FontPath "unix/:-1"

EndSection

 

Section "Module"

Load "dbe"

Load "dri"

Load "extmod"

Load "glx"

Load "record"

Load "xtrap"

EndSection

 

Section "InputDevice"

Identifier "Keyboard0"

Driver "keyboard"

EndSection

 

Section "InputDevice"

Identifier "Mouse0"

Driver "mouse"

Option "Protocol" "auto"

Option "Device" "/dev/mouse"

EndSection

 

Section "Monitor"

Identifier "Monitor0"

VendorName "SNY"

ModelName "SDM-HS73"

Option "DPMS"

EndSection

 

Section "Device"

Identifier "Card0"

Driver "ati"

VendorName "ATI Technologies Inc"

BoardName "Radeon RV100 QY [Radeon 7000/VE]"

BusID "PCI:0:11:0"

# These were the options detected for the ati driver

#they can be uncommented later

#Option "NoAccel" # [<bool>]

#Option "SWcursor" # [<bool>]

#Option "Dac6Bit" # [<bool>]

#Option "Dac8Bit" # [<bool>]

#Option "ForcePCIMode" # [<bool>]

#Option "CPPIOMode" # [<bool>]

#Option "CPusecTimeout" # <i>

#Option "AGPMode" # <i>

#Option "AGPFastWrite" # [<bool>]

#Option "AGPSize" # <i>

#Option "RingSize" # <i>

#Option "BufferSize" # <i>

#Option "EnableDepthMoves" # [<bool>]

#Option "EnablePageFlip" # [<bool>]

#Option "NoBackBuffer" # [<bool>]

#Option "PanelOff" # [<bool>]

#Option "DDCMode" # [<bool>]

#Option "CloneDisplay" # <i>

#Option "CloneMode" # [<str>]

#Option "CloneHSync" # [<str>]

#Option "CloneVRefresh" # [<str>]

#Option "UseFBDev" # [<bool>]

#Option "VideoKey" # <i>

EndSection

 

 

Section "Screen"

Identifier "Screen0"

Device "Card0"

Monitor "Monitor0"

DefaultColorDepth 16

 

SubSection "Display"

Depth 1

Modes "1024x768" "800x600" "640x480" "1280x1024"

EndSubSection

 

SubSection "Display"

Depth 4

Modes "1024x768" "800x600" "640x480" "1280x1024"

EndSubSection

 

SubSection "Display"

Depth 8

Modes "1024x768" "800x600" "640x480" "1280x1024"

EndSubSection

 

SubSection "Display"

Depth 15

Modes "1024x768" "800x600" "640x480" "1280x1024"

EndSubSection

 

SubSection "Display"

Depth 16

Modes "1024x768" "800x600" "640x480" "1280x1024"

EndSubSection

 

SubSection "Display"

Depth 24

EndSubSection

#This closes of the "Screen Section"

EndSection

Link to comment
Share on other sites

hi

 

believe it or not i am having fun...and i think i am learning something (not much, but a little). I am in work all night but then i get 2 full days to play around with it. Hopefully by then it will be all working.

 

I will catch up with you all later.

 

Sue

Link to comment
Share on other sites

Yep its probably cleaner to reinstall but when we actually got it up and running via using xinit directly it was fine.

The problem was it got reset by a power outage.

 

I think the authority stuff was half left over from the aborted harddrake in install and half from this (it was a different user)

 

It was up and running fine and brit was using it to chat so ....

It seems weird....

 

Anyway she urmpi'd the latest KDE ... so no point wasting that mammoth download :D

Link to comment
Share on other sites

:D :) :D :) :D :) :D :) :D :) :D :) :D

 

Hi all

 

Ok its 12.14...and i have been playing around with the XF86Config-4 file all day(and to be honest i dont know what i finally did), but i got it working. :D I cant help but smile and smile and smile.

 

When i logout i still get an Xauthority error message, but i will work on that tommorrow.

 

I want to thank you all for helping me especially Gowator (i could not of got this far without your help).

 

Yippee...going to play for a bit

 

Sue

Link to comment
Share on other sites

Oooh...

Lets give her some time to make it pretty like her MAC...

Now wheres the tutorial/post I made for you to make it look MAC-alike....

 

 

Brit....

MAKE a COPY..... Do like bvc says ....QUICK!!!!

 

In fact make several....

Copy one and call it XF86Config-4.WORKING

 

 

Now you can start optimising the simple file and things! And make your desktop look pretty. If you like the MAC Acqua I made a mockup on the SHOW OFF YOUR DESKTOP thread!

 

p.s. You might not be sure what you did but you must have learned loads to get it working.... even if it was trial and error!!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share


×
×
  • Create New...