X problems, please advise helpless newbie
I have been unable to get X to start successfully. Hopefully I am overlooking something stupid. FreeBSD 4.6.2 on an Intel machine My graphics card is an Intel 82845G/GL. I searched for info on the Intel site and it mentioned that this card is in the i810 class. From my XF86Config file: Section Device Identifier Card0 Driver i810 Chipset i810 CardIntel i810 End Section I have added the agp_load=YES line to /boot/loader.conf and /dev/agpgart exists. 'startx' returns the following: (EE) GARTInit: Unable to open /dev/agpgart (Device not configured) (EE) I810(0): AGP GART support is not available. Make sure your kernel has agpgart support or that the agpgart kernel module is loaded. (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found snip X connection to :0.0 broken (explicit kill or server shutdown) xauth: creating new authority file /root/.Xauthority xauth: (argv:1: bad dusplay name in :0 in remove command xauth: (argv:1: bad dusplay name in :0 in remove command I really have no idea what to do next. Any help would be appreciated, the more layman the terms, the better. Thanks, Justin __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Re: X problems, please advise helpless newbie
-Original Message- From: Thomas Spreng [EMAIL PROTECTED] To: J. Foobar [EMAIL PROTECTED] Date: Thu, 17 Oct 2002 13:27:30 +0200 Subject: Re: X problems, please advise helpless newbie On Thu, Oct 17, 2002 at 01:24:43AM -0700, J. Foobar wrote: I have been unable to get X to start successfully. Hopefully I am overlooking something stupid. FreeBSD 4.6.2 on an Intel machine My graphics card is an Intel 82845G/GL. I searched for info on the Intel site and it mentioned that this card is in the i810 class. From my XF86Config file: Section Device Identifier Card0 Driver i810 Chipset i810 CardIntel i810 End Section I have added the agp_load=YES line to /boot/loader.conf and /dev/agpgart exists. 'startx' returns the following: (EE) GARTInit: Unable to open /dev/agpgart (Device not configured) (EE) I810(0): AGP GART support is not available. Make sure your kernel has agpgart support or that the agpgart kernel module is loaded. (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found have you checked for agpgard support in your kernel as mentioned above in the startx output? ** ** Add the following to your kernel - device agp You can add some comments if you like - # Video device agp #Graphics card Then recompile your kernel. If it still doesn't work, I guess something else is borked. I usually have my best success configuring X using the old-fashioned xf86config command and working through the subsequent question-and-answer. Jud To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: X problems, please advise helpless newbie
On Thu, Oct 17, 2002 at 01:24:43AM -0700, J. Foobar wrote: I have been unable to get X to start successfully. Hopefully I am overlooking something stupid. FreeBSD 4.6.2 on an Intel machine My graphics card is an Intel 82845G/GL. I searched for info on the Intel site and it mentioned that this card is in the i810 class. From my XF86Config file: Section Device Identifier Card0 Driver i810 Chipset i810 CardIntel i810 End Section I have added the agp_load=YES line to /boot/loader.conf and /dev/agpgart exists. 'startx' returns the following: (EE) GARTInit: Unable to open /dev/agpgart (Device not configured) (EE) I810(0): AGP GART support is not available. Make sure your kernel has agpgart support or that the agpgart kernel module is loaded. (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found have you checked for agpgard support in your kernel as mentioned above in the startx output? To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Re: X problems, please advise helpless newbie
# [EMAIL PROTECTED] / 2002-10-17 08:38:26 -0400: On Thu, Oct 17, 2002 at 01:24:43AM -0700, J. Foobar wrote: 'startx' returns the following: (EE) GARTInit: Unable to open /dev/agpgart (Device not configured) (EE) I810(0): AGP GART support is not available. Make sure your kernel has agpgart support or that the agpgart kernel module is loaded. ^^^ have you checked for agpgard support in your kernel as mentioned above in the startx output? Add the following to your kernel - device agp Then recompile your kernel. % su # echo agp_load=YES /boot/loader.conf # kldload agp # exit % startx enjoy -- 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 problems, please advise helpless newbie
On Thu, Oct 17, 2002 at 01:24:43AM -0700, J. Foobar wrote: I have been unable to get X to start successfully. Hopefully I am overlooking something stupid. FreeBSD 4.6.2 on an Intel machine My graphics card is an Intel 82845G/GL. I searched for info on the Intel site and it mentioned that this card is in the i810 class. From my XF86Config file: Section Device Identifier Card0 Driver i810 Chipset i810 CardIntel i810 End Section I have added the agp_load=YES line to /boot/loader.conf and /dev/agpgart exists. 'startx' returns the following: (EE) GARTInit: Unable to open /dev/agpgart (Device not configured) (EE) I810(0): AGP GART support is not available. Make sure your kernel has agpgart support or that the agpgart kernel module is loaded. (EE) Screen(s) found, but none have a usable configuration. Fatal server error: no screens found snip X connection to :0.0 broken (explicit kill or server shutdown) xauth: creating new authority file /root/.Xauthority xauth: (argv:1: bad dusplay name in :0 in remove command xauth: (argv:1: bad dusplay name in :0 in remove command I really have no idea what to do next. Any help would be appreciated, the more layman the terms, the better. Thanks, Justin Have you run `kldstat' (man kldstat) to make sure that the AGP module is actually loaded? Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Re: X problems, please advise helpless newbie
On Thu, Oct 17, 2002 at 03:37:38PM +0200, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2002-10-17 08:38:26 -0400: On Thu, Oct 17, 2002 at 01:24:43AM -0700, J. Foobar wrote: 'startx' returns the following: (EE) GARTInit: Unable to open /dev/agpgart (Device not configured) (EE) I810(0): AGP GART support is not available. Make sure your kernel has agpgart support or that the agpgart kernel module is loaded. ^^^ have you checked for agpgard support in your kernel as mentioned above in the startx output? Add the following to your kernel - device agp Then recompile your kernel. % su # echo agp_load=YES /boot/loader.conf # kldload agp # exit % startx enjoy Wait, do you have to both compile AGP support into the kernel AND load an the kernel module? Shouldn't it be just one or the other? Nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: X problems, please advise helpless newbie
On Thu, Oct 17, 2002 at 08:25:27AM -0700, Thanos Tsouanas wrote: comment out the line that starts xdm -nodaemon and add a similar one to start the XFree86 sth like ttyv8 /usr/X11R6/bin/XFree86 xterm on secure this shud result in X starting every time you start your system with the X-mouse screen and the pixel-chessboard background. Whoa! Bad karma. Doing this will result in an X session running as root which anyone can just walk up to your machine and use. You really, really don't want to do that. Honestly, this is exactly why xdm(1) exists. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: Re: X problems, please advise helpless newbie
# [EMAIL PROTECTED] / 2002-10-17 08:09:27 -0700: On Thu, Oct 17, 2002 at 03:37:38PM +0200, Roman Neuhauser wrote: # [EMAIL PROTECTED] / 2002-10-17 08:38:26 -0400: On Thu, Oct 17, 2002 at 01:24:43AM -0700, J. Foobar wrote: 'startx' returns the following: (EE) GARTInit: Unable to open /dev/agpgart (Device not configured) (EE) I810(0): AGP GART support is not available. Make sure your kernel has agpgart support or that the agpgart kernel module is loaded. ^^^ have you checked for agpgard support in your kernel as mentioned above in the startx output? Add the following to your kernel - device agp Then recompile your kernel. % su # echo agp_load=YES /boot/loader.conf # kldload agp # exit % startx enjoy Wait, do you have to both compile AGP support into the kernel AND load an the kernel module? Shouldn't it be just one or the other? sorry for the confusion. this is what I meant: as opposed to what quite a few people would like you to believe you *don't* have to compile stuff into kernel to have the desired functionality. i've successfully used dynamically loaded usb, agp, and sound (at least two different sound cards) support over the last year. -- 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 problems, please advise helpless newbie
-Original Message- From: Thanos Tsouanas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Date: Thu, 17 Oct 2002 10:33:07 -0700 (PDT) Subject: Re: X problems, please advise helpless newbie wud it be better to comment out all the ttyv8 lines and start XFree86 as a normal user, and then start windowmaker? i really cant make xdm to work... any suggestions? * * Yes - it's often easier to go with a .xinitrc file and type startx at the login prompt. There's a good article by Dru Lavigne on how to set this up: http://www.onlamp.com/pub/a/bsd/2000/06/21/FreeBSD_Basics.html Jud To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: X problems, please advise helpless newbie
On Thu, 17 Oct 2002, Thanos Tsouanas wrote: Date: Thu, 17 Oct 2002 10:33:07 -0700 (PDT) From: Thanos Tsouanas [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: X problems, please advise helpless newbie wud it be better to comment out all the ttyv8 lines and start XFree86 as a normal user, and then start windowmaker? i really cant make xdm to work... any suggestions? There's a thorough HowTo on setting up a display manager (e.g. xdm, kdm, ...) here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html I can't think of any reason why it won't work if you follow the instructions. Note that X *must* load properly for xdm to work properly. If you need to test and setup X first, use an xinitrc file, e.g.: $ echo exec wmaker /home/user/.xinitrc and then try 'startx'. The Handbook page above should get you going with xdm. 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 problems, please advise helpless newbie
wud it be better to comment out all the ttyv8 lines and start XFree86 as a normal user, and then start windowmaker? i really cant make xdm to work... any suggestions? __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: X problems, please advise helpless newbie
wud it be better to comment out all the ttyv8 lines and start XFree86 as a normal user, and then start windowmaker? i really cant make xdm to work... any suggestions? There's a thorough HowTo on setting up a display manager (e.g. xdm, kdm, ...) here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html I can't think of any reason why it won't work if you follow the instructions. Note that X *must* load properly for xdm to work properly. If you need to test and setup X first, use an xinitrc file, e.g.: $ echo exec wmaker /home/user/.xinitrc and then try 'startx'. The Handbook page above should get you going with xdm. i have followed the instructions on the HB and they didnt work, thats why i came up with the insecure method... startx gives similar errors to the ones mentioned in the original msg. any ideas why? __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: X problems, please advise helpless newbie
Are you root when doing the start commands? If you are not root you need to install the wrapper so other users can use X. /usr/ports/x11/wrapper Richard H At 12:55 PM 10/17/2002, Thanos Tsouanas wrote: wud it be better to comment out all the ttyv8 lines and start XFree86 as a normal user, and then start windowmaker? i really cant make xdm to work... any suggestions? There's a thorough HowTo on setting up a display manager (e.g. xdm, kdm, ...) here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-xdm.html I can't think of any reason why it won't work if you follow the instructions. Note that X *must* load properly for xdm to work properly. If you need to test and setup X first, use an xinitrc file, e.g.: $ echo exec wmaker /home/user/.xinitrc and then try 'startx'. The Handbook page above should get you going with xdm. i have followed the instructions on the HB and they didnt work, thats why i came up with the insecure method... startx gives similar errors to the ones mentioned in the original msg. any ideas why? __ Do you Yahoo!? Faith Hill - Exclusive Performances, Videos More http://faith.yahoo.com To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: X problems, please advise helpless newbie
At 02:09 PM 10/17/2002, RichardH wrote: Are you root when doing the start commands? If you are not root you need to install the wrapper so other users can use X. /usr/ports/x11/wrapper Richard H AHHH, sorry for top posting. RH To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message
Re: X problems, please advise helpless newbie
Thanos Tsouanas [EMAIL PROTECTED] writes: i have followed the instructions on the HB and they didnt work, thats why i came up with the insecure method... startx gives similar errors to the ones mentioned in the original msg. any ideas why? You can get better control over what's going on by avoiding startx. I use something like this (in a script which keeps root from using X): /usr/X11R6/bin/xinit ~/.xinitrc -- /usr/X11R6/bin/Xwrapper-4 You should try omiting the second filename after ensuring that you don't have that file (the default) and X should start up an xterm. That Xwrapper-4 comes from the x11/wrapper package/port; it's used to run X with non-root privileges and it expects your XF86Config to say which X server module is to be used, etc. You can probably start a window manager by using it's filename instead of ~/.xinitrc, but most people use a file like that modeled on /usr/X11R6/lib/X11/xinit/xinitrc After you know that X will start, you can just start X after booting to text mode like many people prefer to do, or go back and learn how to configure one of the xdm/gdm/kdm gizmos at your leisure. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-questions in the body of the message