[gentoo-user] Seamonkey and redbox.com
Hi folks, Anyone using Seamonkey 2 that this site works for? www.redbox.com When I go to this page with Seamonkey, I get this error: XML Parsing Error: not well-formed Location: http://www.redbox.com/ Line Number 90, Column 65: a href=http://ebm.e.redbox.com/r/regf2?n=1aid=2082183869a=0; target=_blank ^ It works fine with Firefox but not Seamonkey. Is it just me or is this a Seamonkey bug or something? Thanks. Dale :-) :-)
Re: [gentoo-user] Remotely working on Gentoo systems
On Tuesday 08 June 2010 02:14:55 Jake Moe wrote: I've got two Gentoo boxes, and would like to run X apps from both on one display. From reading up on it, it appears that while this is possible, it's also not recommended from a security standpoint, and the few HOWTOs I've found for it seem to be 4-6 years old. Can anyone tell me: Security: Yes, it is not recommended, however, if you trust everyone who can connect to your network, then it is safe enough. a) if this is a good idea in the first place, Depends on what you want to achieve. If you have only one screen and/or one machine with a decent graphics card then it does make sense. However, X is a very inefficient protocol. Eg. it can clog the network. b) should I be looking at VNC instead of remote X, Maybe, but VNC puts the remote screen in a window. c) is there another option I should be looking at, and Yes :) d) if there is a good HOWTO on setting up whichever is the best to use on a recent Gentoo system? I use X-tunneling with ssh. To get this to work, start with trying the following: (machineA has screen, machineB is screenless) on machineA # ssh -Y machineB then, on machineB, start the program you want displaying on machineA, for instance firefox. This is both easier to implement and also removes the security issues as ssh is encrypted. HTH, Joost Roeleveld
Re: [gentoo-user] [SOLVED] KDE takes ages to show password screen after suspend
Follow up: Since I upgraded to KDE 4.4.4, the problem is gone. The password prompt appears immediately after the laptop wakes up. *yay* Thanks for your help. Regards, Roman
Re: [gentoo-user] /var/tmp/portage not empty?
On Monday 07 June 2010 22:24:37 Dale wrote: Mick wrote: I am trying to clean up what seems like a remnant of a failed emerge, but I can delete the directory in question: # rm -Rf /var/tmp/portage/sys-devel/gcc-4.4.3- r2/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale rm: cannot remove `/var/tmp/portage/sys-devel/gcc-4.4.3- r2/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale': Directory not empty Am I missing something simple here? Why can't I remove it? It seems empty to me: # ls -la /var/tmp/portage/sys-devel/gcc-4.4.3- r2/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale total 1 drwxr-xr-x 2 portage portage 3 May 28 07:48 . drwxr-xr-x 3 portage portage 3 May 28 07:48 .. I generally use rm -rfv when I delete something and do it as root as well. It is gone after that. I'm not sure what the difference is between R and r tho. I need to go check the man page I guess. ;-) The # in his quoted prompt implies that he is doing it as root. the -r -R and --recursive switches to rm are all synonymous. Neil is likely correct - filesystem corruption. A quick easy way to check is to run ls -al starting with the target then going up on directory in turn. If you start getting lots of ??? in the output, corruption is almost certain. -- alan dot mckinnon at gmail dot com
[gentoo-user] Re: Seamonkey and redbox.com
Dale: Anyone using Seamonkey 2 that this site works for? www.redbox.com When I go to this page with Seamonkey, I get this error: XML Parsing Error: not well-formed Location: http://www.redbox.com/ Line Number 90, Column 65: a href=http://ebm.e.redbox.com/r/regf2?n=1aid=2082183869a=0; target=_blank ^ Same here with SM 2.1. It works fine with Firefox but not Seamonkey. Is it just me or is this a Seamonkey bug or something? It is a bug in the site. Spoofing helps. - user.js - user_pref(general.useragent.extra.firefox, NOT Firefox/3.5); --- But i don't like that and will comment it out again. Hartmut
Re: [gentoo-user] dual booting windows 7, extended partitions, and the mbr
On Mon, 07 Jun 2010 22:10:06 -0400, Allan Gottlieb wrote: I am now ready to install linux (and grub). Can I have all of linux on extended partitions? Something like 4. Extended 5. linux / (a logical partition inside the extended partition) 6. linux swap (another logical partition) 7. linux lvm2 partition (another logical partition) 8. linux small vfat partition (logical) I am mainly concerned about #5. Googling reveals that you can boot from a logical partition but the authors seem to recommend against it (without saying why in detail). Yes. My Linux only computers have no primary partitions, everything is on logical partitions and has worked that way for many years without a single issue. -- Neil Bothwick WinErr 012: Window closed - Do not look inside signature.asc Description: PGP signature
Re: [gentoo-user] /var/tmp/portage not empty?
On Mon, 7 Jun 2010 23:46:19 +0200, Alan McKinnon wrote: Neil is likely correct - filesystem corruption. A quick easy way to check is to run ls -al starting with the target then going up on directory in turn. If you start getting lots of ??? in the output, corruption is almost certain. Paul's suggestion of running lsof may be valid too. If a process had a lock n a file that was then deleted, the file wouldn't show up in ls but would prevent the directory being deleted until the lock was released. If you don't want to mess around with lsof and tracking down the process, a reboot will solve that one. -- Neil Bothwick If at first you don't succeed, call in an airstrike. signature.asc Description: PGP signature
Re: [gentoo-user] dual booting windows 7, extended partitions, and the mbr
At Tue, 08 Jun 2010 10:52:14 +0100 Neil Bothwick n...@digimed.co.uk wrote: On Mon, 07 Jun 2010 22:10:06 -0400, Allan Gottlieb wrote: I am now ready to install linux (and grub). Can I have all of linux on extended partitions? Something like 4. Extended 5. linux / (a logical partition inside the extended partition) 6. linux swap (another logical partition) 7. linux lvm2 partition (another logical partition) 8. linux small vfat partition (logical) I am mainly concerned about #5. Googling reveals that you can boot from a logical partition but the authors seem to recommend against it (without saying why in detail). Yes. My Linux only computers have no primary partitions, everything is on logical partitions and has worked that way for many years without a single issue. Thank you. That is just the endorsement I needed to go ahead. allan
Re: [gentoo-user] Re: Seamonkey and redbox.com
Hartmut Figge wrote: Dale: Anyone using Seamonkey 2 that this site works for? www.redbox.com When I go to this page with Seamonkey, I get this error: XML Parsing Error: not well-formed Location: http://www.redbox.com/ Line Number 90, Column 65:a href=http://ebm.e.redbox.com/r/regf2?n=1aid=2082183869a=0; target=_blank ^ Same here with SM 2.1. It works fine with Firefox but not Seamonkey. Is it just me or is this a Seamonkey bug or something? It is a bug in the site. Spoofing helps. - user.js - user_pref(general.useragent.extra.firefox, NOT Firefox/3.5); --- But i don't like that and will comment it out again. Hartmut Thanks. I installed user agent switcher, set it to IE and it works. At least now I can go to the site. The user agent switcher I have doesn't allow me to set it for certain sites. Is there a switcher that when I go to certain sites it can be set to different browsers? I thought there was one but I can't find it anymore. Did that feature die? Thanks. Dale :-) :-)
Re: [gentoo-user] Re: Seamonkey and redbox.com
On Tue, Jun 8, 2010 at 11:23 AM, Dale rdalek1...@gmail.com wrote: Hartmut Figge wrote: Dale: Anyone using Seamonkey 2 that this site works for? www.redbox.com When I go to this page with Seamonkey, I get this error: XML Parsing Error: not well-formed Location: http://www.redbox.com/ Line Number 90, Column 65:a href=http://ebm.e.redbox.com/r/regf2?n=1aid=2082183869a=0; target=_blank ^ Same here with SM 2.1. It works fine with Firefox but not Seamonkey. Is it just me or is this a Seamonkey bug or something? It is a bug in the site. Spoofing helps. - user.js - user_pref(general.useragent.extra.firefox, NOT Firefox/3.5); --- But i don't like that and will comment it out again. Hartmut Thanks. I installed user agent switcher, set it to IE and it works. At least now I can go to the site. The user agent switcher I have doesn't allow me to set it for certain sites. Is there a switcher that when I go to certain sites it can be set to different browsers? I thought there was one but I can't find it anymore. Did that feature die? Looks like it is still on the to-do list for User Agent Switcher: http://chrispederick.com/work/user-agent-switcher/to-do/
[gentoo-user] Move eth1 back to eth0
Hello folks, I have a gentoo installation as a guest oks running inside sun virtualbox. After doing a proper clone, everything seems to work fine, except the network interface. I noticed that, after cloning, the eth0 interface has been renamed to eth1 inside the cloned vm. I do not why this happened. Of course, the new vm clone image has another mac address for the nic. eth0 is not used inside the cloned vm. Is there a way to explicitly define the nic names in a way that I can make sure, that a certain nic (or mac address) is always assigned the name eth0? I heard, that something can be done using udev rules, but is this the intended way? How could this be done? Thank you very much for your help. Kind regards, André
Re: [gentoo-user] Re: Seamonkey and redbox.com
Paul Hartman wrote: On Tue, Jun 8, 2010 at 11:23 AM, Dalerdalek1...@gmail.com wrote: Hartmut Figge wrote: Dale: Anyone using Seamonkey 2 that this site works for? www.redbox.com When I go to this page with Seamonkey, I get this error: XML Parsing Error: not well-formed Location: http://www.redbox.com/ Line Number 90, Column 65:a href=http://ebm.e.redbox.com/r/regf2?n=1aid=2082183869a=0; target=_blank ^ Same here with SM 2.1. It works fine with Firefox but not Seamonkey. Is it just me or is this a Seamonkey bug or something? It is a bug in the site. Spoofing helps. - user.js - user_pref(general.useragent.extra.firefox, NOT Firefox/3.5); --- But i don't like that and will comment it out again. Hartmut Thanks. I installed user agent switcher, set it to IE and it works. At least now I can go to the site. The user agent switcher I have doesn't allow me to set it for certain sites. Is there a switcher that when I go to certain sites it can be set to different browsers? I thought there was one but I can't find it anymore. Did that feature die? Looks like it is still on the to-do list for User Agent Switcher: http://chrispederick.com/work/user-agent-switcher/to-do/ Yep, it is. I didn't see that. After thinking about it, I think it was Konqueror that allows a per site setting. I use Konqueror as my file manager but don't like it for web browsing. Maybe one day soon. Thanks. Dale :-) :-)
Re: [gentoo-user] Move eth1 back to eth0
On Tue, 08 Jun 2010 19:18:09 +0200, Shoka wrote: I noticed that, after cloning, the eth0 interface has been renamed to eth1 inside the cloned vm. I do not why this happened. Of course, the new vm clone image has another mac address for the nic. eth0 is not used inside the cloned vm. Udev does this, to give each interface a consistent name. Since eth0 was already in use by the old MAC address, this one gets eth1. Delete /etc/udev/rules.d/70-persistent-net.rules and reboot to start again at eth0. -- Neil Bothwick Windows Error #56: Operator fell asleep while waiting. signature.asc Description: PGP signature
[gentoo-user] OT: DVD-Container ?
Hi, I am using k3b to burn dvds/cds. As most programs of this kind, k3b can /copy/ but not /move/ data to a DVD. Therefore, when trying to find tose files, which exactly sum up to the size of a DVD (by the way: I know DVD- sizes from a little below 4.3 GB to over 4.7GB...what is the truth?) I end up with a selected file here and another one there. After the DVD is finished it is --hrmm-- not efficient to find those in the related directories to remove them after a successful copy. Now I am looking of something like a virtual DVD to which I can /move/ and move back files. The DVD should report no space left on device exactly at the same point when a real DVD is filled. I thought of one extra partition of the same size a DVD but since the filesystems will occupy different amount of space... On the other hand: A iso-image-file on the harddisk would be nice, but that filesystem isn't made for moving files back and forth... Any ideas to solve this??? Thanks a lot for your help in advance! best regards, mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] Move eth1 back to eth0
On 08.06.2010 19:24, Neil Bothwick wrote: On Tue, 08 Jun 2010 19:18:09 +0200, Shoka wrote: I noticed that, after cloning, the eth0 interface has been renamed to eth1 inside the cloned vm. I do not why this happened. Of course, the new vm clone image has another mac address for the nic. eth0 is not used inside the cloned vm. Udev does this, to give each interface a consistent name. Since eth0 was already in use by the old MAC address, this one gets eth1. Delete /etc/udev/rules.d/70-persistent-net.rules and reboot to start again at eth0. Hi Neil, Thank you very much for your help. Your tip really solved my problem. Everything works as excepted now. :) Have a nice week! Best regards, André
Re: [gentoo-user] OT: DVD-Container ?
On Tue, 8 Jun 2010 19:26:57 +0200, meino.cra...@gmx.de wrote: Therefore, when trying to find tose files, which exactly sum up to the size of a DVD (by the way: I know DVD- sizes from a little below 4.3 GB to over 4.7GB... DVDs are 4.7GB or 4.3GiB. what is the truth?) I end up with a selected file here and another one there. After the DVD is finished it is --hrmm-- not efficient to find those in the related directories to remove them after a successful copy. Do you have the same directory structure on the DVD? If so, the output of ls could be used to find and remove the source files. -- Neil Bothwick Why is the word abbreviation so long? signature.asc Description: PGP signature
Re: [gentoo-user] OT: DVD-Container ?
Neil Bothwick n...@digimed.co.uk [10-06-08 20:32]: On Tue, 8 Jun 2010 19:26:57 +0200, meino.cra...@gmx.de wrote: Therefore, when trying to find tose files, which exactly sum up to the size of a DVD (by the way: I know DVD- sizes from a little below 4.3 GB to over 4.7GB... DVDs are 4.7GB or 4.3GiB. what is the truth?) I end up with a selected file here and another one there. After the DVD is finished it is --hrmm-- not efficient to find those in the related directories to remove them after a successful copy. Do you have the same directory structure on the DVD? If so, the output of ls could be used to find and remove the source files. -- Neil Bothwick Why is the word abbreviation so long? Hi Neil, thanks fro your reply! ...may be I have used my brain today for too long and more sleep than hacking,but 8) 4.3*1024 = 4403.2 = 4.403 This would give me 1032 times no space left on device ;) No. the directory strukture can be totally different or slightly different and may be some filenames will be changed. I really need something. to which and from where I can move files until it has no space left on device... Best regards, mcc -- Please don't send me any Word- or Powerpoint-Attachments unless it's absolutely neccessary. - Send simply Text. See http://www.gnu.org/philosophy/no-word-attachments.html In a world without fences and walls nobody needs gates and windows.
Re: [gentoo-user] /var/tmp/portage not empty?
On 8 June 2010 10:47, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 7 Jun 2010 23:46:19 +0200, Alan McKinnon wrote: Neil is likely correct - filesystem corruption. A quick easy way to check is to run ls -al starting with the target then going up on directory in turn. If you start getting lots of ??? in the output, corruption is almost certain. Paul's suggestion of running lsof may be valid too. If a process had a lock n a file that was then deleted, the file wouldn't show up in ls but would prevent the directory being deleted until the lock was released. If you don't want to mess around with lsof and tracking down the process, a reboot will solve that one. It seems that the fs was well and truly corrupted. :-( I looked carefully for ? output of ls -la, which is a sure warning something went sideways with the fs, but unfortunately I couldn't find anything wrong. I have tried throughout the day to recover my machine to no avail. I downloaded gcc ebuild and sources from a snapshot and recompiled it using a live cd. The same file problem as reported above arose at least twice. I have so far run fsck three times - everytime it seems to fix the error and then I can delete the rogue directories. Now tell me, is it possible that each time the fs corrupts itself in the same manner - i.e. at the /var/tmp/portage/sys-devel/... ? I found that /, /var and /usr/portage were corrupted. Each one on its own separate partition. Each one on a reiser4 type fs ... Smartmontools doesn't show any failures/errors. Is reiser4 prone to corruption? Thankfully my home partition and a large data partition both on reiser4 are OK. -- Regards, Mick
[gentoo-user] http://myhost.com is not redirected to http://www.myhost.com
Hi, I have some problem with apache virtual hosts configuration. When I enter http://www.myhost.com in browser, I get the right page. But when I enter http://myhost.com, I'm redirected to default (other) page on the server. Where could be the problem? Should not the ServerAlias directive take care of it? Jarry # more /etc/apache2/vhosts.d/30_myhost_vhost.conf VirtualHost *:80 ServerName www.myhost.com ServerAlias myhost.com Include /etc/apache2/vhosts.d/myhost_vhost.include IfModule mpm_peruser_module ServerEnvironment apache apache /IfModule /VirtualHost # more /etc/apache2/vhosts.d/myhost_vhost.include ServerAdmin root@myhost.com DocumentRoot /var/www/myhost/htdocs Directory /var/www/myhost/htdocs Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all /Directory IfModule alias_module ScriptAlias /cgi-bin/ /var/www/myhost/cgi-bin/ /IfModule Directory /var/www/myhost/cgi-bin AllowOverride None Options None Order allow,deny Allow from all /Directory (Note: my real domain name is substituted with myhost) -- ___ This mailbox accepts e-mails only from selected mailing-lists! Everything else is considered to be spam and therefore deleted.
Re: [gentoo-user] http://myhost.com is not redirected to http://www.myhost.com
On Tue, Jun 8, 2010 at 1:53 PM, Jarry mr.ja...@gmail.com wrote: Hi, I have some problem with apache virtual hosts configuration. When I enter http://www.myhost.com in browser, I get the right page. But when I enter http://myhost.com, I'm redirected to default (other) page on the server. Where could be the problem? Should not the ServerAlias directive take care of it? I'm not an expert, but what IP do you have pointing to each hostname (www. and non-www.)? I know with my DNS service I make sure that the same IP points to both, where one is the A-record and the other is a Alias/CNAME. HTH, -Neal
Re: [gentoo-user] OT: DVD-Container ?
On Tue, 8 Jun 2010 20:41:52 +0200, meino.cra...@gmx.de wrote: ...may be I have used my brain today for too long and more sleep than hacking,but 8) 4.3*1024 = 4403.2 = 4.403 Try 4.3*1024*1024*1024 -- Neil Bothwick I think not, said Descartes, and promptly disappeared. signature.asc Description: PGP signature
Re: [gentoo-user] /var/tmp/portage not empty?
On 8 June 2010 18:42, Mick michaelkintz...@gmail.com wrote: On 8 June 2010 10:47, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 7 Jun 2010 23:46:19 +0200, Alan McKinnon wrote: Neil is likely correct - filesystem corruption. A quick easy way to check is to run ls -al starting with the target then going up on directory in turn. If you start getting lots of ??? in the output, corruption is almost certain. Paul's suggestion of running lsof may be valid too. If a process had a lock n a file that was then deleted, the file wouldn't show up in ls but would prevent the directory being deleted until the lock was released. If you don't want to mess around with lsof and tracking down the process, a reboot will solve that one. It seems that the fs was well and truly corrupted. :-( I looked carefully for ? output of ls -la, which is a sure warning something went sideways with the fs, but unfortunately I couldn't find anything wrong. I have tried throughout the day to recover my machine to no avail. I downloaded gcc ebuild and sources from a snapshot and recompiled it using a live cd. The same file problem as reported above arose at least twice. I have so far run fsck three times - everytime it seems to fix the error and then I can delete the rogue directories. Now tell me, is it possible that each time the fs corrupts itself in the same manner - i.e. at the /var/tmp/portage/sys-devel/... ? I found that /, /var and /usr/portage were corrupted. Each one on its own separate partition. Each one on a reiser4 type fs ... Smartmontools doesn't show any failures/errors. Is reiser4 prone to corruption? Thankfully my home partition and a large data partition both on reiser4 are OK. I used dd to zero the partitions, formatted them afresh (again with reiser4) and then installed gcc-4.4.3-r2 with the Live-CD as part of re-installing my system. I couldn't believe my eyes where I saw this at the end of the emerge: === /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3/g++ - x86_64-pc-linux-gnu-g++ /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3/gcc - x86_64-pc-linux-gnu-gcc /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3/gfortran - x86_64-pc-linux-gnu-gfortran * Switching native-compiler to x86_64-pc-linux-gnu-4.4.3 ... [ ok ] * If you have issues with packages unable to locate libstdc++.la, * then try running 'fix_libtool_files.sh' on the old gcc versions. Regenerating /etc/ld.so.cache... rm: cannot remove `/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale': Directory not empty === To save me from losing it, can you please tell me if your /var/tmp/portage has such a stale file in there following your emerge of gcc-4.4.3-r2 ? Surely I can't blame the fs this time? -- Regards, Mick
Re: [gentoo-user] /var/tmp/portage not empty?
On Tue, Jun 8, 2010 at 2:01 PM, Mick michaelkintz...@gmail.com wrote: On 8 June 2010 18:42, Mick michaelkintz...@gmail.com wrote: On 8 June 2010 10:47, Neil Bothwick n...@digimed.co.uk wrote: On Mon, 7 Jun 2010 23:46:19 +0200, Alan McKinnon wrote: Neil is likely correct - filesystem corruption. A quick easy way to check is to run ls -al starting with the target then going up on directory in turn. If you start getting lots of ??? in the output, corruption is almost certain. Paul's suggestion of running lsof may be valid too. If a process had a lock n a file that was then deleted, the file wouldn't show up in ls but would prevent the directory being deleted until the lock was released. If you don't want to mess around with lsof and tracking down the process, a reboot will solve that one. It seems that the fs was well and truly corrupted. :-( I looked carefully for ? output of ls -la, which is a sure warning something went sideways with the fs, but unfortunately I couldn't find anything wrong. I have tried throughout the day to recover my machine to no avail. I downloaded gcc ebuild and sources from a snapshot and recompiled it using a live cd. The same file problem as reported above arose at least twice. I have so far run fsck three times - everytime it seems to fix the error and then I can delete the rogue directories. Now tell me, is it possible that each time the fs corrupts itself in the same manner - i.e. at the /var/tmp/portage/sys-devel/... ? I found that /, /var and /usr/portage were corrupted. Each one on its own separate partition. Each one on a reiser4 type fs ... Smartmontools doesn't show any failures/errors. Is reiser4 prone to corruption? Thankfully my home partition and a large data partition both on reiser4 are OK. I used dd to zero the partitions, formatted them afresh (again with reiser4) and then installed gcc-4.4.3-r2 with the Live-CD as part of re-installing my system. I couldn't believe my eyes where I saw this at the end of the emerge: === /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3/g++ - x86_64-pc-linux-gnu-g++ /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3/gcc - x86_64-pc-linux-gnu-gcc /usr/x86_64-pc-linux-gnu/gcc-bin/4.4.3/gfortran - x86_64-pc-linux-gnu-gfortran * Switching native-compiler to x86_64-pc-linux-gnu-4.4.3 ... [ ok ] * If you have issues with packages unable to locate libstdc++.la, * then try running 'fix_libtool_files.sh' on the old gcc versions. Regenerating /etc/ld.so.cache... rm: cannot remove `/var/tmp/portage/sys-devel/gcc-4.4.3-r2/work/gcc-4.4.3/libjava/classpath/resource/gnu/java/locale': Directory not empty === To save me from losing it, can you please tell me if your /var/tmp/portage has such a stale file in there following your emerge of gcc-4.4.3-r2 ? Surely I can't blame the fs this time? Bizarre - out of curiousity, since you've already wiped the partition once - what happens if you dd/wipe/reformat again, but with ext2 or something similarly basic (and non-experimental)? -- Regards, Mick
Re: [gentoo-user] /var/tmp/portage not empty?
On 8 June 2010 21:10, James Ausmus james.aus...@gmail.com wrote: On Tue, Jun 8, 2010 at 2:01 PM, Mick michaelkintz...@gmail.com wrote: To save me from losing it, can you please tell me if your /var/tmp/portage has such a stale file in there following your emerge of gcc-4.4.3-r2 ? Surely I can't blame the fs this time? Bizarre - out of curiousity, since you've already wiped the partition once - what happens if you dd/wipe/reformat again, but with ext2 or something similarly basic (and non-experimental)? I'm two hours into an install now and would not really like to do that. However, if I am faced with another fs failure after I reboot, I will soon conclude that I have a hardware problem. The only catch is that the OEM Windows 7 fs has not exhibited any problems yet, because I've only booted into it a dozen times so far. Not even sure if I can claim from the warranty for this laptop. -- Regards, Mick
Re: [gentoo-user] Remotely working on Gentoo systems
On 08/06/10 16:48, J. Roeleveld wrote: On Tuesday 08 June 2010 02:14:55 Jake Moe wrote: I've got two Gentoo boxes, and would like to run X apps from both on one display. From reading up on it, it appears that while this is possible, it's also not recommended from a security standpoint, and the few HOWTOs I've found for it seem to be 4-6 years old. Can anyone tell me: Security: Yes, it is not recommended, however, if you trust everyone who can connect to your network, then it is safe enough. a) if this is a good idea in the first place, Depends on what you want to achieve. If you have only one screen and/or one machine with a decent graphics card then it does make sense. However, X is a very inefficient protocol. Eg. it can clog the network. b) should I be looking at VNC instead of remote X, Maybe, but VNC puts the remote screen in a window. c) is there another option I should be looking at, and Yes :) d) if there is a good HOWTO on setting up whichever is the best to use on a recent Gentoo system? I use X-tunneling with ssh. To get this to work, start with trying the following: (machineA has screen, machineB is screenless) on machineA # ssh -Y machineB then, on machineB, start the program you want displaying on machineA, for instance firefox. This is both easier to implement and also removes the security issues as ssh is encrypted. HTH, Joost Roeleveld j...@aus10224 ~ $ ssh -Y jhb5970 Password: Last login: Wed Jun 9 08:05:09 EST 2010 from 192.168.0.114 on pts/0 j...@jhb5970 ~ $ firefox Error: no display specified j...@jhb5970 ~ $ konqueror konqueror: cannot connect to X server j...@jhb5970 ~ $ Did I not do it right? jhb5970 is not screenless, it's a laptop, but it's easier to use only one pane of glass. I'll probably only want to do this when machineA is, say, emerging updates, but I want to do something CPU-intensive on that computer, so I can utilize the idle machineB. Make sense? Jake Moe
[gentoo-user] Re: /var/tmp/portage not empty?
On 06/08/2010 11:42 AM, Mick wrote: It seems that the fs was well and truly corrupted. :-( Is reiser4 prone to corruption? I know zero about reiserfs, so I'm uniquely qualified to make suggestions :) Did you do any/some/all of the steps mentioned here?: http://www.cyberciti.biz/tips/repairing-reiserfs-file-system-with-reiserfsck.html I'd hope that the reiser utilities might give you some useful error messages.
Re: [gentoo-user] Remotely working on Gentoo systems
Jake Moe writes: j...@aus10224 ~ $ ssh -Y jhb5970 Password: Last login: Wed Jun 9 08:05:09 EST 2010 from 192.168.0.114 on pts/0 j...@jhb5970 ~ $ firefox Error: no display specified j...@jhb5970 ~ $ konqueror konqueror: cannot connect to X server j...@jhb5970 ~ $ Try echo $DISPLAY, this should give something like localhost:10.0. If it is empty, the forwarding did not work. I guess you have to set X11Forwarding to yes in /etc/ssh/sshd_config on jhb5970, and restart ssh with /etc/init.d/sshd restart. /etc/init.d/sshd reload should also work. Wonko
Re: [gentoo-user] Remotely working on Gentoo systems
On Wed, 09 Jun 2010 09:36:33 +1000, Jake Moe wrote: j...@aus10224 ~ $ ssh -Y jhb5970 Password: Last login: Wed Jun 9 08:05:09 EST 2010 from 192.168.0.114 on pts/0 j...@jhb5970 ~ $ firefox Error: no display specified j...@jhb5970 ~ $ konqueror konqueror: cannot connect to X server j...@jhb5970 ~ $ Have you enabled X forwarding in sshd_config, it's disabled by default. -- Neil Bothwick [unwieldy legal disclaimer would go here - feel free to type your own] signature.asc Description: PGP signature
Re: [gentoo-user] Remotely working on Gentoo systems
On 09/06/10 09:58, Alex Schuster wrote: Jake Moe writes: j...@aus10224 ~ $ ssh -Y jhb5970 Password: Last login: Wed Jun 9 08:05:09 EST 2010 from 192.168.0.114 on pts/0 j...@jhb5970 ~ $ firefox Error: no display specified j...@jhb5970 ~ $ konqueror konqueror: cannot connect to X server j...@jhb5970 ~ $ Try echo $DISPLAY, this should give something like localhost:10.0. If it is empty, the forwarding did not work. I guess you have to set X11Forwarding to yes in /etc/ssh/sshd_config on jhb5970, and restart ssh with /etc/init.d/sshd restart. /etc/init.d/sshd reload should also work. Wonko Excellent, thanks for that. I had read about that config option, but it sounded like it only needed to be set if you wanted all ssh connections globally to have X11Forwarding turned on, or you use ssh -Y for a single connection. Jake Moe
[gentoo-user] Joomla
Is anyone able to point me at a definitive write-up of Joomla on Gentoo (amd64)? Any recommend use flags or other tips from those who have set this up to get the best from this package? Thanks Sean