Re: Chromium 19 core dumps on launch...

2012-06-13 Thread Keith Seyffarth
George Liaskos geo.lias...@gmail.com writes:

 On Mon, Jun 11, 2012 at 3:04 AM, Keith Seyffarth w...@weif.net wrote:

 Friday I installed Chromium again because it would be nice to have a
 browser to test in other than Firefox and Opera. It was installed using
 portinstall -R chromium, which *appeared* to function properly.

 However, trying to run chrome results in:
 pid 50993 (chrome), uid 1001: exited on signal 11 (core dumped)

 From what I found online, it looked like I may have been encountering an
 issue with devel/google-perftools, but on reinstall was able to confirm
 that this is building with gcc not clang.

 I have also removed my ~/.config/chromium directory with no change in
 behavior.



 Not sure if it's relevant, but the last version of Chromium that was
 *functional* for me was 12. Versions 13-16 didn't support loading web
 pages (the browser would launch, but if I entered a URL in the address
 bar, I could leave the browser running overnight and it still wouldn't
 have started loading a page). Then when 17 and 18 wouldn't even compile
 (marked ignore), I just removed package.

 Please try 19.0.1084.56_1, devel/google-perftools is not a dependency
 of chromium anymore.

Thanks, George.

Upgrading from chromium-19.0.1084.52_2 to chromium-19.0.1084.56_1 (and
removing google-perftools) will allow Chromium to launch. However, it
can't load many pages. For example:
http://tools.google.com/chrome/intl/en/welcome.html
http://www.alexa.com/
https://support.google.com/chrome/bin/answer.py?hl=enanswer=1270364p=e_deadjim
http://www.atlatl.com/
https://support.google.com/chrome/bin/answer.py?hl=enanswer=95669p=e_awsnap
chrome://chrome/settings/
and
http://www.mariahschallenge.com/
eventually give a the page has become unresponsive error.

But pages like:
http://www.amazon.com/
http://www.google.com/
http://www.firsttankguide.net/
and
http://www.visitphilipsburg.com/
load right away.

Also, when you close the browser, either by closing the last tab,
closing the window, or selecting Exit from the tools menu, it doesn't
release memory or terminate the process, it just gets rid of the
window... It looks like the process hangs around until you kill it.

I've tried deleting the profile files again as well, with the same
response.

Any further ideas?

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Chromium 19 core dumps on launch...

2012-06-10 Thread Keith Seyffarth

Friday I installed Chromium again because it would be nice to have a
browser to test in other than Firefox and Opera. It was installed using
portinstall -R chromium, which *appeared* to function properly.

However, trying to run chrome results in:
pid 50993 (chrome), uid 1001: exited on signal 11 (core dumped)

From what I found online, it looked like I may have been encountering an
issue with devel/google-perftools, but on reinstall was able to confirm
that this is building with gcc not clang.

I have also removed my ~/.config/chromium directory with no change in
behavior.



Not sure if it's relevant, but the last version of Chromium that was
*functional* for me was 12. Versions 13-16 didn't support loading web
pages (the browser would launch, but if I entered a URL in the address
bar, I could leave the browser running overnight and it still wouldn't
have started loading a page). Then when 17 and 18 wouldn't even compile
(marked ignore), I just removed package.

Looking for suggestions on getting Chromium to at least launch...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Issue upgrading to 7.4, looking for guidance

2011-01-31 Thread Keith Seyffarth

David,

 I ran into a similar issue upgrading from 7.2 to 7.3.  Here's the
 thread where I worked it out; it might be helpful in your case:
 http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218443.html
 My eventual solution was here, if you don't want to read through the
 whole thread:
 http://lists.freebsd.org/pipermail/freebsd-questions/2010-July/218884.html

I ended up getting instructions from a friend n manually running
# make buildworld
# mergemaster -p
# make installworld
# mergemaster -i

to get the world upgraded to 7.4-PRERELEASE.

After this a bunch of removing, reinstalling, and upgrading of ports was
necessary, but everything appears to be working now.

Of course, not having a FreeBSD CD for any version of FreeBSD would make
copying a file from the CD rather difficult... ;)

Keith S.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Issue upgrading to 7.4, looking for guidance

2011-01-26 Thread Keith Seyffarth

I recently was having problems with Firefox crashing, which appear to be
related to a requirement for semaphore support for Firefox after the
upgrade to the new version of GTK.

Anyway, this left me with a 7.4 kernel and a 7.2 world. Which I
understand is supposed to work.


However, this broke CUPS for printing, and I need to be able to print to
pdf. This error is generated if I try to build cups, or when cups tries
to load on startup:
/libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR


From looking around on-line, it looks like somewhere between 7.2 and 7.4
there was an incompatibility that causes this error in a number of places
(printing, samba, etc.)


So, it looks like I need to upgrade the rest of the way. But I can't get
the upgrade to work. I thought this was where to start:

# freebsd-update -r 7.4-RELEASE upgrade
Looking up update.FreeBSD.org mirrors... 4 mirrors found.
Fetching public key from update5.FreeBSD.org... failed.
Fetching public key from update4.FreeBSD.org... failed.
Fetching public key from update2.FreeBSD.org... failed.
Fetching public key from update3.FreeBSD.org... failed.
No mirrors remaining, giving up.

So I ran uname -a to find that this is 7.4-PRERELEASE

FreeBSD janet.weif.net 7.4-PRERELEASE FreeBSD 7.4-PRERELEASE #0: Thu Jan
20 19:39:15 MST 2011 w...@janet.weif.net:/usr/obj/usr/src/sys/JANET
i386


so I tried this:

# freebsd-update -r 7.4-PRERELEASE upgrade
freebsd-update: Cannot upgrade from 7.4-PRERELEASE to itself


so, um, what do I need to do to address this error:
/libexec/ld-elf.so.1: ./mantohtml: invalid PT_PHDR


Keith S.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: use of menus crashes Firefox?

2011-01-20 Thread Keith Seyffarth
 Doing a bt would have been helpful right about there, but I think I've got 
 enough info to suggest rebuilding your kernel with the following option:

 options P1003_1B_SEMAPHORES

thanks again, Chuck.

I can easily get the bt if needed, but I looked into rebuilding the
kernel. It looks like I need to first update the source tree. I think I
can see how to do that with cvsup, but if I do that, am I going to be
trying to build an 8.3 kernel to run in a 7.2 environment? I suspect
that would not have the desired end result of a running computer...

Or should I just build the kernel with what's currently in /usr/src?

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: use of menus crashes Firefox?

2011-01-20 Thread Keith Seyffarth
 So have you tried this?

 ==

 Firefox 3.6 and HTML5

 Certain functions used to display HTML5 elements need the sem module.

 If your Firefox crashes with the following message while viewing a
 HTML5 page:
 Bad system call (core dumped)

 you need to load the sem module (kldload sem).

 To load sem on every boot put the following into your
 /boot/loader.conf:
 sem_load=YES

 ==

I hadn't, but the issues I'm seeing don't seem to be related to HTML
5. It also persists to Firefox 3.5 in addition to 3.6. I would expect
that if clicking on a menu in Firefox 3.6 required this. I did make that
change to see if it helps at some point in the future... Right now I'm
updating /usr/src to try a new kernel.

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: use of menus crashes Firefox?

2011-01-20 Thread Keith Seyffarth

Chuck,

 Nope, not if you cvsup or use csup (which comes with the system
 already, most likely) to RELENG_7_2 or RELENG_7, the latter of which
 would give you 7-STABLE, which is approaching 7.4 nowadays.

 I suspect that would not have the desired end result of a running
 computer...

 Actually, you can run a 7.x userland under a 8.x kernel.
 That's how a major version update of FreeBSD from source is supposed
 to work.  :-)

 Or should I just build the kernel with what's currently in /usr/src?

 That should also work.  But it's beneficial to update your sources for
 the version you wish to run, since you will gain security changes
 which have been made since

Thanks again.

Got /usr/src updated. Got a new kernel built.

FreeBSD janet.weif.net 7.4-PRERELEASE FreeBSD 7.4-PRERELEASE #0: Thu Jan
20 19:39:15 MST 2011 w...@janet.weif.net:/usr/obj/usr/src/sys/JANET
i386


Kernel booted, x started, firefox started, firefox closed without
crashing.

now to uninstall FF3.5 and install FF3.6

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: use of menus crashes Firefox? (resolved, I think)

2011-01-20 Thread Keith Seyffarth

And menus work in Firefox 3.6. I'll have to actually work with it for a
day tomorrow to see how it holds up, but I've tried a variety of things
and it seems to be playing nicely.

It looks like the solution was to rebuild the kernel with semaphore
support through P1003_1B_SEMAPHORES.

