LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   XFdrake not running (https://www.linuxquestions.org/questions/linux-general-1/xfdrake-not-running-17818/)

dmalesd 04-05-2002 02:44 PM

XFdrake not running
 
I recently upgraded mandrake 7.2 to 8.2. Then I wanted to change my screen resolution
I cannot run XFdrake. When I do I get the following:
modprobe: Can't locate module serial
Please wait while probing serial ports...
unable to take medium "cdrom2" into account as no list file [/var/lib/urpmi/list.cdrom2] exists
read synthesis file [/var/lib/urpmi/synthesis.hdlist.disc 1 Download Edition Installation CD (x86) (cdrom1).cz]
read synthesis file [/var/lib/urpmi/synthesis.hdlist.disc 2 Download Edition Second Installation CD (x86) (cdrom2).cz]
read synthesis file [/var/lib/urpmi/synthesis.hdlist.disc 3 Download Edition Contributions CD (x86) (cdrom3).cz]
read synthesis file [/var/lib/urpmi/synthesis.hdlist.disc 3 Download Edition Contributions CD (x86) (cdrom4).cz]
read synthesis file [/var/lib/urpmi/synthesis.hdlist.cdrom.cz]
read synthesis file [/var/lib/urpmi/synthesis.hdlist.cdrom1.cz]
read synthesis file [/var/lib/urpmi/synthesis.hdlist.mirrors.secsup.org.cz]
pixmap is not of type Gtk::Gdk::Pixmap at /usr/lib/libDrakX/Xconfigurator.pm line 854.
[root@Vesalius root]#

can anyone help as I would like to change my resolution?

Thanks

acid_kewpie 04-05-2002 02:57 PM

well the acutal problem you've got is that mandrake is attempting to upgrade itself, but since upgrading what you have, you have presumably not redefined your RPM sources with rpmdrake. you should run rpmdrake and redefine your sources. it's a bit mysterious as to what you need to do, but you'll get there in the end.

you can alternatively use xf86config or simply edit your /etc/X11/XF86Config-4 file directly (which is VERY easy actually, just back it up in case)

dmalesd 04-05-2002 04:13 PM

How do I edit the XFConfig-4 file. At the moment I have the followoing in it:
Section "Screen"
Identifier "screen1"
Device "Intel 810"
Monitor "Iiyama|Iiyama MF-8515G, VisionMaster"
Subsection "Display"
Depth 8
Modes "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 15
Modes "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 16
Modes "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 24
Modes "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
Subsection "Display"
Depth 32
Modes "1400x1050" "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
ViewPort 0 0
EndSubsection
EndSection

Do I remove the subsections I dont want or what? Any ideas

acid_kewpie 04-05-2002 04:16 PM

well that depends what it is that you want it to do doesn't it? you've not got a DefaultColorDepth option, so i don't know what depth you're using, but you'd just edit the defined resolutions for the color depth... remove or add them as you see fit. also use ctrl+alt+tab to flip between resolutions

dmalesd 04-05-2002 04:47 PM

hey cheers for the suggestion. I have looked at the XFree86.org docs
and found the resolution can be switched by using ctrl-alt-keypad +/-.
Thanks for leading me to that.
Also I have found that the order of the modes in the config is important.
To lift from the doc:
Modes "mode-name" ...
This entry is highly desirable for most drivers, and it specifies the list of video modes to use. Each mode-name specified must be in double quotes. They must correspond to those specified or referenced in the appropriate Monitor section (including implicitly referenced built-in VESA standard modes). The server will delete modes from this list which don't satisfy various requirements. The first valid mode in this list will be the default display mode for startup. The list of valid modes is converted internally into a circular list. It is possible to switch to the next mode with Ctrl+Alt+Keypad-Plus and to the previous mode with Ctrl+Alt+Keypad-Minus. When this entry is omitted, the largest valid mode referenced by the appropriate Monitor section will be used.


All times are GMT -5. The time now is 12:05 AM.