Re: Users unable to select their own window manager in X.
Hello All: Roland had the right answer for this problem. There was a .fvwm2rc in the user's directory that was left over from before the portupdate. Deleting this file and allowing fvwm2 to recreate it solved the problem. Thanks! On Mon, 29 Aug 2005 18:09:43 +0200, Roland Smith wrote: > > On Mon, Aug 29, 2005 at 05:35:18AM -0700, > [EMAIL PROTECTED] wrote: > > Hello All: > > > > Last week, I did a CVSup on all ports, and then did a > > portupgrade over the weekend. The portupgrade > completed > > successfully, without significant errors. > > > > Now, normal users are no longer able to set their own > > window manager (e.g. fvwm2) in X, but logging in as > > root, I can. The user's .xinitrc file has not changed > > recently, but when the user launches X, all they get > is > > the grey hatched background with a black X for the > > mouse pointer. No windows (clock, mail, task panel, > > etc) appear. If I rename the user's .xinitrc file and > > then start X, the standard 'xterm' window manager > > Check the ModulePath setting in ~/.fvwm2rc. This > usually contains the > version number, so after an upgrade FVWM2 won't be albe > to find its > modules. > > For example, in my ~/.fvwm2rc I have: > > ModulePath /usr/X11R6/libexec/fvwm/2.4.19/ > > If I were to upgrade to a newer version, I'd have to > change this. > > Roland > -- > R.F.Smith (http://www.xs4all.nl/~rsmith/) Please send > e-mail as plain text. > public key: http://www.xs4all.nl/~rsmith/pubkey.txt ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Users unable to select their own window manager in X.
Anyone have an idea on which dependent files to look at? Thanks On Mon, 29 Aug 2005 07:17:38 -0700 (PDT), [EMAIL PROTECTED] wrote: > > Hello Kevin: > > Thank you for your input. > > The permissions on fvwm2 are: > -r-xr-xr-x 1 root wheel 355452 Aug 26 10:13 > /usr/X11R6/bin/fvwm2* > > It appears the fvwm2 has been upgraded; and its one (or > more) of the dependent files that is causing the issue. > > Thanks. > > > > On Mon, 29 Aug 2005 08:45:18 -0500, Kevin Kinsey wrote: > > > > > [EMAIL PROTECTED] wrote: > > > > >Hello All: > > > > > >Last week, I did a CVSup on all ports, and then did a > > >portupgrade over the weekend. The portupgrade > completed > > >successfully, without significant errors. > > > > > >Now, normal users are no longer able to set their own > > >window manager (e.g. fvwm2) in X, but logging in as > > >root, I can. The user's .xinitrc file has not changed > > >recently, but when the user launches X, all they get > is > > >the grey hatched background with a black X for the > > >mouse pointer. No windows (clock, mail, task panel, > > >etc) appear. If I rename the user's .xinitrc file and > > >then start X, the standard 'xterm' window manager > > >loads. As root, the fvwm2 window manager loads fine. > It > > >appears the portupgrade changed a permissions setting > > >somewhere, but beings this ran over the weekend, I > > >don't know what setting got changed. > > > > > > > > > > What do the logs say? > > > > In one line of thought, it sure sounds as if whatever > > wm they are calling isn't there any longer, or, more > > likely, > > encounters an error and hangs. Obviously the X > > server is starting, and the wm isn't. Again, logs or > > stderr (switch to ttyv0 and read console) might give a > > clue. > > > > The "standard 'xterm' window manager" is twm, and > > is started in the abscence of the user's .xinitrc by > > (most likely) /usr/X11R6/lib/X11/xinit/xinitrc. > > > > And, it might be a permissions issue, but I can't tell > > by your description. FWIW, here's the permissions > > on my fvwm2: > > > > [587] Mon 29.Aug.2005 8:37:46 > > [EMAIL PROTECTED]/usr/X11R6/lib/X11/xinit] > > # ll /usr/X11R*/bin/fvwm2 > > -r-xr-xr-x 1 root wheel 355452 Jun 23 21:29 > > /usr/X11R6/bin/fvwm2* > > > > More likely, it's not permissions on this file itself, > > though, > > but some dependant object instead. > > > > HTH, > > > > Kevin Kinsey > > ___ > > 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]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Users unable to select their own window manager in X.
Hello Kevin: Thank you for your input. The permissions on fvwm2 are: -r-xr-xr-x 1 root wheel 355452 Aug 26 10:13 /usr/X11R6/bin/fvwm2* It appears the fvwm2 has been upgraded; and its one (or more) of the dependent files that is causing the issue. Thanks. > On Mon, 29 Aug 2005 08:45:18 -0500, Kevin Kinsey wrote: > > [EMAIL PROTECTED] wrote: > > >Hello All: > > > >Last week, I did a CVSup on all ports, and then did a > >portupgrade over the weekend. The portupgrade completed > >successfully, without significant errors. > > > >Now, normal users are no longer able to set their own > >window manager (e.g. fvwm2) in X, but logging in as > >root, I can. The user's .xinitrc file has not changed > >recently, but when the user launches X, all they get is > >the grey hatched background with a black X for the > >mouse pointer. No windows (clock, mail, task panel, > >etc) appear. If I rename the user's .xinitrc file and > >then start X, the standard 'xterm' window manager > >loads. As root, the fvwm2 window manager loads fine. It > >appears the portupgrade changed a permissions setting > >somewhere, but beings this ran over the weekend, I > >don't know what setting got changed. > > > > > > What do the logs say? > > In one line of thought, it sure sounds as if whatever > wm they are calling isn't there any longer, or, more > likely, > encounters an error and hangs. Obviously the X > server is starting, and the wm isn't. Again, logs or > stderr (switch to ttyv0 and read console) might give a > clue. > > The "standard 'xterm' window manager" is twm, and > is started in the abscence of the user's .xinitrc by > (most likely) /usr/X11R6/lib/X11/xinit/xinitrc. > > And, it might be a permissions issue, but I can't tell > by your description. FWIW, here's the permissions > on my fvwm2: > > [587] Mon 29.Aug.2005 8:37:46 > [EMAIL PROTECTED]/usr/X11R6/lib/X11/xinit] > # ll /usr/X11R*/bin/fvwm2 > -r-xr-xr-x 1 root wheel 355452 Jun 23 21:29 > /usr/X11R6/bin/fvwm2* > > More likely, it's not permissions on this file itself, > though, > but some dependant object instead. > > HTH, > > Kevin Kinsey > ___ > 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]"
Users unable to select their own window manager in X.
Hello All: Last week, I did a CVSup on all ports, and then did a portupgrade over the weekend. The portupgrade completed successfully, without significant errors. Now, normal users are no longer able to set their own window manager (e.g. fvwm2) in X, but logging in as root, I can. The user's .xinitrc file has not changed recently, but when the user launches X, all they get is the grey hatched background with a black X for the mouse pointer. No windows (clock, mail, task panel, etc) appear. If I rename the user's .xinitrc file and then start X, the standard 'xterm' window manager loads. As root, the fvwm2 window manager loads fine. It appears the portupgrade changed a permissions setting somewhere, but beings this ran over the weekend, I don't know what setting got changed. Also, X is now reporting that it cannot load 'speedo', that the file doesn't exist. This too began after the portupgrade. When I look for the file in the 'fonts' folder, it is indeed missing. Does anyone know what went wrong, and what I need to change to get things back? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
reassigning boot drive
Hello All: When my computer was assembled, the CDROM was attached as master on the first (primary) IDE channel, and the hard drive was attached as master on the second (secondary) IDE channel. It has now become desirable for me to rearrange my drives, but I have accumulated a lot of configurations and settings on my hard disk, so reinstalling is not attractive. Has anyone tried reassigning the boot disk from ad1 to ad0? What pitfalls are there? Thanks in advance. Harold ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Adding a FormFeed to an LPR printcap file?
Hello: I think I found the answer. The problem is you don't want to use the printf command with a hex value, like I was trying; you want to use the printf "\f" syntax instead. See man 1 printf. The last line then becomes: echo "$first_line" && cat && printf "\f" && exit 0 and now it works just fine. You guys are great! I could have spent a lot of hours looking for this simple point! Thanks! Harold. >Hello: >Thank you for your reply. My if filter follows: >#!/bin/sh ># ># kx-p1124 - Print Ghostscript-simulated Postscript on >a Panasonic KX-P1124 ># installed in /usr/local/bin/kx-p1124 > ># > ># Read first two characters of the file ># >IFS="" read -r first_line >first_two_chars=`expr "$first_line" : '\(..\)'` > >if [ "$first_two_chars" = "%!" ]; then > # > # It is Postscript; use Ghostscript to scan-convert >and print it. > # > /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=lj \ > -sOutputFile=- - && exit 0 >else > # > # Plain text or HP/PCL, so just print it directly; >print a form feed > # at the end to eject the last page. > # > echo "$first_line" && cat && exit 0 >fi > >exit 2 > >As you can see, there is nothing special about this. >I am suspecting I need to add a printf "0x0c" between the >last && cat and the && exit 0 just before the fi. >Thanks in advance for your help. >Harold. >On Sat, 28 May 2005 18:47:41 -0600 (MDT), Warren Block wrote: > > On Fri, 27 May 2005 [EMAIL PROTECTED] wrote: > > > Could someone suggest a way to add a form feed to the > > end of a print document in LPR? I have a printer that > > doesn't eject the last page when the print job is > > finished; and I can't seem to find this in the manual. > > > > My guess is I need to add it to my printer filter, but > > its not clear to me what I need to add. > > What printer filter do you have now? > > -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Adding a FormFeed to an LPR printcap file?
Hello: Thank you for your reply. My if filter follows: #!/bin/sh # # kx-p1124 - Print Ghostscript-simulated Postscript on a Panasonic KX-P1124 # installed in /usr/local/bin/kx-p1124 # # Read first two characters of the file # IFS="" read -r first_line first_two_chars=`expr "$first_line" : '\(..\)'` if [ "$first_two_chars" = "%!" ]; then # # It is Postscript; use Ghostscript to scan-convert and print it. # /usr/local/bin/gs -dSAFER -dNOPAUSE -q -sDEVICE=lj \ -sOutputFile=- - && exit 0 else # # Plain text or HP/PCL, so just print it directly; print a form feed # at the end to eject the last page. # echo "$first_line" && cat && exit 0 fi exit 2 As you can see, there is nothing special about this. I am suspecting I need to add a printf "0x0c" between the last && cat and the && exit 0 just before the fi. Thanks in advance for your help. Harold. On Sat, 28 May 2005 18:47:41 -0600 (MDT), Warren Block wrote: > > On Fri, 27 May 2005 [EMAIL PROTECTED] wrote: > > > Could someone suggest a way to add a form feed to the > > end of a print document in LPR? I have a printer that > > doesn't eject the last page when the print job is > > finished; and I can't seem to find this in the manual. > > > > My guess is I need to add it to my printer filter, but > > its not clear to me what I need to add. > > What printer filter do you have now? > > -Warren Block * Rapid City, South Dakota USA ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Adding a FormFeed to an LPR printcap file?
Hello: Could someone suggest a way to add a form feed to the end of a print document in LPR? I have a printer that doesn't eject the last page when the print job is finished; and I can't seem to find this in the manual. My guess is I need to add it to my printer filter, but its not clear to me what I need to add. I'm running freeBSD 5.3-Release. Thanks in advance. Harold. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: portupgrade giving an error
Hello: Thank you for the reply. You guys are great! After reading the references below, the error makes sense. It looks like I should upgrade the Gnome port to a newer version. Again, thanks for replying with a useful solution!. Harold On Thu, 26 May 2005 08:54:18 +0200, Gregory Nou wrote: > > [EMAIL PROTECTED] wrote: > > >Please pardon the intrusion. > > > >After doing a pkgdb -F, I ran a portupgrade -nP --all > >to check my installation. I got a single error: > > > >! multimedia/nautilus-media (nautilus-media-0.8.0_4) > >(port directory error). > > > >I am then prompted as to whether I want to delete this > >package. If I answer [no] (the default), nothing is > >fixed. If I answer [yes], my installation reports that > >this package is a dependency to Gnome, and cannot be > >removed. > > > >The output of my uname -a is: > >FreeBSD BSD.mydomain.local 5.3-RELEASE FreeBSD > >5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 > >[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 > > > >Would someone suggest what I should do about this? > > > >Your help is greatly appreciated. Thank you in advance. > > > >Harold. > >___ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > > > > > > > Hi, > > in fact, nautilus-media has disappeared from the ports > tree... > Have a loo at MOVED : > multimedia/nautilus-media||2005-03-12|Deprecated, and > no longer builds > By the way, you may also be inerested by the entry > 20050312 of UPDATING, > which says : > " Gnome has been upgraded to 2.10 and gtk/glib to 2.6. > DO NOT USE portupgrade(1) to update any gnome or gtk > or any port that depends on them. Using portupgrade > will cause problems and you will have to manually > upgrade ports. " > > Cheers > > -- > Gregory ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
portupgrade giving an error
Please pardon the intrusion. After doing a pkgdb -F, I ran a portupgrade -nP --all to check my installation. I got a single error: ! multimedia/nautilus-media (nautilus-media-0.8.0_4) (port directory error). I am then prompted as to whether I want to delete this package. If I answer [no] (the default), nothing is fixed. If I answer [yes], my installation reports that this package is a dependency to Gnome, and cannot be removed. The output of my uname -a is: FreeBSD BSD.mydomain.local 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov 5 04:19:18 UTC 2004 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Would someone suggest what I should do about this? Your help is greatly appreciated. Thank you in advance. Harold. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Bonobo-warning when exiting Gnome in freeBSD 5.3
Hi! I have my X windows configured to launch Gnome by default (like page 150 of the handbook), and it seems to work fine. It looks great, functions well, and all seems good. When I exit Gnome, however (using the 'Action' 'Logout' menu item), I get several warnings: (nautilus : 1348) WARNING**: destroyed file still being monitored (repeated 4 times) Bonobo-warning **: leaked a total of 1 refs to 1 bonobo object(s). Does anyone know what configuration setting I should change? Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Unable to set up LPD to use a HP Laserjet 5p in freeBSD 5.3
Hello All: You guys are great! Three replies, with three issues to look at! It appears the problem was a defective () parallel printer cable. The one I was using didn't have all the pins connected. I replaced it with a new one, and now everything works fine. The cable I had must have been a Microsoft thing ;) The additional suggestions focused on the filter file, and I gained a great deal of insight from these. There were some points on tuning that I hadn't thought of, so these comments will be helpful as well. Thanks to all of you!! On Sun, 8 May 2005 17:48:43 -0700, "Ted Mittelstaedt" wrote: > > > 1) Copy a MSDOS text file to the system (one that > contains ^M^L as each > line terminator) > > 2) cat file /dev/lpt0 > > If the file doesen't come out the printer, it's a > problem with the > parallel post hardware, or the cabling. > > Ted > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf > Of > > [EMAIL PROTECTED] > > Sent: Sunday, May 08, 2005 5:44 PM > > To: freeBSD-questions@freebsd.org > > Subject: Unable to set up LPD to use a HP Laserjet 5p > in freeBSD 5.3 > > > > > > Hello > > > > I`m trying to install my HP laserjet 5p on freebsd > 5.3. > > The printer doesn`t understand postscript. > > I`ve read the handbook and installed ghostscript and > > lpd. > > I changed rc.conf to start lpd for each system boot. > > > > dmesg printer part looks like this: > > > > ppbus0: HP ENHANCED > > PCL5,PJL > > lpt0: on ppbus0 > > lpt0: Interrupt-driven port > > ppi0: on ppbus > > > > printcap looks like this: > > > > lp|HP Laserjet 5P:\ > > :sh:\ > > :sd=/var/spool/lpd:\ > > :lf=/var/log/lpd:\ > > :lp=/dev/lpt0:\ > > :if=/etc/lpfilter: > > > > Whenever I try to print to the printer, I get an error > > status on the printer that the owners manual calls a > > "Data Error" (two lights on the panel). The 'Go' > button > > must be pressed repeatedly to get the page to print; > > and it doesn't look complete. I've used several of the > > lpfilters from the ports collection, but none seems to > > work. > > > > Has anyone set up this printer model to work in > freeBSD > > 5.3 and can shed some light on what I have done > wrong? > > > > Any help will be appreciated. Thanks. > > ___ > > 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]"
Unable to set up LPD to use a HP Laserjet 5p in freeBSD 5.3
Hello I`m trying to install my HP laserjet 5p on freebsd 5.3. The printer doesn`t understand postscript. I`ve read the handbook and installed ghostscript and lpd. I changed rc.conf to start lpd for each system boot. dmesg printer part looks like this: ppbus0: HP ENHANCED PCL5,PJL lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus printcap looks like this: lp|HP Laserjet 5P:\ :sh:\ :sd=/var/spool/lpd:\ :lf=/var/log/lpd:\ :lp=/dev/lpt0:\ :if=/etc/lpfilter: Whenever I try to print to the printer, I get an error status on the printer that the owners manual calls a "Data Error" (two lights on the panel). The 'Go' button must be pressed repeatedly to get the page to print; and it doesn't look complete. I've used several of the lpfilters from the ports collection, but none seems to work. Has anyone set up this printer model to work in freeBSD 5.3 and can shed some light on what I have done wrong? Any help will be appreciated. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Acrobat Reader 7.0
Hello! On the Adobe website, there are two packages for Acrobat Reader 7 that can be retrieved, one is a .tar.gz, and the other is a .rpm. RPM files are normally for RedHat, and the other is probably a general linux file. >From your list of required files, I notice you list a requirement of rpm-3.0.6 9. Does this mean I should download the RPM version? Is there a reason for one instead of the other? When the package is downloaded, do I just use the command pkg_add -r acroread (that is, after I expand the file if necessary)? Or do I need to do a make install clean in the directory created by the expansion? I have been seeing PDF files created in versions of Acrobat later than 5, and they won't open in AcroRead5. Thanks for your help. Harold -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"