Thanks.

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: use of menus crashes Firefox?

2011-01-19 Thread Keith Seyffarth
Chuck Swiger cswi...@mac.com writes:

 Enter run, or c for continue.  If and when Firefox crashes, you
 will be able to gain more useful information

That does provide a bunch more information. Thank you.

Here is the output when Firefox crashed when trying to load a web
page. I can definitely get another one for when Firefox crashes when you
exit, and I can probably get another one for when it crashes when you
reload a page, but that's a little less easy to reproduce.
(to maintain some readability, I removed the loading lines)

$ gdb /usr/local/lib/firefox3/firefox-bin 1303
Attaching to program: /usr/local/lib/firefox3/firefox-bin, process 1303
[New Thread 0x2c628be0 (LWP 100152)]
[New Thread 0x2ca0c130 (LWP 100191)]
[New Thread 0x2c628e00 (LWP 100188)]
[New Thread 0x2ca0b470 (LWP 100185)]
[New Thread 0x2b508ef0 (LWP 100186)]
[New Thread 0x2ca0bad0 (LWP 100184)]
[New Thread 0x2ca0bbe0 (LWP 100192)]
[New Thread 0x2ca0b9c0 (LWP 100190)]
[New Thread 0x2ca0b8b0 (LWP 100189)]
[New Thread 0x2a201480 (LWP 100183)]
[New Thread 0x2a201370 (LWP 100182)]
[New Thread 0x2a201260 (LWP 100181)]
[New Thread 0x2a201150 (LWP 100180)]
[New Thread 0x2a201040 (LWP 100179)]
[Switching to Thread 0x2c628be0 (LWP 100152)]
0x29e581a7 in __error () from /lib/libthr.so.3
(gdb) c
Continuing.
[New Thread 0x2ca0af20 (LWP 100187)]
[Thread 0x2ca0bad0 (LWP 100184) exited]
[Thread 0x2ca0af20 (LWP 100187) exited]
[Thread 0x2ca0c130 (LWP 100191) exited]
[New Thread 0x2afc79c0 (LWP 100184)]
[Thread 0x2afc79c0 (LWP 100184) exited]
[New Thread 0x2c628cf0 (LWP 100184)]
[Thread 0x2c628cf0 (LWP 100184) exited]
[New Thread 0x2ca0a590 (LWP 100184)]
[Thread 0x2ca0a590 (LWP 100184) exited]
[New Thread 0x2c628140 (LWP 100154)]
[Thread 0x2c628140 (LWP 100154) exited]
[New Thread 0x2ca0bad0 (LWP 100154)]
[Thread 0x2ca0bad0 (LWP 100154) exited]
[New Thread 0x2ca0af20 (LWP 100154)]
[Thread 0x2ca0af20 (LWP 100154) exited]
[New Thread 0x2ca0c130 (LWP 100154)]
[Thread 0x2ca0c130 (LWP 100154) exited]
[New Thread 0x2afc79c0 (LWP 100154)]
[Thread 0x2afc79c0 (LWP 100154) exited]
[New Thread 0x2c628cf0 (LWP 100154)]
[Thread 0x2c628cf0 (LWP 100154) exited]
[New Thread 0x2ca0a590 (LWP 100154)]
[New Thread 0x2c628140 (LWP 100161)]
[Thread 0x2ca0a590 (LWP 100154) exited]

Program received signal SIGPIPE, Broken pipe.
[Switching to Thread 0x2a201040 (LWP 100179)]
0x29e16213 in write () from /lib/libc.so.7
(gdb) c
Continuing.

Program received signal SIGSYS, Bad system call.
0x29d7f16b in ksem_init () from /lib/libc.so.7
(gdb) c
Continuing.

Program terminated with signal SIGSYS, Bad system call.
The program no longer exists.
(gdb) q

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: use of menus crashes Firefox?

2011-01-19 Thread Keith Seyffarth

 It's not going to help you but I just want to confirm that I'm 
 experiencing the same problem on 8.1-R amd64. It's not happening all the 
 time i.e. everything works fine and then it bites me say only once in a 
 week.

FreeBSD janet.weif.net 7.2-RELEASE FreeBSD 7.2-RELEASE #1: Sat Oct 31
16:21:25 MDT 2009
on a 2.4 GHZ Pentium Dual Core

But, while Firefox 3.5 is much better than Firefox 3.6, I don't think
I've gone a whole day without it crashing since I upgraded GTK
mid-December.

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: use of menus crashes Firefox?

2011-01-18 Thread Keith Seyffarth

OK. This is still being a problem.  I've removed Firefox 3.6 from my
system and installed Firefox 3.5. Use of menus doesn't cause 3.5 to
crash, but it sill has problems. On some web sites, the browser dumps
core. For example trying to log in, create an account, or retrieve a
password at forum.parallels.com which leaves this core (as processed
by gdb):

Core was generated by `firefox-bin'.
Program terminated with signal 12, Bad system call.
#0  0x29d7f16b in ?? ()


Now, again, this is in Firefox 3.5. That message isn't very informative
to me, but maybe it is helpful to someone else?

Again, this started after updating GTK on December 18 or so, following
the instructions in /usr/ports/UPDATING


Among the things that will cause Firefox to dump core in 3.5 or 3.6 are
visiting some web sites (see above), accepting a signed secure
certificate the first time (once it crashes Firefox, it's not a problem
on subsequent visits), attempting to accept a questionable certificate
(either telling Firefox to accept the certificate permanently or not),
or exiting Firefox.

In firefox 3.6, anything that generates a menu will also crash the
browser.

I have tried
So far I have tried the following:

* Remove the .mozilla directory and start firefox without extensions,
  plugins, or customizations
* Force reinstall of Firefox (portupgrade -F)
* Remove and reinstall Firefox
* Force reinstall of the mouse input driver
* Remove and reinstall xorg and components
* Remove and reinstall Fluxbox window manager
* pkg_deleteing all firefox plugins and nspluginwrapper
* Uninstalling Firefox 3.6 and installing Firefox 3.5 (helpful, but not
  fixed)
* running portupgrade -aOW again


I'm wondering if this can't be fixed short of formatting and starting
over, but I'd really hope to avoid a very M$Windows solution like
that... Any further ideas?

Keith S.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: use of menus crashes Firefox?

2011-01-18 Thread Keith Seyffarth

Rolf,

Thanks for the info.

 Are you by any chance overriding CFLAGS in /etc/make.conf? Or perhaps 

No, /etc/make.conf is just three lines:

WITH_CUPS=yes
# added by use.perl 2010-12-22 15:53:20
PERL_VERSION=5.10.1


 even compiling using a gcc version not in the base system? I had that 
 exact problem with Firefox 3.6 (and with Thunderbird as well) and menus 
 when compiling with gcc45 and/or overriding CFLAGS. It went away when I 
 re-built Firefox (well, actually, I re-built everything, world, kernel 
 and all the ports) using the stock compiler and removed all CFLAGS 
 overrides.


I'm not aware of anything I've done that would have switched
compilers. How would I tell? This is the version output:

# gcc --version
gcc (GCC) 4.2.1 20070719  [FreeBSD]
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: use of menus crashes Firefox?

2011-01-18 Thread Keith Seyffarth

 Run it under gdb, look at the backtrace.  Bad system call implies a
 mismatch between your shared libraries and kernel, or maybe you are
 loading some plugin or something which has been compiled for a
 different version of the platform.

Chuck,

Thanks for the suggestion.

I can't figure out how to get that to work...

$ gdb --exec=firefox3
This GDB was configured as
i386-marcel-freebsd./usr/local/bin/firefox3: not in executable
format: File format not recognized

$ gdb --exec=firefox-bin
This GDB was configured as i386-marcel-freebsd...firefox-bin: No such
file or directory.

or

$ gdb firefox3
This GDB was configured as
i386-marcel-freebsd.../usr/local/bin/firefox3: not in executable
format: File format not recognized


It doesn't seem that gdb thinks firefox is an executable... I'm not
seeing what I'm missing from the man page.

I can get it to pick up the process once it is running:

$ gdb firefox3 9759
This GDB was configured as
i386-marcel-freebsd.../usr/local/bin/firefox3: not in executable
format: File format not recognized

Attaching to process 9759
/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443:
internal-error: legacy_fetch_link_map_offsets called without legacy
link_map support enabled.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) n

/usr/src/gnu/usr.bin/gdb/libgdb/../../../../contrib/gdb/gdb/solib-svr4.c:1443:
internal-error: legacy_fetch_link_map_offsets called without legacy
link_map support enabled.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) y
Abort trap: 6 (core dumped)


this results in both Firefox and GDB crashing...

$ gdb --core=gdb.core
This GDB was configured as i386-marcel-freebsd.
Core was generated by `gdb'.
Program terminated with signal 6, Aborted.
#0  0x283e8e17 in ?? ()



