Re: [CentOS] Shared folders with Centos-7 guest in VMware-10 using open-vm-tools
Bob Hepple bob.hepple@... writes: Hi! Just wondering if anyone has this working ... Centos-7 guest in VMware-10 host (on Windows-7 ) Just to report my resolution of this one - no-one has been able to report success with vmware-tools with VMware-10, Windows-7 host, Centos-7 guest so far. So I tried Centos-6.7 and all is well after installing vmware-tools from the tarball provided by vmware - screen resolution, auto-sensing and shared folder. Centos-6.7 is fine for me and I'll be living there instead of the nightmare desktop provided by the employer. Cheers Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Shared folders with Centos-7 guest in VMware-10 using open-vm-tools
Bob Hepple bob.hepple@... writes: Eero Volotinen eero.volotinen at ... writes: try modprobe vmhgfs under open-vm-tools, the only module I know about is vmtoolsd and it is running: Arghhh! Of course vmtoolsd is not a module, it's a service! Here are the modules that could be something to do with vmware: [root@imp ~]# lsmod |grep vm vmw_balloon13415 0 vmw_vmci 67106 0 vmwgfx179730 2 drm_kms_helper 98226 1 vmwgfx ttm93488 1 vmwgfx drm 311588 5 ttm,drm_kms_helper,vmwgfx Cheers Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Shared folders with Centos-7 guest in VMware-10 using open-vm-tools
Eero Volotinen eero.volotinen@... writes: try modprobe vmhgfs I get: modprobe: FATAL: Module vmhgfs not found: Is it supposed to be shipped with open-vm-tools? I haven't been able to re-compile the vmware tools myself. Thanks Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Shared folders with Centos-7 guest in VMware-10 using open-vm-tools
Eero Volotinen eero.volotinen@... writes: try modprobe vmhgfs under open-vm-tools, the only module I know about is vmtoolsd and it is running: [root@imp yum.repos.d]# systemctl status vmtoolsd vmtoolsd.service - Service for virtual machines hosted on VMware Loaded: loaded (/usr/lib/systemd/system/vmtoolsd.service; enabled) Active: active (running) since Thu 2015-08-06 18:49:02 AEST; 3 days ago Docs: http://open-vm-tools.sourceforge.net/about.php Main PID: 806 (vmtoolsd) CGroup: /system.slice/vmtoolsd.service └─806 /usr/bin/vmtoolsd open-vm-tools appears to know about hgfs as it has an eponymous file: /usr/lib64/open-vm-tools/plugins/common/libhgfsServer.so and: [root@imp yum.repos.d]# /usr/bin/vmware-hgfsclient shared Is there something else I need to do to get this working? Thanks Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Shared folders with Centos-7 guest in VMware-10 using open-vm-tools
Bob Hepple bob.hepple@... writes: It's the shared folder that I would really like to get working. vmware- hgfsclient reports my share but there is no /mnt/hgfs directory. Also 'lsmod|grep hgfs' reports nothing. also: mount -t vmhgfs .host:/ /mnt/tmp mount: unknown filesystem type 'vmhgfs' ... which kinda sorta tells me I need to modprobe something. I reckon I'm so close, just need a nudge to get it over the line!! Any ideas out there? Cheers Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Shared folders with Centos-7 guest in VMware-10 using open-vm-tools
Hi! Just wondering if anyone has this working ... Centos-7 guest in VMware-10 host (on Windows-7 :-( ) Out of the box, shared folders and dragdrop do not work although X screen resolution sensing is fine (ie xrandr reports the resolution of the host screen as well as the peculiar screen options built-in) and I can Alt-Enter to full screen quite happily. I tried Fedora-22 too but did not even get that far. It's the shared folder that I would really like to get working. vmware- hgfsclient reports my share but there is no /mnt/hgfs directory. Also 'lsmod|grep hgfs' reports nothing. 'systemctl restart vmtoolsd' (bah!) does not help. Thanks Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] headless VirtualBox on Centos
zep zgreenfelder@... writes: vagrant? I'm unfamiliar with vagrant, but it's pretty easy to roll your own. email me off list if you'd like a copy of my Frankenstein scripts. I should have provided a link: https://www.vagrantup.com/ vagrant does rather more than just running VM's - automated creation of VM's, starting them up, tearing them down. One use case is disposable VM's typically for developers - spin up a fresh clean VM, pollute it with new code, test and diagnose, tear it down. Rinse, repeat. Cheers Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Netflix
Johnny Hughes johnny@... writes: For the record ... using the latest Google Chrome on CentOS-7.1503 (our 7.1 release in testing right now), allows Netflix to play just fine on CentOS-7. What I have installed when I tested it: nss-3.16.2.3-5.el7.i686 nss-3.16.2.3-5.el7.x86_64 google-chrome-stable-41.0.2272.101-1.x86_64 (from google) After double checking with yum update and a reboot, I'm still locked out of netflix with the infamous M7063-1913 message. I have: nss-3.16.2.3-3.el6_6.i686 google-chrome-stable-41.0.2272.101-1.i386 which is the same upstream version of nss as Johnny's. Maybe it's something other than nss??? docker isn't a solution for me as it's 64-bit only. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Netflix
Liam O'Toole liam.p.otoole@... writes: I doubt it. As you say, the NSS version is the blocker. Maybe that number will get bumped in a future 6.x release. Maybe. Centos-7 would probably do the job but this machine is 32-bit so it's a non-starter AFAIK. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] headless VirtualBox on Centos
Boris Epstein borepstein@... writes: a set of scripts/utilities for automatically starting and running headless (no X11) VM's using VirtualBox omn a CentOS 6 server. VNC/RDP access to the VM's would be fine. vagrant? ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Netflix
Now that netflix is in Australia, I wouldn't mind giving it a burl. It's working fine on my fedora-21 lappy with chrome-40 but not on our centos-6 mythtv setup even with chrome-41. I understand the difference might be the version of NSS - fedora-21 has 3.17 while centos is stuck at 3.16. Other than that, I'm flumoxed. Anyone got netflix running on centos-6? Cheers Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Rhythmbox Replacement
Mark LaPierre marklapier@... writes: On 02/15/15 22:48, Mark LaPierre wrote: Hey Y'all, I though I would resurrect a long dead mail chain. I'm looking for a good replacement for Rhythmbox. I need a pod catcher to catch podcasts and download them to my HD where I can then move them onto my mp3 player that I take to work every day. * cricket-cricket * * cricket-cricket * OK - so I use podget. It's a bash script and it does exactly what I want. There's no package as such, but google knows where it lives (on sourceforge). Cheers Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] good thin client PDF reader for centos 6.4
SilverTip257 silvertip257@... writes: You might be going the slightest bit blind... :-D On my version of evince there's a magnifying glass in the top right (plus Ctrl+F keyboard shortcut works). Nope - I was talking about xournal. The mag glass there is for zoom. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] good thin client PDF reader for centos 6.4
m.roth@... writes: Dan Hyatt wrote: Any suggestions for a good lightweight pdf reader for my centos servers? evince, that I think is installed by default? Oh, and here's a neat one that's *not* a lightweight reader, that my manager introduced me to last year: xournal. It lets you *edit* .pdfs, including the ones that don't intend for you to edit them. It was *really* nice to have that when we did our (US) state taxes - the federal forms are editable, but not the state, except I could with xournal. mark Nice find - but it lacks a 'Find' function unless I'm going blind. okular is another KDE one that I like - rpm is 703186 bytes epdview is another - rpm is 416642 bytes Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] good thin client PDF reader for centos 6.4
Bob Hepple bob.hepple@... writes: epdview is another - rpm is 416642 bytes ugh! I should have said 'epdfview' ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] smartctl: is my disc dying?
I've got a 1Tb USB disc that appears to be dying - eg it took about 10 days (!) to run 'badblocks -nsv /dev/sdc' and it only did less than 2% in that time. Read access became _really_ slow. So there's definitely something amiss and I've got it offline. There's no drama about the content as I have other backups and I'm resigned to junking the thing, but I'm curious about the fact that smartctl doesn't seem to report any errors. I tried a short and a long test but nothing in there seems to be alarming - in fact it says PASSED!! - but the output is pretty opaque and maybe I've been foxed by ambiguity. Anyone care to comment on it? Here it is: [root@nina bhepple]# smartctl /dev/sdc -a smartctl 5.43 2012-06-30 r3573 [i686-linux-2.6.32-358.23.2.el6.i686] (local build) Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Model Family: Western Digital Caviar Green Device Model: WDC WD10EAVS-00M4B0 Serial Number:WD-WCAV5A574187 LU WWN Device Id: 5 0014ee 2aef3c352 Firmware Version: 01.00A01 User Capacity:1,000,204,886,016 bytes [1.00 TB] Sector Size: 512 bytes logical/physical Device is:In smartctl database [for details use: -P show] ATA Version is: 8 ATA Standard is: Exact ATA specification draft version not indicated Local Time is:Mon Jan 27 17:43:33 2014 EST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x84) Offline data collection activity was suspended by an interrupting command from host. Auto Offline Data Collection: Enabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection:(18780) seconds. Offline data collection capabilities:(0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities:(0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability:(0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time:( 2) minutes. Extended self-test routine recommended polling time:( 217) minutes. Conveyance self-test routine recommended polling time:( 5) minutes. SCT capabilities: (0x3037) SCT Status supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x002f 200 200 051Pre-fail Always - 0 3 Spin_Up_Time0x0027 114 107 021Pre-fail Always - 7283 4 Start_Stop_Count0x0032 091 091 000Old_age Always - 9764 5 Reallocated_Sector_Ct 0x0033 200 200 140Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 200 200 000Old_age Always - 0 9 Power_On_Hours 0x0032 080 080 000Old_age Always - 14907 10 Spin_Retry_Count0x0032 100 100 000Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 100 000Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000Old_age Always - 181 192 Power-Off_Retract_Count 0x0032 200 200 000Old_age Always - 82 193 Load_Cycle_Count0x0032 186 186 000Old_age Always - 44531 194 Temperature_Celsius 0x0022 098 083 000Old_age Always - 49 196 Reallocated_Event_Count 0x0032 200 200 000Old_age Always - 0 197 Current_Pending_Sector 0x0032 192 192 000Old_age Always - 1423 198 Offline_Uncorrectable 0x0030 196 196 000
Re: [CentOS] smartctl: is my disc dying?
Paul Heinlein heinlein@... writes: On Mon, 27 Jan 2014, Bob Hepple wrote: I've got a 1Tb USB disc that appears to be dying - eg it took about 10 days (!) to run 'badblocks -nsv /dev/sdc' and it only did less than 2% in that time. Read access became _really_ slow. 197 Current_Pending_Sector 0x0032 192 192 000Old_age Always - 1423 198 Offline_Uncorrectable 0x0030 196 196 000Old_age Offline - 700 200 Multi_Zone_Error_Rate 0x0008 001 001 000Old_age Offline - 793265 These numbers are all bad, really bad. Regardless of the overall PASSED result, SMART is telling you that the disk is failing. See, e.g., http://en.wikipedia.org/wiki/S.M.A.R.T. Thanks for that. I kinda wonder about the 'PASSED' in light of this - looks like we need to go through the smartctl output with a fine toothcomb to make it valuable. The disc was already headed to the dump as it was obviously failing, but I would have liked to be able to use smartctl to predict failures. When the output is so hard to read, I doubt it'll happen. For anyone following this, I found http://sourceforge.net/apps/trac/smartmontools/wiki/FAQ quite good reading. Also http://smartmontools.sourceforge.net/badblockhowto.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to setup VNC for GDM access on 6.3
Bruce Ferrell bferrell@... writes: Hi all, I'm looking for pointer for setting up VNC so that access to the system is via gdm/kdm. Yes, I know about vino, and /etc/sysconfig/vncservers but what I'm looking for is a sertup that allows me to see the *dm login screen instead of being dropped direct into a desktop. Thanks in advance This doe what you want - not sure if it's optimal, but by putting it in /etc/rc.local I can see gdm on reboot: x11vnc -xkb -auth guess -q -rfbauth /home/bhepple/.vnc/passwd -display :0 -clear_all -loop ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to setup VNC for GDM access on 6.3
Bob Hepple bob.hepple@... writes: Bruce Ferrell bferrell@... writes: This doe what you want - not sure if it's optimal, but by putting it in /etc/rc.local I can see gdm on reboot: x11vnc -xkb -auth guess -q -rfbauth /home/bhepple/.vnc/passwd -display :0 -clear_all -loop Hmmm - apologies for repetition but it seems my followup was lost ... I wanted to mention that it's probably a good idea to use a port other than the default to avoid conflict with other servers which might be running eg vino. I use -rfbport 3389 as that port makes it through our firewall (it's the RDP port). Also I should mention that the remote screen is unlocked and alive so there are security concerns with this approach. Anyone know how to disable/lock it? Cheers Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] How to setup VNC for GDM access on 6.3
Les Mikesell lesmikesell@... writes: Doesn't x11vnc always stay tied to the console screen? Sometimes that's what you want, but I generally want independent remote sessions. Yes - but the OP wanted something that would tie to display :0 even for gdm/kdm/xdm logins. Also - it looks like the -clientdpms option turns off the physical monitor(s) when a vncviewer is attached; while not exactly secure, it's a step in the right direction. ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] gtkpod
Steve Brooks steveb@... writes: There is a bunch of rpms here http://lcfg-sl5.see.ed.ac.uk/see/sl6_64/ including gtkpod-2.0.2-1.el6.x86_64.rpm gtkpod-devel-2.0.2-1.el6.x86_64.rpm Steve Thanks for that - but I need i686 package - good idea to try the sl repos - I'll start grepping them too. Cheers Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] gtkpod
Nux! nux@... writes: Give this a try: http://mrb.mandrivausers.ro/MRB/stella/x86_64/gtkpod-1.0.0-69stella.x86_64.rpm It's ancient, yes, anything newer is a PITA to build on EL6. Well, the 32-bit version of that installed sweet. Thanks muchly! The older package is probably better anyway as I've found the newer versions don't support the older ipods as well (or at all!) Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] gtkpod
High and low searching (google, most of the repos in http://wiki.centos.org/AdditionalResources/Repositories) availed nothing - has anyone found a repo for gtkpod on centos-6? I seem to recall having to use fedora packages at some time in the past. Bit loath to do that again or compile from source. Thanks Bob ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Deduplication data for CentOS?
Rainer Traut tr.ml@... writes: Hi list, is there any working solution for deduplication of data for centos? We are trying to find a solution for our backup server which runs a bash script invoking xdelta(3). But having this functionality in fs is much more friendly... We have looked into lessfs, sdfs and ddar. Are these filesystems ready to use (on centos)? ddar is sthg different, I know. Thx Rainer Not sure if it's already been mentioned but storeBackup uses rsync and hardlinks to minimise storage - and it break up big files and backs up the fragments separately. May help ... http://www.nongnu.org/storebackup/en/node2.html ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Is glusterfs ready?
David C. Miller millerdc@... writes: - Original Message - From: John Doe jdmls@... To: Cent O Smailinglist centos@... Sent: Tuesday, August 28, 2012 3:14:29 AM Subject: [CentOS] Is glusterfs ready? Hey, since RH took control of glusterfs, I've been looking to convert our old independent RAID storage servers to several non RAID glustered ones. The thing is that I, here and there, heard a few frightening stories from some users (even with latest release). Any one has experienced with it long enough to think one can blindly trust it or if it is almost there but not yet ready? Heya, Well I guess I'm one of the frightening stories, or at least a previous employer was. They had a mere 0.1 petabyte store over 6 bricks yet they had incredible performance and reliability difficulties. I'm talking about a mission critical system being unavailable for weeks at a time. At least it wasn't customer facing (there was another set of servers for that). The system was down more than it was up. Reading was generally OK (but very slow) but multiple threads writing caused mayhem - I'm talking lost files and file system accesses going into the multiple minutes. In the end I implemented a 1-Tb store to be fuse-unioned over the top of the thing to take the impact of multiple threads writing to it. A single thread (overnight) brought the underlying glusterfs up to date. That got us more or less running but the darned thing spent most of its time re-indexing and balancing rather than serving files. To be fair, some of the problems were undoubtedly of their own making as 2 nodes were centos and 4 were fedora-12 - apparently the engineer couldn't find the installation CD for the 2 new nodes and 'made do' with what he had! I recall that a difference in the system 'sort' command gave all sorts of grief until it was discovered, never mind different versions of the gluster drivers. I'd endorse Johnny's comments about it not handling large numbers of small files well (ie ~ 10 Mb). I believe it was designed for large multi-media files such as clinical X-Rays. ie a small number of large files. Another factor is that the available space is the physical space divided by 4 due to the replication across the nodes on top of the nodes being RAID'd themselves. Lesse now - that was all of 6 months ago - unlike most of my war stories, it's not ancient history!! ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] CentOS Server Backup Options
Scott Walker Scott_Walker@... writes: What do you guys recommend for backing up a small CentOS server in a business environment. It will have (3) 300gb drives in a raid 5 array but I don't anticipate more than about 25gb of data that needs to be backed up each night. . . . I stumbled on http://storebackup.org/ the other day. It looks pretty good for disc-disc backup. Myself, I use a daily backup with rsync creating hard links to the backup directory - both remote (offsite) and local. http://bhepple.freeshell.org/oddmuse/wiki.cgi/backup-copy and supporting stuff at: http://bhepple.freeshell.org/oddmuse/wiki.cgi/UnixScripts ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] firewall?
On Wed, 20 Jul 2011 08:37:23 +0430 hadi motamedi motamed...@gmail.com wrote: On 7/19/11, John Hodrien j.h.hodr...@leeds.ac.uk wrote: On Tue, 19 Jul 2011, hadi motamedi wrote: centos. Can you please let me know where powerful centos stuffs for various purposes can be selected and installed from the internet? I find http://alternativeto.net/ useful now and then ... -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] daemon user can't acess file while nobody user can.
On Tue, 7 Jun 2011 15:43:28 -0400 Nicolas Ross rossnick-li...@cybercat.ca wrote: I have a server where /home is on a nfs. I installed an apache (my compile) server. By default, it runs as daemon. That user can't acces files in /home/*/public_html, while the nobody user can. So if I change my apache config, it now can. /home is : drwxr-xr-x /home/user is : drwxr-xr-x /home/user/public_html is : drwxr-xr-x selinux is disabled. In the error log of apache I get : (13)Permission denied: access to /~user/file.jpg denied Looks like httpd is misconfigured and looking in the wrong place: /~user/file.jpg probably should be ~user/file.jpg ... unless it's a typo -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bastille-linux
On Sat, 4 Jun 2011 07:21:12 -0700 Charles Polisher cpol...@surewest.net wrote: Bob Hepple wrote: Meenoo Shivdasani mee...@gmail.com wrote: Bob Hepple bhep...@promptu.com wrote: Has anyone got Bastille-linux running on Centos-5.6? Bastille-Linux aside, for completeness, see also: R. P. Herrold's excellent articles on hardening CentOS: http://orcorc.blogspot.com/2010/12/hitting-ground-running.html http://www.pmman.com/usage/hardening/ and the U.S. NSA guides: http://www.nsa.gov/ia/_files/os/redhat/rhel5-guide-i731.pdf http://www.nsa.gov/ia/_files/factsheets/rhel5-pamphlet-i731.pdf ... thanks for all the above - plenty for me to work through ... Cheers Bob -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bastille-linux
On Fri, 3 Jun 2011 01:15:14 -0400 Meenoo Shivdasani mee...@gmail.com wrote: On Thu, Jun 2, 2011 at 7:57 PM, Bob Hepple bhep...@promptu.com wrote: Has anyone got Bastille-linux running on Centos-5.6? Nope, but I have a hardening document that I wrote up for an earlier version of Red Hat that might be applicable -- I incorporated the Bastille recommendations into my documentation rather than just running the package because I wanted to know what each thing was doing. Let me know if you'd like me to see if I can dig that up. Regards, M Thanks for that - it might be of general interest so why not!! If it's not too hard to find. Here's another one I found: http://www.puschitz.com/SecuringLinux.shtml Cheers Bob -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Bastille-linux
On Fri, 3 Jun 2011 07:11:18 +0200 Bent Terp b...@terp.se wrote: On Fri, Jun 3, 2011 at 1:57 AM, Bob Hepple bhep...@promptu.com wrote: http://bastille-linux.sourceforge.net claims RHEL5 support but I ran into problems running it on a Centos 5.6 test system. It also claims that Bastille UNIX release coming January 14th, 2008. ;-) Looks like abandon-ware, unfortunately. It was a good idea, really. Yes it was, and HP put quite a lot of resource to make it sing on HP-UX by the look of it. Pity. -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Bastille-linux
Has anyone got Bastille-linux running on Centos-5.6? http://bastille-linux.sourceforge.net claims RHEL5 support but I ran into problems running it on a Centos 5.6 test system. First I had to ln -s /usr/lib64/Bastille /usr/lib just to get it to run at all. Then I tried faking /etc/redhat-release with Red Hat Enterprise Linux Server release 5.6 ... but I get this (why would it want HPSpecific.pm !!!???: [root@slice244:sting ~]# bastille --assessnobrowser ERROR: Couldn't determine Red Hat version! Setting to 9! ERROR: Couldn't determine Red Hat version! Setting to 9! NOTE:Using audit user interface module. Can't locate Bastille/API/HPSpecific.pm in @INC (@INC contains: /usr/lib /usr/lib/perl5/site_perl//5.8.8 /usr/lib/perl5/site_perl/ /usr/lib/Bastille /opt/sec_mgmt/bastille/lib /opt/sec_mgmt/bastille/lib/API /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8) at /usr/lib/Bastille/IOLoader.pm line 8. BEGIN failed--compilation aborted at /usr/lib/Bastille/IOLoader.pm line 8. Compilation failed in require at /usr/sbin/InteractiveBastille line 414. Trying to force with --os RHEL5 just gives the usage message!!! winge doncha just hate that? wouldn't hurt the developer to tell you what's actually wrong rather than just the blummin usage message!!! /winge Usage: bastille [ -b | -c | -x ] [ --os version] [ -f alternate config ] bastille [-r | -l | -h | --assess | --assessnobrowser ] -b : use a saved config file to apply changes directly to system -c : use the Curses (non-X11) GUI, not available on HP-UX -h : this help -f : populate answers with alternate configuration file -r : revert Bastille changes to original file versions (pre-Bastille) -l : list the standard config file(s) (if any) that matches the last run config --os version : ask all questions for the given operating system version. e.g. --os HP-UX11.11 -x : use the Perl/Tk (X11) GUI --assess / -a : run Bastille in assessment mode, generating a report and displaying it in a browser --assessnobrowser : run Bastille in assessment mode, generating a report with no browser TIA -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Setting up a GUI remote access
On Tue, 26 Apr 2011 09:25:38 -0700 Todd Cary t...@aristesoftware.com wrote: Currently I have VNC running on my Windows desktop with Samba providing access to my Linux server. Since Linux is more reliable than Windows, I would like to be able to access my Linux (Centos 5.5) via my Windows notebook - hopefully via VNC or some similar application and then access the Windows desktop (if it is not locked up :-) ) with Samba. What is the best VNC like application to install or use on the Linux server? The big win for me with NX is that copy and paste between local and remote server works like a charm. I was never able to get *VNC* copy and paste to work at all (or maybe I did once - mists of time, it doesn't work now). That trumps it for me. Mind you - I never tried freenx. g'luck Bob -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.6 - SRPM's
On Mon, 25 Apr 2011 22:59:47 -0300 Filipe Rosset rosset.fil...@gmail.com wrote: On 04/25/2011 10:35 PM, Johnny Hughes wrote: I have pushed what I think are all of the SRPMS for os and updates. Great, thank you! Just to close this one off - I am now seeing all the SRPMS that I need on the Australian mirrors. Thanks guys!! Bob -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.6 - SRPM's
On Thu, 21 Apr 2011 11:30:37 +0100 Karanbir Singh mail-li...@karan.org wrote: On 04/21/2011 12:18 AM, Bob Hepple wrote: Hmmm - it's 10 days on and I still can't see all of the [a-l] *.src.rpm's. I strongly suspect that something's gone wrong - or perhaps I'm looking in the wrong place - Yes, you are right. Amongst the various tests, there is one that checks for dupe packages, and we have 2 anaconda srpms this time, the i386 and x86_64 are built from identical srpm's; but I had to bump version on one arch, without needing to do that on the other. So there are 2 anaconda-srpm in the SRPMS/ repo, causing the test to fail and that entire lot not going through. I like the test, and would like to keep it in place, so will do a force-pass for now and that should see the packages go through at some point today. I'll look out them. Thanks KB, you're legend! -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.6 - SRPM's
On Mon, 11 Apr 2011 11:58:43 +0100 Karanbir Singh mail-li...@karan.org wrote: Also, the first batch of srpms is now on the seed machine, should start going public in about 8 - 12 hours ( this is [a-l]*.src.rpm ). The rest I'll move in first thing on Wednesday morning. Hmmm - it's 10 days on and I still can't see all of the [a-l] *.src.rpm's. I strongly suspect that something's gone wrong - or perhaps I'm looking in the wrong place - http://mirror.centos.org/centos-5/5.6/os/SRPMS/ I can see a bunch of [a-l]*.src.rpm's as well as [m-z]*.src.rpm's so it looks like the --delay-updates option on rsync has triggered. But - no initscripts-8.45.33-1.el5.centos.src.rpm nor httpd-2.2.3-45.el5.centos.src.rpm ... maybe others? Does anyone see them elsewhere? -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.6 - SRPM's
On Wed, 20 Apr 2011 16:26:51 -0700 Don Krause dkra...@optivus.com wrote: On Apr 20, 2011, at 4:18 PM, Bob Hepple wrote: On Mon, 11 Apr 2011 11:58:43 +0100 Karanbir Singh mail-li...@karan.org wrote: Also, the first batch of srpms is now on the seed machine, should start going public in about 8 - 12 hours ( this is [a-l]*.src.rpm ). The rest I'll move in first thing on Wednesday morning. Hmmm - it's 10 days on and I still can't see all of the [a-l] *.src.rpm's. I strongly suspect that something's gone wrong - or perhaps I'm looking in the wrong place - http://mirror.centos.org/centos-5/5.6/os/SRPMS/ I can see a bunch of [a-l]*.src.rpm's as well as [m-z]*.src.rpm's so it looks like the --delay-updates option on rsync has triggered. But - no initscripts-8.45.33-1.el5.centos.src.rpm nor httpd-2.2.3-45.el5.centos.src.rpm ... maybe others? Does anyone see them elsewhere? Our mirror syncs from mirrors.kernel.org, and I've got nothing newer than Dec 14th in 5/os/SRPMS In 5/updates/SRPMS the newest initscripts I show is Nov 16 09:32 initscripts-8.45.30-3.el5.centos.src.rpm It looks like pushing SRPMS is broken somewhere... (Or possibly still not finished.) Don, I think that might be down to your side of things. For example, my local AUS mirrors have been up to date with http://mirror.centos.org/centos-5/5.6/os/SRPMS/ for some days now: http://mirror.aarnet.edu.au/pub/centos/5.6/os/SRPMS/ http://mirror.optus.net/centos/5.6/os/SRPMS/ ... but just as devoid of initscripts and httpd!!! Cheers Bob -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] cross-platform email client
On Mon, 18 Apr 2011 13:46:38 -0500 Les Mikesell lesmikes...@gmail.com wrote: On 4/18/2011 12:58 PM, Florin Andrei wrote: On Mon, 18 Apr 2011 11:22:05 +1000 Bob Hepplebhep...@promptu.com wrote: A hearty vote for sylpheed from me - http://sylpheed.sraoss.jp/en/ ... I'm using it now on Linux, briefly tested it on Windows. Thumbs-down: scanning all the folders initially takes longer than Thunderbird. Every once in a while it re-scans them, during which time the folder list is not accessible. Thumbs-up: But it does that in a more predictable way than Thunderbird, and there are no mysterious lock-ups of the UI (when it re-scans, it clearly says so, and only the folder list panel is greyed out, not the Composer or whatnot). Maybe that's what Thunderbird does - re-scans the IMAP folders, but in a more sneaky way, and it's dumb enough to put a Big Lock on the whole interface. Hmm. I opened a bug report with them: https://bugzilla.mozilla.org/show_bug.cgi?id=650400 Have you tried upgrading to a current release? Usually you don't get far reporting bugs in the many-years-old versions bundled in enterprise OS distributions to the upstream source that moved on long ago. I sort-of remember similar pauses in the 2.x windows version - and having that fixed may be the reason I switched to always using Windows/Mac/phone for email, even though I can't see a problem with the Linux version right now. I thought the pauses had to do with indexing for searches and switching to the threaded view which did always seem fast. I'm on the most recent version (3.1.0) on my fedora w/s and it has the same lock-up 'feature'. It doesn't really bother me much, but my IMAP server is on the local net therefore pretty quick. Actually, even working from home with the IMAP server being at the end of a sometimes busy interweb thingy, it doesn't _really_ bother me - although it can be noticable. Cheers Bob -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.6 - SRPM's
On Fri, 15 Apr 2011 14:23:51 -0300 Filipe Rosset rosset.fil...@gmail.com wrote: On 04/13/2011 07:54 AM, Karanbir Singh wrote: They are definitely in there, just slow. - KB Hi guys, Still without SRPM's in 5.6/os/SRPMS/ They just started to appear this morning (UTC+1000) - but I can't see httpd, initscripts, etc yet For future reference, it seems to have taken about 7 days for the first lot to emerge on the mirrors from when the upload was started. Cheers Bob -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] cross-platform email client
On Fri, 15 Apr 2011 12:07:39 -0700 Florin Andrei flo...@andrei.myip.org wrote: I'm a Thunderbird user almost since day one, but now I'm looking for something else. A hearty vote for sylpheed from me - http://sylpheed.sraoss.jp/en/ ... or anything else that uses MH-style mailboxes instead of the monolithic mbox ones that TB and similar programs use. To me, that's the biggest scaling issue - TB puts all your mails in one huge file per topic ie INBOX SENT TRASH CENTOS etc - at least, it used to, haven't used it in _years_. With MH-style mailboxes, you have one file per message, one directory per topic. Much more scalable, manageable. Sylpheed has linux and windows packages available. Solaris, AIX. HP-UX, Tru64, IRIX, MacOS, *BSD ports are all mentioned as working. It is lightweight but seems to do everything I need a mailer to do. Not sure about packages ready-built for Centos although building from source shouldn't be hard. A quick google found this: http://www.melvilletheatre.com/articles/el5/sylpheed-3.1.0-1.i386.rpm FWIW - the compiled version is in the fedora mainstream. BTW - sylpheed has file import and export filters for mbox and outlook. Have fun! Bob -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] Gnome Notification Applet
On Sat, 16 Apr 2011 14:06:59 -0500 Ron Blizzard rb4cen...@gmail.com wrote: On Sat, Apr 16, 2011 at 2:39 AM, Patrick Lists centos-l...@puzzled.xs4all.nl wrote: On 04/16/2011 06:34 AM, Ron Blizzard wrote: [snip] without success. Is there a configuration file I can change or a configuration program I can run to customize this? Afaik there is no way to make Gnome applets that make use of the Notification Area by design to do something outside of the Notification Area. Well... that's not good. I realize it's not a huge deal, but it's an irritant. Why does Gnome want to limit the ability to customize? If you want the ability to customize everything have a look at KDE. Or maybe XFce. Even better - fluxbox! Yay! ... I use alsa tools for volume control - I have them tied to keys like this (and then no need for gnome-volume-control or pulseaudio!): XF86AudioLowerVolume :ExecCommand (amixer set Master 5%-) XF86AudioRaiseVolume :ExecCommand (amixer set Master 5%+) XF86AudioMute :ExecCommand (amixer set Master 0%) ... no, it's not for noobs so be prepared to hack at the configuration files. Bob (fluxbox fanboi!) -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SNMP monitoring options
On Tue, 12 Apr 2011 12:53:41 -0700 aurfal...@gmail.com wrote: Hi all, Been using Cacti for monitoring various things like, system disk/mem/ proc, network usage, router usage etc... While its been fun, the graphs are just unruly. Was looking an OpsView (the free version), wondering what your experience with this type of trend/heuristic analysis has been and what what you like. And of course thoughts on OpsView. My 5 penn'o'rth ... We looked at a number of monitoring systems before closing on (community version) Opsview. The main other contender we looked at was zenoss - I have to admit I was biased due to previous use of and liking of nagios. What we liked in Opsview were: based on nagios - solid pedigree, good technology, our own previous experience, lots of plugins built-in or available, in extremis you can look at the nice ascii configuration files and see what's going on. You also have an escape route to nagios if opsview disappears (but they appear to be thriving AFAIK). easy to extend to custom tests/monitors using eg ssh scripts data sets are right in front of you - it would be easy to grab your data and run with it, if you had to (not that I've done much with it, but it's nice to know that your data is not held hostage in some binary silo). very light feel - I mean it's light on resources both on the testing machine and on the targets. It would probably scale up well (we only monitor about a dozen or so systems). pointy-click - so there is the (remote) possibility that I could lob this off onto someone else! The graphical i/f is rational - unlike some others eg zenoss which I just couldn't get my poor old head around _at all_!!! opsview people and community are helpful, positive, approachable etc etc Community project is keenly supported and not just poor-cousin to paid-for product. Just like this newsgroup - if you post a message you're very likely to get someone pipe up with a helpful reply. As for trending/heuristics - the graphs are good enough for us as-is and the knowledge that you can plug-out a feed to your own datastore/analysis is comforting. The bad? nothing really. Well, twist my arm - the web i/f can be a bit ponderous and there's a couple of gotchas that you just have to know about eg you can make all the changes you like, but nothing actually takes effect until you find the configuration page and press the reload button. Also, new monitors need two re-loads before the graphs appear. I'm just mentioning them to illustrate how trivial my gripes are. Hope this helps ... Bob -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] SNMP monitoring options
On Tue, 12 Apr 2011 19:33:34 -0700 Keith Keller kkel...@wombat.san-francisco.ca.us wrote: On Wed, Apr 13, 2011 at 11:23:19AM +1000, Bob Hepple wrote: We looked at a number of monitoring systems before closing on (community version) Opsview. The main other contender we looked at was zenoss - I have to admit I was biased due to previous use of and liking of nagios. So, if I already have a working nagios that I like, are there any advantages to Opsview community? I only have about 100 services I monitor, and I doubt it'd grow a huge amount in the near future. Well, the gui admin interface is appealing to some. Then the integrated graphics. Mostly the stock nagios probes are 1:1 compatible (actually identical) to the Opsview ones. That said, I haven't ever done a port from nagios to opsview - you might want to take a look at the opsview site and lists for that topic. Cheers Bob -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.6 - SRPM's
On Mon, 11 Apr 2011 11:58:43 +0100 Karanbir Singh mail-li...@karan.org wrote: On 04/11/2011 12:46 AM, Bob Hepple wrote: Oh well, so much for that idea! According to the release notes (http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.6) there is a list of packages modified by centos - and that includes httpd. So the absence of 'centos' in the release string does _not_ mean that the package is unmodified (ie it's merely re-built). you said httpd but looked at rpm :) hoo boy, I got myself into a right muddle. So OK - if it has 'centos' in the release number, then there were changes from upstream - otherwise you can use the upstream vendors source package!!! Phew, glad someone around here has their head screwed on - thanks for setting me right, KB!! While I'm here - thanks to the whole CentOS team for a great effort on 5.6. I installed it on a laptop for the wife and she loves it!! For myself - once I've the sources get here I can start our patch and re-compile for our in-house discless clusters. Cheers Bob -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.6 - SRPM's
On Sat, 9 Apr 2011 23:42:41 +0100 Tom Brown t...@ng23.net wrote: Hi Is there any ETA for the SRPM's from the base tree of 5.6? I need to get my hands on the src for the centos-release package as i have to rebuilt it to prevent the repo definitions from being included. I see the src's for the updates RPM's but not the base. I'm hazarding a guess here - that the os/{i386,x86_64}/CentOS/*.rpm's that have 'centos' in the name have had changes made for CentOS. The others have not and the sources are available from upstream at eg http://mirrors.kernel.org/redhat/redhat/linux/enterprise/5Server/en/os/SRPMS/ Can anyone please confirm/deny that? I looked at a couple of examples including eg httpd - rpm -qpi 5.6/os/x86_64/CentOS/rpm-4.4.2.3-22.el5.x86_64.rpm Name: rpm Relocations: (not relocatable) Version : 4.4.2.3 Vendor: CentOS Release : 22.el5Build Date: Sun Mar 6 13:40:33 2011 Install Date: (not installed) Build Host: builder10.centos.org Group : System Environment/Base Source RPM: rpm-4.4.2.3-22.el5.src.rpm Size: 3754140 License: GPLv2+ Signature : DSA/SHA1, Tue Mar 22 09:37:08 2011, Key ID a8a447dce8562897 URL : http://www.rpm.org/ Summary : The RPM package management system ... ... so it's built from rpm-4.4.2.3-22.el5.src.rpm ... the same _name_ as the upstream vendor's source. Oddly, the 5.5 binary carries 'centos' in it's release field: 5.5/os/x86_64/CentOS/httpd-2.2.3-43.el5.centos.x86_64.rpm ... so the good devs had to make changes there, yet not for 5.6!!!??? Cheers Bob -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] 5.6 - SRPM's
On Mon, 11 Apr 2011 09:40:25 +1000 Bob Hepple bhep...@promptu.com wrote: On Sat, 9 Apr 2011 23:42:41 +0100 Tom Brown t...@ng23.net wrote: Hi Is there any ETA for the SRPM's from the base tree of 5.6? I need to get my hands on the src for the centos-release package as i have to rebuilt it to prevent the repo definitions from being included. I see the src's for the updates RPM's but not the base. I'm hazarding a guess here - that the os/{i386,x86_64}/CentOS/*.rpm's that have 'centos' in the name have had changes made for CentOS. The others have not and the sources are available from upstream at eg http://mirrors.kernel.org/redhat/redhat/linux/enterprise/5Server/en/os/SRPMS/ Can anyone please confirm/deny that? Oh well, so much for that idea! According to the release notes (http://wiki.centos.org/Manuals/ReleaseNotes/CentOS5.6) there is a list of packages modified by centos - and that includes httpd. So the absence of 'centos' in the release string does _not_ mean that the package is unmodified (ie it's merely re-built). Sigh!!! Just have to wait for the centos SRPMS then Cheers Bob -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Re: [CentOS] ifcfg-rh: error: Unknown connection type 'Bridge'
On Fri, 21 Jan 2011 21:40:34 -0800 John R Pierce pie...@hogranch.com wrote: is there a good howto somewhere on how to manually setup wireless connections without NetworkManager ? wifi requires a lot of juju to be setup just so. This works for me (actually on fedora-13, but centos-5 should be similar, maybe even the same) - it assumes you've got the driver installed - mine is ath5k and it comes up with device wlan0 in ifconfig -a: of course, edit this for your network: /etc/sysconfig/network-scripts/ifcfg-wlan0: # Atheros Communications Inc. AR5212/AR5213 Multiprotocol MAC/baseband processor DEVICE=wlan0 HWADDR=00:22:b0:70:ac:e3 ONBOOT=yes BOOTPROTO=none IPADDR=192.168.101.18 USERCTL=yes PEERDNS=yes IPV6INIT=no NM_CONTROLLED=no TYPE=Wireless ESSID=Baroona MODE=Managed RATE=auto SEARCH=oz.promptu.com DOMAIN=oz.promptu.com GATEWAY=192.168.101.1 DNS1=211.29.132.12 DNS2=198.142.0.51 SECURITYMODE=open NETMASK=255.255.255.0 NETWORK=192.168.101.0 BROADCAST=192.168.101.255 CHANNEL= /etc/sysconfig/network-scripts/keys-wlan0: KEY=xx /etc/sysconfig/network-scripts/route-wlan0: # this is the 'old' format: just gets added to ip route add 192.168.101.0/24 dev wlan0 default via 192.168.101.1 Then just the usual: ifup wlan0 Cheers Bob -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
[CentOS] Q about dpi, fonts, gnome, Xorg etc
This has been puzzling me for some time and despite bothering Auntie Google rather a lot, I've yet to find a satisfying answer. As an old-time (since 1981) unix and X guy, I've generally been fairly well-able to get fonts to behave in a rational manner. My needs are pretty simple - I just want 8-point (or 9-point etc) fonts to appear on the screen as 8-point font - ie more or less 8 * 1/72 inches = 2.82mm high. More or less, I'm not insisting it be exact, but at least not 1mm or 5mm high. In the (glorious) past I was able to look at xdpyinfo |egrep 'dimension| resolution' and check that Xorg was giving something reasonable.. eg dimensions:1600x1200 pixels (423x317 millimeters) resolution:96x96 dots per inch So far so good. With this new fangled gnome and fontconfig stuff, you also need to set up some X-resources with: xrdb -query |grep Xft Xft.antialias: 1 Xft.dpi:96 Xft.hinting:1 Xft.hintstyle: hintfull Xft.rgba: none ... and to inform gnome-settings-daemon with gnome-appearance-properties-Font-Details-dpi which is the same as: gconftool-2 -s --type float /desktop/gnome/font_rendering/dpi 96 It's that last step that bothers me - it's not per display, so if I log in using a different X-server eg using VNC, I might well have a completely different dpi. For example, my home monitor is a good-old CRT with 152 dpi. I use 144 dpi as a multiple of 12 but if I log in through vnc without changing /desktop/gnome/font_rendering/dpi, the fonts are just wrong, wrong, wrong. If I then fix things up in that VNC session, when I come back to the physical monitor at 96 dpi, things are again wrong, until I fix it up again. But then the VNC session(s) are wrong. My question is this - surely there's a way to tell gconf/gnome that my dpi setting is for DISPLAY X. Please tell me it's not just a global setting for all displays!! Thanks Bob -- Bob Hepple bhep...@promptu.com ph: 07-5584-5908 Fx: 07-5575-9550 ___ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos