Re: Custom X scripts no longer work

Diego Torres Milano <[email protected]>
Newsgroups gmane.linux.pxes.devel
Organization IN3
Message-ID <1094261725.4124.1.camel@localhost>
Can you tell me what is in the (or better send me) XF86config-4.virge ?

On Fri, 2004-09-03 at 15:56, Chris wrote:
> Hello.
> 
> I have been wresting with this for a while, and I cannot find any clear 
> documentation on the best way to do this.
> 
> The problem is that I have several thin client machines that have video cards 
> that are not well configured by the default XF86Config-4.tpl.  I used to 
> use /tftpboot/pxes/config.  I put in a nice little script that deleted and 
> over-wrote the /etc/X11/XF86config-4 file.  It won't let me do that anymore.
> 
> The reason I overwrote the /etc/X11 file instead of the /tmp/parsed file was 
> because the customization scripts are called too early in the rcS, and my 
> copy would be over-written when X configuration took place in the rcS script.
> 
> So, I tried hacking the rcS script, and put the copy of my custom XF86config-4 
> file at the end so it would not get overwritten -- still no dice.
> 
> The problem seems to be that it will not let me overwrite any of these files.  
> It used to on pxes-0.5, but not anymore.
> 
> This was the working version of my script:
> 
> /usr/bin/tftp pxesserver >/dev/null <<!
>         timeout 30
>         get Xs/XF86Config-4.virge
> !
> mount -n -o remount,rw / 2>/tmp/bs.log    ## was necessary because mounted r/o
> rm -f /etc/X11/XF* 2>/tmp/bs.log
> cp -f XF86Config-4.virge /etc/X11/XF86Config 2>/tmp/bs.log
> cp -f XF86Config-4.virge /etc/X11/XF86Config-4 2>/tmp/bs.log
> mount -n -o remount,ro 2>/tmp/bs.log
> 
> bs.log is always made, but always empty.
> 
> I likewise cannot write over /etc/X11/XF86Config-4.tpl -- Operation not 
> permitted.
> 
> Is there a better way to do this, or a way I can do what I have done in the 
> past?
> 
> 
> Thank you!
> 
> Chris
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
> _______________________________________________
> pxes-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pxes-devel
-- 
Diego Torres Milano <[email protected]>
IN3



-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.