So, how do I get FF to run under gdb? or does the above provide enough
information to try a fix?

Thanks,
Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: use of menus crashes Firefox?

2011-01-18 Thread Keith Seyffarth

Chuck Swiger cswi...@mac.com writes:

 On Jan 18, 2011, at 6:01 PM, Keith Seyffarth wrote:
 $ gdb --exec=firefox3
 This GDB was configured as
 i386-marcel-freebsd./usr/local/bin/firefox3: not in executable
 format: File format not recognized

 What does file /usr/local/bin/firefox3 say?

$ file /usr/local/bin/firefox3
/usr/local/bin/firefox3: Bourne shell script text executable

 If it's a Linux binary, then you might not be able to debug it with
 the native gdb, although the point of a binary executable format like
 ELF should allow cross-debugging.  It also implies that you might need
 to tweak your Linux emulation version (sysctl
 compat.linux.osrelease)...

I don't think it's a Linux version - it's installed from
/usr/ports/www/firefox35 rather than /usr/ports/www/linux-firefox

Thanks again,
Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: use of menus crashes Firefox?

2011-01-18 Thread Keith Seyffarth
 Right - firefox3 is a script that sets up a couple environment
 variables and runs the real binary. You need to gdb the real binary
 (which is in /usr/local/lib/firefox or somesuch - its not in any
 remotely normal $PATH). Since the environment stuff the script does is
 required for it to start, temporarily editing the script and running
 firefox3 is probably the easiest thing to do.

Hmmm. OK.

I did this:
$ gdb /usr/local/lib/firefox3/firefox-bin 10388

This results in Firefox being locked and non-responsive to the user
interface. It can't even draw the screen if I switch to that desktop,
there's just a window frame hanging there. Even clicking the close button
(the X in the top corner of the window) doesn't do anything... nor
does right-clicking on the window title bar and selecting close. If I
quit gdb, then firefox becomes responsive again.

But it does put this in the console where I ran GDB (there's a
lot). there are 11 [New Thread x (LWP y)] lines, and one error line. The
error line is right at the end
0x29e581a7 in __error () from /lib/libthr.so.3


This GDB was configured as i386-marcel-freebsd...(no debugging symbols
found)...
Attaching to program: /usr/local/lib/firefox3/firefox-bin, process 10388
Reading symbols from /usr/local/lib/firefox3/libxul.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/firefox3/libxul.so
Reading symbols from /usr/local/lib/firefox3/libmozjs.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/firefox3/libmozjs.so
Reading symbols from /usr/local/lib/firefox3/libxpcom.so...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/firefox3/libxpcom.so
Reading symbols from /usr/local/lib/libplds4.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libplds4.so.1
Reading symbols from /usr/local/lib/libplc4.so.1...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libplc4.so.1
Reading symbols from /usr/local/lib/libnspr4.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libnspr4.so.1
Reading symbols from /usr/local/lib/libgtk-x11-2.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libgtk-x11-2.0.so.0
Reading symbols from /usr/local/lib/libatk-1.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libatk-1.0.so.0
Reading symbols from /usr/local/lib/libgdk-x11-2.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libgdk-x11-2.0.so.0
Reading symbols from /usr/local/lib/libpangocairo-1.0.so.0...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libpangocairo-1.0.so.0
Reading symbols from /usr/local/lib/libXext.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libXext.so.6
Reading symbols from /usr/local/lib/libXrender.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libXrender.so.1
Reading symbols from /usr/local/lib/libXinerama.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libXinerama.so.1
Reading symbols from /usr/local/lib/libXi.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libXi.so.6
Reading symbols from /usr/local/lib/libXrandr.so.2...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libXrandr.so.2
Reading symbols from /usr/local/lib/libXcursor.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libXcursor.so.1
Reading symbols from /usr/local/lib/libXcomposite.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libXcomposite.so.1Reading symbols from
/usr/local/lib/libXdamage.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libXdamage.so.1
Reading symbols from /usr/local/lib/libgdk_pixbuf-2.0.so.0...(no
debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libgdk_pixbuf-2.0.so.0
Reading symbols from /usr/local/lib/libpangoft2-1.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libpangoft2-1.0.so.0
Reading symbols from /usr/local/lib/libpango-1.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libpango-1.0.so.0
Reading symbols from /usr/local/lib/libfreetype.so.9...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libfreetype.so.9
Reading symbols from /usr/local/lib/libfontconfig.so.1...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libfontconfig.so.1
Reading symbols from /usr/local/lib/libgio-2.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libgio-2.0.so.0
Reading symbols from /usr/local/lib/libXfixes.so.3...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libXfixes.so.3
Reading symbols from /usr/local/lib/libgobject-2.0.so.0...(no debugging
symbols found)...done.
Loaded symbols for /usr/local/lib/libgobject-2.0.so.0
Reading symbols from 

Firefox 3.6 crashes after GTK upgrade

2010-12-27 Thread Keith Seyffarth

On Saturday December 19, I updated GTK following the instructions in
/usr/ports/UPDATING and since then any click that should draw a menu
instead crashes Firefox. This includes the main menus (file, edit, view,
etc), right clicking, or menus in various extensions. I have also found
that some javascript will also crash the browser.


Here is the contents of the /usr/ports/www/firefox directory:
  4 -rw-r--r-- 1 root  wheel   3812 Dec 13 12:09 Makefile
 10 -rw-r--r-- 1 root  wheel   8676 Jan  9  2009 Makefile.webplugins
  2 -rw-r--r-- 1 root  wheel154 Dec 13 12:09 distinfo
  2 drwxr-xr-x 2 root  wheel   2048 Dec 13 12:09 files
  2 -rw-r--r-- 1 root  wheel329 Feb 24  2010 pkg-descr
  2 -rw-r--r-- 1 root  wheel   1535 Feb 24  2010 pkg-message



So far I have tried the following:

* Remove the .mozilla directory and start firefox without extensions,
  plugins, or customizations
* Force reinstall of Firefox (portupgrade -F)
* Remove and reinstall Firefox
* Force reinstall of the mouse input driver
* Remove and reinstall xorg and components
* Remove and reinstall Fluxbox window manager

I'm not sure what else to try. Does anyone have any suggestions?

I did receive one suggestion to gdbm the .core file, but can't find any
information on how I would apply a database manager to a file like that,
or what I would expect to find from that.

Keith S.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: use of menus crashes Firefox?

2010-12-20 Thread Keith Seyffarth

 gdbm the core.dump and see if that helps (you may need to enable symbols in

Thanks for the information, but I'm not sure what you mean by gdbm the
core.dump. GDBM appears to be a database management tool of some sort,
but the man page does not make it at all clear how one could or would
gdbm a file.

 your kernel as well as in the port in question to get a core.dump w/ enough
 info to be of use). You may also try cross-posting to mozilla's list (I'm
 not sure if fbsd.org has a mozilla list or not, so I would head over to
 mozzila.org and try there as well)

I did post to the Mozilla forum as well, but haven't heard anything
there...

Thanks,
Keith S.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


use of menus crashes Firefox?

2010-12-19 Thread Keith Seyffarth

After updating gtk following (and most other ports) following the
instructions in UPDATING, Firefox now crashes if I click on any
menu. This includes the menus such as file, edit, and help in the
main menu bar as well as right-clicking or clicking a menu from an
extension.

So far I have tried
rebooting the computer
forcing reinstall of Firefox and dependencies (portupgrade -fR)
deleting firefox using pkg_delete and reinstalling

This seems to be the only thing in the log:
Dec 19 19:35:59 janet kernel: pid 1260 (firefox-bin), uid 1001: exited
on signal 12 (core dumped)


I'm not sure what else to try. Any suggestions?

Keith S.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


MacIP Gateway Solution for FreeBSD?

2010-08-06 Thread Keith Seyffarth

I'm running FreeBSD 7.2 (FreeBSD janet.weif.net 7.2-RELEASE FreeBSD
7.2-RELEASE #1: Sat Oct 31 16:21:25 MDT 2009
ch...@janet.weif.net:/usr/src/sys/i386/compile/JANET  i386) with
netatalk installed so I can connect my old Macintosh Quadra 605 to the
FreeBSD machine to share files.

I would like to get the Mac internet access, but I need a Macintosh IP
Gateway installed on the network somewhere.

there was a package called macipgw, but that fails to compile on FreeBSD
7.

Does anyone have an updated version of macipgw, or does anyone know of
another port to handle this?

Keith S.




-- 

from my mac to yours...

