Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Apr 2008 21:37:16 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        =?ISO-8859-15?Q?Frank_Wi=DFmann?= <frank.wissmann41@web.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Problem starting X as user
Message-ID:  <alpine.BSF.1.10.0804032135420.99198@wonkity.com>
In-Reply-To: <47F52A0C.70201@web.de>
References:  <47F52A0C.70201@web.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 3 Apr 2008, Frank Wi?mann wrote:

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

My user .xsession is:

#!/bin/sh

# WB: allow other user to use X on localhost
xhost +localhost

exec /usr/local/bin/startxfce4

-Warren Block * Rapid City, South Dakota USA



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