a while ago i wrote a program from windoze to run the screen saver from the command line, also this program set password protected to true.
2 years ago i moved to linux (thank god there's linux) and i've been learning to progran in this new environment.
i need to write something similar to my lock program, i'ven been searching for the right system call to use but so far nothing, what i need is to be able to run my app from the command line, this app calls a system call (or whatever function) and turn the screensaver on and lock the screen with the screensaver's password.
all this in c/c++
thx a lot!