From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,d90a0039ee04a2ee X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!newsfeed.stanford.edu!news-proxy.abbnm.com!newsboy.eng.abbnm.com!not-for-mail From: peter@abbnm.com (Peter da Silva) Newsgroups: comp.unix.tru64 Subject: Re: Tru64 5.1b and X server Date: Wed, 4 Aug 2004 00:39:15 +0000 (UTC) Organization: ABB Inc., Network Management Division Message-ID: References: <2naggnFuqi26U1@uni-berlin.de> NNTP-Posting-Host: grendel.eng.abbnm.com X-Trace: jeeves.eng.abbnm.com 1091579955 67203 198.178.0.150 (4 Aug 2004 00:39:15 GMT) X-Complaints-To: usenet@jeeves.eng.abbnm.com NNTP-Posting-Date: Wed, 4 Aug 2004 00:39:15 +0000 (UTC) X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Originator: peter@abbnm.com (Peter da Silva) Xref: g2news1.google.com comp.unix.tru64:222 In article <2naggnFuqi26U1@uni-berlin.de>, Loic Domaigne wrote: > I am still interested to know how do you boot the kernel, so that you > get a plain tty text, and not the X-stuff started by default. This can > be really handy sometimes... Let's take a quick look through the System V startup process, which is what Tru64 uses. The "init" process handles the startup, using the "inittab" file to drive what gets started at each 'run level'. One of the things it runs on entering a level is /sbin/rc$level, which then proceeds to run everything in /sbin/rc$level.d/S*: s2:23:wait:/sbin/rc2 < /dev/console > /dev/console 2>&1 s3:3:wait:/sbin/rc3 < /dev/console > /dev/console 2>&1 In /sbin/rc3.d you'll see: S95xlogin In fact, this is a symlink: lrwxr-xr-x 1 root bin 16 Jan 21 2000 S95xlogin -> ../init.d/xlogin To prevent it from starting, you have two options. If you just want to stop the whole X thing completely, temporarily, rename that link. mv /sbin/rc3.d/S95xlogin /sbin/rc3.d/X95xlogin This works because it only looks at files starting with X. You can move it back later. Alternatively, if you want a command line console but you still want to be able to login via XDMCP over the net you can look in /sbin/rc.d to see whether your XLOGIN is set to xdm or cde. It's probably cde. If it's cde, then look in /usr/dt/config and find the Xservers file and comment out the console line, like this: # * Local local@console /usr/bin/X11/X :0 If it's xdm, then look in /var/X11/xdm/Xservers and comment out this line: :0 local /usr/bin/X11/X Then to get a command line login on the console, make sure that's started from inittab: cons:1234:respawn:/usr/sbin/getty console console vt100 -- I've seen things you people can't imagine. Chimneysweeps on fire over the roofs of London. I've watched kite-strings glitter in the sun at Hyde Park Gate. All these things will be lost in time, like chalk-paintings in the rain. `-_-' Time for your nap. | Peter da Silva | Har du kramat din varg, idag? 'U`