Keith Seyffarth
mailto:w...@weif.net
http://www.weif.net/ - Home of the First Tank Guide!
http://www.rpgcalendar.net/ - the Montana Role-Playing Calendar

http://www.miscon.org/ - Montana's Longest Running Science Fiction Convention
Talk MisCon: http://www.miscon.org/forums/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Gnucash 2.2.7_2 after upgrade to Firefox 3.0.9

2009-04-30 Thread Keith Seyffarth

This patch worked for me:

https://lists.gnucash.org/pipermail/gnucash-user/2009-April/029582.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Gnucash 2.2.7_2 after upgrade to Firefox 3.0.9

2009-04-29 Thread Keith Seyffarth

Is anyone else having issues wit Gnucash 2.2.7 crashing when you try
to open an account after portupgrading Firefox in response to security
audit reports from about a week ago?

(that's the only change I can think of that seems to coincide with the
change in behavior; and yes, I did look through UPDATING for known
issues first...)

Gnucash will launch just fine, but when I try to open an account it
crashes. Running Gnucash in debug mode only reports that there was a
segmentation fault and core was dumped.

Looking through the Gnucash FAQ on the Gnucash site, I saw that there
was an issue similar to this on Windows, and their recommended fix was
to remove ~/.gconf, ~/.gconfd, ~/gnome2, and ~/gnucash. Though these
instructions were for windows, I tried moving those files to see if
that made a difference, but it didn't.

I also tried pkg_deleting gnucash and then portinstalling it again, as
well as removing the ~/gnucash directory, or removing all the various
.log files and .xac files from the ~/gnucash directory, but I continue
to have the same behavior; gnucash will open, but trying to open an
account in gnucash (either by clicking the Open button or by double
clicking the account name) gets gnucash to dump core.

I have also downloaded the source tarball for gnucash 2.2.9 from
sourceforge, but encounter an issue running ./configure on that, as it
is not finding gettext (which I appear to have installed at
/usr/local/bin/gettext).

Ideas? Thoughts? Suggestions?

Keith S.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can you ACTUALLY print from FreeBSD?

2009-04-22 Thread Keith Seyffarth

 What version of FreeBSD are you using? There was a problem with certain
 USB devices in the 6.x branch with timing out.

What would the symptoms of this timing out be? what I'm seeing is
pretty instantaneous. In fact, printing to lpr instead of cups (with
cups disabled), I usually can't catch the job in the print spool
folder (because I can't hit the up arrow twice fast enough to pull it
out of my history before it thinks it has finished printing).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can you ACTUALLY print from FreeBSD?

2009-04-22 Thread Keith Seyffarth

 What kind of printing do you need to do?

For the moment there are two things:
1. Create .pdf files from HTML/XHTML documents viewed in Firefox or
   Opera
2. Print HTML/XHTML documents viewed in Firefox or Opera to a
   printer.

 To send files to some either attached or network attached printer,
 you just need to:
 
   set up an entry in  /etc/printcap  
   for a printer named myprt,  make something like: 
 
 lp|myprt|HP OfficeJet 4110 N:\
   :lp=:rp=myprt:rm=myprt.prt.full.hostname:\
   :sh:mx#0:\
   :sd=/var/spool/myprt:\
   :lf=/var/log/printer.log:
 (Of course, change myprt.prt.full.hostname to a real address)

I have this:
lp|OfficeJet:\
:lp=/dev/ulpt0:\
:af=/usr/local/share/ppd/HP//HP-OfficeJet_4110-hpijs.ppd.gz:\
:if=/usr/local/bin/foomatic-rip:\
:sd=/var/spool/print.hp:\
:lf=/var/log/print.hp.log:\
:sh:

   create a spool directory for it in /var/spool 
 (eg for a printer named myprt in printcap, 
  create a /var/spool/myprt directory 

created directory /var/spool/print.hp

   create an empty log file for it
  touch /var/log/printer.log

touched /var/log/print.hp.log

   then enable lpd in /etc/rc.conf -  lpd_enable=YES

added this

 This sets up a 'standard' printer destination (named lp)
 Then you can print using lpr(1)

I can send files to the print spool this way, but then they just
disappear from the print spool. There is no evidence of attempted
communication with the printer, and certainly no printing going on.

 Some utilities want to use cups and other heavy stuff, but
 just for regular printing - of a file or from firefox or openoffice, etc
 you don't need that.

Never used OpenOffice...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Can you ACTUALLY print from FreeBSD?

2009-04-20 Thread Keith Seyffarth

I'm trying to print from my FreeBSD machine. I've been through a
number of online tutorials and instructions on printing from Unix or
FreeBSD in particular, but they all seem to start with the assumption
that printing from the machine is possible. I'm trying to get to that
starting point.

I have installed:

cups-base-1.3.9_3   Common UNIX Printing System
cups-pdf-2.5.0  A virtual printer for CUPS to produce PDF files
cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS 
printers
gutenprint-cups-5.1.7_3 GutenPrint Printer Driver
libgnomecups-0.2.3_1,1 Support library for gnome cups admistration
hplip-2.8.2_4   Drivers and utilities for HP Printers and All-in-One device

The printer I'm working with is a HP Officejet 4110.


There seem to be several issues with printing. First, since this is a
USB printer, the pinter is always owned by root:operator with read
permissions for user, group, and world.

Adding these lines to /etc/devfs.conf
link ulpt0 printer
own ulpt0 cups:cups
perm ulpt0 0666

will set the ownership to cups:cups and the permissions to read and
write for user, group, and world on startup if the printer is already
turned on and plugged in. However, if the printer is not turned on at
startup, or if it is disconnected or turned off after system startup,
ownership and permissions revert.

Trying chown or chmod to the device at /dev/ulpt0 gives an invalid
path error, and trying to do so following the instructions in the man
page for devfs give 'operation not supported by device' errors.

When th device is owned by root, attempting to print the test page
generates a 'permission denied' error in CUPS. When the device is
owned by cups, attempting to print the test page generates a failed
error in CUPS.

When the device is owned by cups, this error is reported in the error
log in CUPS, if debug logging is enabled:

[CGI] /usr/local/share/cups/drivers/pscript5.dll: No such file or directory

There isn't a drivers directory in /usr/local/share/cups. I can make
one, but where do I get the pscript5.dll, and what else is it going to
rely on?

CUPS et al were installed using portinstall, and CUPS is working well
to produce .pdf files. I tried portupgrade last night on all the (I
think) relevant ports, but the system thinks they are all up to date.

So, questions:

1. how can I get permissions on the device to stick, so that I do not
   have to reboot the machine every time we want to print or have to
   power cycle the printer?
2. Am I correct that the missing .dll (that seems awfully Windows to
   me) is the problem in getting a filter to print? If so, what do I
   need to do to install it?


And, actually, a third printing-related issue: How do I get cupsd to
start on startup? I have these two lines in /etc/rc.conf:\

cupsd_enable=YES # enable cups printing management
devfs_system_ruleset=system # something else they say cups needs

but CUPS has to be manually started by root after each reboot. what
else needs to be done to get cupsd to start at startup?

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can you ACTUALLY print from FreeBSD?

2009-04-20 Thread Keith Seyffarth

snip

 Follow the instructions here:
 
 http://desktopbsd.net/wiki/doku.php?id=doc:printing

I'm currently four days of troubleshooting after having done all
that's listed on that wiki entry (though I didn't find that page until
yesterday), and still trying to get close. That would be one of the
pages I obliquely referred to as assuming that printing was
possible...

snip

 cupsd_enable=YES should do the trick in rc.conf - nothing else
 needed to start cups as a service.

I'd have to disagree with this statement, based on experience. That
line has been in rc.conf since Januray, and cupsd *never* starts on
boot. I'd guess that there has to be something else done somewhere to
get it to actually start.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can you ACTUALLY print from FreeBSD?

2009-04-20 Thread Keith Seyffarth

 Sorry - meant to add this to post
 
 Take a look here:- 
 
 http://openprinting.org/show_printer.cgi?recnum=HP-OfficeJet_4110
 
 A free driver is available, rather than the windows .dll

Downloaded and installed that ppd and selected it fro the printer. It
still errors that the pscript5.dll is missing.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can you ACTUALLY print from FreeBSD?

2009-04-20 Thread Keith Seyffarth
  I'm trying to print from my FreeBSD machine. I've been through a
  number of online tutorials and instructions on printing from Unix or
  FreeBSD in particular, but they all seem to start with the assumption
  that printing from the machine is possible. I'm trying to get to that
  starting point.
 
 
 A laudable ambition!

