DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD General

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

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 30th May 2012
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 89
Thanked 0 Times in 0 Posts
Default xorg.conf is not necessary ?

$ ls /etc/X11/
app-defaults/ fs/ twm/ xdm/ xinit/ xsm/

$ uname -a
OpenBSD myobsd.zsoft.com 5.1 GENERIC#160 i386

There is no xorg.conf, and my OpenBSD desktop still works very well. Then when do we need xorg.conf ?

Sincerely!
Reply With Quote
  #2   (View Single Post)  
Old 30th May 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,873
Thanked 190 Times in 160 Posts
Default

Quote:
Originally Posted by sw2wolf View Post
There is no xorg.conf, and my OpenBSD desktop still works very well.
Correct. Per Section 11.2 of the FAQ:
Code:
In the vast majority of hardware in most platforms, X requires 
no configuration at all, it Just Works.
Quote:
Then when do we need xorg.conf ?
Quoting /usr/X11R6/README:
Code:
For many users of X.Org's servers, an xorg.conf file is not needed,
simply start X, and it will automatically detect and use your
hardware.  If your hardware is not properly autodetected or supported
or not supported as you wish, you will have to create a configuration
file.
Reply With Quote
  #3   (View Single Post)  
Old 30th May 2012
ocicat ocicat is offline
Administrator
 
Join Date: Apr 2008
Posts: 2,873
Thanked 190 Times in 160 Posts
Default

Moving thread to OpenBSD General forum as X11 is not found in the ports system.
Reply With Quote
  #4   (View Single Post)  
Old 1st June 2012
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 89
Thanked 0 Times in 0 Posts
Default

thanks for all your answers. I am using nvidia video card whose best resolution is 1440x900. Now OpenBSD uses X without xorg.conf. then how can i know its current resolution ?

Best Regards!
Reply With Quote
  #5   (View Single Post)  
Old 1st June 2012
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 3,608
Thanked 214 Times in 189 Posts
Default

Quote:
...how can i know its current resolution ?
$ xrandr
Reply With Quote
  #6   (View Single Post)  
Old 1st June 2012
sw2wolf sw2wolf is offline
λ programmer
 
Join Date: Mar 2012
Location: China
Posts: 89
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by jggimi View Post
$ xrandr
thank you very much !
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Samsung syncmaster 933sn xorg.conf trombel FreeBSD General 11 8th June 2010 11:02 AM
xorg.conf overriden? delboy FreeBSD General 4 3rd February 2010 10:37 AM
Xorg & i810 graphics / loader.conf / kldstat OgreNaut FreeBSD Installation and Upgrading 26 7th November 2008 02:27 PM
Generate xorg.conf.new and black screen aleunix OpenBSD Packages and Ports 2 4th June 2008 10:49 AM
Xorg.conf w/Matrox g550 agp WeakSauceIII OpenBSD General 4 20th May 2008 08:27 AM


All times are GMT. The time now is 04:10 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