Re: [gentoo-user] Re: ruby gems
On Thu, 22 Nov 2007 03:20:42 + (UTC), Thufir wrote: If I'm interpreting eix correctly there's not even an option to unmask 1.2.5 (which shouldn't need unmasking). You need to sync, 1.2.5 is in the tree and stable according to eix here. % eix -e rails * dev-ruby/rails Available versions: (1.1) 1.1.6 (~)1.1.6-r2 (1.2) (~)1.2.3 (~)1.2.3-r1 (~)1.2.4 1.2.5 Homepage:http://www.rubyonrails.org Description: ruby on rails is a web-application and persistance framework -- Neil Bothwick Top Oxymorons Number 22: Childproof signature.asc Description: PGP signature
[gentoo-user] mount cdrom: No buffer space available
I'm going by http://www.gentoo.org/doc/en/handbook/handbook-x86.xml? part=1chap=8 to mount the cdrom and cdrw drives, but it's failing. There are two optical drives: a CD-ROM and a CD-R/W; both drives work physically. When I enter mount /mnt/cdrom1 or mount /mnt/cdrw1 then I hear a drive spin before it fails, but mount /dev/cdrom doesn't cause any noise. They all fail, error messages: arrakis ~ # arrakis ~ # arrakis ~ # ll /dev/cd* lrwxrwxrwx 1 root root 3 Nov 21 23:36 /dev/cdrom - hdc lrwxrwxrwx 1 root root 3 Nov 21 23:36 /dev/cdrom1 - hdd lrwxrwxrwx 1 root root 3 Nov 21 23:36 /dev/cdrw1 - hdd arrakis ~ # arrakis ~ # cat /etc/fstab /dev/cdrom /mnt/cdrom autonoauto,user 0 0 /dev/cdrom1 /mnt/cdrom1 autonoauto,user 0 0 /dev/cdrw1 /mnt/cdrw1 autonoauto,user 0 0 /dev/hdb1 /boot ext2defaults1 2 /dev/hdb2 noneswapsw 0 0 /dev/hdb3 / ext3noatime 0 1 none/proc procdefaults0 0 none/dev/shmtmpfs defaults0 0 /dev/VolGroup00/LogVol00/mnt/VolGroup00/LogVol00ext3 users,rw0 0 arrakis ~ # arrakis ~ # mount -a arrakis ~ # arrakis ~ # mount /mnt/cdrom mount: block device /dev/cdrom is write-protected, mounting read-only mount: No buffer space available arrakis ~ # arrakis ~ # mount /mnt/cdrom1 mount: block device /dev/cdrom1 is write-protected, mounting read-only mount: No buffer space available arrakis ~ # arrakis ~ # mount /mnt/cdrw1 mount: block device /dev/cdrw1 is write-protected, mounting read-only mount: No buffer space available arrakis ~ # thanks, Thufir -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: ruby gems
Thufir [EMAIL PROTECTED] wrote: On Thu, 22 Nov 2007 02:47:24 +, Thufir wrote: Now, http://packages.gentoo.org/package/dev-ruby/rails?full_cat shows that 1.2.5 is stable, though. 1.8.6_p110-r1 looks to be latest stable release of ruby available through portage for x86 systems. arrakis ~ # eix rails [I] dev-ruby/rails Available versions: (1.1) 1.1.6 ~1.1.6-r1 (1.2) ~1.2.0 ~1.2.1 ~1.2.2 ~1.2.3 Installed versions: 1.1.6(1.1)(18:31:16 11/21/07)(doc fastcgi mysql -postgres sqlite -sqlite3) Homepage:http://www.rubyonrails.org Description: ruby on rails is a web-application and persistance framework arrakis ~ # [EMAIL PROTECTED] ~ $ eix rails * app-admin/eselect-rails Available versions: 0.10 Homepage:http://www.gentoo.org/ Description: Manages Ruby on Rails symlinks * dev-ruby/rails Available versions: (1.1) 1.1.6 (~)1.1.6-r2 (1.2) (~)1.2.3 1.2.3-r1 (~)1.2.4 1.2.5 {doc fastcgi mysql postgres sqlite sqlite3} Homepage:http://www.rubyonrails.org Description: ruby on rails is a web-application and persistance framework Found 2 matches. [EMAIL PROTECTED] ~ $ date Do 22. Nov 10:13:26 CET 2007 If I'm interpreting eix correctly there's not even an option to unmask 1.2.5 (which shouldn't need unmasking). You need to sync. Alexander -- [EMAIL PROTECTED] mailing list
[gentoo-user] Samba basics
Hi All, This should be easy to answer, but I have had zero experience with Samba so far and can't readily find the answer: I have set up a Samba server for a small office and used 'browseable No' extensively in the smb.cfg file, to remove a lot of otherwise visible to the Windows clients directories. This has worked but not enough: The Windows file manager still displays the (Linux) user home directory and a file called printers. Is there a way of removing these two items from the Windows client view? These are the few relevant excerpts from the smb.cfg file: # Date: 2007-09-22 [global] workgroup = Hydrodynamiki printing = cups printcap name = cups cups options = raw map to guest = Bad User include = /etc/samba/dhcp.conf logon path = \\%L\profiles\.msprofile logon home = \\%L\%U\.9xprofile logon drive = P: usershare allow guests = No add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$ domain master = No usershare max shares = 100 [homes] comment = Home Directories valid users = %S, %D%w%S browseable = No read only = No inherit acls = Yes [users] comment = All users path = /home/ inherit acls = yes veto files = /aquota.user/groups/shares/ valid users = geoz browsable = No case sensitive = no strict locking = no msdfs proxy = no [printers] comment = All Printers path = /var/tmp printable = Yes create mask = 0600 browseable = No -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] {OT} Weird image-serving behavior
On Wednesday 21 November 2007, Grant wrote: There is a photo on my website that has been served perfectly for a long time but today I noticed it wasn't being served and there were no errors printed in apache2's error_log (or ssl_error_log). I downloaded the file, opened it locally just fine, uploaded it again, and it has since been served perfectly again. There is nothing unusual about the image. Has anyone seen anything like that before? Could this indicate a hard drive or memory problem? What browser were you using for this? I have been experiencing problems with Konqueror over the last month or so. It will intermittently fail to download parts of webpages (mostly images). Other browsers did not seem to have a problem. Another looong shot may have to do with pmtu discovery and the possibility that your server was under 'ping attack', which could have caused its firewall to drop all pings, inc. those from your client. This would only be valid if your client MTU is less than 1500. I wouldn't hang my coat on this, but it sounds like a good conspiracy theory anyway . . . :p -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Is my hard drive sick?
But I was thinking: if my old drive is 200 Gb and my new drive is 320 Gb, what happens to the partition table? That is, the old partition table will refer to a 200 Gb disk, on a 320 Gb disk. What happens to the 120 Gb left? Are they recognized as an empty partition? Are they left unrecognized? Maybe I should just dd the MBR and then repartition the disk and use cp for the rest. You'll need to fdisk it with a LiveCD and delete the old small partition, then create a new one in its place occupying the rest of the new larger disk. *BE VERY CAREFUL* to start the new partition *exactly* where the old one starts. Finally, reboot (to read the new partition table) and resize the fs to fit the expanded available physical space. Hmm. Guess I'll just dd the 512-mb grub bootloader and then proceed by copying everything in new partitions, all from a livecd. m. -- [EMAIL PROTECTED] mailing list
[gentoo-user] udevd-event 'error'
Greetings. I am getting a message when I boot, I suppose it would be called an error, but the system is still working. Anyhow, message is: udevd-event [2625]: node_symlink: rename ( /dev/fb.udev-tmp, /dev/fb) failed: is a directory Now, there is a /dev/fb on my system, and it is a directory. Thus, am I right that udevd is trying to rename /dev/fb but cannot do so because it is a directory not a file? I tried the google/linux thing for the error message and got nothing at all. Grr Suggestions on how to proceed please? Thanks so very much. -- On The Fly Photography -:- Creation From Chaos On The Fly Photography: http://204EastSouth.com Purchase from On The Fly: http://204EastSouth.com/OTFStore.htm The Cynical Libertarian Society: http://www.204EastSouth.com/cls -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: ruby gems
Hi, On Thu, 22 Nov 2007 03:20:42 + (UTC) Thufir [EMAIL PROTECTED] wrote: arrakis ~ # eix rails [I] dev-ruby/rails Available versions: (1.1) 1.1.6 ~1.1.6-r1 (1.2) ~1.2.0 ~1.2.1 ~1.2.2 ~1.2.3 Installed versions: 1.1.6(1.1)(18:31:16 11/21/07)(doc fastcgi mysql -postgres sqlite -sqlite3) Besides what you were told already (sync portage to see 1.2.5), you can see above that rails is slotted. So as long as you don't explicitly emerge it, it will keep the 1.1 and 1.2 slots separate and will only update within each of the slots. So if you want 1.2.x, emerge it (and then remove the 1.1 version, if you need/want to). -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Samba basics
On 22 Nov 2007, at 08:43, Mick wrote: ... I have set up a Samba server for a small office and used 'browseable No' extensively in the smb.cfg file, to remove a lot of otherwise visible to the Windows clients directories. My experience is that stuff like this is not completely-obvious-to- newcomers in Samba, and I wouldn't rely on it working just like you might expect. You might consider posting on the Samba mailing lists, which are quite busy. The Windows file manager still displays the (Linux) user home directory and a file called printers. Is there a way of removing these two items from the Windows client view? The easy way to do this is to remove the [homes] [printers] sections of your smb.conf (NOT smb.cfg, on my system), but of course that also prevents access to them. Stroller -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] mount cdrom: No buffer space available
On 22 Nov 2007, at 09:18, Thufir wrote: ... arrakis ~ # arrakis ~ # mount -a arrakis ~ # arrakis ~ # mount /mnt/cdrom mount: block device /dev/cdrom is write-protected, mounting read-only mount: No buffer space available arrakis ~ # arrakis ~ # mount /mnt/cdrom1 mount: block device /dev/cdrom1 is write-protected, mounting read-only mount: No buffer space available arrakis ~ # arrakis ~ # mount /mnt/cdrw1 mount: block device /dev/cdrw1 is write-protected, mounting read-only mount: No buffer space available arrakis ~ # ... A Google seems to suggest that mount: No buffer space available is commonly returned when the device is already mounted. The manpage for `mount` indicates that `mount -a` will mount all devices listed in /etc/fstab, so your output suggests to me that the CD drives are mounted when you issue this command - no wonder they fail when you try to mount them again separately! I don't use optical drives very much under Linux, so please forgive me if I'm mistaken. I'd think that `df` would show the mount status of optical drives, so IMO it'd be useful to post the output of `mount -va df mount -v /mnt/cdrom` Stroller. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Ghostscript - font path
Hi, On Wed, 21 Nov 2007 19:25:48 -0700 Joseph [EMAIL PROTECTED] wrote: gs -h gives me the following font path for Ghostscript Search path: [...] Where these paths are coming from? Compiled into the binary? According to documentation: /usr/share/doc/ghostscript-esp-8.15.3/html/Use.htm The documentation only mention Xfree86 display servers but I would imagine is it is applicable to Xorg as well. So, the fonts path from xorg.conf should be searchable by Ghostscript as well but they are not. Hm? What makes you think so? BTW, X11 output is just one driver in Ghostscript. It doesn't have to be present at all. So the connection between GS and X is only a thin line... Ghostscript doesn't know anything about them; as one of the pdf document was giving me an error, I couldn't convert from pdf2ps it was looking for: gbsn00lp.ttf font I have this font in /usr/share/fonts/arphicfonts/ Only when I created a link in: /usr/share/fonts/default/ghostscript/ ln -s /usr/share/fonts/arphicfonts/gbsn00lp.ttf gbsn00lp.ttf to this font it converted from pdf2ps Yes, might happen. But it is common sense that you should embed all needed fonts into the PDF anyway. For older versions of PDFs there was an exception for the Base14 fonts, and those are (by means of replacement versions) accessible from GS' own font store (the path you said is present and works). You never know at a later point in time whether you have the right font, with the right encoding: even if the name matches you can't be sure. Shouldn't gs -h show list of path fonts from xorg.conf file? No. If you run it that way, there's no X needed anyway. And gs -h should just show what is configured. -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] {OT} Weird image-serving behavior
There is a photo on my website that has been served perfectly for a long time but today I noticed it wasn't being served and there were no errors printed in apache2's error_log (or ssl_error_log). I downloaded the file, opened it locally just fine, uploaded it again, and it has since been served perfectly again. There is nothing unusual about the image. Has anyone seen anything like that before? Could this indicate a hard drive or memory problem? What browser were you using for this? I have been experiencing problems with Konqueror over the last month or so. It will intermittently fail to download parts of webpages (mostly images). Other browsers did not seem to have a problem. Another looong shot may have to do with pmtu discovery and the possibility that your server was under 'ping attack', which could have caused its firewall to drop all pings, inc. those from your client. This would only be valid if your client MTU is less than 1500. I wouldn't hang my coat on this, but it sounds like a good conspiracy theory anyway . . . :p Hi Mick, I was using firefox 2.0.0.9 to view the image online and locally. Weird - Grant -- [EMAIL PROTECTED] mailing list
[gentoo-user] Who sets the USER environment variable?
Hi all, I wonder if querying the USER env variable is a reliable way to get the login name of the user who started an application, on all authentication methods - passwd, NIS or LDAP based authentication. So who sets this variable? is it PAM? is it some login script? Best Regards, Dorin Scutarasu -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: mount cdrom: No buffer space available
On Thu, 22 Nov 2007 15:20:43 +, Stroller wrote: A Google seems to suggest that mount: No buffer space available is commonly returned when the device is already mounted. Oh, I wasn't finding that or didn't know how to interpret it. The manpage for `mount` indicates that `mount -a` will mount all devices listed in /etc/fstab, so your output suggests to me that the CD drives are mounted when you issue this command - no wonder they fail when you try to mount them again separately! Yes, I concur with everything above. However, I guess I left out the fact that there's a disc in each drive; the discs are readable. arrakis ~ # arrakis ~ # mount -a arrakis ~ # arrakis ~ # mount /dev/hdb3 on / type ext3 (rw,noatime) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw,nosuid,nodev,noexec) udev on /dev type tmpfs (rw,nosuid) devpts on /dev/pts type devpts (rw,nosuid,noexec) /dev/hdb1 on /boot type ext2 (rw) none on /dev/shm type tmpfs (rw) /dev/mapper/VolGroup00-LogVol00 on /mnt/VolGroup00/LogVol00 type ext3 (rw,noexec,nosuid,nodev) usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85) arrakis ~ # arrakis ~ # mount -va df mount -v /mnt/cdrom mount: /dev/hdb1 already mounted on /boot mount: none already mounted on /dev/shm mount: /dev/VolGroup00/LogVol00 already mounted on /mnt/VolGroup00/ LogVol00 mount: proc already mounted arrakis ~ # arrakis ~ # ll /mnt/ total 20 drwxr-xr-x 3 root root 4096 Oct 7 00:17 VolGroup00 drwx-- 2 root root 4096 Jul 26 02:54 cdrom drwxr-xr-x 2 root root 4096 Nov 22 00:37 cdrom1 drwxr-xr-x 2 root root 4096 Nov 21 23:54 cdrw1 drwx-- 2 root root 4096 Jul 26 02:54 floppy arrakis ~ # arrakis ~ # ll /mnt/cdrom total 0 arrakis ~ # arrakis ~ # ll /mnt/cdrom1 total 0 arrakis ~ # arrakis ~ # ll /mnt/cdrw1 total 0 arrakis ~ # arrakis ~ # thanks, Thufir -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: gtkpod won't start
On Thu, 22 Nov 2007 07:46:33 +0100, Dirk Heinrichs wrote: So, what does echo $DISPLAY show? Also helpfull would be the output of ps -ef|grep X. How do you start X, via display manager (gdm, xdm, kdm,...) or with startx after text console login? Quick response: display manager: gdm I believe. [EMAIL PROTECTED] ~ $ whoami thufir [EMAIL PROTECTED] ~ $ [EMAIL PROTECTED] ~ $ echo $DISPLAY [EMAIL PROTECTED] ~ $ [EMAIL PROTECTED] ~ $ ps -ef|grep X root 6927 6924 4 07:50 tty7 00:00:47 /usr/bin/X :0 -audit 0 - auth /var/gdm/:0.Xauth -nolisten tcp vt7 thufir7965 7957 0 08:06 pts/000:00:00 grep --color=auto X [EMAIL PROTECTED] ~ $ thanks, Thufir -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Samba basics
Thanks Stroller, On Thursday 22 November 2007, Stroller wrote: On 22 Nov 2007, at 08:43, Mick wrote: ... My experience is that stuff like this is not completely-obvious-to- newcomers in Samba, and I wouldn't rely on it working just like you might expect. Hmm, I know what you mean! :) You might consider posting on the Samba mailing lists, which are quite busy. Thanks, I'll look into it. The Windows file manager still displays the (Linux) user home directory and a file called printers. Is there a way of removing these two items from the Windows client view? The easy way to do this is to remove the [homes] [printers] sections of your smb.conf (NOT smb.cfg, on my system), but of course that also prevents access to them. Is there a way to do this selectively for different users? Some cannot be trusted to even look after their own linux home directories and leaving them visible will give rise to unnecessary queries. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Chroot question
Anthony E. Caudel wrote: I have an AMD64 chip and have separate Gentoo x86 and x86_64 distros. Gentoo has a 32Bit Chroot Guide for Gentoo/AMD64 but this guide only discusses setting up a separate 32bit environment within the 64bit Gentoo. I was wondering if it could be used, suitably modified, to chroot from my x86_64 bit distro to my x86 distro. Will it mess up one or the other? Tony You should be fine as long as you ignore the installation steps. Just make sure you have the proper options in the 64 bit kernel and use the proper chroot command. PaulNM -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: gtkpod won't start
Am Donnerstag 22 November 2007 schrieb Thufir: [EMAIL PROTECTED] ~ $ echo $DISPLAY [EMAIL PROTECTED] ~ $ So it's unset, which is the reason for the error you get from gtkpod. It doesn't know on which display to open. Try setting it :0 (export DISPLAY=:0) before you run the command. However, I'm still wondering why it is unset, because the display manager should take care of setting it correctly. HTH... Dirk signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Ghostscript - font path
On 11/22/07 15:57, Hans-Werner Hilse wrote: Thank you for the input, at least I'm getting some feedback. In the past everything worked so I take it for granted; only if things break I'm trying to get to the bottom. gs -h gives me the following font path for Ghostscript Search path: [...] Where these paths are coming from? Compiled into the binary? Not a good solution but, it would be better if we input the path via a config file. Yes, might happen. But it is common sense that you should embed all needed fonts into the PDF anyway. For older versions of PDFs there was an exception for the Base14 fonts, and those are (by means of replacement versions) accessible from GS' own font store (the path you said is present and works). You never know at a later point in time whether you have the right font, with the right encoding: even if the name matches you can't be sure. I think this is the clue. Well, if I generate the PDF file on Linux the fonts are embedded in every PDF document when I received the file from somebody else the fonts most of the time are not embedded. I have one document I received (pdf file) it printed fine two weeks ago; when I try to re-printed it I can not, and I know it is a font problem: egsample when I run pdf2ps file.pdf I get: Warning: Fonts with Subtype = /TrueType should be embedded. But TimesNewRomanPSMT is not embedded. Warning: Fonts with Subtype = /TrueType should be embedded. But TimesNewRomanPS-BoldMT is not embedded. Warning: Fonts with Subtype = /TrueType should be embedded. But ArialMT is not embedded. How can they configure their system on Windows so the fonts are embedded? What puzzle me is that this document printed fine two weeks ago and all of a sudden I'm getting an error so I'm looking for a fault on my end. -- #Joseph GPG KeyID: ED0E1FB7 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Ghostscript - font path
Where do you put GS_FONTPATH= I was trying to put it in .bashrc (re-log) didn't work; in /etc/profile env-update source /etc/profile export GS_FONTPATH=/usr/share/fonts/misc:/usr/share/fonts/75dpi:/usr/share/fonts/100dpi:/usr/share/fonts/Speedo No difference, gs -h doesn't show these paths. -- #Joseph GPG KeyID: ED0E1FB7 -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Ghostscript - font path
Hi, On Thu, 22 Nov 2007 10:13:50 -0700 Joseph [EMAIL PROTECTED] wrote: gs -h gives me the following font path for Ghostscript Search path: [...] Where these paths are coming from? Compiled into the binary? Not a good solution but, it would be better if we input the path via a config file. Of course, this is only the basic configuration. You can override this by configuration file or even environment variable (so you can set it up in your .bashrc). The environment variable is GS_FONTPATH. See the use.html document you've already found, it should be explained there. Also have a look at /usr/share/ghostcript/ver/lib/Fontmap.GS, but I don't suggest editing it as it will get overwritten by updates. I'm not sure ATM if there's a standard path for overrides in GS, maybe someone else can comment about this. By the way: the X server probably doesn't know of all fonts either. Take into account that a lot of programs nowadays use fontconfig, which is configured in /etc/fonts. Yes, this is a bit convoluted. Yes, might happen. But it is common sense that you should embed all needed fonts into the PDF anyway. For older versions of PDFs there was an exception for the Base14 fonts, and those are (by means of replacement versions) accessible from GS' own font store (the path you said is present and works). You never know at a later point in time whether you have the right font, with the right encoding: even if the name matches you can't be sure. I think this is the clue. Well, if I generate the PDF file on Linux the fonts are embedded in every PDF document when I received the file from somebody else the fonts most of the time are not embedded. Yeah, that's the culprit if you have to use other peoples' documents... I have one document I received (pdf file) it printed fine two weeks ago; when I try to re-printed it I can not, and I know it is a font problem: egsample when I run pdf2ps file.pdf I get: Warning: Fonts with Subtype = /TrueType should be embedded. But TimesNewRomanPSMT is not embedded. Warning: Fonts with Subtype = /TrueType should be embedded. But TimesNewRomanPS-BoldMT is not embedded. Warning: Fonts with Subtype = /TrueType should be embedded. But ArialMT is not embedded. Ghostscript should mostly be able to recover from those warnings and use replacement fonts here. You might also want to give acroread a try (it has command line options to generate Postscript, IIRC) or pdftops (from poppler/Xpdf). How can they configure their system on Windows so the fonts are embedded? That's hard to tell, and certainly depends on the production chain. For most ways of generating PDF on Windows, there is a configuration option where it is to be expected. I.e. in the printer settings for a PDF-printer style generator, in the save as options for programs saving to PDF natively and so on. What puzzle me is that this document printed fine two weeks ago and all of a sudden I'm getting an error so I'm looking for a fault on my end. Did you do an emerge -u by chance? (Of course, this isn't a fault, but might be the cause, and then, I'd consider it a bug) OTOH, I think most ESP specific code is now in the main development line (ghostscript-gpl). You might want to try this out... The newest release is 8.61 -- released yesterday -- and is not yet in portage. -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Ghostscript - font path
Hi, oops, wrote too long. So here's the follow-up: On Thu, 22 Nov 2007 10:42:54 -0700 Joseph [EMAIL PROTECTED] wrote: Where do you put GS_FONTPATH= I was trying to put it in .bashrc (re-log) didn't work; in /etc/profile env-update source /etc/profile export GS_FONTPATH=/usr/share/fonts/misc:/usr/share/fonts/75dpi:/usr/share/fonts/100dpi:/usr/share/fonts/Speedo No difference, gs -h doesn't show these paths. I don't think it will ever do. It is supposed to just show compiled-in paths, so that you can see what the defaults are. I would set that variable just like you did -- and then give pdf2ps a try. BTW, all paths you have specified are related to bitmap fonts, which Ghostscript will most probably not be able to make any sense of. You should probably rather focus on the corefonts (Microsoft fonts) and TrueType/TTF/Type1 folders. -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Is my hard drive sick?
On Wed, 21 Nov 2007 22:56:38 +0100 b.n. [EMAIL PROTECTED] wrote: Dan Farrell ha scritto: On Tue, 20 Nov 2007 23:25:06 +0100 b.n. [EMAIL PROTECTED] wrote: it is; however if the partition is live the data could be messed up if you read half of an overwritten file or something. in other words, it works really well on partitions that aren't live, and if the partition is live, you could potentially have a bad file. You might even potentially have a bad partition. This all is from my own consideration; I wouldn't bet the house on it. Well, dd-ing live partitions was out of the question -however thanks for the reminder :) I've done it, but can't say as though I intend to do it on any important systems. Too chancy. But I was thinking: if my old drive is 200 Gb and my new drive is 320 Gb, what happens to the partition table? That is, the old partition table will refer to a 200 Gb disk, on a 320 Gb disk. What happens to the 120 Gb left? Are they recognized as an empty partition? Are they left unrecognized? Instead of dd-ing the entire drive, why not repartition the drive as you see fit, creating partitions of the same size, and then dding the actual partitions over to the disk, rather than the whole disk. there's one precaution; make sure the units are the same. most disks I see have a unit size of 8225280 bytes, but a few old drives are different, so be careful. The first time I did this, i kind of documented it here: http://spore.ath.cx/~dan/doc/xpmove.html might be useful to you. Maybe I should just dd the MBR and then repartition the disk and use cp for the rest. you could do that, but dd should be significantly faster, because it reads directly from the platters without going through the filesystem. you could dd the mbr, but I recommend simply re-installing grub to the new drive first. it's about as easy as using dd. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Is my hard drive sick?
On Thu, 22 Nov 2007 13:14:57 +0100 brullo nulla [EMAIL PROTECTED] wrote: But I was thinking: if my old drive is 200 Gb and my new drive is 320 Gb, what happens to the partition table? That is, the old partition table will refer to a 200 Gb disk, on a 320 Gb disk. What happens to the 120 Gb left? Are they recognized as an empty partition? Are they left unrecognized? Maybe I should just dd the MBR and then repartition the disk and use cp for the rest. You'll need to fdisk it with a LiveCD and delete the old small partition, then create a new one in its place occupying the rest of the new larger disk. *BE VERY CAREFUL* to start the new partition *exactly* where the old one starts. Finally, reboot (to read the new partition table) and resize the fs to fit the expanded available physical space. Hmm. Guess I'll just dd the 512-mb grub bootloader and then proceed by copying everything in new partitions, all from a livecd. 512 _bytes_, not MB! and that includes the (first) partition table and boot signature. So really, you only want to copy 446 bytes. http://www.geocities.com/rlcomp_1999/procedures/mbr.html m. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Samba basics
On Nov 22, 2007 2:46 PM, Mick [EMAIL PROTECTED] wrote: Thanks Stroller, On Thursday 22 November 2007, Stroller wrote: On 22 Nov 2007, at 08:43, Mick wrote: ... My experience is that stuff like this is not completely-obvious-to- newcomers in Samba, and I wouldn't rely on it working just like you might expect. Hmm, I know what you mean! :) You might consider posting on the Samba mailing lists, which are quite busy. Thanks, I'll look into it. The Windows file manager still displays the (Linux) user home directory and a file called printers. Is there a way of removing these two items from the Windows client view? The easy way to do this is to remove the [homes] [printers] sections of your smb.conf (NOT smb.cfg, on my system), but of course that also prevents access to them. Is there a way to do this selectively for different users? Some cannot be trusted to even look after their own linux home directories and leaving them visible will give rise to unnecessary queries. What I'll suggest is not directly related to your Samba config problem. It is something I found very useful while setting up my own samba server. I guess there's even a USE flag for it. Its SWAT, its a web based management program to control Samba settings. It is very useful and user-friendly. You should give it a try. -- Daniel da Veiga Filosofia de TI: Programadores de verdade consideram o conceito o que você vê é o que você tem tão ruim em editores de texto quanto em mulheres. Não, o programador de verdade quer um editor de texto do estilo você pediu, você levou - complicado, indecifrável, poderoso, impiedoso, perigoso. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Chroot question
On Tue, 20 Nov 2007 21:33:15 -0600 Anthony E. Caudel [EMAIL PROTECTED] wrote: I have an AMD64 chip and have separate Gentoo x86 and x86_64 distros. Gentoo has a 32Bit Chroot Guide for Gentoo/AMD64 but this guide only discusses setting up a separate 32bit environment within the 64bit Gentoo. I was wondering if it could be used, suitably modified, to chroot from my x86_64 bit distro to my x86 distro. Will it mess up one or the other? No, they won't effect each other, but isn't this generally how a multi-lib system is done? I read a howto years ago but got bored halfway through, and since I didn't need it anyway, I gave up. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Samba basics
On Thu, 22 Nov 2007 16:06:37 -0200 Daniel da Veiga [EMAIL PROTECTED] wrote: SWAT, its a web based management program to control Samba settings. It is very useful and user-friendly. You should give it a try. ++! I am a config file editor generally, but samba is one of the 2 things I don't configure manually (the other being cups). swat is much easier. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] mount cdrom: No buffer space available
On Thu, 22 Nov 2007 15:20:43 + Stroller [EMAIL PROTECTED] wrote: A Google seems to suggest that mount: No buffer space available is commonly returned when the device is already mounted. Possibly, but I think this is unlikely. I have seen the 'already mounted' error many times but never this buffer error. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: gtkpod won't start
On Thu, 22 Nov 2007 02:49:11 + (UTC) Thufir [EMAIL PROTECTED] wrote: I only started googling $DISPLAY, but yes, it's the same user who started the X session. Normally I use GNOME, but will also try just X and KDE. really? in your previous message you pasted: arrakis ~ # gtkpod (gtkpod:11857): Gtk-WARNING **: cannot open display: did you start the X session as root? it's important to differentiate between having permission to write to an X display (xhost permits that) and knowing which display to write to - $DISPLAY will be set to that if you're already in the 'X environment' (it's an environment variable). However, if you su or something, you'll no longer have that environment variable. Generally speaking it should be set to :0 which is equivilent to localhost:0.0 or localhost server, display 0, screen 0. if I were in your position I would say: $ DISPLAY=:0 gtkpod -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Is my hard drive sick?
On Thursday 22 November 2007, brullo nulla wrote: But I was thinking: if my old drive is 200 Gb and my new drive is 320 Gb, what happens to the partition table? That is, the old partition table will refer to a 200 Gb disk, on a 320 Gb disk. What happens to the 120 Gb left? Are they recognized as an empty partition? Are they left unrecognized? Maybe I should just dd the MBR and then repartition the disk and use cp for the rest. You'll need to fdisk it with a LiveCD and delete the old small partition, then create a new one in its place occupying the rest of the new larger disk. *BE VERY CAREFUL* to start the new partition *exactly* where the old one starts. Finally, reboot (to read the new partition table) and resize the fs to fit the expanded available physical space. Hmm. Guess I'll just dd the 512-mb grub bootloader and then proceed by copying everything in new partitions, all from a livecd. It's your call of course, but why don't you just boot from a LiveCD, mount the lot and tar the contents of the suspect disk to the new disk/partitions? The size of the new disk and partitions can be anything you like, as long as they are not smaller than the amount of data you are trying to tar into them. Then you can run grub from the LiveCD to install the grub boot code in the MBR of the new disk. Other than the time it'll take you to partition the new disk (and reboot), tar should run faster than dd (it will not be copying over empty space) and it will be essentially defraging your data onto the new partition. You may find that emerge sync runs faster than it used to. The only reason that I would image a drive/partition with dd is if I had some fs corruption and wanted to try offline to fix it. Anyway, just my 2c's. HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] [OT] BBC claim on low numbers of Linux visitors
Although off-topic this should be of interest to most of us (since it is potentially discriminatory against Linux users) and particularly to those of us who visit the BBC website. If you live in the UK you may have one more reason to complain - you pay for the BBC license and you are entitled to have a say as to how your money is being spent! In summary, BBC claims that the low numbers of Linux users visiting its website are not sufficient compared with the numbers of MS Windows users and therefore it will not cater to their OS needs. As a consequence MS Windows specific media players and formats will be the basis of BBC content provision and us Linux users may or may not be able to access it. There is an argument taking place as to how OS' numbers of visitors are identified and counted here: http://www.bbc.co.uk/blogs/bbcinternet/2007/11/linux_figures_1.html http://www.theregister.co.uk/2007/11/02/highfield_bbc_linux_website_users_bafflement/ If you want to sign please see this excerpt below: --- FORWARD THIS TO YOUR FRIENDS --- Hi, I wanted to draw your attention to this important petition that I recently signed: More than 400 UK Linux users read the BBC sites http://www.ipetitions.com/petition/linuxbbc?e I really think this is an important cause, and I'd like to encourage you to add your signature, too. It's free and takes less than a minute of your time. Thanks! - -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Usb device not accepting address x, error -71
Hi, I've just stumbled on a problem with my gentoo-sources kernel (2.6.22-gentoo-r9). My external usb harddrive where I keep my backups does not seem to get recognised by the kernel anymore. I have googled this and have come up with some possible scenarios. None of them seem like they would solve the problem. First, my uhci and ehci is compiled into the kernel (not a module). The same setup has worked fine for a number of 2.6 kernels (since 2-3 years back at least). I've reused the .config file during this time with make oldconfig and going through it manually for each upgrade. Has anyone else encountered this problem, and more importantly has anyone a solution to this? Is it a driver bug? Best regards Peter K -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Is my hard drive sick?
Mick ha scritto: It's your call of course, but why don't you just boot from a LiveCD, mount the lot and tar the contents of the suspect disk to the new disk/partitions? The size of the new disk and partitions can be anything you like, as long as they are not smaller than the amount of data you are trying to tar into them. Then you can run grub from the LiveCD to install the grub boot code in the MBR of the new disk. Other than the time it'll take you to partition the new disk (and reboot), tar should run faster than dd (it will not be copying over empty space) and it will be essentially defraging your data onto the new partition. You may find that emerge sync runs faster than it used to. Yes, that's practically the other option I was thinking today at work (ehm, between data analysis sessions, of course!). Just a thing: why tar and not cp? I'm not that familiar with tar except than for the usual tar -xzv(j)f ... Yes, I'm not an old unix dog... m. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] [OT] BBC claim on low numbers of Linux visitors
Mick wrote: Although off-topic this should be of interest to most of us (since it is potentially discriminatory against Linux users) and particularly to those of us who visit the BBC website. If you live in the UK you may have one more reason to complain - you pay for the BBC license and you are entitled to have a say as to how your money is being spent! In summary, BBC claims that the low numbers of Linux users visiting its website are not sufficient compared with the numbers of MS Windows users and therefore it will not cater to their OS needs. As a consequence MS Windows specific media players and formats will be the basis of BBC content provision and us Linux users may or may not be able to access it. There is an argument taking place as to how OS' numbers of visitors are identified and counted here: http://www.bbc.co.uk/blogs/bbcinternet/2007/11/linux_figures_1.html http://www.theregister.co.uk/2007/11/02/highfield_bbc_linux_website_users_bafflement/ If you want to sign please see this excerpt below: --- FORWARD THIS TO YOUR FRIENDS --- Hi, I wanted to draw your attention to this important petition that I recently signed: More than 400 UK Linux users read the BBC sites http://www.ipetitions.com/petition/linuxbbc?e I really think this is an important cause, and I'd like to encourage you to add your signature, too. It's free and takes less than a minute of your time. Thanks! - Well, I know on my browser, I can tell it to tell the server I am using IE or some other browser. I wonder if other people are doing the same so it will work correctly? I have to do this on the myspace website or I get errors. There may be more Linux users than are getting reported. Oh, yea, I know, I'm on the wrong side of the pond. Dale :-) :-) -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Is my hard drive sick?
On Thu, 22 Nov 2007 12:23:24 -0600, Dan Farrell wrote: you could do that, but dd should be significantly faster, because it reads directly from the platters without going through the filesystem. On the other hand, it copies every byte of the disk, whether in use or not. Unless you have a very full, and fragmented disk, copying only the data you need is likely to be much faster. The one time I used dd to copy an entire disk, it took a day and forever. -- Neil Bothwick Top Oxymorons Number 6: Pretty ugly signature.asc Description: PGP signature
Re: [gentoo-user] Usb device not accepting address x, error -71
On Thu, 22 Nov 2007 22:07:35 +0100, pk wrote: I've just stumbled on a problem with my gentoo-sources kernel (2.6.22-gentoo-r9). My external usb harddrive where I keep my backups does not seem to get recognised by the kernel anymore. How did you configure this kernel? By using an old .config with make oldconfig or doing it from scratch? What does the system log show when you connect the drive (tail -f /var/log/messages)? -- Neil Bothwick We demand rigidly defined areas of doubt and uncertainty! signature.asc Description: PGP signature
Re: [gentoo-user] problems with clipboard separation
Hi Group, [EMAIL PROTECTED] wrote: I have problems with my clipboard, that I never experienced with other Linux distributions: If I do 'mark text; Ctrl-c; mark different text; Ctrl-v' e.g. in Eclipse the second selection is not overwritten by the content of the first selection. It seems that the clipboard content is overwritten as soon as I mark text. This behaviour is not depending on the window manager/ desktop environment (I tried fvwm and kde), so it is probably some X configuration stuff. As far as I have understood, there are 2 different clipboards with one being changed as soon as you mark text (pasting at mouse-middle-click) and the other is changed by pressing Ctrl-c (pasting at Ctrl-v). Is that correct? If so, then it seems that for me mouse-selection and Ctrl-c write into the same buffer. Can anyone give me a hint, where to look for the possibility to change this behaviour? I just wanted to tell you, that I solved the problem now. Starting with the answer that the clipboard in KDE is configurable to use different buffers, I changed this setting and it worked then in KDE. After that I tried to work out, why it didn't work in fvwm over then, but I simply couldn't reproduce this behaviour. My apologies for the wrong starting point in the discussion. The problem was simply a KDE problem and nothing else. Cheers, Heinz -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Samba basics
Mick pisze: Thanks Stroller, On Thursday 22 November 2007, Stroller wrote: On 22 Nov 2007, at 08:43, Mick wrote: ... My experience is that stuff like this is not completely-obvious-to- newcomers in Samba, and I wouldn't rely on it working just like you might expect. Hmm, I know what you mean! :) You might consider posting on the Samba mailing lists, which are quite busy. Thanks, I'll look into it. The Windows file manager still displays the (Linux) user home directory and a file called printers. Is there a way of removing these two items from the Windows client view? The easy way to do this is to remove the [homes] [printers] sections of your smb.conf (NOT smb.cfg, on my system), but of course that also prevents access to them. Is there a way to do this selectively for different users? Some cannot be trusted to even look after their own linux home directories and leaving them visible will give rise to unnecessary queries. I remember that there is an option to include selective config files based on conditions - it's been some time since my last samba installation (a complex one) but it looked something like this include /etc/samba/hostname.cfg It's just of the to of my head, but You should get the idea, in the example above, if a host with certain hostname was connecting to samba server, a specific file was included. Unfortunatelly I don't remeber exact syntax, and tons of other things - I just suggest looking in this direction regards dexter -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: gtkpod won't start
On Thu, 22 Nov 2007 12:37:28 -0600, Dan Farrell wrote: did you start the X session as root? it's important to differentiate between having permission to write to an X display (xhost permits that) and knowing which display to write to - $DISPLAY will be set to that if you're already in the 'X environment' (it's an environment variable). However, if you su or something, you'll no longer have that environment variable. I was using su and so was losing that environment variable :( [EMAIL PROTECTED] ~ $ gtkpod [EMAIL PROTECTED] ~ $ [EMAIL PROTECTED] ~ $ echo $DISPLAY :0.0 [EMAIL PROTECTED] ~ $ which brings up gtkpod correctly. Thank you, pardon I had no idea that I was leaving out relevant information. -Thufir -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Is my hard drive sick?
On Thursday 22 November 2007, b.n. wrote: Mick ha scritto: It's your call of course, but why don't you just boot from a LiveCD, mount the lot and tar the contents of the suspect disk to the new disk/partitions? The size of the new disk and partitions can be anything you like, as long as they are not smaller than the amount of data you are trying to tar into them. Then you can run grub from the LiveCD to install the grub boot code in the MBR of the new disk. Other than the time it'll take you to partition the new disk (and reboot), tar should run faster than dd (it will not be copying over empty space) and it will be essentially defraging your data onto the new partition. You may find that emerge sync runs faster than it used to. Yes, that's practically the other option I was thinking today at work (ehm, between data analysis sessions, of course!). Just a thing: why tar and not cp? I'm not that familiar with tar except than for the usual tar -xzv(j)f ... Yes, I'm not an old unix dog... tar is the de facto archiving command, but you are right cp -a will do the trick too. I am more accustomed to do such things with tar which has options for compressing the data (useful if you are ssh-ing it to another machine). Not sure which one is faster. On the same machine there's no point in compressing it. cd into the partition you want to copy and run something like $ tar lcpvf - . | (cd /other/area/store; tar -xpvf - ) That ought to do it. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] Issues pinging localhost and starting apache.
*I first encounter this problem while trying to setup Apache for my machine. I only want it to run locally on my network. First issue, I try to start Apache and have it listen to port 80 but it won't start with the error:* apache2ctl start * Caching service dependencies ... [ ok ] * Starting apache2 ... (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs *The only lines I have added to httpd.conf are as follows: * ServerName localhost Listen 80 *Having Apache listen on port 8080 instead results in it starting fine. Thing is, I'm pretty sure nothing is listening on port 80.* netstat -an | grep :80 tcp0 0 192.168.0.104:56125 66.150.96.119:80 ESTABLISHED tcp0 0 192.168.0.104:56123 66.150.96.119:80 TIME_WAIT tcp0 0 192.168.0.104:36115 208.65.201.178:80 TIME_WAIT tcp0 0 192.168.0.104:45155 205.150.218.4:80 ESTABLISHED *I was not happy with Apache not starting listening to port 80 but I started it on 8080 instead. Tried going to localhost:8080 in firefox but received an unable to establish connection error. From there I went to my hosts file which is as follows *127.0.0.1 localhost *Tried scanning 127.0.0.1 with nmap: *nmap -sT -PT 127.0.0.1 Starting Nmap 4.20 ( http://insecure.org ) at 2007-11-22 17:11 MST Note: Host seems down. If it is really up, but blocking our ping probes, try -P0 Nmap finished: 1 IP address (0 hosts up) scanned in 3.342 seconds *And now a ping * ping -c 5 localhost PING localhost (127.0.0.1) 56(84) bytes of data. From 10.132.0.1 icmp_seq=1 Destination Net Unreachable From 10.132.0.1 icmp_seq=3 Destination Net Unreachable From 10.132.0.1 icmp_seq=4 Destination Net Unreachable From 10.132.0.1 icmp_seq=5 Destination Net Unreachable --- localhost ping statistics --- 5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 4000ms *localhost seems to be resolved properly to 127.0.0.1 but what I don't understand is where the 10.132.0.1 comes from. This computer's ip on the network is 192.168.0.104 (static) and my ip on the internet is 77.something.something.something (was when I did the ping at least). I hope the above is enough information. Suggestions on why Apache won't start listening on port 80 and why I can't connect to localhost:8080 from firefox when Apache is running are welcome. Thanks Jordan * -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Issues pinging localhost and starting apache.
On Nov 22, 2007 7:45 PM, Jordan Woehr [EMAIL PROTECTED] wrote: *I first encounter this problem while trying to setup Apache for my machine. I only want it to run locally on my network. First issue, I try to start Apache and have it listen to port 80 but it won't start with the error:* apache2ctl start * Caching service dependencies ... [ ok ] * Starting apache2 ... (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs *The only lines I have added to httpd.conf are as follows: * ServerName localhost Listen 80 *Having Apache listen on port 8080 instead results in it starting fine. Thing is, I'm pretty sure nothing is listening on port 80.* netstat -an | grep :80 tcp0 0 192.168.0.104:56125 66.150.96.119:80 ESTABLISHED tcp0 0 192.168.0.104:56123 66.150.96.119:80 TIME_WAIT tcp0 0 192.168.0.104:36115 208.65.201.178:80 TIME_WAIT tcp0 0 192.168.0.104:45155 205.150.218.4:80 ESTABLISHED *I was not happy with Apache not starting listening to port 80 but I started it on 8080 instead. Tried going to localhost:8080 in firefox but received an unable to establish connection error. From there I went to my hosts file which is as follows *127.0.0.1 localhost *Tried scanning 127.0.0.1 with nmap: *nmap -sT -PT 127.0.0.1 Starting Nmap 4.20 ( http://insecure.org ) at 2007-11-22 17:11 MST Note: Host seems down. If it is really up, but blocking our ping probes, try -P0 Nmap finished: 1 IP address (0 hosts up) scanned in 3.342 seconds *And now a ping * ping -c 5 localhost PING localhost (127.0.0.1) 56(84) bytes of data. From 10.132.0.1 icmp_seq=1 Destination Net Unreachable From 10.132.0.1 icmp_seq=3 Destination Net Unreachable From 10.132.0.1 icmp_seq=4 Destination Net Unreachable From 10.132.0.1 icmp_seq=5 Destination Net Unreachable --- localhost ping statistics --- 5 packets transmitted, 0 received, +4 errors, 100% packet loss, time 4000ms *localhost seems to be resolved properly to 127.0.0.1 but what I don't understand is where the 10.132.0.1 comes from. This computer's ip on the network is 192.168.0.104 (static) and my ip on the internet is 77.something.something.something (was when I did the ping at least). I hope the above is enough information. Suggestions on why Apache won't start listening on port 80 and why I can't connect to localhost:8080 from firefox when Apache is running are welcome. Thanks Jordan * -- [EMAIL PROTECTED] mailing list This may sound like a silly question, but is loopback running (/etc/init.d/lo)? -- - Mark Shields
Re: [gentoo-user] mount cdrom: No buffer space available
Am Donnerstag, 22. November 2007 schrieb ext Stroller: A Google seems to suggest that mount: No buffer space available is commonly returned when the device is already mounted. I also found (with Google) one forum posting where it was stated that the cause was a bad, self-burned disk in the drive. When the poster changed the disk, the problem disapeared. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: gtkpod won't start
On (23/11/07 07:58) Dirk Heinrichs wrote: Am Donnerstag, 22. November 2007 schrieb ext Dan Farrell: However, if you su or something, you'll no longer have that environment variable. Hmm, although I'm not sure why, I do: % whoami dheinric % echo $DISPLAY :0 % su Passwort: # whoami root # echo $DISPLAY :0 No difference with su -. I don't have any line in root's *rc files which set the DISPLAY. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net Hi, Using 'sux' with no problems so far :-) HTH. Rumen -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Chroot question
Dan Farrell wrote: On Tue, 20 Nov 2007 21:33:15 -0600 Anthony E. Caudel [EMAIL PROTECTED] wrote: I have an AMD64 chip and have separate Gentoo x86 and x86_64 distros. Gentoo has a 32Bit Chroot Guide for Gentoo/AMD64 but this guide only discusses setting up a separate 32bit environment within the 64bit Gentoo. I was wondering if it could be used, suitably modified, to chroot from my x86_64 bit distro to my x86 distro. Will it mess up one or the other? No, they won't effect each other, but isn't this generally how a multi-lib system is done? I read a howto years ago but got bored halfway through, and since I didn't need it anyway, I gave up. Good point. I don't know the difference between chroot'ing and multilib (well, I know the difference but I don't the advantages/disadvantages of each). The reason I want to be able to chroot is that I want to be able run make menuconfig in each distro in order to view, side-by-side the configuration of the kernels. The x86 distro is my production distro but I want to configure and tune the x86_64 kernel to be as close to the x86 kernel as possible. Tony -- Those who would give up essential Liberty, to purchase a little temporary Safety, deserve neither Liberty nor Safety. -- Benjamin Franklin -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Re: gtkpod won't start
Am Donnerstag, 22. November 2007 schrieb ext Dan Farrell: However, if you su or something, you'll no longer have that environment variable. Hmm, although I'm not sure why, I do: % whoami dheinric % echo $DISPLAY :0 % su Passwort: # whoami root # echo $DISPLAY :0 No difference with su -. I don't have any line in root's *rc files which set the DISPLAY. Bye... Dirk -- Dirk Heinrichs | Tel: +49 (0)162 234 3408 Configuration Manager | Fax: +49 (0)211 47068 111 Capgemini Deutschland | Mail: [EMAIL PROTECTED] Wanheimerstraße 68 | Web: http://www.capgemini.com D-40468 Düsseldorf | ICQ#: 110037733 GPG Public Key C2E467BB | Keyserver: www.keyserver.net signature.asc Description: This is a digitally signed message part.