|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
startx on freebsd 5.3
I'm having problems when I'm trying to startx.
I try to configure the X server, but I was not abble to find XF86Setup or xf86config. |
|
#2
|
|||
|
|||
|
sup,for openbsd 3.6 i think you need to go into /etc/X11R6/bin or something. or maybe it is /usr/X11R6/bin. i dont have openbsd anymore i am only doing this from memory. i will google around for a solution but in the mean time try running the prog from those directories above. i remember i just got lucky and found it; wasn;t easy. good luck dude,peace,--ave
__________________
Laser Pointer Forums |
|
#3
|
||||
|
||||
|
There should be an option to configure X from /stand/sysinstall.
__________________
Up the Irons What Would Jimi Do? Smash amps. Burn guitar. Take the groupies home. "Death Before Dishonour, my Friends!!" - Bruce D ickinson, Iron Maiden Aug 20, 2005 @ OzzFest Down with Sharon Osbourne Puzzle of the Month solved by sizeablegrin, etienne141 and L7Sqr, superior C/C++ programmers of the month |
|
#4
|
||||
|
||||
|
Quote:
Unfortunately they dropped this when they switched to x.org. (CVS Entry) Quote:
Ummm. Sounds a little odd for an excuse. The menu "Configure" is labeled "Do post-install configuration of FreeBSD". Sounds more like.... err, nevermind. I know, I should not sit here bitching about it but start coding... ![]() M.
__________________
-- Manuel Hirsch - Linux, FreeBSD, programming, administration articles, tutorials and more. |
|
#5
|
|||
|
|||
|
So how do I configure the X.org server?
I know that the sysinstall doesn't have the option and I can't find XF86Setup or xf86config, so what is the way to do it? |
|
#6
|
|||
|
|||
|
Quote:
Start here: FreeBSD Handbook, Chapter "The X Window System" M. |
|
#7
|
|||
|
|||
|
Quote:
The magic command was: Xorg -configure cp xorg.conf.new /etc/X11/xorg.conf startx Now everything is working great, the only problem is that I can only run the X on 640x480 I change the xorg.conf to 800x600 but it still run on 640x480 My xorg.conf: Section "ServerLayout" Identifier "X.org Configured" Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/X11R6/lib/X11/rgb" ModulePath "/usr/X11R6/lib/modules" FontPath "/usr/X11R6/lib/X11/fonts/misc" FontPath "/usr/X11R6/lib/X11/fonts/TTF" FontPath "/usr/X11R6/lib/X11/fonts/Speedo" FontPath "/usr/X11R6/lib/X11/fonts/Type1" FontPath "/usr/X11R6/lib/X11/fonts/CID" FontPath "/usr/X11R6/lib/X11/fonts/75dpi" FontPath "/usr/X11R6/lib/X11/fonts/100dpi" FontPath "/usr/local/share/fonts" FontPath "/usr/X11R6/lib/X11/fonts" EndSection Section "Module" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "freetype" Load "speedo" Load "type1" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "keyboard" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection 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:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" DefaultDepth 16 SubSection "Display" Viewport 0 0 Depth 1 Modes "800x600" EndSubSection SubSection "Display" Viewport 0 0 Depth 4 Modes "800x600" EndSubSection SubSection "Display" Viewport 0 0 Depth 8 Modes "800x600" EndSubSection SubSection "Display" Viewport 0 0 Depth 15 Modes "800x600" EndSubSection SubSection "Display" Viewport 0 0 Depth 16 Modes "800x600" EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Modes "800x600" EndSubSection EndSection |
|
#8
|
|||
|
|||
|
I resolved the problem, I had to add to the "Monitor" Section
the H Freq/ V Freq: Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" HorizSync 30-50 VertRefresh 50-100 EndSection Now it's working great. |
|
#9
|
|||
|
|||
|
I also noticed after posting that there is scripts "xorgcfg" and "xorgconfig" now. They don't seem to be the exact replacements for "xf86config" and "xf86setup", but I thought this fits here so I'd mention it. See yourself what they can do for you, I didn't test them yet.
![]() |
|
#10
|
|||
|
|||
|
Quote:
Thanks, I will check them ASAP. I allways used linux and now freebsd without the X server only as a server. But I allways try how the X is working, and I must say that the X server is working much better on freebsd, for exemple, my pc is more fast when I'm running X on freebsd (5.3). |
|
#11
|
|||
|
|||
|
Quote:
I can second that experience, but have to add that this probably depends on the amount of libraries your binaries are linked against. Linux distributors usually follow a policy of "as many features as possible" where FreeBSD is more conservative. This is IMHO the main reason why FreeBSD is running faster and using much less memory. I didn't build a LFS ("Linux from scratch") since the mid-90s nor do I have any recent experience with SlackWare or Gentoo to support this. Also, the paging algorithm in FreeBSD seems to work a little more sophisticated compared to linux. Although both need tweaking for optimal performance ![]() I wish I had more time to spend on this. Ah well, ... ![]() M. |
|
#12
|
|||
|
|||
|
I can agree with the views above. Recently i setup different oses on the same hardware :-
-Windows 2003 enterprise server - FreeBSD 5.3 - Fedora Core 3 (Heidleberg) - Nahant- RedHat Enterprise Linux advanced server. (Complains if you have less than 256 ram) Out of the box FreeBSd consumed the least resources and had only port 22 open. Gnome was also very nippy. Good job the FreeBSD team have done. |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > BSD Help > startx on freebsd 5.3 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|