From owner-freebsd-questions@FreeBSD.ORG Fri Apr 4 13:22:12 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 1CAF41065684 for ; Fri, 4 Apr 2008 13:22:12 +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 A76128FC43 for ; Fri, 4 Apr 2008 13:22:11 +0000 (UTC) (envelope-from frank.wissmann41@web.de) Received: from smtp05.web.de (fmsmtp05.dlan.cinetic.de [172.20.4.166]) by fmmailgate01.web.de (Postfix) with ESMTP id 3F3B7D9ECB9B; Fri, 4 Apr 2008 15:22:10 +0200 (CEST) Received: from [77.134.43.78] (helo=willows.einundvierzig.org) by smtp05.web.de with asmtp (WEB.DE 4.109 #226) id 1Jhlru-0005Fd-00; Fri, 04 Apr 2008 15:22:10 +0200 Message-ID: <47F62C5E.1010307@web.de> Date: Fri, 04 Apr 2008 15:25:50 +0200 From: =?ISO-8859-1?Q?Frank_Wi=DFmann?= User-Agent: Thunderbird 2.0.0.9 (X11/20080213) MIME-Version: 1.0 To: herbert langhans References: <47F52A0C.70201@web.de> <20080403214927.f2fefaa9.herbert.raimund@gmx.net> <47F5402C.1080208@web.de> <20080404001446.315fb69c.herbert.raimund@gmx.net> In-Reply-To: <20080404001446.315fb69c.herbert.raimund@gmx.net> 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: V01U2FsdGVkX19T42PwAQe+e4ulEpb+0ySHLE/ayEM4tXmOOjFp 8RBpWHBzjhedioAdki2xBF/6ZFolv0otqdQCODaUdPi3BFohcG UDgYaflSCNDvG2yj8uLQ== Cc: freebsd-questions@freebsd.org 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: Fri, 04 Apr 2008 13:22:12 -0000 herbert langhans wrote: > Also check if you have the /etc/x11/xorg.conf -- root 644. Dont keep another xorg.conf in the /home/user directory so its using the one from /etc/x11 for sure. > > Dont have > ~/.Xresources and > ~/.Xmodmap > in the home directory. I must admit I have some xmodmap-commands in my .xinitrc. They worked fine in my 7.0-Beta1 installation. I now have upgraded to 7.0. X.org is 7.3_1. I copied my ~/frank from one computer to another via NFS. May it be there went something wrong? (See below) > > 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. I have only one in ~/frank. > > Watch for /usr/local/lib/X11/xinit -- it will use this when you have no .xinitrc in the /home/user or permission is set wrong! The file /usr/local/lib/X11/xinit/xinitrc is set to r--r--r--. It seems to me this is somehow wrong. Should I change it, and to which value? > > 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.. > > Cheers > herbs > > > On Thu, 03 Apr 2008 22:38:04 +0200 > Frank Wißmann wrote: > >> herbert langhans wrote: >>> Frank, >>> can you start twm when you log in as a user. It smells like some permission issue from xfce. You could backup the xfce files with the actual permissions and then set them all to 777 and try to start it. >>> >>> Just an idea >>> herbs >>> >>> >>> On Thu, 03 Apr 2008 21:03:40 +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? >>>> >>>> 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@freebsd.org" >>>> >>> >> If I comment out the "exec startxfce4" in both files the effect is the >> same: No WM starts, just the X-Server. The interesting effect is that >> the output on the regular user's terminal is the same as above written. >> So it seems it has nothing to do with the WM I want to start. >> >> Frank >> > >