Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2008 21:30:17 +0200
From:      Roland Smith <rsmith@xs4all.nl>
To:        Frank =?iso-8859-15?Q?Wi=DFmann?= <frank.wissmann41@web.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem starting X as user
Message-ID:  <20080403193017.GA67486@slackbox.xs4all.nl>
In-Reply-To: <47F52A0C.70201@web.de>
References:  <47F52A0C.70201@web.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080403193017.GA67486>