OK, honestly, am I working under a valid assumption that it *is*
possible to print from FreeBSD? Or is this just going to engender
greater frustration?

  cups-base-1.3.9_3   Common UNIX Printing System
  cups-pdf-2.5.0  A virtual printer for CUPS to produce PDF files
  cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-PS 
  printers
  gutenprint-cups-5.1.7_3 GutenPrint Printer Driver
  libgnomecups-0.2.3_1,1 Support library for gnome cups admistration
  hplip-2.8.2_4   Drivers and utilities for HP Printers and All-in-One 
  device
 
 Looks good so far.

Thanks.

  The printer I'm working with is a HP Officejet 4110.
 
  1. how can I get permissions on the device to stick, so that I do not
 have to reboot the machine every time we want to print or have to
 power cycle the printer?
 
 Wrong file  - add the changes to /etc/devfs.rules
 
 /etc/devfs.conf is for fixed devices - devfs.rules for plug-in stuff.

OK. I created and edited this file. At least now on attaching the
printer, the permissions are other than root:operator.

  2. Am I correct that the missing .dll (that seems awfully Windows to
 me) is the problem in getting a filter to print? If so, what do I
 need to do to install it?
 
 I don't know - try it with the permissions set as above.

That doesn't change the behavior. It still fails to print, and seems
to error on a missing dll.

  And, actually, a third printing-related issue: How do I get cupsd to
  start on startup? I have these two lines in /etc/rc.conf:\
 
  cupsd_enable=YES # enable cups printing management
 
 That should be enough to get it running.

it doesn't. :(

  devfs_system_ruleset=system # something else they say cups needs
 
 in which  case the first line in /etc/devfs.rules should be
 
 [system=10] 
 
 that line starts a new ruleset with the name system and the number 10

got that. However, it doesn't seem to have changed the behavior of the
system - well, other than the printer ownership s different when it is
plugged in.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can you ACTUALLY print from FreeBSD?

2009-04-20 Thread Keith Seyffarth
  Follow the instructions here:
 
  http://desktopbsd.net/wiki/doku.php?id=doc:printing
  
 
  I'm currently four days of troubleshooting after having done all
  that's listed on that wiki entry (though I didn't find that page until
  yesterday), and still trying to get close. That would be one of the
  pages I obliquely referred to as assuming that printing was
  possible...
 

 
 When I read that the first time, I didn't have much idea of CUPS and
 devfs rules. I could still make it work.

yeah, the instructions there work great up to:

  I then selected the Printer tab, clicked the Print test page,
  and successfully printed a test page.

I can go to the Printer tab and click Print test page, but what
happens next is not even evidence of communication with the printer,
just a failed message.

  cupsd_enable=YES should do the trick in rc.conf - nothing else
  needed to start cups as a service.
  
 
  I'd have to disagree with this statement, based on experience. That
  line has been in rc.conf since Januray, and cupsd *never* starts on
  boot. I'd guess that there has to be something else done somewhere to
  get it to actually start.

 
 There must be some problem in your system - there is nothing else in my
 rc.conf  about cups, and it does start at boot on my system.

Yeah, I'm guessing that there is something missing somewhere, or
something that CUPS doesn't install by default, or something that is
supposed to be set in some other file, or something, I just haven't
got a clue where to look or what to look for.

Having to start cups manually isn't really all that bad, but it would
ne nice not to have to. However, that's all pretty moot if there isn't
a way to get ink to paper from a FreeBSD machine...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can you ACTUALLY print from FreeBSD?

2009-04-20 Thread Keith Seyffarth

  cups-base-1.3.9_3   Common UNIX Printing System
  cups-pdf-2.5.0  A virtual printer for CUPS to produce PDF files
  cups-pstoraster-8.15.4_2 Postscript interpreter for CUPS printing to non-=
 PS printers
  gutenprint-cups-5.1.7_3 GutenPrint Printer Driver
  libgnomecups-0.2.3_1=2C1 Support library for gnome cups admistration
  hplip-2.8.2_4   Drivers and utilities for HP Printers and All-in-One =
 device
 
 Just a question: do you have foomatic filters installed? OpenPrinting sugge=
 sts them=2C and I don't see them above.

yes:
foomatic-filters-3.0.2_4 Foomatic wrapper scripts

sorry I didn't list them previously.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can you ACTUALLY print from FreeBSD?

2009-04-20 Thread Keith Seyffarth

snip

 This makes no sense at all.  DLLs are a Windows version of a library.  
 FreeBSD 

That's what I thought.  Here's the line in question:
D [20/Apr/2009:13:07:46 -0600] [CGI] 
/usr/local/share/cups/drivers/pscript5.dll: No such file or directory

 doesn't use them.  Are you by any chance trying to print through Wine?

Nope. Don't have Wine installed.

snip

 Do you have the startup script:
 /usr/local/etc/rc.d/cupsd ?

yes

 If so, what is the output of /usr/local/etc/rc.d/cupsd status?

currently it's:
cupsd is running as pid 721.

but I did start cups manually since my last reboot.

 You should have the following files and folders:
 
 /usr/local/etc/cups/
 classes.confinterfaces/ mime.types.Npstoraster.convs
 cupsd.conf  mime.convs  ppd/snmp.conf
 cupsd.conf.Nmime.convs.Nprinters.conf   snmp.conf.N
 cupsd.conf.default  mime.types  printers.conf.O ssl/

$ ls /usr/local/etc/cups/
classes.confcupsd.conf.default  printers.conf
classes.conf.O  interfaces  printers.conf.O
command.types   mime.convs  pstoraster.convs
cups-pdf.conf   mime.convs.Nsnmp.conf
cups-pdf.conf.samplemime.types  snmp.conf.N
cupsd.conf  mime.types.Nssl
cupsd.conf.Oppd


 What's the output of this command?
 # grep -v # /usr/local/etc/cups/cupsd.conf

LogLevel debug
SystemGroup wheel
Listen localhost:631
Listen /var/run/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow all
DefaultAuthType Basic
Location /
  Order allow,deny
/Location
Location /admin
  Encryption Required
  Order allow,deny
/Location
Location /admin/conf
  AuthType Default
  Require user @SYSTEM
  Order allow,deny
/Location
Policy default
  Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
  Purge-Jobs Set-Job-Attributes Create-Job-Subscription
  Renew-Subscription Cancel-Subscription Get-Notifications
  Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job
  CUPS-Move-Job
Require user @OWNER @SYSTEM
Order deny,allow
  /Limit
  Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer
  CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default
AuthType Default
Require user @SYSTEM
Order deny,allow
  /Limit
  Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
  Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs
  Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer
  Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs
  CUPS-Reject-Jobs
AuthType Default
Require user @SYSTEM
Order deny,allow
  /Limit
  Limit Cancel-Job CUPS-Authenticate-Job
Require user @OWNER @SYSTEM
Order deny,allow
  /Limit
  Limit All
Order deny,allow
  /Limit
/Policy

 What's the output of this command?
 # cat /usr/local/etc/cups/printer.conf

$ cat /usr/local/etc/cups/printers.conf
# Printer configuration file for CUPS v1.3.9
# Written by cupsd on 2009-04-20 12:51
DefaultPrinter HP
Info HP Officejet 4100
Location wherever
DeviceURI usb:/dev/ulpt0
State Idle
StateTime 1240253002
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
/Printer
Printer PDFWriter
Info Creates PDF files in /var/spool/cups-pdf/
Location Internal
DeviceURI cups-pdf:/
State Idle
StateTime 1231089826
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
/Printer

 Have you read the CUPS documentation?
 http://www.cups.org/documentation.php/overview.html

Most of that, plus the information in the FreeBSD handbook and FAQ,
and several sites instructions on setting up CUPS, and several pages
specifically on getting an OfficeJet 4110 working on Unix in general
or FreeBSD in particular, with or without CUPS, and a bunch of the
stuff in the online documentation in CUPS (from the Documentation/Help
tab; which seems to be the same as the documentation from CUPS.org).

It works well for creating .pdf files, but, from what I've seen so far
(with only one piece of hardware to try to work with), not very well
for getting a hardcopy directly.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Can you ACTUALLY print from FreeBSD?

2009-04-20 Thread Keith Seyffarth

 Googling that shows it to be a file shared with Windows boxes when you're 
 running samba.  I don't know if you set up samba or not, but I would ignore 
 this error for now.  It's likely unrelated to the printing problem that 
 you're 
 having.

OK. Thanks. I guess. I was kind of hoping that figuring that out might
be the fix...

  Do you have the startup script:
  /usr/local/etc/rc.d/cupsd ?
 
  yes
 
  If so, what is the output of /usr/local/etc/rc.d/cupsd status?
 
  currently it's:
  cupsd is running as pid 721.
 
  but I did start cups manually since my last reboot.
 
 
 Cupsd was started automatically on reboot by the script.  So that part is 
 working fine.

