Re: X will not start as root - need help

2002-10-24 Thread Jonathan Arnold
 moused_enable=YES

One thing to note is that you don't *need moused, even if you are
using X. moused just gives you a mouse when you are in a text console
(note, *not* a console in X, but rather a plain ol' console). So if
you always just boot into X, you don't need moused.
-- 
Jonathan Arnold (mailto:jdarnold;buddydog.org)
The Incredible Brightness of Seeing, a Home Theater weblog
 http://www.anaze.us/HomeTheater



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X will not start as root - need help

2002-10-24 Thread John Bleichert
On Thu, 24 Oct 2002, leegold wrote:

 Date: Thu, 24 Oct 2002 01:07:52 UT
 From: leegold [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: Re: X will not start as root - need help
 
 Here's my config. files - appreciate the help:
 Refer to my previous posts for the error message.
 
 THANK YOU in advance.
 
 1.
 $ grep mouse /etc/rc.cont
 moused_enable=YES

I never enable moused as I don't want a mouse pointer in my terminal. It's 
not required for X (as others have said).

From your dmesg:
 psm0: PS/2 Mouse irq 12 on atkbdc0
 psm0: model IntelliMouse, device ID 3
 

From your XF86Config:
 Section InputDevice
 Identifier  Mouse1
 Driver  mouse
 Option ProtocolMouseSystems
 Option Device  /dev/sysmouse
 Option ClearDTR
 Option ClearRTS
 EndSection

For the Device section above, try /dev/psm0 - That's how I use it. 
Actually, I have one line each for USB and PS/2. Also, I think the DTR and 
RTS stuff is only for serial mice? Are you *sure* you selected the ps2 
mouse style during xf86config? The protocol should be PS/2. So re-write 
this with:

 Section InputDevice
 Identifier  Mouse1
 Driver  mouse
 Option ProtocolPS/2
 Option Device  /dev/psm0
 Option ZAxisMapping 4 5
 EndSection

The ZAxisMapping is for your mousewheel. You can also add or fake 3-button 
support here. See the comments in your XF86Config file.

HTH - JB


#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X will not start as root - need help

2002-10-23 Thread John Bleichert
On Wed, 23 Oct 2002, leegold wrote:

 Date: Wed, 23 Oct 2002 01:34:44 UT
 From: leegold [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: X will not start as root - need help
 
 I tried to start X as root and got the output below.
 I used xf86config script durrung Fbsd 4.7 to create my XF86Config file.
 Can anyone help me wuth the fix?
 Thanks
 
 Output to screen when # startx:
 
 (==) Log file: /var/log/XFree86.0.log, Time: Tue Oct 22 20:18:58 2002
 (==) Using config file: /etc/X11/XF86Config
 Symbol drmFreeBufs from module /usr/X11R6/lib/modules/drivers/r128_drv.o
 is unre
 solved!
 Symbol drmR128TextureBlit from module
 /usr/X11R6/lib/modules/drivers/r128_drv.o
 is unresolved!
 Symbol drmFreeBufs from module /usr/X11R6/lib/modules/drivers/r128_drv.o
 is unre
 solved!
 (EE) Mouse1: cannot open input device
 (EE) PreInit failed for input device Mouse1
 No core pointer
 Fatal server error:
 failed to initialize core devices
 When reporting a problem related to a server crash, please send
 the full server output, not just the last messages.
 This can be found in the log file /var/log/XFree86.0.log.
 Please report problems to [EMAIL PROTECTED]
 X connection to :0.0 broken (explicit kill or server shutdown).
 xauth:  creating new authority file /root/.Xauthority
 xauth: (argv):1:  bad display name :0 in remove command
 xauth: (argv):1:  bad display name :0 in remove command
 
 

FWIW, I can't startx as root with xwrapper installed, but that's ok. I 
think the main reason X isn't starting is because it can't figure out 
what/where your mouse is. I've seen these last 2 xauth burps before and 
they haven't kept X from loading. Also, that r128_drv error could be a 
problem, but I think it should just use the SVGA drive if that one fails.

What type of mouse? Can you send that mouse part of your XF86Config file?

JB

#  John Bleichert 
#  http://vonbek.dhs.org/latest.jpg


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X will not start as root - need help

2002-10-23 Thread Roman Neuhauser
# [EMAIL PROTECTED] / 2002-10-23 08:13:47 -0400:
 On Wed, 23 Oct 2002, leegold wrote:
 
  Date: Wed, 23 Oct 2002 01:34:44 UT
  From: leegold [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: X will not start as root - need help
  
  I tried to start X as root and got the output below.
  I used xf86config script durrung Fbsd 4.7 to create my XF86Config file.
  Can anyone help me wuth the fix?
  Thanks
  
  Output to screen when # startx:
  
  (==) Log file: /var/log/XFree86.0.log, Time: Tue Oct 22 20:18:58 2002
  (==) Using config file: /etc/X11/XF86Config
  Symbol drmFreeBufs from module /usr/X11R6/lib/modules/drivers/r128_drv.o is 
unresolved!
  Symbol drmR128TextureBlit from module /usr/X11R6/lib/modules/drivers/r128_drv.o is 
unresolved!
  Symbol drmFreeBufs from module /usr/X11R6/lib/modules/drivers/r128_drv.o is 
unresolved!

this is a problem...

  (EE) Mouse1: cannot open input device
  (EE) PreInit failed for input device Mouse1
  No core pointer
  Fatal server error:
  failed to initialize core devices

... but this is *the* problem. XF86Config(5):

   Option AllowMouseOpenFail  boolean
  This  allows  the  server  to  start up even if the
  mouse device can't be opened/initialised.  Default:
  false.

 FWIW, I can't startx as root with xwrapper installed, but that's ok. I 
 think the main reason X isn't starting is because it can't figure out 
 what/where your mouse is. I've seen these last 2 xauth burps before and 
 they haven't kept X from loading. Also, that r128_drv error could be a 
 problem, but I think it should just use the SVGA drive if that one fails.
 
 What type of mouse? Can you send that mouse part of your XF86Config file?

plus the output of grep mouse /etc/rc.conf

-- 
If you cc me or take the list(s) out completely I'll most likely
ignore your message.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X will not start as root - need help

2002-10-23 Thread Gary W. Swearingen
Bryan Cassidy [EMAIL PROTECTED] writes:

 Have you even wondered why no one has replied to your question? Have
 you heard of su? Maybe you should think for a second about your
 question. I just dont see the point nor do I understand the point in
 loging into X as root. Sorry, I just don't get it.

Why mention su?  He said he was running startx as root.  Maybe you
should think for a second about your answers, if you're going to get
snippy.  The reason for loging into X as root is that it won't run
otherwise, since X is no longer SUID root and he wanted to not use
the Xwrapper.  Get it now?  Even more sorry now too, I hope.

I doubt if he gained anything by avoiding Xwrapper, but it's usually
a good instinct to reduce the number of variables like that.

As for the orignal question, it looks nasty.  Some kind of library
problem.  Like something didn't get built or installed correctly.
Rebuild/reinstall the X software?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X will not start as root - need help

2002-10-23 Thread Adam Weinberger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

 (10.22.2002 @ 2343 PST): Gary W. Swearingen said, in 1.0K: 
 As for the orignal question, it looks nasty.  Some kind of library
 problem.  Like something didn't get built or installed correctly.
 Rebuild/reinstall the X software?
 end of Re: X will not start as root - need help from Gary W. Swearingen 

I'm still banking on a misconfig. I would like the original poster to
submit his XF86Config and the output of:

$ grep moused /etc/rc.conf

... unless these items were already posted and I'm just unobservant and
didn't notice them.

- -Adam


- --
Adam Weinberger
[EMAIL PROTECTED]
[EMAIL PROTECTED]

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.0 (FreeBSD)

iD8DBQE9tu3yo8KM2ULHQ/0RAo/SAKDWhmPWVuDltGV129ukBpttLQ5vmQCgvM2M
648xQk3ZZaCbc3TW1BAWVUo=
=RfD+
-END PGP SIGNATURE-

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X will not start as root - need help

2002-10-23 Thread leegold
Here's my config. files - appreciate the help:
Refer to my previous posts for the error message.

THANK YOU in advance.

1.
$ grep mouse /etc/rc.cont
moused_enable=YES

2.
$ dmesg
snip...
fd0: 1440-KB 3.5 drive on fdc0 drive 0
atkbdc0: Keyboard controller (i8042) at port 0x60,0x64 on isa0
atkbd0: AT Keyboard flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: PS/2 Mouse irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: Generic ISA VGA at port 0x3c0-0x3df iomem 0xa-0xb on isa0
sc0: System console at flags 0x100 on isa0
sc0: VGA 16 virtual consoles, flags=0x300
..snip

3.
my x config. file: 

# File generated by xf86config.

#
# Copyright (c) 1999 by The XFree86 Project, Inc.
#
# Permission is hereby granted, free of charge, to any person obtaining a
# copy of this software and associated documentation files (the
Software),
# to deal in the Software without restriction, including without
limitation
# the rights to use, copy, modify, merge, publish, distribute,
sublicense,
# and/or sell copies of the Software, and to permit persons to whom the
# Software is furnished to do so, subject to the following conditions:
# 
# The above copyright notice and this permission notice shall be included
in
# all copies or substantial portions of the Software.
# 
# THE SOFTWARE IS PROVIDED AS IS, WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT
SHALL
# THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY,
# WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT
OF
# OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
# 
# Except as contained in this notice, the name of the XFree86 Project
shall
# not be used in advertising or otherwise to promote the sale, use or
other
# dealings in this Software without prior written authorization from the
# XFree86 Project.
#

# **
# Refer to the XF86Config(4/5) man page for details about the format of 
# this file.
# **

# **
# Module section -- this  section  is used to specify
# which dynamically loadable modules to load.
# **
#
Section Module

# This loads the DBE extension module.

Loaddbe   # Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
SubSection  extmod
  Optionomit xfree86-dga   # don't initialise the DGA extension
EndSubSection

# This loads the Type1 and FreeType font modules
Loadtype1
Loadfreetype

# This loads the GLX module
#Load   glx

EndSection

# **
# Files section.  This allows default font and rgb paths to be set
# **

Section Files

# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like .txt or .db).  There is normally
# no need to change the default.

RgbPath /usr/X11R6/lib/X11/rgb

# Multiple FontPath entries are allowed (which are concatenated
together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)
# 
# If you don't have a floating point coprocessor and emacs, Mosaic or
other
# programs take long to start up, try moving the Type1 and Speedo
directory
# to the end of this list (or comment them out).
# 

FontPath   /usr/X11R6/lib/X11/fonts/local/
FontPath   /usr/X11R6/lib/X11/fonts/misc/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/100dpi/:unscaled
FontPath   /usr/X11R6/lib/X11/fonts/Type1/
FontPath   /usr/X11R6/lib/X11/fonts/Speedo/
FontPath   /usr/X11R6/lib/X11/fonts/75dpi/
FontPath   /usr/X11R6/lib/X11/fonts/100dpi/

# The module search path.  The default path is shown here.

#ModulePath /usr/X11R6/lib/modules

EndSection

# **
# Server flags section.
# **

Section ServerFlags

# Uncomment this to cause a core dump at the spot where a signal is 
# received.  This may leave the console in an unusable state, but may
# provide a better stack trace in the core dump to aid in debugging

#Option NoTrapSignals

# Uncomment this to disable the CrtlAltBS server abort sequence
# This allows clients to receive this key event.

#Option DontZap

# Uncomment this to disable the CrtlAltKP_+/KP_- mode switching
# sequences.  This allows clients 

Re: X will not start as root - need help

2002-10-23 Thread Gary W. Swearingen
Bryan Cassidy [EMAIL PROTECTED] writes:

 Have you even wondered why no one has replied to your question? Have
 you heard of su? Maybe you should think for a second about your
 question. I just dont see the point nor do I understand the point in
 loging into X as root. Sorry, I just don't get it.

Why mention su?  He said he was running startx as root.  Maybe you
should think for a second about your answers, if you're going to get
snippy.  The reason for loging into X as root is that it won't run
otherwise, since X is no longer SUID root and he wanted to not use
the Xwrapper.  Get it now?  Even more sorry now too, I hope.

I doubt if he gained anything by avoiding Xwrapper, but it's usually
a good instinct to reduce the number of variables like that.

As for the orignal question, it looks nasty.  Some kind of library
problem.  Like something didn't get built or installed correctly.
Rebuild/reinstall the X software?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



X will not start as root - need help

2002-10-22 Thread leegold
I tried to start X as root and got the output below.
I used xf86config script durrung Fbsd 4.7 to create my XF86Config file.
Can anyone help me wuth the fix?
Thanks

Output to screen when # startx:

(==) Log file: /var/log/XFree86.0.log, Time: Tue Oct 22 20:18:58 2002
(==) Using config file: /etc/X11/XF86Config
Symbol drmFreeBufs from module /usr/X11R6/lib/modules/drivers/r128_drv.o
is unre
solved!
Symbol drmR128TextureBlit from module
/usr/X11R6/lib/modules/drivers/r128_drv.o
is unresolved!
Symbol drmFreeBufs from module /usr/X11R6/lib/modules/drivers/r128_drv.o
is unre
solved!
(EE) Mouse1: cannot open input device
(EE) PreInit failed for input device Mouse1
No core pointer
Fatal server error:
failed to initialize core devices
When reporting a problem related to a server crash, please send
the full server output, not just the last messages.
This can be found in the log file /var/log/XFree86.0.log.
Please report problems to [EMAIL PROTECTED]
X connection to :0.0 broken (explicit kill or server shutdown).
xauth:  creating new authority file /root/.Xauthority
xauth: (argv):1:  bad display name :0 in remove command
xauth: (argv):1:  bad display name :0 in remove command


-- 
http://fastmail.fm - Email service worth paying for. Try it for free

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X will not start as root - need help

2002-10-22 Thread Bryan Cassidy
On Wed, 23 Oct 2002 01:34:44 UT
leegold [EMAIL PROTECTED] wrote:

 I tried to start X as root and got the output below.
 I used xf86config script durrung Fbsd 4.7 to create my XF86Config file.
 Can anyone help me wuth the fix?
 Thanks

why are you trying to startx as root? im a newbie and know thats not good

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X will not start as root - need help

2002-10-22 Thread leegold
On Tue, 22 Oct 2002 08:53:25 -0500, Bryan Cassidy
[EMAIL PROTECTED] said:
 On Wed, 23 Oct 2002 01:34:44 UT
 leegold [EMAIL PROTECTED] wrote:
 
  I tried to start X as root and got the output below.
  I used xf86config script durrung Fbsd 4.7 to create my XF86Config file.
  Can anyone help me wuth the fix?
  Thanks
 
 why are you trying to startx as root? im a newbie and know thats not good

So people will know that this is not an X-wrapper problem.

--
http://fastmail.fm - I mean, what is it about a decent email service?

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X will not start as root - need help

2002-10-22 Thread Bryan Cassidy
On Wed, 23 Oct 2002 02:03:23 UT
leegold [EMAIL PROTECTED] wrote:

 So people will know that this is not an X-wrapper problem.

Second Question: Why would you NEED to startx as root? I must be
very new or something cause I dont understand the point in starting X
as root.

-
E-Mail: Bryan Cassidy [EMAIL PROTECTED]
Gaim: bsdsys
Yahoo Messenger: bsdsys

 Screenshot ~~~

http://deskmod.org/?state=viewskin_id=18160


I have put alot of time in setting up my mail filters. Please do not simply Reply-To: 
Bryan Cassidy [EMAIL PROTECTED] unless stated to do so. Please reply to my 
e-mails using the appropriate mailing lists.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X will not start as root - need help

2002-10-22 Thread joe
On October 22, 2002 08:28 am, Bryan Cassidy wrote:
 On Wed, 23 Oct 2002 02:03:23 UT

 Second Question: Why would you NEED to startx as root? I must be
 very new or something cause I dont understand the point in starting X
 as root.

To more easily take advantage of the gui destruction tools :}

been there, done  that.


Joe Sotham

Christianity got over the difficulty of furious opposites
by keeping them both and keeping them furious.
  - G.K. Chesterton





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X will not start as root - need help

2002-10-22 Thread Bryan Cassidy
On Tue, 22 Oct 2002 21:30:54 -0700
joe [EMAIL PROTECTED] wrote:

 To more easily take advantage of the gui destruction tools :}
 
 been there, done  that.

