From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 20:46:25 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 E95CE1065672 for ; Thu, 3 Apr 2008 20:46:25 +0000 (UTC) (envelope-from mark@msen.com) Received: from shell.msen.com (msen.com [148.59.86.2]) by mx1.freebsd.org (Postfix) with ESMTP id A15098FC23 for ; Thu, 3 Apr 2008 20:46:25 +0000 (UTC) (envelope-from mark@msen.com) X-Sent-To: freebsd-questions@freebsd.org Received: from quadone.psyberation.com (c-24-23-69-112.hsd1.mi.comcast.net [24.23.69.112]) (authenticated bits=0) by shell.msen.com (8.14.2/8.14.2) with ESMTP id m33KkMGY084437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 3 Apr 2008 16:46:25 -0400 (EDT) (envelope-from mark@msen.com) From: Mark Moellering To: freebsd-questions@freebsd.org Date: Thu, 3 Apr 2008 16:46:18 -0400 User-Agent: KMail/1.9.7 References: <47F52A0C.70201@web.de> <20080403193017.GA67486@slackbox.xs4all.nl> <47F53F20.2040508@web.de> In-Reply-To: <47F53F20.2040508@web.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200804031646.18332.mark@msen.com> Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=24.23.69.112; envelope-from= Received-SPF: Pass (sender authenticated); receiver=msen.com; client-ip=24.23.69.112; helo=quadone.psyberation.com X-Milter: Spamilter (Reciever: shell.msen.com; Sender-ip: 24.23.69.112; Sender-helo: quadone.psyberation.com; ) Cc: Frank =?iso-8859-1?q?Wi=DFmann?= 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:46:26 -0000 On Thursday 03 April 2008 04:33:36 pm Frank Wi=DFmann wrote: > Roland Smith wrote: > > On Thu, Apr 03, 2008 at 09:03:40PM +0200, Frank Wi=DFmann 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 err= or > >> 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 =46rank, Try removing the "exec" and have the .xinitrc just read=20 startxfce4 The only other thing I can think of is editing the file in a terminal. Th= ere=20 have been some system files that if I edit in a graphical editor (Kedit on = my=20 KDE system) some extra characters somehow get in there and create odd=20 problems, whereas if I use a text editor (edit, vi, etc) things work fine. Mark Moellering