Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Notebook Question



Quoth Jim Breen (Sat 2002-09-14 01:43:46PM +1000):
> 
> (a) where do I kick off kinput2 at boot time? I put it in
> /etc/rc.d/rc.local, but it doesn't work there. I suspect it is because
> canna hasn't properly initialized yet.

You need kinput2 to start after X has started. Slap it in your .xinitrc or,
if you are using Gnome, add it to your startup items or whatever they call
it. You probably want to do something like:

kinput2 -canna &

Of course, you can just start it manually when you need it.

/etc/rc.d/rc.local is the *last* rc script run at startup, so that is where
you put things that are dependent on other rc services if you do not want to
mess with runlevels and all that shite.

> (b) I'm having trouble setting my hostname. It was suggested in March
> that I use "HOSTNAME=...." in /etc/sysconfig/network, but this time that 
> broke a few things and stopped X from launching.

Look in /etc/rc.d/rc.sysinit, lines 22-30. Since the script sources
/etc/sysconfig/network, you can stick the hostname in there. If that does
not work, try changing the line that sets HOSTNAME=localhost.


-- 
Josh Glover <jmglov@example.com>

Associate Systems Administrator
INCOGEN, Inc.
http://www.incogen.com/

GPG keyID 0x62386967 (7479 1A7A 46E6 041D 67AE  2546 A867 DBB1 6238 6967)
gpg --keyserver pgp.mit.edu --recv-keys 62386967

Attachment: pgp00122.pgp
Description: PGP signature


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links