after rebooting the machine, it's:
cupsd is not running.

config info snipped

 It appears the problem is the printer.  Try changing the perms to 0777 for 
 testing purposes.  If you're able to print, the problem is permissions.  
 You'll 
 have to figure out what permissions you need to get it working.

That doesn't help. I get the same behavior with the permissions set to
0777.

 One person mentioned that you should be using the ugen device instead of 
 /dev/ultp0.  This thread might be relevant - 
 http://foo2zjs.rkkda.com/forum/read.php?9,546,547
 
 You might have to abandon using cupsd for this printer.

Yeah. We may not be using this printer long anyway, since it is nearly
out of ink, and the ink will be $95. It would just be nice to be able
to demonstrate that printing is an option.

Also, from what I've been seeing in my testing and so on since
Thursday, it looks like if you use CUPS at all, you can't use anything
else, since CUPS overwrites things like /etc/printcap with its own
settings frequently. And since I've been successfully using cups-pdf
for several months, I'd need a replacement for that. At least with
that, despite all the shortcomings of .pdf format, we can still get
stuff printed. Just not in our office.

 If so, this might be helpful:
 http://www.onlamp.com/pub/a/bsd/2004/07/08/FreeBSD_Basics.html?page=last

I had read through that several times. It is one of several places
pointing out that the device has to be at ultp*, and if it's at ugen*
you likely have a problem...

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6 (looking for a working WM)

2009-03-22 Thread Keith Seyffarth

snip

 xfce-4.6 is running here on a couple of machines, with none of those 
 problems.  Those actually sound more like xorg problems.

I don't think it's XORG for a couple of reasons:

* when I first updated xfce, it didn't update xorg, and it was all
  working fine under xfce4 4.4
* problems don't seem to exist under fluxbox or twm

  and a couple minor ones:
 
  * XFCE menu doesn't work
 
 Which one?  In what way?  I miss the menu editor...

The main menu off of the panel, which has a default icon of the rodent
over a blue X. By doesn't work, I mean when you click on it nothing
happens.

snip

 portdowngrade and some work can probably do it.  If your problems are 
 really xorg related, changing window manager won't help.

Looked into portdowngrade, and I may look into that further at some
point. At this point, fluxbox seems to be pretty cool, and seems to be
working.

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6 (looking for a working WM)

2009-03-22 Thread Keith Seyffarth

 Try a smaller one, like evilwm. It's (pretty much) all command line. For
 example, you would open up a term and launch firefox from there (# firefox).
 Once you get the hang of its keybindings, which are vi-like, it's fun and
 easy. It's also compatible with aterm, which will give you transparent
 terminals (if that's something that interests you).
 
 Also, I highly recommend that you check out http://xwinman.org. I found it
 to be fun and informative to peruse the list of wm's there.

Thanks for the link. http://xwinman.org is pretty cool. I'm currently
playing with fluxbox, and that seems to be working pretty well.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6 (looking for a working WM)

2009-03-20 Thread Keith Seyffarth

At this point, I guess I'm looking for recommendations on a window
manager.

Here are the major problems with XFCE4 4.6:

*  20% probability of starting X without crashing and locking
  computer
* 20-25 minutes to start X (was about 1 under XFCE4 4.4)
* 0% chance of shutting down successfully if X is running
* can't exit X once started (switches monitor to power save mode and
  hangs)
* maximum run time of 8 hours (average around 5 hours)
* won't save settings

and a couple minor ones:

* XFCE menu doesn't work
* missing icons, even after theme is changed from rodent to tango

None of these were issues under XFCE4 4.4, but I'm guessing there's
not a good way to get 4.4 back...

What other window managers do people use, or what would you recommend
and why?

Thanks.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-16 Thread Keith Seyffarth

 Keith Seyffarth said the following on 2009-03-16 02:38:
  Sorry, should have had you do rmconfig-recursive first.  There's a 
  
  OK. I'll have to think about that. It is mostly working now, having
  added an xrandr line to the .xinitrc file to fix the resolution.
 
 What line was that?

xrandr -s 1 

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-15 Thread Keith Seyffarth

 That -k option to make is unnecessary and possibly bad.  Stop using it 
 for now.

Well, it doesn't really sound like it is *good*, but I was just trying
to get X to install again. Thanks for the warning, though.

 cd /usr/ports/x11/xorg
 make clean

OK, it cleans everything

 make config-recursive
 (choose configuration for everything)

Should there have been some kind of user interaction here? A series of
questions? A screen with boxes to X for different options? What I got
was:

# make config-recursive
=== Setting user-specified options for xorg-7.4 and dependencies
#

It took about 5 minutes, but there was no prompt for input...

 make install

Same problem. The syntax is a little different from make than from
portinstall, but it's the same error. XORG can't install because
XORG-drivers can't install because xf86-video-via can't install.

  Anyone have another suggestion? At this point, I need to get X
  installed so I can even consider a window manager.
 
 Instead of waiting for the ports to build, install the package:
 
 pkg_add -r xorg

That's not working either:

# pkg_add xorg
pkg_add: can't stat package file 'xorg'
# pkg_add -r xorg
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/xorg.tbz:
 File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6.0-release/Latest/xorg.tbz'
 by URL

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-15 Thread Keith Seyffarth

 xorg-drivers requires the drivers it has been configured to depend on, which
 does not necessarily include xf86-video-via.
 Go to the xorg-drivers port and do a 'make config' to change which drivers
 it will depend on.

This did work to get XORG to install. Now I'm trying to get XFCE
installed again, and see if I get better results.

Thanks Erik.

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-15 Thread Keith Seyffarth

Well, I finally got XORG to install again, and then installed XFCE
4.6. Still no menus, and huge screen resolution. However,
Ctl-Alt-[Keypad Minus] will zoom in on part of the desktop area,
making text at least readable on screen.

Any other suggestions on getting XFCE to have its menu again? Or on
just manually a) launching the settings manager, or b) editing the
settings manually?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-15 Thread Keith Seyffarth
 You could try hitting ALT+F2 and typing xfce4-settings-manager or
 xfce4-settings-editor to run these.

I was able to set some things this way, but some settings don't take
(such as screen resolution).

also, changing the theme to Tango didn't fix the missing icons (yes,
icons-tango-0.8.1_1 and icons-tango-extras-0.1.0_1 are both installed)

 As for the screen resolution, I upgraded one more machine today and it
 went down to 1024x768 instead of 1280x1024.
 This was the only machine I had had in the past to adjust resolution by
 using XFCE's display applet. Every other machine would start directly at
 the correct resolution. In the previous XFCE version, the Display applet
 would correctly set this, but not in 4.6. Although the correct
 resolution was selectable, it just resulted to a blank screen.
 Finally, I used xrandr to adjust the resolution. This maybe of some help
 to you as well:

Adding xrandr to the .xinitrc file seems to have the screen resolution
and flicker fixed.

One other thing, though, the exit button (from the panel) now only has
the option to Quit, which is doesn't do. Fortunately, this is pretty
easy to work around, just shutdown from an xterm.

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-15 Thread Keith Seyffarth
 Sorry, should have had you do rmconfig-recursive first.  There's a 

OK. I'll have to think about that. It is mostly working now, having
added an xrandr line to the .xinitrc file to fix the resolution.

snip

 Are you running FreeBSD 6.0?  I don't know if xorg-7.4 will work or even 
 build with that.  You may have to upgrade to 7.1-release or -stable 
 before going on.

Yeah, it's 6.0, but xorg was working just fine until Thursday when I
upgraded from XFCE4 4.4 to 4.6; and it was reported from pkg_info as
xorg 7.4 something.

Keith S.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-15 Thread Keith Seyffarth

 I haven't been folowing this discussion but have you tried to delete the  
 .config folder in your user's home and start xfce without it? that forces  
 it to redo the config from scratch.

I didn't actually try that, but at one point I did create a new user
and that user has the same issues.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-14 Thread Keith Seyffarth

 Your problem is not xfce but xorg. It went through massive changes in 
 7.1 and it's now mandatory to have a /etc/X11/xorg.conf. You have to add
 Option AllowEmptyInput Off statement as last line in ServerLayout 
 section. Doing console command Xorg -config /etc/X11/xorg.conf will 
 build you one.  By the way i used the package version of xfce4 on 7.1 
 and it's working just fine after i added the above xorg fixes.

That line was already in xorg.conf (it was necessary to get a mouse to
work after the last xorg update in January). However, I did not have
it as the last line in the ServerLayout section. I moved it to the
last line, but that didn't make a difference.

