LinuxQuestions.org
Review your favorite Linux distribution.
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 09-16-2004, 07:08 PM   #1
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Rep: Reputation: 30
BSD newbie!


i just managed to install freeBSD after about 3 attempts and how i have a problem. it is all setup correcty and i installed gnome 2.4 but i get this error when i run the startx command

Code:
Fatal server error:
no screens found
why would it be saying this ?
does anyone know of any bsd getting started webpages or anything, just to get me moving!

Thanks, Ben

Last edited by Snerkel; 09-16-2004 at 07:48 PM.
 
Old 09-16-2004, 07:12 PM   #2
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
The FreeBSD Handbook is pretty good.

chances are you setup x incorrectly. run "xf86config" to do it again, just mess around with the settings until it works. don't choose to look at the video card database unless you know for sure it'll work. i did that the first time and it messed evreything up.
 
Old 09-16-2004, 08:58 PM   #3
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
i tried running xf86config but i dont know my monitors horizontal sync & vertical refresh rate. well im not sure if thats what my problem is, still when i try "startx" i get
Code:
Fatal server error:
no screen found
im not sure if it is doing this because i didnt configure the horizontal & vertical right.
do you know what it might be ?
Thanks, ben
 
Old 09-16-2004, 09:21 PM   #4
rehab junkie
Member
 
Registered: Nov 2003
Location: /var/local/pub/bar
Distribution: OSX 10.4.9
Posts: 259

Rep: Reputation: 30
Possibly. We need to see the entire server output please, not just the last couple of lines, to determine what's causing it.
 
Old 09-17-2004, 12:10 AM   #5
dfowensby
Member
 
Registered: Dec 2003
Location: OceanView Virginia, gem of the Southern Shore
Distribution: MATE 15.04
Posts: 194
Blog Entries: 1

Rep: Reputation: 30
one caveat: i hope you're using a bsd released AFTER your system was manufactured.....
ie: freebsd 4.7 won't work on a Intel i810 video chip (my bad--i finally had to break down and get something new: 5.2.1).

my .02 USD.

luck -O.
 
Old 09-17-2004, 03:56 AM   #6
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
I've seen that before, can't remember how I got past it. If you haven't already, as root try

# XFree86 -configure
That should writes a config file in /root. Follow the instructions.

Or..
# xf86cfg -textmode
 
Old 09-17-2004, 07:23 AM   #7
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
ok i have figured out my problem i think i was just being a retard and configuring my graphics card wrong! i do have another question thought, when i am logged in as me and i try and "su" to get root access i get this error:
Code:
su: you are not in the correct group (weel) to su root.
why cant i gain root access ?
 
Old 09-17-2004, 07:32 AM   #8
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
also i have another question, on linux i use "vi" and i tried using it on BSD, it showed the file but i cant edit it properly because it doesnt seem to work, can anyone suggest any better text editors or somewhere to get the latest version of "vi" (because maybe the one on FreeBSD4.9 has different commands).
 
Old 09-17-2004, 10:53 AM   #9
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Add yourself to the wheel group.

Most Linux distros will link vi to vim or elvis and that may be what you were using. Try vim and see if it's installed. If not, install it by your ports. Create in your ~ a .vimrc file with;

set backspace=indent,eol,start
set nocompatible
set autoindent
set tabstop=4
set ruler
set showcmd
set showmode
syntax enable

You'll like the results. Multi-windows and more.

My vote is use vi/vim as it is on pretty much all Linux and BSD. On FreeBSD there is ee, easy editor. Just don't tell anyone you're using it.... Just joking.
 
Old 09-17-2004, 04:06 PM   #10
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
ok for starters, how do i add myselfto the wheel group ? when i started using linux i used pico but then i started using "vi" which was excelent but when i use "vi" in BSD all the commands seem to be different. the ":q" and ":x" etc commands work but when i try and use "i" (to insert) it doesnt work, i cant delete etc.

i have another questions aswell, how do i update Gnome, i am currently running 2.4 but i want to upgrade to 2.6 or 2.8, how would i do it ?
 
Old 09-17-2004, 04:55 PM   #11
sether
Member
 
Registered: Aug 2004
Posts: 695

Rep: Reputation: 31
you add yourself to wheel by editing "/etc/group". add user under wheel like this:

wheel:*:0:root,user

for vi, try this:

su
Password: *******
cd /usr/ports/editors/vim [or you can do "vim-lite"]
make install clean
exit

then try "vim" at the command line and it should work.
 
Old 09-17-2004, 05:10 PM   #12
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
Snerkel;
We'll trying to help you, but you have to read the post.

vi != vim

Most Linux do a soft link (ln -s) vi -> vim (or elvis), so where you think you are using vi, you are not. Do this at the prompt.

whereis vi
whereis vim
Compare each response.

If you get a response from vim, just type vim, if no response do as sether said. You will also want to create .vimrc with entries mentioned above for your home and go ahead and softlink (ln -s) the one in home to /root/.vimrc so vim will work the same for root as it does for you.
 
Old 09-18-2004, 04:24 AM   #13
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
ok i created .vimrc in my home and i did "ln -s .vimrc /roor/.vimrc". there was not a copy of /root/.vimrc does that matter ?

i also did
Code:
cd /usr/ports/editors/vim
make install clean
and it is running lots of things updating vim so hopefully it works good after

do you have any idea how to upgrade to Gnome 2.6 (or preferably 2.8)?
 
Old 09-18-2004, 04:33 AM   #14
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
i also have another strange little problem, when i try and run "startx" as any user other that root it wont let me login it comes up with loads of errors. do you know why it would do this ?
 
Old 09-18-2004, 05:21 AM   #15
Snerkel
Member
 
Registered: Jul 2004
Location: England
Distribution: 1 Gentoo 2005.0 system(desktop), 1 hardened-gentoo SeLinux stage1 server ;)
Posts: 262

Original Poster
Rep: Reputation: 30
how would i upgrade to samba 3 because i cant make smb work. i had a problem like this with RH9 but and i over came it by changing the settings in "system settings > security level" i cant configure samba on BSD because it is an old version of Gnome and it doesnt have "system settings > server settings > samba" i am currently trying to use webmin to configure it but im having no luck! and i cant do it using CLI, does anyone have any advice ?

Thanks again, Ben
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Newbie: How is FreeBSD/PC-BSD? FraQture *BSD 17 12-06-2005 04:18 PM
Boldly going where no newbie should go ... Should I get BSD? Mr. Hill Linux - Newbie 4 02-15-2005 05:27 AM
free bsd newbie irish rebel *BSD 2 01-15-2005 02:49 PM
Possible BSD Newbie marz2 *BSD 4 03-25-2004 10:11 AM
BSD Newbie zetsui *BSD 15 01-06-2004 06:08 PM

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

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