Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2008 15:51:39 +0200
From:      herbert langhans <herbert.raimund@gmx.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Re: Problem starting X as user
Message-ID:  <20080404155139.232b3a86.herbert.raimund@gmx.net>
In-Reply-To: <47F62C5E.1010307@web.de>
References:  <47F52A0C.70201@web.de> <20080403214927.f2fefaa9.herbert.raimund@gmx.net> <47F5402C.1080208@web.de> <20080404001446.315fb69c.herbert.raimund@gmx.net> <47F62C5E.1010307@web.de>

next in thread | previous in thread | raw e-mail | index | archive | help
Maybe rename /home/frank/.xinitrc to /home/frank/.xinit.rc.backup

Then copy /usr/local/lib/X11/xinit/xinitrc to /home/frank and rename xinitr=
c to .xinitrc (and chown it to frank while youre at it).

As you have it now and you start as root it currently uses /usr/local/lib/X=
11/xinit/xinitrc. When you start as user it might use /home/frank/.xinitrc.=
=20

Working?
herbs


On Fri, 04 Apr 2008 15:25:50 +0200
Frank Wi=DFmann <frank.wissmann41@web.de> wrote:

> herbert langhans wrote:
> > Also check if you have the /etc/x11/xorg.conf -- root 644. Dont keep an=
other xorg.conf in the /home/user directory so its using the one from /etc/=
x11 for sure.=20
> >=20
> > Dont have=20
> > ~/.Xresources and
> > ~/.Xmodmap=20
> > in the home directory.=20
>=20
> I must admit I have some xmodmap-commands in my .xinitrc. They worked=20
> fine in my 7.0-Beta1 installation. I now have upgraded to 7.0. X.org is=20
> 7.3_1. I copied my ~/frank from one computer to another via NFS. May it=20
> be there went something wrong? (See below)
> >=20
> > Check .xinitrc if it is in /root. If it is there and it works copy it o=
ver to the /home/user, care for permissions or make it 777.
>=20
> I have only one in ~/frank.
>=20
> >=20
> > 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!
>=20
> The file /usr/local/lib/X11/xinit/xinitrc is set to r--r--r--. It seems=20
> to me this is somehow wrong. Should I change it, and to which value?
>=20
> >=20
> > 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 obvi=
ous mistake..=20
> >=20
> > Cheers
> > herbs
> > =20
> >=20
> > On Thu, 03 Apr 2008 22:38:04 +0200
> > Frank Wi=DFmann <frank.wissmann41@web.de> wrote:
> >=20
> >> herbert langhans wrote:
> >>> Frank,
> >>> can you start twm when you log in as a user. It smells like some perm=
ission issue from xfce. You could backup the xfce files with the actual per=
missions and then set them all to 777 and try to start it.
> >>>
> >>> Just an idea
> >>> herbs
> >>> =20
> >>>
> >>> On Thu, 03 Apr 2008 21:03:40 +0200
> >>> Frank Wi=DFmann <frank.wissmann41@web.de> wrote:
> >>>
> >>>> Hi all!
> >>>> Hope there's somebody out there who can help me with the following p=
roblem:
> >>>> When I type "startx" as root all is coming up as expected, the X-Ser=
ver=20
> >>>> and twm as WM. When I stop it, log in as a normal user and do the sa=
me=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 e=
rror=20
> >>>> message:
> >>>>
> >>>> AUDIT: Thu Apr 3 20:34:48 2008 836 X: client 1 rejected from localho=
st=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" =
and=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@free=
bsd.org"
> >>>>
> >>>
> >> 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.
> >>
> >> Frank
> >>
> >=20
> >=20
>=20
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.o=
rg"
>=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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080404155139.232b3a86.herbert.raimund>