cant run x-windows on fresh 6.1 install

2006-05-19 Thread Peter Michaux

Hi,

I just installed FreeBSD 6.1-RELEASE for i386 [1]. I selected the
X-User install and (I think) all the defaults along the way. The only
port I added was Ruby. I can log in as "root" or as "peter" and make
and run a little ruby script.

When I type "startx" I see an error which i have retyped below

getconfig.pl: Evaluated 24 rules with 0 errors
getconfig.pl: Weight of result is 500
New driver is "ati"
(==) Using default built-in configuration (53 lines)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) : Cannot find which device to use
(EE) xf860OpenSerial: No Device Specified
(EE) PreInit failed for input device ""
No core Pointer

Fatal server error:
failed to initalize core devices

and them more stuff


Where did I go wrong with my install choices?

When Xwindows starts will it boot into Gnome or KDE? If not, what?

Thanks,
Peter



[1] Dell 450 MHz Pentium. I dedicated the entire hard drive to FreeBSD.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


X -config /root/xorg.conf.new --> the grey screen of death

2006-05-19 Thread Peter Michaux

Hi,

I am doing a little better my second time through installation. I am
in section 5.4.2 of the handbook[1] for installing x11 using xorg.
(The handbook seems to need a bit of an update for 6.1-RELEASE.)

76. run the command "Xorg -config"
   it says that it detected my moust at /dev/sysmouse
   it says that my xorg.conf file is "/root/xorg.conf.new"
77. the handbook says to run this command next "Xorg -config xorg.conf.new"
   this didn't work. I got a core pointer missing error
78. after step 76 the computer screen said to run "X -config
/root/xorg.conf.new". I tried this and this command worked a bit. I
could see a little bit of and x windows screen and could move the
cursor around with the mouse.

Now I am completely stuck. I have a grey screen and an 'x' shaped
cursor I can move.

What do I do?

Thanks,
Peter


