Re: Errors during start of Xorg on 3.9

2006-03-30 Thread Andrew Smith
Antoine, thanks, quite right.. I saw the memo and misread it - the prompt
defaults to [no] now.

It may be worthwhile double checking the Aperture setting though.


-Original Message-
From: Antoine Jacoutot [mailto:[EMAIL PROTECTED] 
Sent: 30 March 2006 15:26
To: Andrew Smith
Cc: misc@openbsd.org
Subject: Re: Errors during start of Xorg on 3.9

Selon Andrew Smith <[EMAIL PROTECTED]>:
> machdep.allowaperture. Make sure that is set to 2, this no longer gets set
> to 2 by answering yes to running X - this is a deliberate decision in 3.9
> and has been left out of the scripts to raise awareness of the security
> issues associated (see man xf86)

As far as I understand, machdep.allowaperture _does_ get set to 2 by
answering
yes to running X. However, while the default answer was set to yes, it is
now
set to no.

-- 
Antoine



Re: Errors during start of Xorg on 3.9

2006-03-30 Thread Antoine Jacoutot
Selon Andrew Smith <[EMAIL PROTECTED]>:
> machdep.allowaperture. Make sure that is set to 2, this no longer gets set
> to 2 by answering yes to running X - this is a deliberate decision in 3.9
> and has been left out of the scripts to raise awareness of the security
> issues associated (see man xf86)

As far as I understand, machdep.allowaperture _does_ get set to 2 by answering
yes to running X. However, while the default answer was set to yes, it is now
set to no.

-- 
Antoine



Re: Errors during start of Xorg on 3.9

2006-03-30 Thread Andrew Smith
You should be using the wrapper script called xorgconfig

This should work run as root and double check the /etc/sysctl.conf value
machdep.allowaperture. Make sure that is set to 2, this no longer gets set
to 2 by answering yes to running X - this is a deliberate decision in 3.9
and has been left out of the scripts to raise awareness of the security
issues associated (see man xf86)

Search back through the archives and you will see Theo's thoughts about it.

-Andy

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of
Swen Simon
Sent: 29 March 2006 11:57
To: misc@openbsd.org
Subject: Errors during start of Xorg on 3.9

(I was redirected to misc@ from an user, thanks for the hint :)

Greetings!

I installed OpenBSD 3.9 few hours ago and all works fine, instead of X.
I never used Xorg on an OBSD system and generated a new config with "Xorg
-configure".

Following errors appears:

(WW) xf86AcquireGART: AGPIOC_ACQUIRE failed (Device busy)
(WW) GARTInit: AGPIOC_INFO failed (Device not configured)
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be
created.
_XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed, errno =
2
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for local
...
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2,
should be 1; fixing.

I googled many hours to fix that, found no solution or hint about that. The
permissions on /tmp are correct
and should work for other users (can create files in it). It takes also (~)
10 seconds to start the window manager.

xorg.conf: http://pastebin.com/628483
Xorg.0.log: http://pastebin.com/628488
dmesg: http://pastebin.com/628493

Anyone else that problems? Hints or solutions are welcome! Thanks.

Swen



Re: Errors during start of Xorg on 3.9

2006-03-29 Thread Joachim Schipper
On Wed, Mar 29, 2006 at 12:57:29PM +0200, Swen Simon wrote:
> (I was redirected to misc@ from an user, thanks for the hint :)
> 
> Greetings!
> 
> I installed OpenBSD 3.9 few hours ago and all works fine, instead of X.
> I never used Xorg on an OBSD system and generated a new config with "Xorg
> -configure".
> 
> Following errors appears:
> 
> (WW) xf86AcquireGART: AGPIOC_ACQUIRE failed (Device busy)
> (WW) GARTInit: AGPIOC_INFO failed (Device not configured)
> _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be
> created.

Huh?
> _XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed, errno =
> 2

Okay...

> _XSERVTransMakeAllCOTSServerListeners: failed to create listener for local
> ...
> FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2,
> should be 1; fixing.
> 
> I googled many hours to fix that, found no solution or hint about that. The
> permissions on /tmp are correct
> and should work for other users (can create files in it). It takes also (~)
> 10 seconds to start the window manager.
> 
> xorg.conf: http://pastebin.com/628483
> Xorg.0.log: http://pastebin.com/628488
> dmesg: http://pastebin.com/628493
> 
> Anyone else that problems? Hints or solutions are welcome! Thanks.

Provided that the message marked 'Huh?' is correct, you are trying to
run X as a non-root user. That doesn't work. (Or, to be more precise,
the full windowing stuff should always run as a non-root user, but only
root can start the X server. Normal users use xdm/kdm/... or startx.)

Joachim



Re: Errors during start of Xorg on 3.9

2006-03-29 Thread Swen Simon
2006/3/29, Stuart Henderson <[EMAIL PROTECTED]>:
>
> On 2006/03/29 12:57, Swen Simon wrote:
> > I installed OpenBSD 3.9 few hours ago and all works fine, instead of X.
> > I never used Xorg on an OBSD system and generated a new config with
> "Xorg
> > -configure".
>
> Did you answer "yes" to the "do you want to run X" question during
> install?
> If not, edit /etc/sysctl.conf (machdep.allowaperture=2) and reboot.
>
>
Yes, i did. machdep.allowaperture is actually set to 2.



Re: Errors during start of Xorg on 3.9

2006-03-29 Thread Stuart Henderson
On 2006/03/29 12:57, Swen Simon wrote:
> I installed OpenBSD 3.9 few hours ago and all works fine, instead of X.
> I never used Xorg on an OBSD system and generated a new config with "Xorg
> -configure".

Did you answer "yes" to the "do you want to run X" question during install?
If not, edit /etc/sysctl.conf (machdep.allowaperture=2) and reboot.



Errors during start of Xorg on 3.9

2006-03-29 Thread Swen Simon
(I was redirected to misc@ from an user, thanks for the hint :)

Greetings!

I installed OpenBSD 3.9 few hours ago and all works fine, instead of X.
I never used Xorg on an OBSD system and generated a new config with "Xorg
-configure".

Following errors appears:

(WW) xf86AcquireGART: AGPIOC_ACQUIRE failed (Device busy)
(WW) GARTInit: AGPIOC_INFO failed (Device not configured)
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be
created.
_XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed, errno =
2
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for local
...
FreeFontPath: FPE "/usr/X11R6/lib/X11/fonts/misc/" refcount is 2,
should be 1; fixing.

I googled many hours to fix that, found no solution or hint about that. The
permissions on /tmp are correct
and should work for other users (can create files in it). It takes also (~)
10 seconds to start the window manager.

xorg.conf: http://pastebin.com/628483
Xorg.0.log: http://pastebin.com/628488
dmesg: http://pastebin.com/628493

Anyone else that problems? Hints or solutions are welcome! Thanks.

Swen