There's still no XFCE menu, and without the ability to update the
settings in XFCE, it's pretty much unusable...

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-14 Thread Keith Seyffarth
 As i said the packages worked for me. Blow away the xfce and xorg ports 
 and do the xorg mega package and the xfce mega package. if that fails 
 then bkup your user data and install a clean virgin version of 7.1 and 
 the xorg and xfce packages.

Does anyone have an option other than blowing away XORG? I'd really
rather not spend the next several days trying to get XORG installed
again.

Really, if there's just a command line way to get to the XFCE settings
and change the resolution, it would probably be usable. I'm really not
too concerned about broken icons.

Keith S.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-14 Thread Keith Seyffarth

 As i said the packages worked for me. Blow away the xfce and xorg ports 
 and do the xorg mega package and the xfce mega package. if that fails 
 then bkup your user data and install a clean virgin version of 7.1 and 
 the xorg and xfce packages.

It looks like this was a step in the WRONG direction. Having removed
XORG, it won't install. It appears that xorg requires xorg-drivers
(understandable), and xorg-drivers requires xf86-video-via (OK), and
xf86-video-via requires a PCI Video Card to be installed.

make clean install -k in x11-drivers/xorg-drivers will make
xorg-drivers install, but make clean install -k in x11/xorg won't
install because xf86-video-via is ignored.

Anyone have another suggestion? At this point, I need to get X
installed so I can even consider a window manager.

Keith S.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-13 Thread Keith Seyffarth

Manolis,

Thanks for the quick reply.

 Did you follow the rest of the instructions for xfce 4.6 in UPDATING?
 There are a few ports to deinstall, preferably before upgrading. A
 little problem with that: after having the ports tree updated I could
 not simply make deinstall them, as the old port directories were no
 longer present. I could use stg like pkg_delete, but in the end, I
 preferred using pkg_rmleaves and remove the entire xfce4.4 related ports
 (including the libs, mousepad, Thunar and a few add-ons) and just
 installed 4.6 afterwards. It all works fine.

