Thanks a lot for your help lawson.
I am using Redhat 6.1.
When I run grep -r setterm /etc/rc.d, it just returned nothing, but i
remember in the days that I put the initial run level to 3, the screen
goes to blank after a while. So I don't know what makes that happened.

And now I am running my system in runlevel 5, with kdm. But in the
directory /etc/X11, I can only see xdm and gdm directory there, and 

[root@rslserv xdm]# more /etc/X11/xdm/Xservers # $XConsortium:
Xserv.ws.cpp,v 1.3 93/09/28 14:30:30 gildea Exp $ # On Mon, 13 Mar 2000
[EMAIL PROTECTED] wrote: # # $XFree86:
xc/programs/xdm/config/Xserv.ws.cpp,v 1.1.1.1.12.2 1998/10/04 15:23:14
hohndel Exp $> #> # Xservers file, workstation prototype> On Mon, 13 Mar
2000, Lordx wrote: #> # This file should contain an entry to start the
server on the> > Dear gurus: # local display; if you have more than one
display (not screen),> > When I use "mail [EMAIL PROTECTED]" in my xterm, the
mail always bounced # you can add entries to the list (one per line).  If
you also> back # have some X terminals connected which do not support
XDMCP,> > a little time later, coz the sender is by default set to # you
can add them here as well.  Each X terminal line should> >
"[EMAIL PROTECTED]". # look like:> > My box has a correct DNS
name, but I don't know how to let the sendmail # XTerminalName:0 foreign>
to #> > choose that name instead of localhost.localdomain. I have tried to
:0 local /usr/X11R6/bin/X> modify
[root@rslserv xdm]#   

I just don't know where should I put that command.
Thanks in advance.



> > the /etc/sendmail.cf file, but could not
succeed.
> > 
> > My second question is:
> > The screen will go black when it is untouched for some time, I don't
> know
> > where I can configure to disable this auto blank. Coz because of this,
> the
> > computer had been powered off for several times without being shutdown
> > first.
> > 
> > Thanks in advance.
> > 
> The blanking of the console is usually done by a 
> 
> setterm -blank 15
> 
> or so somewhere in your startup rc files, where depends on your
> distro.  You could
> 
> grep -r setterm /etc/rc.d
> 
> (if grep doesn't like that, (old grep))
> 
> find -type f /etc/rc.d |xargs grep setterm
> 
> or just override it with
> 
> setterm -blank 0
> 
> in /etc/rc.d/rc.local
> 
> Blanking of a screen controlled by X is set by the -s option to X, so
> you can add -s 0 to whatever you use to start X, FI
> 
> startx -- -s 0
> 
> I guess GUI login would start X from
> 
> /usr/X11/lib/X11/[xgk]dm/Xservers
> 
> Lawson
> 
> In theory, theory and practice are the same...
> In practice, they are different.  - Francois Gouget
> 
> 
> 
> 
> ________________________________________________________________
> YOU'RE PAYING TOO MUCH FOR THE INTERNET!
> Juno now offers FREE Internet Access!
> Try it today - there's no risk!  For your FREE software, visit:
> http://dl.www.juno.com/get/tagj.
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
> the body of a message to [EMAIL PROTECTED]
> Please read the FAQ at http://www.linux-learn.org/faqs
> -----------------------------------------------
> �����ҳ��ͣ�ʮ������"ҳ" ���ң�
> ���л���Ӯȡ���ַ�һ�׻��޾��ϵȰ��ף�
> ����Swatch��Nike�����ã����϶��ְɣ�
> ����ʮ�����ѲμӴ˻���л�������������֮��
> �������߾���ChinaRen�ؿ�T����һ����
> http://www.chinaren.com/marketing/bus/index.htm
> 


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs

Reply via email to