From owner-freebsd-questions@FreeBSD.ORG Mon Apr 17 21:21:48 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5573C16A403 for ; Mon, 17 Apr 2006 21:21:48 +0000 (UTC) (envelope-from e.schuele@computer.org) Received: from sccrmhc11.comcast.net (sccrmhc11.comcast.net [204.127.200.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0115643D49 for ; Mon, 17 Apr 2006 21:21:47 +0000 (GMT) (envelope-from e.schuele@computer.org) Received: from [208.206.151.59] (unknown[208.206.151.59]) by comcast.net (sccrmhc11) with ESMTP id <2006041721214601100eiftne>; Mon, 17 Apr 2006 21:21:46 +0000 Message-ID: <444406E8.2040808@computer.org> Date: Mon, 17 Apr 2006 16:21:44 -0500 From: Eric Schuele User-Agent: Thunderbird 1.5 (X11/20060402) MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: X11 and virtual consoles.... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Apr 2006 21:21:48 -0000 Hello, [hadn't worn my newbie hat lately... so I thought I'd try it on.] Is there a way to run X via startx and prevent someone from switching back to the console that started it and pressing Ctrl-C, without using DontVTSwitch in my xorg.conf file? I would like to be able to use multiple virtual consoles. But do not like the idea of someone switching back to *my* virtual console... killing X and having my account available to them. This way I could lock my session via xscreensaver, and walk away. Then someone else could login and use the machine... just not *my* account. I had envisioned something like a script that did the following: #!/bin/sh startx & vlock Yet vlock does not like this at all. I was hoping to background startx... and then lock the virtual console. :) Is there anything that might accomplish something similar? Thanks. -- Regards, Eric