From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 20:30:00 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 CE63F1065676 for ; Thu, 3 Apr 2008 20:30:00 +0000 (UTC) (envelope-from frank.wissmann41@web.de) Received: from fmmailgate01.web.de (fmmailgate01.web.de [217.72.192.221]) by mx1.freebsd.org (Postfix) with ESMTP id 8989D8FC19 for ; Thu, 3 Apr 2008 20:30:00 +0000 (UTC) (envelope-from frank.wissmann41@web.de) Received: from smtp06.web.de (fmsmtp06.dlan.cinetic.de [172.20.5.172]) by fmmailgate01.web.de (Postfix) with ESMTP id 52633D9D35B8 for ; Thu, 3 Apr 2008 22:29:57 +0200 (CEST) Received: from [77.134.86.221] (helo=willows.einundvierzig.org) by smtp06.web.de with asmtp (WEB.DE 4.109 #226) id 1JhW4K-0006mu-00; Thu, 03 Apr 2008 22:29:57 +0200 Message-ID: <47F53F20.2040508@web.de> Date: Thu, 03 Apr 2008 22:33:36 +0200 From: =?ISO-8859-1?Q?Frank_Wi=DFmann?= User-Agent: Thunderbird 2.0.0.9 (X11/20080213) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Frank_Wi=DFmann?= , freebsd-questions@freebsd.org References: <47F52A0C.70201@web.de> <20080403193017.GA67486@slackbox.xs4all.nl> In-Reply-To: <20080403193017.GA67486@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Sender: frank.wissmann41@web.de X-Sender: frank.wissmann41@web.de X-Provags-ID: V01U2FsdGVkX1+e4aasbk8Jjuwe1b+Px93EM5EsOkkPlDsV1r6E HtDkDB8xvt0iIUxoE8cKrJ79JisD+c+pDYtDmwEnm19sWZ6ipI IchAejoTKJDAWxsb8P6Q== Cc: 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: Thu, 03 Apr 2008 20:30:00 -0000 Roland Smith wrote: > On Thu, Apr 03, 2008 at 09:03:40PM +0200, Frank Wißmann wrote: >> Hi all! >> 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? > > Does the regular user have an ~/.Xauthority file? If not, you might have > to create it with xauth(1), or copy it from the root user. > > Roland Yes, there is one with the same permissions as the above mentioned files. Greetings Frank