[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: X -config /root/xorg.conf.new --> the grey screen of death

2006-05-19 Thread Peter Michaux

doh!

CNTR-ALT-BACKSPACE

rtfm

Thanks,
Peter

On 5/19/06, Peter Michaux <[EMAIL PROTECTED]> wrote:

Hi,

I am doing a little better my second time through installation. I am
in section 5.4.2 of the handbook[1] for installing x11 using xorg.
(The handbook seems to need a bit of an update for 6.1-RELEASE.)

76. run the command "Xorg -config"
it says that it detected my moust at /dev/sysmouse
it says that my xorg.conf file is "/root/xorg.conf.new"
77. the handbook says to run this command next "Xorg -config xorg.conf.new"
this didn't work. I got a core pointer missing error
78. after step 76 the computer screen said to run "X -config
/root/xorg.conf.new". I tried this and this command worked a bit. I
could see a little bit of and x windows screen and could move the
cursor around with the mouse.

Now I am completely stuck. I have a grey screen and an 'x' shaped
cursor I can move.

What do I do?

Thanks,
Peter


[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


installing MySQL with FreeBSD pkg_add

2006-05-20 Thread Peter Michaux

Hi,

I am happy to have FreeBSD 6.1-RELEASE and KDE running on my intel
box. I am now trying to install MySQL. I logged in as root and ran the
following commands

# pkg_add -r msql41-server
Added group "mysql"
Added user "mysql"
# pkg_add -r mysql41-client
"mysql-client-4.1.18_1" or its older version already installed
# mysql -uroot
ERROR 2002 (HY000): Can't connect to local MySQL server through socket
'tmp/mysql.sock' (2)


What to do?

Thanks,
Peter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


controlling ports: connection refused

2006-05-20 Thread Peter Michaux

Hi,

I'm having fun getting things working with FreeBSD. Hopefully I won't
have too many questions for you guys but another speedbump. This looks
like a SVN question but I think it is really a FreeBSD question.

I have Mac OS X 10.3.9 on one computer and FreeBSD 6.1 on another.
They are both connected to my router. If I start a webserver (Webrick
for a Rails web applications) on the FreeBSD machine, then I can view
the website
on my Mac by navigating to "http://192.168.0.103:3000/";. So I know the
two machines can talk to each other.

On the FreeBSD machine I created an svn repository, did an initial "svn
import" and can checkout the repostitory two ways. This is all on the
FreeBSD machine.

# cd /home/peter/
# svn checkout file:///home/peter/projectA
Checked out revision 1

# cd /home/peter/
# svnserve -d -r /home/peter/proj
# svn checkout svn://localhost/projectB
checkout out revision 1

So I know svn is working.

Now I would like to do a checkout on the Mac

$ svn checkout svn://192.168.0.103/projectB
subversion/libsvn_ra_svn/client.c:141: (apr_err=61)
svn: Can't connect to host '192.168.0.103': Connection refused
$ svn checkout svn://192.168.0.103:3690/projectB
subversion/libsvn_ra_svn/client.c:141: (apr_err=61)
svn: Can't connect to host '192.168.0.103': Connection refused

Any ideas what I should do?

On my mac I tried

$ telnet 192.168.0.103 3000
Trying 192.168.0.103...
Connected to 192.168.0.103.

but when I try port 3690 (the default port for svn)

$ telnet 192.168.0.103 3690
Trying 192.168.0.103...
telnet: connect to address 192.168.0.103: Connection refused
telnet: Unable to connect to remote host


Thanks,
Peter
Thanks,
Peter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


setting host name during install?

2006-05-20 Thread Peter Michaux

Hi,

During install, I don't quite understand the "host" parameter that I
supplied for my networking configuration.

I used DHPC and most of the parameters were filled in for me

Host:
Domain: gv.shawcable.net
IPv4 Gateway: 192.168.0.1
Name server: 192.168.0.1
IPv4 Address: 192.168.0.103
Netmask: 255.255.255.0
Extra options to ifconfig (usually empty):

When I pressed tab in the Host box it automatically filled in with
".gv.shawcable.net" which make sense since I have a cable modem from
Shaw in Greater Victoria. But it seems like something should have gone
before the first dot. Is there an opportunity here to give my computer
a cool name like "beastie" so I can type things like
"http://beastie:3000"; instead of "http://192.168.0.103:3000"; ? Or is
this host name supposed to be some server at my ISP?

I changed the hostname using the following steps but I don't know what
I really gained.

1. vi /etc/rc.conf
2. change
hostname=".gv.shawcable.net"
  to
hostname="beastie"
3. restart computer so change becomes reality.
4. now the command prompt says [EMAIL PROTECTED]

When I tried "http://beastie:3000"; I ended up at the Beastie Boys
website. Not the worst suprise but not what I was hoping for.

Thanks,
Peter
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: setting host name during install?

2006-05-20 Thread Peter Michaux

Hi,

Thanks for the info. I reversed what I had done and then used
sysinstall. Going through sysinstall let me enter
"beastie.gv.shawcable.net" as my host name. However when I try the
following two url's i get and unknown host.

http://beastie:3000/
http://beastie.gv.shawcable.net:3000/

Any other ideas?

Thanks,
Peter


On 5/20/06, SM X <[EMAIL PROTECTED]> wrote:

For changing hostname (and/or IP), I found that the best way is to use
sysinstall and change it from there (Configure --> Networking -->
Interfaces --> "your NIC"), since that one will change not only
rc.conf file, but also the hosts file (so that your browser can
actually resolve name beastie in the http request), and potentially
resolv.conf (where your name server entries (not in your case, since
you are on DHCP, therefore you get the DNS server entries
automatically) are stored.

Obviously, the remedy in your case is to manually edit the hosts file
and assign the appropriate values there.

Or you can always just use http://localhost:3000 and that should work.
Hope this helps,
smx

P.S. I would not consider myself an expert, so , if I made any
mistakes above, hopefully others will alert us all about those. What I
can tell you is that I did try the procedure above several times and
it was working for me.

On 5/20/06, Peter Michaux <[EMAIL PROTECTED]> wrote:
> Hi,
>
> During install, I don't quite understand the "host" parameter that I
> supplied for my networking configuration.
>
> I used DHPC and most of the parameters were filled in for me
>
> Host:
> Domain: gv.shawcable.net
> IPv4 Gateway: 192.168.0.1
> Name server: 192.168.0.1
> IPv4 Address: 192.168.0.103
> Netmask: 255.255.255.0
> Extra options to ifconfig (usually empty):
>
> When I pressed tab in the Host box it automatically filled in with
> ".gv.shawcable.net" which make sense since I have a cable modem from
> Shaw in Greater Victoria. But it seems like something should have gone
> before the first dot. Is there an opportunity here to give my computer
> a cool name like "beastie" so I can type things like
> "http://beastie:3000"; instead of "http://192.168.0.103:3000"; ? Or is
> this host name supposed to be some server at my ISP?
>
> I changed the hostname using the following steps but I don't know what
> I really gained.
>
> 1. vi /etc/rc.conf
> 2. change
>  hostname=".gv.shawcable.net"
>to
>  hostname="beastie"
> 3. restart computer so change becomes reality.
> 4. now the command prompt says [EMAIL PROTECTED]
>
> When I tried "http://beastie:3000"; I ended up at the Beastie Boys
> website. Not the worst suprise but not what I was hoping for.
>
> Thanks,
> Peter
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "[EMAIL PROTECTED]"
>


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"