BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
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  
Old November 20th, 2004, 04:28 AM
murphy_young murphy_young is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 296 murphy_young User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 17 m 54 sec
Reputation Power: 0
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.

Reply With Quote
  #2  
Old November 20th, 2004, 11:44 AM
c0ldshadow c0ldshadow is offline
register char *c0ldMember;
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2003
Posts: 510 c0ldshadow User rank is Private First Class (20 - 50 Reputation Level)c0ldshadow User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 3 Days 4 m 4 sec
Reputation Power: 5
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

Reply With Quote
  #3  
Old November 20th, 2004, 11:51 AM
Scorpions4ever's Avatar
Scorpions4ever Scorpions4ever is offline
Banned ;)
Dev Shed God 5th Plane (7000 - 7499 posts)
 
Join Date: Nov 2001
Location: Glendale, Los Angeles County, California, USA
Posts: 7,430 Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level)Scorpions4ever User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 4 Weeks 1 Day 21 h 41 m 55 sec
Reputation Power: 784
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

Reply With Quote
  #4  
Old November 21st, 2004, 10:35 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
Quote:
Originally Posted by Scorpions4ever
There should be an option to configure X from /stand/sysinstall.

Unfortunately they dropped this when they switched to x.org.
(CVS Entry)
Quote:
Remove support for configuring the X server from sysinstall. General concensus seems to be that is best left for doing post-install.

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.

Reply With Quote
  #5  
Old November 21st, 2004, 11:42 AM
murphy_young murphy_young is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 296 murphy_young User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 17 m 54 sec
Reputation Power: 0
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?

Reply With Quote
  #6  
Old November 21st, 2004, 12:26 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
Quote:
Originally Posted by murphy_young
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?

Start here: FreeBSD Handbook, Chapter "The X Window System"

M.

Reply With Quote
  #7  
Old November 21st, 2004, 02:02 PM
murphy_young murphy_young is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 296 murphy_young User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 17 m 54 sec
Reputation Power: 0
Quote:
Originally Posted by M.Hirsch


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

Reply With Quote
  #8  
Old November 22nd, 2004, 10:48 AM
murphy_young murphy_young is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 296 murphy_young User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 17 m 54 sec
Reputation Power: 0
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.

Reply With Quote
  #9  
Old November 22nd, 2004, 11:27 AM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
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.

Reply With Quote
  #10  
Old November 22nd, 2004, 12:10 PM
murphy_young murphy_young is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2004
Posts: 296 murphy_young User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 14 h 17 m 54 sec
Reputation Power: 0
Quote:
Originally Posted by M.Hirsch
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.


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).

Reply With Quote
  #11  
Old November 22nd, 2004, 12:23 PM
M.Hirsch M.Hirsch is offline
Contributing User
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: Oct 2000
Location: Back in the real world.
Posts: 5,969 M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level)M.Hirsch User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 22 h 39 m 55 sec
Reputation Power: 184
Quote:
Originally Posted by murphy_young
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).

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.

Reply With Quote
  #12  
Old February 9th, 2005, 12:55 PM
teki associates teki associates is offline
Retired
Dev Shed Newbie (0 - 499 posts)
 
Join Date: May 2004
Posts: 252 teki associates User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 30 m 20 sec
Reputation Power: 5
Thumbs up Yup FreeBSD 5.3 rocks

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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > startx on freebsd 5.3


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump