[SuSE Linux] starting kde automatically
<BR> <DIV><FONT color=#003366 face="Mead Bold"></FONT> </DIV> <DIV><FONT color=#003366 face="Mead Bold"></FONT> </DIV> <DIV><SPAN class=910423411-21121998><FONT color=#003366 face="Mead Bold"><FONT size=3>hi. =)</FONT></FONT></SPAN><FONT size=3></FONT></DIV> <DIV><SPAN class=910423411-21121998><FONT color=#003366 face="Mead Bold"><FONT size=3></FONT></FONT></SPAN><FONT size=3></FONT> </DIV> <DIV><SPAN class=910423411-21121998><FONT color=#003366 face="Mead Bold"><FONT size=3>i have a problem using kde1.0. i can't automatically start it using 'startkde'. according to the faq3.html i downloaded from kde.org, i should edit the files '.Xsession' or '.xinitrc'. but the problem is i cannot find those files in '/root'. and i only have 1 enabled user and that is root. i changed the 'xinitrc' file *suppose to be the generic xinitrc* in '/usr/X11R6/lib/X11/xinit'. i commented the lines after the line 'start some nice programs' and added 'startkde'. but it is still loading fvwm2. i've added the original 'xinitrc' file localed in '/usr/X11R6/lib/X11/xinit'. i'm a newbie with linux. and i don't really know what to do. </FONT></FONT></SPAN><FONT size=3></FONT></DIV> <DIV><SPAN class=910423411-21121998><FONT color=#003366 face="Mead Bold"><FONT size=3>THANK IN ADVANCE FOR ALL YOUR HELP. =)</FONT></FONT></SPAN><FONT size=3></FONT></DIV> <DIV><SPAN class=910423411-21121998><FONT color=#003366 face="Mead Bold"><FONT size=3></FONT></FONT></SPAN><FONT size=3><SPAN class=910423411-21121998><FONT color=#003366 face="Comic Sans MS">JL</FONT></SPAN></FONT></DIV> <DIV><SPAN class=910423411-21121998><FONT color=#003366 face="Comic Sans MS"><FONT size=3></FONT></FONT></SPAN><FONT size=3></FONT> </DIV> <DIV><SPAN class=910423411-21121998><FONT color=#003366 face="Mead Bold"><FONT size=3></FONT></FONT></SPAN><FONT size=3><SPAN class=910423411-21121998><FONT color=#003366 face="Mead Bold">'XINITRC' FILE</FONT></SPAN></FONT></DIV> <DIV><FONT face="" size=2>#!/bin/sh<BR># $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $</FONT></DIV> <DIV><FONT face="" size=2>userresources=$HOME/.Xresources<BR>usermodmap=$HOME/.Xmodmap<BR>sysresources=/usr/X11R6/lib/X11/xinit/.Xresources<BR>sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap</FONT></DIV> <DIV><FONT face="" size=2># merge in defaults and keymaps</FONT></DIV> <DIV><FONT face="" size=2>if [ -f $sysresources ]; then<BR> xrdb -merge $sysresources<BR>fi</FONT></DIV> <DIV><FONT face="" size=2>if [ -f $sysmodmap ]; then<BR> xmodmap $sysmodmap<BR>fi</FONT></DIV> <DIV><FONT face="" size=2>if [ -f $userresources ]; then<BR> xrdb -merge $userresources<BR>fi</FONT></DIV> <DIV><FONT face="" size=2>if [ -f $usermodmap ]; then<BR> xmodmap $usermodmap<BR>fi</FONT></DIV> <DIV><FONT face="" size=2><SPAN class=910423411-21121998><FONT color=#003366 face="Comic Sans MS" size=2>i</FONT></SPAN>f [ -z "$BROWSER" ] ; then<BR> # we need to find a browser on this system<BR> BROWSER=`which netscape`<BR> if [ -z "$BROWSER" ] || [ ! -e "$BROWSER" ] ; then<BR> # not found yet<BR> BROWSER=<BR> fi<BR>fi<BR>if [ -z "$BROWSER" ] ; then<BR> # we need to find a browser on this system<BR> BROWSER=`which lynx`<BR> if [ -z "$BROWSER" ] || [ ! -e "$BROWSER" ] ; then<BR> # not found yet<BR> BROWSER=<BR> else<BR> BROWSER="xterm -font 9x15 -e lynx"<BR> fi<BR>fi<BR>if [ -z "$BROWSER" ] ; then<BR> # we need to find a browser on this system<BR> BROWSER=`which arena`<BR> if [ -z "$BROWSER" ] || [ ! -e "$BROWSER" ] ; then<BR> # not found yet<BR> BROWSER=<BR> fi<BR>fi<BR>export BROWSER</FONT></DIV> <DIV><FONT face="" size=2># start some nice programs</FONT></DIV> <DIV><FONT face="" size=2>if [ -f $HOME/.Xclients ]; then<BR> exec $HOME/.Xclients<BR>elif [ -f /etc/X11/xinit/Xclients ]; then<BR> exec /etc/X11/xinit/Xclients<BR>else<BR> xclock -geometry 50x50-1+1 &<BR> xterm -geometry 80x50+494+51 &<BR> xterm -geometry 80x20+494-0 &<BR> if [ -f /usr/X11R6/bin/arena -a -f /usr/doc/HTML/index.html ]; then<BR> arena /usr/doc/HTML/index.html &<BR> fi<BR> if [ -f /usr/X11R6/bin/fvwm ]; then<BR> exec fvwm<BR> else<BR> exec twm<BR> fi<BR>fi</FONT><BR></DIV> <DIV><SPAN id=_AthCaret></SPAN> </DIV> <A HREF="gif00000.gif"><IMG SRC="gif00000.gif" ALT="GIF image"></A></P>
participants (1)
-
J2LR@pworld.net.ph