Now that you have a working /etc/X11/XF86Config file, you can edit it.

Go to the area that looks like this:

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultColorDepth 16
...
        SubSection "Display"
                Depth     16
                Modes  "640x480"
        EndSubSection


And change it to something like this:  (that is if this matches)
        SubSection "Display"
                Depth     16
                Modes  "1024x768" "800x600" "640x480" "640x400"
        EndSubSection

X will set your desktop to the largest size. If you decrease the resolution with 
ctrl/alt/- your virtual desktop will remain this largest size.  To make your virtual 
desktop smaller/larger you can remove/add larger sizes.  Although I don't know how to 
specify "1024x768" as the largest size, yet default to 640x480.  FYI.


rpm is a command line tool.  If you were using Xwindows, you probably used gnorpm or 
something.  I don't use rpm regularly, but try 'man rpm' to see the many command line 
options.  A command like 'rpm -r xcommon' or something similar will remove it (you'll 
need to do the several X3 packages, such as xserver-mach64, xfs (x3 font server), etc.

Since you have worked outside of your package manager (bad), you'll need to be careful 
removing X3. For instance let's say X3's package include /usr/bin/X.  Even though you 
have X4 installed, and you tell rpm to remove X3, it will likely remove /usr/bin/X, 
which will kill your X4.  That's the reason I suggested removing X3 from package 
management as your first step.

I'd suggest two solutions:
1) remove X3, rename directories, rerun X4 setup (previous directions)
or
2) leave it 'broken' until you find some X4 rpm's. When you do, have rpm install them 
(and it should remove/upgrade the x3 packages).


As for the /usr and /var dirs.  I don't have any X? directories under /var.  In the X4 
doc's it strongly suggests backing up your /usr/X11 and /etc/X11 before running the 
script.  Which is why I suggested renaming these two so X4 could install here cleanly. 
 Just doing it for /etc/X11, but not /usr/X11 is like installing win95 over win31 
*gasp*!  ;)  You probably won't have performance issues, but you'll have files in 
there that you don't need for better or for worse.

I don't know if the rpm db is binary or text.  If it's text you could try to edit it, 
but this is at your OWN risk.  As for working through rpm, the man page is all I can 
say.  I don't use it enough to know it well.

Cory


On Tue, Feb 20, 2001 at 08:31:47PM -0800, Ben Barrett wrote:
> I can now get XFree86 -configure to bring me to a 640x480 grey screen with
> cursor... but that's all... I renamed my /etc/X11 directory, but there are
> others in /usr and /var (??)... reinstalled X4, and got to where I am now.
> 
> I'd like to remove the rpms for X3, is there some command-line tool that
> is friendly for package removal? Actually, now that I look at the help for
> rpm, how do I connect to my db and remove and browse packages??
> (without X, that is)
> 
> thanks again,
> 
>   ben
> 
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> "slide" to www.euglug.org                   in lake'ch, my kin...     4 Ix
> Finally, I (this text) would be delighted to be included, in whole or in
> part, in your next discussion of self-reference.  With that in mind,
> please allow me to appologize in advance for infecting you.

Reply via email to