From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 19:30:19 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 AB07E1065671 for ; Thu, 3 Apr 2008 19:30:19 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 390738FC28 for ; Thu, 3 Apr 2008 19:30:18 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id m33JUHPQ011863; Thu, 3 Apr 2008 21:30:17 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 17D24B82D; Thu, 3 Apr 2008 21:30:17 +0200 (CEST) Date: Thu, 3 Apr 2008 21:30:17 +0200 From: Roland Smith To: Frank =?iso-8859-15?Q?Wi=DFmann?= Message-ID: <20080403193017.GA67486@slackbox.xs4all.nl> Mail-Followup-To: Frank =?iso-8859-15?Q?Wi=DFmann?= , freebsd-questions@freebsd.org References: <47F52A0C.70201@web.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="u3/rZRmxL6MmkK24" Content-Disposition: inline In-Reply-To: <47F52A0C.70201@web.de> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner 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: Thu, 03 Apr 2008 19:30:19 -0000 --u3/rZRmxL6MmkK24 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 proble= m: > When I type "startx" as root all is coming up as expected, the X-Server a= nd=20 > twm as WM. When I stop it, log in as a normal user and do the same there = is=20 > only a grey screen with a mouse-cursor coming up and doing nothing until = I=20 > kill the X-Server with Ctrl-Alt-Backspace. On the original screen from=20 > which I tried to start is shown the following error message: >=20 > AUDIT: Thu Apr 3 20:34:48 2008 836 X: client 1 rejected from localhost (u= id=20 > 1001) > Auth name: XDM-AUTHORIZATION-1 ID: -1 > Xlib: connection to "0:0" refused by server > Xlib: Protocol not supported by server >=20 > .xinitrc and .xsession both have the same contens "exec startxfce4" and t= he=20 > permissions "rwxr-xr-x". >=20 > 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 --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --u3/rZRmxL6MmkK24 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkf1MEkACgkQEnfvsMMhpyXSpACfXMaxCadBEdsI1AAhXiuKHKhl LbsAn1FCpb5F8C1g5HaBeOj5VL0YWWIA =Nkql -----END PGP SIGNATURE----- --u3/rZRmxL6MmkK24--