From: sct@dcs.ed.ac.uk (Stephen Tweedie) Subject: Re: [Q] xdm on SLS 098 doesn't work, startx does! Why? Date: 2 Nov 92 14:25:57 GMT In article <1992Oct28.051339.7168@utstat.uucp>, rafal@utstat.uucp (Rafal Kustra (summer student)) writes: > In article coizi01@convex.zdv.uni-tuebingen.de (N. Zimmermann) writes: >>I have installed Linux on my 486 DX and ET4000 sucessfully. Just a >>few deltails won't fit in my SLS 098 distribution: X works well when >>started from "startx", it hangs, when started with xdm in rc. The >>startup screen appears, the login window comes up, but no keyboard >>input is possible, just bell rings when hitting any keys and I have >>to press CTRL ALT DEL! > Ok, I had problems with xdm under Xfree86, although it worked under > x11v1.1. First of all, it seems, that you have getty going. You have > to comment out all getty's on virtual consoles in /etc/inittab (all > the ones on tty#). Then in rc, on the last line put: echo starting > xdm ... /bin/doshell /dev/tty1 /usr/X386/bin/xdm That should work, but if it doesn't, you're stuck unable to get a virtual console. I run xdm from the inittab on /dev/tty1, and run a normal getty on /dev/tty2, so that if X fails I can always fall back to a console login. From my /etc/inittab... tty1:xterm:/bin/doshell /dev/tty1 /usr/X386/bin/xdm tty2:console:/bin/getty 19200 tty2 ttys1:bbcb32:/etc/getty -m 19200,9600 ttys1 Cheers, Stephen Tweedie. PS. Is this in the FAQ yet? --- Stephen Tweedie (Internet: ) Department of Computer Science, Edinburgh University, Scotland. ------------------------------ From: sct@dcs.ed.ac.uk (Stephen Tweedie) Subject: Re: Bugs in LINUX tar (?) Date: 5 Nov 92 17:28:37 GMT In article , jy10033@ehsn11.cen.uiuc.edu (Joshua M Yelon) writes: > Last night I switched from minix FS to ext FS. Here are the steps I > went through: > * tarred my whole filesystem using gnu tar, split tarfile onto > floppies. * reformatted hard disk using mkefs. * reloaded software > from floppy using the tar on the 0.98 rootdisk. > Much to my chagrin, though, the tar on the root floppy didn't seem > to quite understand the tarfile format: it loaded the files up ok, > and got all the chmod bits right, but got most of the file > ownerships wrong! Needless to say, this took a long time to fix. > It may be important that I use UID's greater than 1000... although > I can't see why that would be a problem, it IS unusual. First of all, you should be using the -p (set permissions) option to tar; although if you say the mode bits are correct, you're probably doing this anyway. The problem with ownership is that when you boot from the root floppy, you are no longer using the passwd and group files from your tarred root partition. So, all those users and groups who should own the files you are restoring simply don't exist at the time of the restore. You should copy the original /etc/passwd and /etc/group files into /etc on the root floppy before extracting the tar archive. Cheers, Stephen Tweedie. --- Stephen Tweedie (Internet: ) Department of Computer Science, Edinburgh University, Scotland.