DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 25th June 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Thanked 0 Times in 0 Posts
Default Sudoers and Xorgconfig

hi everyone.
1) I installed sudo via pkg_add and I added the following line (using visudo)

"disappearedng ALL=(ALL) SETENV: ALL"
directly under
"root ALL=(ALL) SETENV: ALL"

and tried running
#sudo xorgconfig
but the computer reported that user NOT in sudoers ;

Why is that so?

2) Is there anything package that will automatically install the graphics driver for FreeBSD? I can't seem to find out what driver my graphics card is using and it seems a little bit difficult for me to access kde.
Reply With Quote
  #2   (View Single Post)  
Old 25th June 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Thanked 7 Times in 7 Posts
Default

I don't know what that SETENV bit you have is... What is 'disappearing'? Is that your group or your user? For groups, you must prepend it with a %;
Code:
 %wheel        ALL=(ALL)       ALL
For individual users,
Code:
weaseal    ALL=(ALL) ALL

As to your xorg driver, you will need to know which is most appropriate for your card. If you want to see what driver it is using now, edit xorg.conf and look for 'Section "Device"'. Here's mine:
Code:
Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                   # [<bool>]
        #Option     "SWcursor"                  # [<bool>]
        #Option     "UsePIO"                    # [<bool>]
        #Option     "ShowCache"                 # [<bool>]
        #Option     "VideoKey"                  # <i>
        #Option     "NoSLI"                     # [<bool>]
        #Option     "TexturedVideo"             # [<bool>]
        #Option     "DRI"                       # [<bool>]
        Identifier  "Card0"
        Driver      "tdfx"
        VendorName  "3Dfx Interactive, Inc."
        BoardName   "Voodoo 3"
        BusID       "PCI:0:5:0"
EndSection
The part that says Driver "tdfx" is the relevant information. You *may* be able to detect automatically the proper driver via
Code:
X -configure
but if you need an outside driver like ATI's catalyst or nvidia's 3d driver, you will have to install them via ports.
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.
Reply With Quote
  #3   (View Single Post)  
Old 25th June 2008
disappearedng disappearedng is offline
Shell Scout
 
Join Date: May 2008
Posts: 128
Thanked 0 Times in 0 Posts
Default

I have looked up a few sites and there has been problems with X associated with my graphics card.

Is there a way that I can update X? if so, can you please paste the command here so that I could pkg_add it?

btw disappearedng is my username. the SETENV:ALL was originially there for root.
Reply With Quote
  #4   (View Single Post)  
Old 25th June 2008
robbak's Avatar
robbak robbak is offline
Real Name: Robert Backhaus
VPN Cryptographer
 
Join Date: May 2008
Location: North Queensland, Australia
Posts: 366
Thanked 40 Times in 39 Posts
Default

# Xorg -configure
is what most people use. Unless you require one of the proprietary binary drivers, in which case you know what one you want, and will install it from ports, and follow the displayed and included documentation to know how to configure it.
__________________
The only dumb question is a question not asked.
The only dumb answer is an answer not given.
Reply With Quote
  #5   (View Single Post)  
Old 25th June 2008
Weaseal's Avatar
Weaseal Weaseal is offline
Package Pilot
 
Join Date: May 2008
Location: East Coast, US
Posts: 177
Thanked 7 Times in 7 Posts
Default

Which card are you using?

Which version of X are you currently running?
Code:
$ pkg_info | grep xorg
...
xorg-libraries-7.3_2 X.org libraries meta-port
xorg-server-1.4.2,1 X.Org X server and related programs
__________________
FreeBSD addict since 4.2-RELEASE.
My FreeBSD wiki.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:03 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick