Date: Fri, 05 Nov 2004 13:18:52 -0600 From: Eric Schuele <e.schuele@computer.org> To: freebsd-questions@freebsd.org Subject: Re: X11 security issues??? Message-ID: <418BD21C.9090303@computer.org> In-Reply-To: <41888720.7090301@computer.org> References: <41888720.7090301@computer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Thought the list might benefit... Brian Bobowski wrote: > Eric Schuele wrote: > >> When I have X/Fluxbox up and running, I can press Ctrl+Alt+<function-key> >> and get to any other ttyv. This is annoying to begin with but since >> they prompt for pwds... not catastrophic. However, F1 takes you to the >> ttyv I'm logged in to and this gives you the opportunity to Ctrl-C my X >> session... leaving you standing in my shell! >> >> ... >> >> Have I done something wrong? >> How can I prevent this. It would be nice to be able to walk away from >> my desk and not worry about people using my machine. > > > > I'm not personally familiar with Fluxbox, but I do know that some window managers or environments - for instance, KDE - have the option to intercept the CTRL-ALT-Fn keypresses. That's one way to do it - from within your WM. > > The other way is to add these lines to your ServerFlags section of /etc/XF86Config : > > Option "DontVTSwitch" true > Option "DontZap" true Excellent... Exactly what I needed! However, for what it's worth... I'm using xorg, and the syntax that worked for me was without the boolean values. Section "ServerFlags" Option "DontVTSwitch" Option "DontZap" EndSection Thanks for the help. > > The first prevents the behaviour that you specifically mentioned; the second prevents the CTRL-ALT-Backspace shortcut from killing the X server. > > If this section doesn't exist, then put: > > Section "ServerFlags" > Option "DontVTSwitch" true > Option "DontZap" true > EndSection > > ...and that should achieve the desired results. > > HTH, > > -BB > -- Regards, Eric
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?418BD21C.9090303>