Re: chromium error: Error initializing NSS without a persistent database: NSS error code: -8023
Yuwen, ] I'm using Wheezy and chromium. Chromium has been working well until ] today. When I ran chromium from the shell, I saw this message: ] ] [31:31:1029/204029:ERROR:nss_util.cc(211)] Error initializing NSS \ ] without a persistent database: NSS error code: -8023 ] ] and chromium can't open any page. Executive summary: +-+ |In /etc/chromium/default, set| |EXTRALIB=/usr/lib/xulrunner-24.0:/usr/lib/xulrunner-1.9.1| +-+ Long explanation: I believe I've solved the problem. Chromium can't seem to find libnss3.so. >From three things: (1) my doing an "apt-file search libnss3", (2) the notes on this web page: http://forums.debian.net/viewtopic.php?f=6=129904=625402 [Solved] How to install Old Chromium? , and (3) my finding no libnss3.so under /usr/lib/chromium, I sus- pected that chromium's LD_LIBRARY_PATH was broken. I made this change to /etc/chromium/default, and it seems to solve the problem. My chromium browser now successfully launches. -- /etc/chromium% diff -u default.orig default --- default.orig2013-08-02 08:06:13.0 -0700 +++ default 2016-11-06 04:17:36.0 -0800 @@ -3,3 +3,6 @@ # Options to pass to chromium CHROMIUM_FLAGS="--password-store=detect" +EXTRALIB=/usr/lib/xulrunner-24.0:/usr/lib/xulrunner-1.9.1 + +# end /etc/chromium% -- ** Interestingly, my system, being of this version: % chromium --version Chromium 37.0.2062.120 Built on Debian 7.6, running on Debian 7.11 % uname -a Linux myhost 3.2.0-4-amd64 #1 SMP Debian 3.2.82-1 x86_64 GNU/Linux % lsb_release -a No LSB modules are available. Distributor ID: Debian Description:Debian GNU/Linux 7.11 (wheezy) Release:7.11 Codename: wheezy % has four libnss3.so's: 1 root root 982512 Oct 16 07:09 /usr/lib/icedove/libnss3.so 1 root root 974064 Apr 26 2016 /usr/lib/iceweasel/libnss3.so 1 root root 1316728 Oct 20 13:32 /usr/lib/x86_64-linux-gnu/libnss3.so 1 root root 973984 Oct 25 2014 /usr/lib/xulrunner-24.0/libnss3.so Setting EXTRALIB in /etc/chromium/default to each of these four values in turn yields these results: SUCCESS EXTRALIB=/usr/lib/icedove:/usr/lib/xulrunner-1.9.1 SUCCESS EXTRALIB=/usr/lib/iceweasel:/usr/lib/xulrunner-1.9.1 FAILEXTRALIB=/usr/lib/x86_64-linux-gnu:/usr/lib/xulrunner-1.9.1 SUCCESS EXTRALIB=/usr/lib/xulrunner-24.0:/usr/lib/xulrunner-1.9.1 (Where does that /usr/lib/xulrunner-1.9.1 come from? It wasn't originally in the file /etc/chromium/default. But it *is* in /usr/bin/chromium like so: EXTRALIB=/usr/lib/xulrunner-1.9.1 [Even though my system has no /usr/lib/xulrunner-1.9.1 directory!] So I superstitiously included it along with the good directory in /etc/chromium/default. However, it's not necessary; the four tests above turned out exactly the same with no mention of it, i.e. with only the first directory e.g. /usr/lib/xulrunner-24.0 specified.) Regards, Eric -- fortune cookie +-+ |"While you recently had your problems on the run,| |they've regrouped and are making another attack."| +---------+ Eric De Mund | Yahoo: ead0002 e...@ixian.com | GTalk: ead.ix...@gmail.com
free jewel case insert: Debian 6.0.0 Squeeze Official i386 xfce+lxde-CD
All, Made for myself; perhaps also useful to others. I made it so I'd have ready access to the disc's SHA512 checksum. Available at: http://ixian.com/ead/debian/debian-6.0.0-i386-xfce+lxde-CD-1.odt http://ixian.com/ead/debian/debian-6.0.0-i386-xfce+lxde-CD-1.pdf Text reads: +---+ |Debian | | GNU/Linux | | 6.0.0 Squeeze | |Official i386 xfce+lxde-CD | | Binary-1 20110205-17:26 | | | | | | | | | | % dd if=device bs=1024 | |count=662,728 | sha512sum --binary | | | | b4cc a09b af86 047d | 9692 1999 067a a46e | | a59b 22ce 3c2b 8c62 | 3349 886f fdae 58bc | | 5f15 bddc 34fa a598 | 72d5 8048 a725 2c9a | | a0c2 881c 7fe8 b3be | b35c 0408 31d9 a6d4 | | | | *debian-6.0.0-i386-xfce+lxde-CD-1.iso | |678,633,472 bytes (648 MB) | | | | | | | | | | | | | | CD 1 of 1 | +---+ Regards, Eric -- Eric De Mund ead-debian-u...@ixian.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87mxlgn2iv@ixian.com
free jewel case insert: Debian 5.0.8 Official i386 xfce+lxde-CD
All, Made for myself; perhaps also useful to others. Jewel case insert has SHA512 checksum on cover. Available at: http://ixian.com/ead/debian/debian-508-i386-xfce+lxde-CD-1--b.odt http://ixian.com/ead/debian/debian-508-i386-xfce+lxde-CD-1--b.pdf Text reads: +---+ |Debian | | GNU/Linux | | 5.0.8 Lenny | |Official i386 xfce+lxde-CD | | Binary-1 20110122-17:43 | | | | | | | | | | % dd if=device bs=1024 | |count=662,166 | sha512sum --binary | | | | cdcf 9614 fac4 2b0c | d236 8c95 b193 4592 | | 8c00 99d4 672c d596 | 694c 8a4f bdf0 2ecf | | ef52 cb8a 8e9d 6e50 | 9a5a 4543 6835 48c0 | | 57ec e383 97a4 e6e3 | fe9d 9a42 6b32 b97c | | | | *debian-508-i386-xfce+lxde-CD-1.iso | |678,057,984 bytes (647 MB) | | | | | | | | | | | | | | CD 1 of 1 | +---+ Regards, Eric -- Eric De Mund ead-debian-u...@ixian.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87d3nhq5a2@ixian.com
jewelcase insert for 5.0.7 Lenny Official i386 xfce+lxde-CD
All, Hello. Jewelcase insert made for myself so that the disc's SHA512 checksum and size were both right on the front, easy for me to see. Perhaps others, too, might find it useful. Text on cover reads: --- Debian GNU/Linux 5.0.7 Lenny Official i386 xfce+lxde-CD Binary-1 20101127-17:29 % dd if=device bs=1024 count=662132 | sha512sum --binary 908b dcf9 e751 03d1 5355 27f3 89c8 e38f 11f1 5876 abac 3c4f 6a3e dbf9 6323 a7d2 3353 a531 19c6 d932 f301 e679 54f5 456c 0d4f c2a8 107b 31d4 b1bd ef95 b5d6 e35d *debian-507-i386-xfce+lxde-CD-1.iso 678,023,168 bytes (646 MB) CD 1 of 1 --- OpenOffice and PDF versions available for download from: http://ixian.com/ead/tmp/debian-507-i386-xfce+lxde-CD-1.odt http://ixian.com/ead/tmp/debian-507-i386-xfce+lxde-CD-1.pdf Use them in good health, Eric -- Eric De Mund e...@ixian.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87r5dz4eta@ixian.com
free jewel case insert: Debian 5.0.6 Official i386 xfce+lxde-CD
All, Made for myself; perhaps useful for others. Jewel case insert has SHA512 checksum on cover. Available at: http://ixian.com/ead/tmp/debian-506-i386-xfce+lxde-CD-1.odt http://ixian.com/ead/tmp/debian-506-i386-xfce+lxde-CD-1.pdf Text reads: --- Debian GNU/Linux 5.0.6 Lenny Official i386 xfce+lxde-CD Binary-1 20100904-19:34 % dd if=device bs=1024 count=662442 | sha512sum --binary 9b08 c7a9 de6a 4605 e469 8c87 af62 2b4d b6fe 1112 36ed 7520 a1ea d3c5 9498 5f01 bed3 41a6 3269 f339 584f 23e0 00a8 2a02 2b97 f070 3d3f ddc1 6f16 17ea 6340 7273 *debian-506-i386-xfce+lxde-CD-1.iso 678,340,608 bytes (646 MB) CD 1 of 1 --- *** Regards, Eric -- Eric De Mund ead-debian-u...@ixian.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/19597.39895.529262.614...@ixian.com
debian-505-i386-xfce+lxde-cd-1 jewel case insert available
All, debian-505-i386-xfce+lxde-cd-1 jewel case insert available, in odt and pdf formats. I made made it for myself, and uploaded it in case anyone else might find it useful. (For me, the utility comes in having the SHA-512 checksum and dd(1) block count printed out.) The text reads: +-+ |Debian GNU/Linux | | 5.0.5 Lenny | | Official i386 | | xfce+lxde-CD Binary-1 | | 201000626-18:12 | | | |% dd if=device bs=1024 | | count=662698 | sha512sum --binary | | | |0270 a32a 1fe4 0fb3 || | 113c 7459 e8d9 1cc2 | |eda7 d5ee 6c3f ed81 || | 15ba afd4 b006 d532 | |80e3 7ac7 24bd ca3f || | 2deb e668 69c1 a9a5 | |0c9e df10 23ce 809b || | 265c ca1a f024 9ddd | | | | *debian-505-i386-xfce+lxde-CD-1.iso | | | | CD 1 of 1 | +-+ Available at these fine locations: http://ixian.com/ead/tmp/debian-505-i386-xfce+lxde-cd-1.odt http://ixian.com/ead/tmp/debian-505-i386-xfce+lxde-cd-1.pdf Regards, Eric -- Eric De Mund ead-debian-u...@ixian.com -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87mxtbdvfc@ixian.com
debian-user@lists.debian.org
Tong, T o n g wrote: Anyone knows a good bi-directional file-synchronization tool that can synchronize changes to files and directories in both directions on different hosts, propagating the changes between them? This is mainly use to synchronize files and directories between my notebook and desktop (at home and at work). Any good recommendation? unison works fine; I've been using it for several years, now, to sync between a laptop and a desktop (A), another desktop (B) and desktop A, and between desktop A and my ISP. Eric -- Eric De Mund | Y!: ead0002 e...@ixian.com | ICQ: 811788 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Entropy (was Re: how to generate random negative numbers)
Ron, John Hasler: ] echo $(( $(( $RANDOM - $RANDOM )) % 3 )) Ron Johnson: ] Does this burn through entropy faster than other methods? Yes. Twice as fast. And, more importantly, it's mathematically incorrect. It does not have the same probability density function as: echo $(( $(($RANDOM % 5)) - 2)) To illustrate, assuming that each $RANDOM value is uniform over {0,1,2} mod 3, here is the table of the function b-a: b +- | | 0 1 2 +-+--- |0| 0 1 2 a|1| -1 0 1 |2| -2 -1 0 5 (the number of values in {-2,-1,0,1,2}) simply doesn't divide 9 (the number of values in {0,1,2}x{0,1,2}) (Also, remember that when one adds multiple random deviates, as the number of deviates approaches infinity, the distribution approaches Gaussian. Here, with two deviates, one ends up with a triangle distribution.) Programmatic cleverness sometimes works, but it's a sharp knife. One must be careful not to accidentally cut oneself. Regards, Eric -- Eric De Mund | Y!: ead0002 e...@ixian.com | ICQ: 811788 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
help
help -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: OT: launching jobs in a combined serial parallel way
Hello, On Mon, Jun 22, 2009 at 08:17:44PM -0400, Kamaraju S Kusumanchi wrote: Currently I have a shell script that works as below. 1) launch proga, progb in the background using nohup. 2) Ask proga, progb to write a file when they finish. 3) Every five minutes check if these files are present. If they are present, launch progc. This gets me going for now. But it looks terribly inefficient. I would appreciate if someone can provide a better solution. Douglas A. Tutty dtu...@vianet.ca: ] While you may think its terribly inefficient, it isn't really. A fancy ] wait function is just polling anyway, you're just making it overt. ] You also have the ability to have proga and progb only touch the file ] if they complete successfully. If you merely wait until their ps dis- ] appears, you don't know if they crashed or properly completed. Agreed. The original solution is, in my view, perfectly clean and fine. It's simple, and simple is good. Another problem with a ps(1)-monitoring solution, besides the one Douglas points out above, is that it doesn't scale; a script that uses ps(1) can't be run concurrently in multiple directories, should your requirements eventually expand to include that in future. Your solution, Kamaraju, can. Nota bene: Just as in recursion one tests for the stopping condition first, at the top of the function, I presume you're remembering to test for the existence of these semaphore files before launching proga and progb, and doing the right thing (however you define that, e.g. not proceeding at all, or alternatively just removing them and proceeding) if they're already there. Cheers, Eric -- The great French Marshal Lyautey once asked his gardener to plant a tree. The gardener objected that the tree was slow-growing and would not reach maturity for 100 years. The marshal replied: ''In that case, there is no time to lose, plant it this afternoon.'' --John F. Kennedy Eric De Mund | Y!: ead0002 e...@ixian.com | ICQ: 811788 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
screen grab of scrolling window?
Hello, I have an on-screen image that, unfortunately, is not all on the screen; it's too big to fit on screen and there are scrollbars for me to scroll to view this and that portion of the image. Question: Is there a program that can perform a screen dump or a screen grab of a scrolling window, to convert the entire contents (i.e. not just the on-screen contents) of that window to e.g. a png file? In this instance, the image in question is that of an emailed PDF document created under Mac OS X; I want to be able to grab/snap exactly how the document looks under Linux here and send that grab back to the creator. It turns out that ImageMagick's convert(1) program almost but doesn't quite do the trick; what it does is shrink the image down to my screen height first. Thank you, Eric -- Eric De Mund | Y!: ead0002 e...@ixian.com | ICQ: 811788 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: script: test binary program vs shell script
All, Jerome BENOIT jgmben...@mailsnare.net: in side a bash script, I would like to test is a given program is either a binary file or a script file: is there way to so ? file -iL might be what you're looking for. -i for mime type output, -L to follow symbolic links: % file -iL config.guess spamassassin unrar config.guess: application/x-shellscript spamassassin: application/x-perl unrar:application/x-executable, dynamically linked (uses shared \ libs), stripped % Versus: % file -L config.guess spamassassin unrar config.guess: Bourne shell script text executable spamassassin: perl script text executable unrar:ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), stripped % If no -L, then: % file spamassassin spamassassin: symbolic link to /usr/bin/spamassassin % Eric -- Eric De Mund | Ixian Systems | Jab: eadix...@jabber.org/main e...@ixian.com | 650 Castro St, #120-210 | Y!M: ead0002 ixian.com/ead/ | Mountain View, CA 94041 | ICQ: 811788 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Labeling backup DVD+RW's
Paul, All, On Wed January 14 2009, Mike McCarty wrote: ] IMO, this is an inadequate strategy. Backup media need to be stored ] off-site. Certainly, your external drive needs to remain Paul Cartwright a...@pcartwright.com: ] I only plug it in to do backups. The rest of the time it is unplugged ] and away from the regualr PC. I have an UPS and 2 surge protectors ] between all my PC stuff and any electrical outlet. This IS a home ] system, and I don't really have access to an off-site storage ] facility... This thread has helped broaden my thinking on personal backups. I'd not previously considered a big USB drive as a solution. But now I may figure it into my personal mix. Myself, I've got under a gigabyte of /really/ vital stuff that I back up daily. I use unison(1), and I've got replicas of (the really vital stuff on) my home desktop system: o on my second home desktop system, o on my laptop, o and up at my ISP, two towns over. As for stuff that I don't want to lose but that's not really vital, I'm currently burning that to disc and storing it in boxes at home like a number of other folks seem to be doing. Regarding off-site backups, I've got a buddy whose strategy is to keep one external USB drive at home and one in his safe deposit box at his local bank. He backs his desktop system up to the home USB drive periodically, and every month or so he visits his safe deposit box, swapping the two drives. He's a very bright guy; he came up with this idea even though he's using Windows. (-: Cheers, Eric -- A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of idea. --John Ciardi Eric De Mund | Ixian Systems | Jab: eadix...@jabber.org/main e...@ixian.com | 650 Castro St, #120-210 | Y!M: ead0002 ixian.com/ead/ | Mountain View, CA 94041 | ICQ: 811788 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Re: Very slim Desktop Manager
Michael, ] I am looking for a very slim desktop manager. ] The system looking for is a 486 166MHz with 64MB Ram. ] I only want to run one or two small applications. One of my ThinkPads is circa 2000 system that's 266 MHz with 128 MB RAM. I run Xfce on it with tolerable responsiveness and yet an excellent feature set. I once saw a post that characterized window managers this way, when I was searching for a lightweight one: http://www.kalamazoolinux.org/mailarchive/9912/msg00131.html Heavy: Gnome (Enligthenment), KDE, CDE Medium: Window Maker, Black Box Medium Light: xfce, qvwm Light: fvwm, fvwm95 Eating Disorder: twm xfce is the smallest you can get and still have things like Gnome compliance and easy add-on-the-fly-with-a-mouse menu options, mouse preferences etc... Everything qvwm and below starts to sacrifice features. Have you nuked things like portmap, lpd, sendmail, esound, etc... assuming you don't use them on your laptop. Good luck, Eric -- Eric De Mund | Ixian Systems | Jab: [EMAIL PROTECTED]/main [EMAIL PROTECTED] | 650 Castro St, #120-210 | Y!M: ead0002 ixian.com/ead/ | Mountain View, CA 94041 | ICQ: 811788 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: making ssh connections persistent
Kamaraju, Eric De Mund [EMAIL PROTECTED]: This email was composed on my ISP which I am ssh'ed in to from a screen session on my home system. Which, in turn, I've ssh'ed in to from work. If my work-home connection dies, I simply reconnect to home via ssh, then resume my screen session. When I resume the screen session, voila, my open emacs program up at my ISP, for example, is presented to me. screen(1) is old, but it's a killer app. Kamaraju Kusumanchi [EMAIL PROTECTED]: ] Does screen work well with graphical applications? I know it is a very ] good app for text based applications such as vim. But what if I use ] gvim/texmacs for most of the editing? screen is text-based, so no, it won't help with graphical applications. For graphical (read: X Window System) apps, you /can/ use vnc or tight- vnc in concert with ssh, however, in order to achieve the same kind of persistence across a dead connection. Eric -- Eric De Mund | Ixian Systems | Jab: [EMAIL PROTECTED]/main [EMAIL PROTECTED] | 650 Castro St, #120-210 | Y!M: ead0002 ixian.com/ead/ | Mountain View, CA 94041 | ICQ: 811788 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: making ssh connections persistent
Raju, Kamaraju S Kusumanchi [EMAIL PROTECTED]: ] I often use ssh to access other computers at school. However, I can't ] make these connections persistent. If there is no activity (say in 20 ] minutes), the ssh connection just freezes up. As a result, I have to ] kill all the gvim, xterm windows opened from that terminal. This is ] very annoying if I am coding something. ] ] Is it possible to make ssh connections which do not freeze even if ] there is no activity for a while? As others have suggested, put this in the $HOME/.ssh/config file on your local machine: ServerAliveInterval 60 Also, use screen(1) for terminal (xterm/rxvt) work once you've logged in to the remote machine. That way, even your connection is dropped, you can resume the screen(1) session right where you left off. This email was composed on my ISP which I am ssh'ed in to from a screen session on my home system. Which, in turn, I've ssh'ed in to from work. If my work-home connection dies, I simply reconnect to home via ssh, then resume my screen session. When I resume the screen session, voila, my open emacs program up at my ISP, for example, is presented to me. screen(1) is old, but it's a killer app. Regards, Eric -- Eric De Mund | Ixian Systems | Jab: [EMAIL PROTECTED]/main [EMAIL PROTECTED] | 650 Castro St, #120-210 | Y!M: ead0002 ixian.com/ead/ | Mountain View, CA 94041 | ICQ: 811788 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Re: OT: laser printer: HL-5250DN or another one?
HS, H.S. [EMAIL PROTECTED]: ] Anybody have experience with this printer: ] Brother HL-5250DN ] http://www.brother-usa.com/Printer/ModelDetail.aspx?ProductID=HL5250DN. ] ] I have been asked to choose a B/W laser printer to buy for a very ] small office. I don't expect it to print more than around 10 pages per ] day. I have also been looking at HL-2070N, but duplex printing feature ] in HL-5250DN attracted me to it more. ] ] Any comments on its functionality from Linux? linuxprinting.org says ] it works pefectly. What about its durability? ] ] And, finally, any other suggestions? Russell L. Harris [EMAIL PROTECTED]: ] The feature which matters above almost every other feature is Post- ] Script. Second is a HP JetDirect ethernet interface. Sacrifice what- ] ever else you must in order to get PostScript within your budget limi- ] tations. Harris's suggestion is a good one; I would take it to heart. I'd also place at that high level of importance the amount of memory that the printer has. I've found it frustrating to have a printer, PostScript- capable or otherwise, not be able to print out some of my documents that have medium- or high-resolution images within them due to insufficient memory. Regards, Eric -- Eric De MUND | Ixian Systems | Jab: [EMAIL PROTECTED]/main [EMAIL PROTECTED] | 650 Castro St, #120-210 | Y!M: ead0002 ixian.com/ead/ | Mountain View, CA 94041 | ICQ: 811788 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]