Hey all,
Long time no post.
I've got a SuSE 9.2 linux box, and I've got it set to auto-login a specified user straight into the KDE desktop.
However, when the machine is powered on/rebooted, I need the following commands to be executed. When they are executed doesn't really matter, I just need them to have been initialized by the time the user is logged into the desktop.
Here are the commands needed:
Code:
xset s off
xset -dpms
xhost +IPaddress
xhost
That's it. The first two, kinda obvious. Want to ensure that the screen-saver & screen-blanking (power-saving mode) are disabled.
Then need to add the IPaddress to the allowed xhost, then start the xhost.
This is because another remote system sends video to this machine via this whole setup.
I was running on a Knoppix Live-CD, however that install lacked alot of utilities needed for normal day-to-day geekstuff. So I installed SuSE 9.2. Yes I could've put the new OpenSuSE but I didn't have a copy handy, and 9.2 runs just fine on this machine anyway. I usually use Gentoo, however I'm at sea via satellite connection, so installing Gentoo is not really a feasible option. It's been quite awhile since I've use good 'ol SuSE, but I remember it being quite stable and hassle free.
I've tried adding the above commands to the
/etc/boot.local but it doesn't seem to work.
I've added them to the
.bashrc file, however if the user doesn't open a terminal window (which they most likely won't), then the commands will never get executed. And like I stated before, I need the commands running by the time the system boots into the desktop because the remote machine will already be sending the video information... sitting waiting for this machine to be ready to receive.
Any info is greatly appreciated.
Tnx
L8rz