From: Svetoslav S. <ga...@st...> - 2003-01-15 12:02:18
|
Hi Aivilis, could you add this to your mirrors list: http://rfhs8012.fh-regensburg.de/~sls35340/aivils/ [Germany] http://varna.demon.co.uk/~svetlio/aivils/ [ UK ](may be a bit slower single ADSL) and what do you think about adding to your site my patch for XF-4.3 and binaries (probably marked as ALPHA quality as AFAIK only i have tested them, but it works stable for me) about the FAQ: Q: How can i run bruby and standard 2.4 kernel without having to change all the time the X and display manager configuration A: (something i found in my Mandrake's rc.sysinit) it should probably work with Red Hat as well, others may be? --------------------------------------------------------------------------- # (pixel) a kind of profile for XF86Config # if no XFree=XXX given on kernel command-line, restore XF86Config.standard for i in XF86Config XF86Config-4; do if [ -L "/etc/X11/$i" ]; then XFree=`sed -n 's/.*XFree=\(\w*\).*/\1/p' /proc/cmdline` [ -n "$XFree" ] || XFree=standard [ -r "/etc/X11/$i.$XFree" ] && ln -sf "$i.$XFree" "/etc/X11/$i" fi done --------------------------------------------------------------------------- move your XFConfig-4(the one for standard 2.4 kernel) to XF86Config-4.standard move your XFConfig-4(the one for standard bruby kernel) to XF86Config-4.bruby make a sym link from one of them to XFConfig-4 so booting with XFree=bruby argument will link XF86Config-4.bruby to XFConfig-4, booting with no XFree argument or XFree=standard -- will link XF86Config-4.standard to XFConfig-4 :) X server is done :) i modified the above to change my display manager configuration upon dumbcon= (it seems to work for me, but i don't relly know how to use sed :( ) the lines below should restore the apropriate config for xdm,gdm,kdm the files should end with: .0 -- start only the first X server .1 -- start 2 Xservers .2 -- start 3 Xservers .... ( if you are useing kdm make shure that ($KDE-PREFIX)/share/config/kdm/Xservers is a sym link to /etc/X11/xdm/Xservers ) ---------------------------------------------------------------------- # #the same like XF86Config but for gdm.conf & Xservers # for i in xdm/Xservers gdm/gdm.conf; do if [ -L "/etc/X11/$i" ]; then DumbCon=`sed -n 's/.*dumbcon=\([0-9]*\).*/\1/p' /proc/cmdline` [ -n "$DumbCon" ] || DumbCon=0 [ -r "/etc/X11/$i.$DumbCon" ] && ln -sf "/etc/X11/$i.$DumbCon" "/etc/X11/$i" fi done ---------------------------------------------------------------------- comments are very wellcome :) regards, svetljo |