From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 22:09:43 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 5F43B106564A for ; Thu, 3 Apr 2008 22:09:43 +0000 (UTC) (envelope-from herbert.raimund@gmx.net) Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by mx1.freebsd.org (Postfix) with SMTP id BE3A78FC0C for ; Thu, 3 Apr 2008 22:09:41 +0000 (UTC) (envelope-from herbert.raimund@gmx.net) Received: (qmail invoked by alias); 03 Apr 2008 22:09:40 -0000 Received: from host-194126238033.net-serwis.pl (EHLO bobcat.edu) [194.126.238.33] by mail.gmx.net (mp051) with SMTP; 04 Apr 2008 00:09:40 +0200 X-Authenticated: #18511094 X-Provags-ID: V01U2FsdGVkX19yI1tG0yRygyFO0EwsYey6G8DU5qSBGN1LiEhNWq dW0einHMa+ZRTo Date: Fri, 4 Apr 2008 00:14:46 +0200 From: herbert langhans To: frank.wissmann41@web.de, freebsd-questions@freebsd.org Message-Id: <20080404001446.315fb69c.herbert.raimund@gmx.net> In-Reply-To: <47F5402C.1080208@web.de> References: <47F52A0C.70201@web.de> <20080403214927.f2fefaa9.herbert.raimund@gmx.net> <47F5402C.1080208@web.de> Organization: private X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Y-GMX-Trusted: 0 Cc: Subject: Re: [unsure] 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 22:09:43 -0000 Also check if you have the /etc/x11/xorg.conf -- root 644. Dont keep anothe= r xorg.conf in the /home/user directory so its using the one from /etc/x11 = for sure.=20 Dont have=20 ~/.Xresources and ~/.Xmodmap=20 in the home directory.=20 Check .xinitrc if it is in /root. If it is there and it works copy it over = to the /home/user, care for permissions or make it 777. Watch for /usr/local/lib/X11/xinit -- it will use this when you have no .xi= nitrc in the /home/user or permission is set wrong! Such troubles I solve best when I look over it the next day. Usually I find= it in two minutes then and wonder how I can have not seen such an obvious = mistake..=20 Cheers herbs =20 On Thu, 03 Apr 2008 22:38:04 +0200 Frank Wi=DFmann wrote: > herbert langhans wrote: > > Frank, > > can you start twm when you log in as a user. It smells like some permis= sion issue from xfce. You could backup the xfce files with the actual permi= ssions and then set them all to 777 and try to start it. > >=20 > > Just an idea > > herbs > > =20 > >=20 > > On Thu, 03 Apr 2008 21:03:40 +0200 > > Frank Wi=DFmann wrote: > >=20 > >> Hi all! > >> Hope there's somebody out there who can help me with the following pro= blem: > >> When I type "startx" as root all is coming up as expected, the X-Serve= r=20 > >> and twm as WM. When I stop it, log in as a normal user and do the same= =20 > >> there is only a grey screen with a mouse-cursor coming up and doing=20 > >> nothing until I kill the X-Server with Ctrl-Alt-Backspace. On the=20 > >> original screen from which I tried to start is shown the following err= or=20 > >> message: > >> > >> AUDIT: Thu Apr 3 20:34:48 2008 836 X: client 1 rejected from localhost= =20 > >> (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" an= d=20 > >> the permissions "rwxr-xr-x". > >> > >> Any thoughts please? > >> > >> TIA Frank > >> _______________________________________________ > >> freebsd-questions@freebsd.org mailing list > >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebs= d.org" > >> > >=20 > >=20 > If I comment out the "exec startxfce4" in both files the effect is the=20 > same: No WM starts, just the X-Server. The interesting effect is that=20 > the output on the regular user's terminal is the same as above written.=20 > So it seems it has nothing to do with the WM I want to start. >=20 > Frank >=20 --=20 ******* Herbert Langhans, Warschau ******* Sprachtraining Langhans ******* http://www.langhans.com.pl ******* herbert.raimund@gmx.net ******* NIP 526-229-61-51 ******* Regon 014911759 ******* Tel. 603 341 441