Have you even wondered why no one has replied to your question? Have
you heard of su? Maybe you should think for a second about your
question. I just dont see the point nor do I understand the point in
loging into X as root. Sorry, I just don't get it.

-
E-Mail: Bryan Cassidy [EMAIL PROTECTED]
Gaim: bsdsys
Yahoo Messenger: bsdsys

 Screenshot ~~~

http://deskmod.org/?state=viewskin_id=18160


I have put alot of time in setting up my mail filters. Please do not simply Reply-To: 
Bryan Cassidy [EMAIL PROTECTED] unless stated to do so. Please reply to my 
e-mails using the appropriate mailing lists.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: X will not start as root - need help

2002-10-22 Thread leegold
On Tue, 22 Oct 2002 10:28:20 -0500, Bryan Cassidy
[EMAIL PROTECTED] said:
 On Wed, 23 Oct 2002 02:03:23 UT
 leegold [EMAIL PROTECTED] wrote:
 
  So people will know that this is not an X-wrapper problem.
 
 Second Question: Why would you NEED to startx as root? I must be
 very new or something cause I dont understand the point in starting X
 as root.

Bryan, I need help w/my config. file very badly. I'd like to
keep the discussion in this thread to solving my X config. problem.
Please:)


 
 -
 E-Mail: Bryan Cassidy [EMAIL PROTECTED]
 Gaim: bsdsys
 Yahoo Messenger: bsdsys
 
    Screenshot ~~~
 
   http://deskmod.org/?state=viewskin_id=18160
 
 
 I have put alot of time in setting up my mail filters. Please do not
 simply Reply-To: Bryan Cassidy [EMAIL PROTECTED] unless stated
 to do so. Please reply to my e-mails using the appropriate mailing lists.
 

-- 
http://fastmail.fm - Does exactly what it says on the tin

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message