From owner-freebsd-questions@FreeBSD.ORG Fri Apr 4 03:37:18 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40217106566B for ; Fri, 4 Apr 2008 03:37:18 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id E36208FC12 for ; Fri, 4 Apr 2008 03:37:17 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.2/8.14.2) with ESMTP id m343bGCX099259; Thu, 3 Apr 2008 21:37:16 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.2/8.14.2/Submit) with ESMTP id m343bGe3099256; Thu, 3 Apr 2008 21:37:16 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Thu, 3 Apr 2008 21:37:16 -0600 (MDT) From: Warren Block To: =?ISO-8859-15?Q?Frank_Wi=DFmann?= In-Reply-To: <47F52A0C.70201@web.de> Message-ID: References: <47F52A0C.70201@web.de> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (wonkity.com [127.0.0.1]); Thu, 03 Apr 2008 21:37:16 -0600 (MDT) Cc: freebsd-questions@freebsd.org Subject: Re: Problem starting X as user 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: Fri, 04 Apr 2008 03:37:18 -0000 On Thu, 3 Apr 2008, Frank Wi?mann wrote: > Hope there's somebody out there who can help me with the following problem: > When I type "startx" as root all is coming up as expected, the X-Server and > twm as WM. When I stop it, log in as a normal user and do the same there is > only a grey screen with a mouse-cursor coming up and doing nothing until I > kill the X-Server with Ctrl-Alt-Backspace. On the original screen from which > I tried to start is shown the following error message: > > AUDIT: Thu Apr 3 20:34:48 2008 836 X: client 1 rejected from localhost (uid > 1001) > Auth name: XDM-AUTHORIZATION-1 ID: -1 > Xlib: connection to "0:0" refused by server > Xlib: Protocol not supported by server > > .xinitrc and .xsession both have the same contens "exec startxfce4" and the > permissions "rwxr-xr-x". > > Any thoughts please? My user .xsession is: #!/bin/sh # WB: allow other user to use X on localhost xhost +localhost exec /usr/local/bin/startxfce4 -Warren Block * Rapid City, South Dakota USA