Shell-Script Problem?
Hi, I had mandrake linux for a couple weeks, then i decided i wanted to give slackware a try, so I completely reformatted, installed win xp pro, then installed slackware without any problems...but when i try to run a shell script my screen goes black and I lose power to my keyboard the next time I turn on my computer...I tried both GNOME and KDE, and KDE with 800x600res...can anyone help?
|
That script wouldn't look anything like this:
Code:
# !/bin/sh Enjoy! --- Cerbere |
Love to help - but you need to help others help you.
(Read: post the script you're having trouble with) TSJ |
umm...I've tried
Code:
kdm Code:
gdm Code:
kdm 800x600 60 |
Sheez, it's like blood from a stone ;-)
Are you running this code in your 'xinitrc' file? Or just typing it at the console in runlevel 3 (non-graphical login)? If you want to start X after logging in to runlevel 3, just type 'startx' at the prompt, otherwise edit '/etc/inittab' to use runlevel 4 if you prefer a graphical login. Is that what you were after? TSJ |
umm...I'm doing it at the non-graphical login, when I enter startx it goes black just like all the other times..:(
|
Right. Sounds like it's an X config issue and not any problem with 'kdm' or 'gdm'.
Have a look at '/var/log/XFree86.0.log' and run '/usr/X11R6/bin/xf86config' as root if you're getting X startup errors. HTH, TSJ |
w00t, after editing it, it works now, thanks a lot! :)
|
All times are GMT -5. The time now is 11:55 AM. |