I'll try that and see if it helps. I did pkg_delete the specified
packages (I've never experienced make deinstall working. It always
errors that the packages/ports are already installed and can't be
uninstalled, and that I should try make deinstall...

 The following is a list of the xfce related ports (minus some extra
 add-ons) in my system.  Check whether you are missing something:

That looks like the same list I have. thanks for passing it on.

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-13 Thread Keith Seyffarth

 The install for 4.6.0 is too complicated (hence error-prone).
 I'm sticking with my current version of xfce, which I like a lot.

That may well have been a better choice at this point...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-13 Thread Keith Seyffarth

snip

 longer present. I could use stg like pkg_delete, but in the end, I
 preferred using pkg_rmleaves and remove the entire xfce4.4 related ports

I wasn't able to find pkg_rmleaves, so I tried pkg_delete on all the
related packages I could find.

 (including the libs, mousepad, Thunar and a few add-ons) and just
 installed 4.6 afterwards. It all works fine.

after installing again, I'm still in the same boat. The screen
resolution is too fine to make it usable, the menus are missing, and
(as expected) many icons are missing.

It looks like once you start down the (mislead?) path of upgrading to
4.6, there is no going back to a working version, so I need to get
this one working.

Since the XFCE menu is not supported in 4.6 yet, is there a file I can
edit to get the screen resolution and refresh rate set correctly
(important), and to switch the theme (much less important).

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-13 Thread Keith Seyffarth

snip

 Please make sure these ports are installed:
 
 x11-themes/gtk-xfce-engine

installed as:
gtk-xfce-engine-2.6.0 An XFCE engine for GTK 2.0

 x11-themes/icons-tango-extras

installed as:
icons-tango-extras-0.1.0_1 A extra set of icons from the Tango project

snip

 I am afraid I can do both in my install from the XFCE menu.  (Settings
 = Display and Settings = Appearance)
 I don't know why you are not getting the menus.

I would guess that, as per the instructions provided, these are
available from the menu. ust can't get the menu working...

 Could you try creating a new user account and see if it works? It could
 be something wrong in your dot files.

New user gets a completely different interface. XFCE and components
don't seem to launch, nor do they seem to be available. Not only is
there no menu, there's no panel from which to launch the menu, and the
panel won't start from the command line.

 I've got another system with XFCE that I will be upgrading tonight -
 I'll let you know if it works out differently.

Let me know. It would be nice to have a usable computer again.

It's rather frustrating that any time there is an update for something
X-related, it seems that if you're going to make the upgrade, you need
to be ready to have your computer unusable for 3-10 days...

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-13 Thread Keith Seyffarth

snip

 Well, this leads me to believe you don't have an .xinitrc file in the
 new user's home directory
 
 Create an ~/.xinitrc with
 
 exec startxfce4

OK, did that.

 as the only content and try again.

The panel is there (and displayed icons on the desktop,
weird). However, the menu doesn't work for that user either.

snip

 Just completed the upgrade on the second one. This is running 7-STABLE

I'm running 6.

 amd64. I used the  pkg_rmleaves method and removed xfce4.4 and its leaf

I'll try installing that from the port and removing again.

 ports.  Compiling completed without problems. On first start some icons
 were indeed missing, but where fixed as soon as I selected the tango
 theme. I can send you a complete list of the ports that were built if
 you wish, but I think there is probably something else that's wrong in
 your installation.

How did you install?

I've tried portupgrade -R after deleting the specified packages), then
deleting XFCE4 manually when that didn't work to install and left X
crashing

and then used make clean install

then after manually deleting everything this morning I used
portinstall -R

making from the port directory and using portinstall seem to have
gotten me to the same place...

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues in XFCE 4.6

2009-03-13 Thread Keith Seyffarth


I went through pkg_rmleaves and deleted xfce and then everything it
exposed, then re-installed using portinstall -R

This installed 32 packages when I had only deleted 31, so something
got installed that wasn't previously.

Unfortunately, this still didn't fix the problems.

The XFCE menu still isn't available, and the screen resolution is
really horrible (did the developers assume everyone has a 30
monitor?)

Anyway, what I really need is to know how to manually fix the
configuration since access to settings isn't available through XFCE
in 4.6 so I can make this usable until XFCE can be fixed.

Unless someone else has another idea...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues with X not loading

2009-01-31 Thread Keith Seyffarth

 Yes, please see /usr/ports/UPDATING, Xorg was updated.

OK, I went through and ran
# portupgrade -rf libxcb
which took a while to update everything, but did so without any
errors (or at least without any that I caught).

However, now when I startx, X loads, but I have no mouse in X. (The
mouse works fine when X isn't running.)

These errors are present when I switch terminals and return to the
terminal X was running on:

** (xfce-mcs-manager:4299): CRITICAL **: find_master: assertion `mixer_handle 
!=  -1' failed

(xfce-mcs-manager:4299): xfce-mcs-manager-WARNING **: Module 
/usr/local/lib/xfce4/mcs-plugins/xfce4-iconbox_settings.so cannot be opened 
(GModule (/usr/local/lib/xfce4/mcs-plugins/xfce4-iconbox_settings.so) 
initialization check failed: Incorrect module version)

(Thunar:4302): thunar-vfs-WARNING **: Failed to connect to the HAL daemon: 
Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or 
directory

I have tried uninstalling (using pkg_delete) and reinstalling (using
portinstall) hal, but still get this problem.

I also tried adding
AllowEmptyInput off
in xorg.conf, but that gives an error when starting X that
AllowEmptyInput is not valid.


I also added the path to hald (/usr/local/sbin) to the path in
/etc/rc, but still get the same error.

I'm not seeing anything obvious in the /var/log/Xorg.0.log, though I
do see where it sees AllowEmptyInput as on...

If it makes a difference, it's a PS/2 mouse and keyboard (I'm not sure
if X is receiving keyboard input, but I'm not sure how to test that
without being able to click something to open some kind of window...)

Thanks for any further tips.

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: issues with X not loading

2009-01-31 Thread Keith Seyffarth
  I also tried adding
  AllowEmptyInput off
  in xorg.conf, but that gives an error when starting X that
  AllowEmptyInput is not valid.
 
 In section ServerLayout, add
 
 Option AllowEmptyInput Off

Thakns. This worked. I had the syntax incorrect. however, I thought
this wasn't supposed to be necessar after the updates to hal on the
27th?

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


issues with X not loading

2009-01-28 Thread Keith Seyffarth

On freebsd 6.0, I started having issues with X on Friday, and by
Sunday, clicking buttons on the XFCE toolbar or choosing menu items
from the XFCE menu weren't working. Subsequent to this, X would just
hang when I run startx.

I think what may have started this was trying to portupgrade gnucash,
because it looks like some port items that were dependencies for other
things (xorg-protos, for example) have been removed from the ports
system.

so, I tried portupgrade for xfce4, which tells me everything is
current. Then I tried portupgrade xorg, which did upgrade a lot of
things.

This got me to a point where I can run startx, and rather than
hanging, it, um, crashes gracefully. I receive this error:

(==) Using config file: /etc/X11/xorg.conf
Parse error on line 75 of section Files in file /etc/X11/xorg.conf
RgbPath is not a valid keyword in this section.
(EE) Problem parsing the config file
(EE) Error parsing the config file

Fatal server error:
no screens found
giving up.

I can comment out line 75 referred to above, but that seems to put me
back to where I was before trying to upgrade: startx hangs the
computer...

Does anyone have any suggestions?

Thanks,
Keith S.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Setting up a PDF printer

2009-01-03 Thread Keith Seyffarth

What do I need to install to make printing a pdf from the print
command in an appliction as an option.

It looks like panda may do this, but I'm unsure.

My immediate goal is to be able to print invoices to .pdf from
gnucash.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Setting up a PDF printer

2009-01-03 Thread Keith Seyffarth
 If you're using the cups printing subsystem you can use the cups-pdf
 port/package.
 
 You end up with the pdf's deposited in /var/spool/cups-pdf/USERNAME.

I don't have any printing installed currently. I may be getting a
printer for this machine at some point in the future (at which point
I'll have to figure out how to get printing to a printer working).

When I run
# which cups

the response is:
cups: Command not found.

would
# portinstall cups
install this printing option? or would I have to install something
else?

Keith
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Firefox 3 problems - SLOW...

2008-07-13 Thread Keith Seyffarth

Has anyone else had problems with Firefox 3 installed from the ports
being massively slow?

Unlike on Windows, where the load time for the application is much
slower (takes roughly twice as long as FF2 did), but once the
application is loaded, it seems to be about the same, on my BSD box,
the application loads in a little under half the time, but each page
load takes much, much longer (8 minutes for the google firefox start
page, 16 minutes for the welcome to Firefox 3 page, 10 minutes for the
mozillazine home page, 6 minutes for each mozallazine forum page). On
top of this, once the page is loaded, it take 90-120 seconds before
you can interact with a page, and even then, interaction is slow - 5
seconds between clicking in the scroll bar and the window moving, 15
seconds between clicking a link and the browser acknowledging the
click...

Is there maybe an issue with the port, or does the application just
not work well on FreeBSD?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Firefox 3 problems - SLOW...

2008-07-13 Thread Keith Seyffarth
 I did experience this, and I had to tweak the following settings in
 about:config before the experience became usable:
 
 network.http.pipelining: true
 network.http.pipelining.maxrequests: 10
 network.http.pipelining.ssl: true
 
 The image loading and display code seems to have changed significantly,
 and some unintended behaviour seems to have been introduced. (I also
 get ugly black boxes images if there is an resized image in the loaded
 page.)

Johnathan,
thanks a ton, that seems to have corrected it. We're now back to
nearly the performance of FF2. Though I haven't seen the black images
issue yet.

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


Re: can't upgrade - catch-22

2007-10-28 Thread Keith Seyffarth
 try: setenv X11BASE /usr/X11R6
 
 then rebuild portupgrade. 

That still gives the 'cannot set X11BASE' error... If I run env after
setting the X11BASE as instructed above, it is set, but I still get
the error.

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


Re: can't upgrade - catch-22

2007-10-28 Thread Keith Seyffarth
   try: setenv X11BASE /usr/X11R6
  
   then rebuild portupgrade.
 
  That still gives the 'cannot set X11BASE' error... If I run env after
  setting the X11BASE as instructed above, it is set, but I still get
  the error.

snip

 Silly question:
 
 are you running env as root or as your user ID? i.e. are you running env as
 the user who needs this variable?

Yes, silly question, but I know exactly where you are coming from. I
am executing setenv as root, and the environment variable is getting
set as root, but I still get the same error. (and I did run whoami on
that terminal after getting this email to make sure.)

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


Re: can't upgrade - catch-22

2007-10-28 Thread Keith Seyffarth

 Do you have anything custom set in etc/make.conf?

Just a couple things for Perl.

 Try putting the following in etc/make.conf:
 
 USE_NONDEFAULT_X11BASE= yes
 X11BASE= /usr/X11R6

Cool. That seems to have worked. Odd that it didn't when I tried it
previously... Oh, well, it looks like portupgrade is rebuilding now,
so I can probably get x upgraded after that.

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


Re: can't upgrade - catch-22

2007-10-27 Thread Keith Seyffarth
  On FreeBSD before 6.2 ports system unfortunately can not set default
  X11BASE by itself so please help it a bit by setting
  X11BASE=${LOCALBASE} in make.conf.
  On the other hand, if you do wish to use non-default X11BASE, please
  set variable USE_NONDEFAULT_X11BASE.
  
  However, even if I edit /etc/make.conf and add either
  X11BASE=${LOCALBASE} or X11BASE=/usr/X11R6, I still get this
  error.
  
  Any suggestions or recommendations on how to get ruby installed? I
  think once I have that installed, I should be able to get port-upgrade
  fixed and then maybe be able to get some patches downloaded... I would
  really appreciate any tips or suggestions.
  
  output of uname -a:
  FreeBSD computer.weif.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov
  3 09:36:13 UTC 2005
  [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
 
 There was major change about Xorg; For more details, plase see here:
 http://lists.freebsd.org/pipermail/freebsd-announce/2007-May/001131.html
 
 I think the upgrade was/is mandatory, not optional ;;

Thanks for the tip, but unfortunately it isn't really very helpful. I
guess I didn't clarify the catch-22 in my previous post.

In order to get X upgraded, I need to get portupgrade working. This
requires that X already be upgraded. This, in return requires
portupgrade...

I was starting with trying to get Ruby because that addressed the
vulnerabilities I was trying it initially address. However, that's
pretty irrelevant at the moment.

Where I'm stuck is getting either portupgrade working or getting X
upgraded, both of which seem to be dependent on the other having
already happened...

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


Re: can't upgrade - catch-22

2007-10-27 Thread Keith Seyffarth
 Make sure your ports tree is 100% up to date.

Got it, I think. Ran cvsup again, got a bunch of stuff...

 Uninstall portupgrade  all it's dependencies.

Have done, as far as I can tell.

 cd /usr/ports/ports-mgmt/portupgrade  make install clean

Generates the same error mentioned previously - can't set default
X11BASE. Setting X11BASE in make.conf does not make a difference.

 Read and follow the instructions in UPDATING for updating xorg

Again, requires portupgrade, and it appears that just about anything
(including portupgrade) requires that X already be upgraded...

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


Re: can't upgrade - catch-22

2007-10-27 Thread Keith Seyffarth
 Why don't you just manually remove Xorg and then install it with
 portinstall?
 ie. pkg_delete -f xorg\*
 
 That'll remove all packages that start with the characters xorg.
 Install the newer version of Xorg then upgrade portupgrade, then upgrade the
 packages that depended on xorg.

Well, now that x is uninstalled, you still can't install it without
having already installed it... It still generates the 'can't set
default xbase' error.

Any recommendations now that X has been uninstalled?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


can't upgrade - catch-22

2007-10-22 Thread Keith Seyffarth

I posted this about a month ago, but haven't heard anything, so I'm
trying again:


When trying to re-install ruby on my system, I receive this error:

On FreeBSD before 6.2 ports system unfortunately can not set default
X11BASE by itself so please help it a bit by setting
X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE, please
set variable USE_NONDEFAULT_X11BASE.

However, even if I edit /etc/make.conf and add either
X11BASE=${LOCALBASE} or X11BASE=/usr/X11R6, I still get this
error.

Any suggestions or recommendations on how to get ruby installed? I
think once I have that installed, I should be able to get port-upgrade
fixed and then maybe be able to get some patches downloaded... I would
really appreciate any tips or suggestions.

output of uname -a:
FreeBSD computer.weif.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov
3 09:36:13 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


problem upgrading

2007-09-24 Thread Keith Seyffarth

When trying to re-install ruby on my system, I receive this error:

On FreeBSD before 6.2 ports system unfortunately can not set default
X11BASE by itself so please help it a bit by setting
X11BASE=${LOCALBASE} in make.conf.
On the other hand, if you do wish to use non-default X11BASE, please
set variable USE_NONDEFAULT_X11BASE.

However, even if I edit /etc/make.conf and add either
X11BASE=${LOCALBASE} or X11BASE=/usr/X11R6, I still get this
error.

Any suggestions or recommendations on how to get ruby installed?

output of uname -a:
FreeBSD computer.weif.net 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov
3 09:36:13 UTC 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]