Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Prevent tty change with xtrlock?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Demonking
n00b
n00b


Joined: 12 Mar 2007
Posts: 38

PostPosted: Mon Sep 09, 2013 2:23 pm    Post subject: Prevent tty change with xtrlock? Reply with quote

Hello,

i have googled and have found , that i could deactive the tty change with xorg.conf

Code:
DontVTSwitch "on"
.

But i want only prevent it from changing the tty when xtrlock is active.

Is this possible?


Greetz

Demonking
_________________
I finally understand why Java's security model is so torturous:
It's to protect everyone else against people who write code like this.

The Answer to Life, the Universe, and Everything = 42
Back to top
View user's profile Send private message
Demonking
n00b
n00b


Joined: 12 Mar 2007
Posts: 38

PostPosted: Thu Sep 12, 2013 2:33 pm    Post subject: Reply with quote

I have found a solution, not the best, and i couldn't prevent someone to change the tty during xtrlock is active, but better then nothing.

If i start my X-Server with "exec startx" and kill the X-Server , i'm not longer logged in, so that no one could
manipulate my files or use some commands ;)

I have added an alias for this

Code:

alias startx='exec startx'




Greetz

Demonking
_________________
I finally understand why Java's security model is so torturous:
It's to protect everyone else against people who write code like this.

The Answer to Life, the Universe, and Everything = 42
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum