On Wed, Jan 02, 2002 at 07:27:12AM -0800, Sherman, Paul   (CEOSH) wrote:
> Hi all:
> 
> I'm not entirely sure what happened, but I hope you all can help.
> 
> I've been running RH 6.2 at home with the included version of X.
> (Can't remember the exact version, 3.**)
> 
> On December 8, I typed in startx - the screen flickered and I was back at
> the
> command prompt.  After a few tries, I guessed the config file is corrupted
> and run
> Xconfigurator to reset the info - no luck.  Then I run XF86Setup and get X
> back,
> though not with all my resolutions that I previously had.
> 
> On December 20, once again no X.  Running the configuration programs don't
> do any good.  I give up for now, no time to troubleshoot.  On Dec 31, I go
> back
> to work on it.  I tried to pipe the output to a file, apparently wrongly, I
> never find
> the file I piped it to.  I do find one error message on screen - "not enough
> disk 
> space in /tmp".  Sure enough, I go to /tmp and find copies of all my
> attempts at
> configuration.
> 
> So, here are my questions
> 1.  How can I pipe the output of "startx" to a file to review for errors?
> 
        startx >& startx_errors

> 2.  Once I do that, how can I post it to the mailgroup?  ie: Since I don't
> have a text
> based browser on the PC, how can I transfer that info to a DOS disc and
> attach it
> to an e-mail on a machine I can post from (Windows).  In the long run, I
> guess I need 
> to learn how to use a text-based mailer...
> 
        As root,
        mkdir /floppy
        mount -t msdos /dev/[name of linux floppy device] /floppy
        cp /home/[your username here]/startx_errors /floppy
        umount /floppy

        Remove the floppy and insert it in the Windows box.  You know
what to do from there ;)

> 3.  Assuming that the problem is that the /tmp directory is too full to use,
> how do I 
> safely remove the old (or all?) configuration directories from it?  The info
> I see on the "rm" 
> command indicates I can delete recursively, but say I can risk deleting
> everything
> in all directories. 
> 
        This only works if all you old configs begin with XF86,

        mv /tmp/XF86* /home/[your username here]
        rm -rf /tmp/*

> 4.  Again assuming the /tmp directory is the issue, how do I prevent this
> from recurring?
> 
        Either put /tmp on a RAM disk or symlink it to another directory.

        To do a symlink

        rmdir /tmp
        mkdir /home/tmp
        ln -s /home/tmp /
        
        Make sure you give the new tmp directory the correct permissions

        drwxrwxrwt, which I think translates to 
        
        chmod 1777 /home/tmp
        
        I have not a clue on how to do a RAM disk on Linux.

> Paul Sherman
> Biomedical Engineer
> VA Center for Engineering & Occupational Safety and Health
> (CEOSH)
> St. Louis, MO
> [EMAIL PROTECTED]
> 
> _______________________________________________
> Newbie mailing list
> [EMAIL PROTECTED]
> *** To unsubscribe , or change message options, see:
> http://XFree86.Org/mailman/listinfo/newbie

Ian
p.s. Good luck.
-- 
Of Course It Runs On NetBSD
www.netbsd.org

Attachment: msg02690/pgp00000.pgp
Description: PGP signature

Reply via email to