Disable auto logout

Using KDE. After a few minutes of no use the system logs me out and asks me to log in again. How do I disable that?

Thanks in advance-

I suppose you are actually talking about the screenlocker?
You normally shouldn’t get logged out automatically, unless the whole X session is crashing…

Configure Desktop->Workspace Behaviour->Screen Locker.

Problem solved. Thank you.