LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices


Reply
  Search this Thread
Old 01-16-2005, 05:59 AM   #1
comox
LQ Newbie
 
Registered: Jan 2005
Posts: 22

Rep: Reputation: 15
Xorg "command not fund"


Hi,

Trying to creat a file " Xorg " to prepare the configuration and start my pc in graphical mode.

When I try the command "Xorg -configure" I get the reply :

" Xorg -command not found "

Can someone tell me what the problem is ?

I'm already login as root, so the solution is not that, save yourself some time if that was going to be the answer.

Thanks,

Last edited by comox; 01-16-2005 at 06:01 AM.
 
Old 01-16-2005, 06:02 AM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Why not keep this in the same thread as the previous post? And did you read the handbook? The one I linked to... which would have told you the other command to try if that one didn't work?

XFree86 -configure

I'm assuming you are running a version of FreeBSD < 5.3 or some other *BSD version. It would help a lot if you told me exactly what you are running.
 
Old 01-16-2005, 06:22 AM   #3
comox
LQ Newbie
 
Registered: Jan 2005
Posts: 22

Original Poster
Rep: Reputation: 15
Hi,

Because I thought it is was another subject and therefore was necessary to create a new section for it.

I' using free BSD 5

I tried the other command as well and that is:

Xfree86 -configure

The results was same commandnot found.
 
Old 01-16-2005, 06:27 AM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
FreeBSD 5.??? what? What is the output when you run "uname -a"

Also, try the following:
Code:
cd /usr/X11R6/bin/
./Xorg -configure      # or ./XFree86 -configure if that doesn't work.
 
Old 01-16-2005, 06:47 AM   #5
comox
LQ Newbie
 
Registered: Jan 2005
Posts: 22

Original Poster
Rep: Reputation: 15
The out put is freebsd 5.0 realease
 
Old 01-16-2005, 06:52 AM   #6
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Okay... so you are using XFree86 (which is not Xorg... in case you wonder if it makes a difference).

/usr/X11R6/bin/XFree86 -configure

Does that do anything?
 
Old 01-16-2005, 07:03 AM   #7
comox
LQ Newbie
 
Registered: Jan 2005
Posts: 22

Original Poster
Rep: Reputation: 15
Yes it has made a difference, I have moved forward and have tested to see the gray and black screen with the mouse.

Now it asks me to tune the "XF86Config.new", it says I should open the file in a test editor like "emacs or ee"

I do not know how to go about this, can you help please.

Thanks,
 
Old 01-16-2005, 07:14 AM   #8
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
If there is anything you want to change then you would edit the XF86Config.new file it created. If you can't think of anything to change... and I doubt you can unless you know your specific video card is supported or something and it didn't pick it up. Then we can just copy it to its final resting place. We can always change it later if there is a problem.

Code:
cp XF86Config.new /etc/X11/XF86Config
Now... running startx will allow you to use X. Please note, you must edit ~/.xinitrc or ~/.xsession if you want to use anything other then the default window manager. But you can test it before doing that if you want.
 
Old 01-16-2005, 08:14 AM   #9
comox
LQ Newbie
 
Registered: Jan 2005
Posts: 22

Original Poster
Rep: Reputation: 15
running the command cp XF86Config.new /etc/X11/XF86Config

and I get this error message :

cp XF86Config.new No such file or directory

But initially it told me the file was created and I even runned the test.
 
Old 01-16-2005, 08:21 AM   #10
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Does it tell you where it was created? Probably in the directory where you ran the command or ~/ your home directory.
 
Old 01-16-2005, 08:28 AM   #11
comox
LQ Newbie
 
Registered: Jan 2005
Posts: 22

Original Poster
Rep: Reputation: 15
Yes it tells me the location of the file is:

/root/XF86Config.new
 
Old 01-16-2005, 08:29 AM   #12
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Then:

cp /root/XF86Config.new /etc/X11/XF86Config
 
Old 01-16-2005, 09:08 AM   #13
comox
LQ Newbie
 
Registered: Jan 2005
Posts: 22

Original Poster
Rep: Reputation: 15
Now I can lunch it sucessfully,
but I think I need to edit XF86 file because I cannot read anything on the monitor, I can see a blue screen and some black windows I can hardly read from.
 
Old 01-16-2005, 09:12 AM   #14
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Well... use ee /etc/X11/XF86Config and edit the file for some settings that work.

If you know what works in another OS try those settings. I really can't help you at this point... you need to read the file and figure out what you need to change... or at least what area needs fixing before I can tell you where to start.
 
Old 01-16-2005, 09:39 AM   #15
comox
LQ Newbie
 
Registered: Jan 2005
Posts: 22

Original Poster
Rep: Reputation: 15
Does the display size refer to the resolution to use ? for example 1024x768.

Or it refers to something else can give the parameters
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Shell Script: Find "Word" Run "Command" granatica Linux - Software 5 07-25-2007 07:42 AM
cdrecord command-line parentheses "(" ")" coolingtower Linux - Software 1 10-28-2005 11:49 AM
"stalled" problem in " scp" command gentleshark Linux - Networking 1 08-29-2005 12:41 PM
Tiny Sofa 2.0 - I thought "halt", "reboot" were only root command ?? sorcerer Linux - Distributions 1 08-21-2004 03:28 PM
"segmentation error" when issuing "useradd" command through terminal with RH 9.0 kaihuang Linux - General 0 10-21-2003 11:47 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 12:55 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration