Re: [CentOS] Applications on different deskops at startup

2011-11-24 Thread Ljubomir Ljubojevic
Vreme: 11/24/2011 09:14 PM, Kahlil Hodgson piše:
> On 24/11/11 22:27, Tony Molloy wrote:
>> I have several desktops with applications running on them, mainly
>> terminals. At login all the terminals start on desktop 1. How do I get
>> them to start on the desktop they were running on at logoff. That's how
>> it worked on Fedora 13/14 so it must be popssible ;-) just can't find
>> the magic.
>
> You might want to have a look at 'devilspie'.  That's what I use on F14
> to control startup windows.  Don't know if that's in C6 by default though.
>
> Kal
>

RPMForge/Repoforge repository has devilspie package.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Applications on different deskops at startup

2011-11-24 Thread Kahlil Hodgson
On 24/11/11 22:27, Tony Molloy wrote:
> I have several desktops with applications running on them, mainly 
> terminals. At login all the terminals start on desktop 1. How do I get 
> them to start on the desktop they were running on at logoff. That's how 
> it worked on Fedora 13/14 so it must be popssible ;-) just can't find 
> the magic. 

You might want to have a look at 'devilspie'.  That's what I use on F14
to control startup windows.  Don't know if that's in C6 by default though.

Kal

-- 
Kahlil (Kal) Hodgson   GPG: C9A02289
Head of Technology (m) +61 (0) 4 2573 0382
DealMax Pty Ltd(w) +61 (0) 3 9008 5281

Suite 1005
401 Docklands Drive
Docklands VIC 3008 Australia

"All parts should go together without forcing.  You must remember that
the parts you are reassembling were disassembled by you.  Therefore,
if you can't get them together again, there must be a reason.  By all
means, do not use a hammer."  -- IBM maintenance manual, 1925

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to get RHEL EUS source rpm.

2011-11-24 Thread Johnny Hughes
On 11/24/2011 04:53 AM, huyfuo wrote:
> I want to get kernel-2.6.32-71.36.1.el6.src.rpm(RHBA-2011:1412-1).
> I have no RHEL subscriptions.
> There's no EUS srpms in ftp.redhat.com.

Red Hat only publishes the Extended Support Source Code to the people
who are subscribers of Extended Support.

That is the reason we (The CentOS Project) can not offer those packages.



signature.asc
Description: OpenPGP digital signature
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bacula dbcheck in CentOS6

2011-11-24 Thread John Hodrien
On Thu, 24 Nov 2011, Tilman Schmidt wrote:

> I don't have an account on the Redhat bugzilla, so that'll be for
> someone else.

The accounts are free to all.

jh
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bacula dbcheck in CentOS6

2011-11-24 Thread Tilman Schmidt
Am 24.11.2011 14:28, schrieb Karanbir Singh:
> On 11/24/2011 09:13 AM, Tilman Schmidt wrote: 
>>> Anyone else notice that /usr/libexec/bacula/make_catalog_backup.pl runs a 
>>> "dbcheck -B"
>>> which doesn't seem to exist in the version of dbcheck shipped with it?
>>>
>>> That makes it rather hard to do a catalogue backup with the shipped script?
>>
>> That's an error in the RPM install script. 
> 
> Hope you filed a bugreport! ( bugs.centos.org and the if needed followup
> with a report at bugzilla.redhat.com, and cross reference )

Indeed I did, after finding to my surprise that it hadn't been reported yet:

http://bugs.centos.org/view.php?id=5260

I don't have an account on the Redhat bugzilla, so that'll be for
someone else.

-- 
Tilman Schmidt
Phoenix Software GmbH
Bonn, Germany
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] How to get RHEL EUS source rpm.

2011-11-24 Thread Karanbir Singh
On 11/24/2011 10:53 AM, huyfuo wrote:
> I want to get kernel-2.6.32-71.36.1.el6.src.rpm(RHBA-2011:1412-1).
> I have no RHEL subscriptions.
> There's no EUS srpms in ftp.redhat.com.

This isnt the Red Hat EL list, this is the CentOS List. You should
explore contacting Red Hat for questions like that.

- KB
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Bacula dbcheck in CentOS6

2011-11-24 Thread Karanbir Singh
On 11/24/2011 09:13 AM, Tilman Schmidt wrote:   
>> Anyone else notice that /usr/libexec/bacula/make_catalog_backup.pl runs a 
>> "dbcheck -B"
>> which doesn't seem to exist in the version of dbcheck shipped with it?
>>
>> That makes it rather hard to do a catalogue backup with the shipped script?
> 
> That's an error in the RPM install script. 

Hope you filed a bugreport! ( bugs.centos.org and the if needed followup
with a report at bugzilla.redhat.com, and cross reference )

- KB
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] SSD diagnostics / test suite?

2011-11-24 Thread Karanbir Singh
On 11/23/2011 07:02 PM, Alan McKay wrote:
> Now, what about comprehensive suites?  Should I just run some IO
> suites on it like bonnie++ or something like that, and see what SMART
> says in the process?

test for what you care about really, most people use SSD's for the
performance angle. I tend to prefer iozone over bonnie++ these days -
there are a host of other perf test tools that might be worth running
through, eg the mysql-bench or the pgsql perf test. Depends on what your
production workload is and what you care about

- KB
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Antwort: Re: Antwort: Applications on different deskops at startup

2011-11-24 Thread Ljubomir Ljubojevic
Vreme: 11/24/2011 01:41 PM, Andreas Reschke piše:
>>
>> Vreme: 11/24/2011 12:43 PM, Andreas Reschke piše:
>>> I've the same problem. That's my solution:
>>
>> I can not help my self having little vanity.
>> It would be proper to say "This is solution I was given", or at least
>> "This is solution I use".
>>
>> It is not a big deal, but it still leaves a bit of bad taste in the
> mouth.
>>
>
> Sorry Ljubomir,
> it wasn't my intention, to downgrade your work.

I am not offended, I know it was not intended, but in general it is not 
fair to claim other people's work. Even I just integrated 2-3 solutions 
I found on the net and put it in nice loop/function. Just a reminder of 
all those helpful people posting solutions on forums and mailing lists 
all around a world.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Antwort: Re: Antwort: Applications on different deskops at startup

2011-11-24 Thread Andreas Reschke
centos-boun...@centos.org schrieb am 24.11.2011 13:32:34:

> Ljubomir Ljubojevic  
> Gesendet von: centos-boun...@centos.org
> 
> 24.11.2011 13:33
> 
> Bitte antworten an
> CentOS mailing list 
> 
> An
> 
> CentOS mailing list 
> 
> Kopie
> 
> Thema
> 
> Re: [CentOS] Antwort: Applications on different deskops at startup
> 
> Vreme: 11/24/2011 12:43 PM, Andreas Reschke piše:
> > I've the same problem. That's my solution:
> 
> I can not help my self having little vanity.
> It would be proper to say "This is solution I was given", or at least 
> "This is solution I use".
> 
> It is not a big deal, but it still leaves a bit of bad taste in the 
mouth.
> 
> -- 
> 
> Ljubomir Ljubojevic
> (Love is in the Air)
> PL Computers
> Serbia, Europe
> 
> Google is the Mother, Google is the Father, and traceroute is your
> trusty Spiderman...
> StarOS, Mikrotik and CentOS/RHEL/Linux consultant
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Sorry Ljubomir,
it wasn't my intention, to downgrade your work. 
 
Gruß 
Andreas Reschke


Unix/Linux-Administration
andreas.resc...@behrgroup.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Antwort: Applications on different deskops at startup

2011-11-24 Thread Ljubomir Ljubojevic
Vreme: 11/24/2011 12:43 PM, Andreas Reschke piše:
> I've the same problem. That's my solution:

I can not help my self having little vanity.
It would be proper to say "This is solution I was given", or at least 
"This is solution I use".

It is not a big deal, but it still leaves a bit of bad taste in the mouth.

-- 

Ljubomir Ljubojevic
(Love is in the Air)
PL Computers
Serbia, Europe

Google is the Mother, Google is the Father, and traceroute is your
trusty Spiderman...
StarOS, Mikrotik and CentOS/RHEL/Linux consultant
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Problem with gdb or maybe gcc

2011-11-24 Thread Fabien Archambault
On 11/24/2011 01:06 PM, John J. Boyer wrote:
> I have CentOS 5.7. Before the last updates, when I ran gdb with a
> program name gave a breakpoint and then typed run it would stop on that
> breakpoint. Now it prints the message "Warning: no loadable sections in
> added symbol file." It then just runs the program without stopping. What
> could have changed? Are there some flags that need to be set when
> invoking gcc?
>
> Thanks,
> John
>
Hi,

How do you compile in terms of flags? I usually compile with at least 
-O0 -g -ggdb.

Fabien
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Problem with gdb or maybe gcc

2011-11-24 Thread John J. Boyer
I have CentOS 5.7. Before the last updates, when I ran gdb with a 
program name gave a breakpoint and then typed run it would stop on that 
breakpoint. Now it prints the message "Warning: no loadable sections in 
added symbol file." It then just runs the program without stopping. What 
could have changed? Are there some flags that need to be set when 
invoking gcc?

Thanks,
John

-- 
John J. Boyer; President, Chief Software Developer
Abilitiessoft, Inc.
http://www.abilitiessoft.com
Madison, Wisconsin USA
Developing software for people with disabilities

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


Re: [CentOS] Forget SMB password immediately

2011-11-24 Thread Eric Coleman
Dear Guitart,

 You have Microsoft Windows on your mind . . . Microsoft has left the building!

- Original Message -
From: Guitart Francesc
Sent: 11/23/11 05:11 AM
To: centos@centos.org
Subject: [CentOS] Forget SMB password immediately

 Hi, I'm new to CentOS and also on the list, since I usually work with Debian. 
My problem is as follows: I have a NAS where users connect to do their backups. 
Each user has a folder shared where only he can enter. Multiple users get 
connected from a CentOS 5.7 to the NAS, each in its shared folder. I connect to 
the NAS by entering the login, password and shared folder of user A (here I 
connect through SMB port 445) and I get disconnected by removing the volume. I 
re-connect in the same way with the user B and then disconnect. Now if I 
connect with any user without entering the shared folder (I get a netbios 
connection to port 139) I can enter to the shared folder of user A and B 
without entering their credentials. A netstat -an shows me a connection to port 
139 and 445 per user. After a while (too I think) connections over ports 445 
and 139 are automatically cuted and I have to authenticate again. How I can 
force always the request of login and password? Thanks in advance. --
  Francesc Guitart ___ CentOS 
mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Antwort: Applications on different deskops at startup

2011-11-24 Thread Andreas Reschke
centos-boun...@centos.org schrieb am 24.11.2011 12:27:34:

> Tony Molloy  
> Gesendet von: centos-boun...@centos.org
> 
> 24.11.2011 12:27
> 
> Bitte antworten an
> CentOS mailing list 
> 
> An
> 
> centos@centos.org
> 
> Kopie
> 
> Thema
> 
> [CentOS] Applications on different deskops at startup
> 
> 
> Hi,
> 
> I've just converted my laptop to Centos 6 from Fedora ( gnome 3 made 
> the latest fedora unusable ) and I have one problem.
> 
> I have several desktops with applications running on them, mainly 
> terminals. At login all the terminals start on desktop 1. How do I get 
> them to start on the desktop they were running on at logoff. That's how 
> it worked on Fedora 13/14 so it must be popssible ;-) just can't find 
> the magic.
> 
> Thanks,,
> 
> Tony
> 
> ___
> CentOS mailing list
> CentOS@centos.org
> http://lists.centos.org/mailman/listinfo/centos

Hi Tony,

I've the same problem. That's my solution:

#!/bin/sh
#set -x
ProcessWindows(){
echo "Application= $Application"
case "$Application" in
"Lotus") wmctrl -r "$Application" -t 0;;
"Firefox") wmctrl -r "$Application" -t 1;;
"Office") wmctrl  -r "$Application" -t 2;;
"secpanel") wmctrl  -r "$Application" -t 4;;
"konsole") wmctrl  -r "$Application" -t 5;;
"File") wmctrl  -r "$Application" -t 6;;
esac
# done
}

sleep 10
Application="Lotus"; ProcessWindows
Application="Firefox"; ProcessWindows
Application="Office"; ProcessWindows
Application="secpanel"; ProcessWindows
Application="konsole"; ProcessWindows
Application="File"; ProcessWindows

 I've put this script in the autostart folder.
 
Gruß 
Andreas Reschke

BG-IM173
Unix/Linux-Administration
Siemensstrasse 164
70469 Stuttgart
 
Behr GmbH & Co. KG
ST B29, 3.OG
 
Tel.: +49 711 896-4598
Fax: ++49 711-8902-4598
Mobil: 0173-3197397
andreas.resc...@behrgroup.com
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Applications on different deskops at startup

2011-11-24 Thread Tony Molloy

Hi,

I've just converted my laptop to Centos 6 from Fedora ( gnome 3 made 
the latest fedora unusable ) and I have one problem.

I have several desktops with applications running on them, mainly 
terminals. At login all the terminals start on desktop 1. How do I get 
them to start on the desktop they were running on at logoff. That's how 
it worked on Fedora 13/14 so it must be popssible ;-) just can't find 
the magic.

Thanks,,

Tony

___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] How to get RHEL EUS source rpm.

2011-11-24 Thread huyfuo
I want to get kernel-2.6.32-71.36.1.el6.src.rpm(RHBA-2011:1412-1).
I have no RHEL subscriptions.
There's no EUS srpms in ftp.redhat.com.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos


[CentOS] Bacula dbcheck in CentOS6

2011-11-24 Thread Tilman Schmidt
[Is it true that nobody replied to this in four months?]

On Mon Jul 18 09:34:08 EDT 2011, Joseph L. Casale wrote:

> Anyone else notice that /usr/libexec/bacula/make_catalog_backup.pl runs a 
> "dbcheck -B"
> which doesn't seem to exist in the version of dbcheck shipped with it?
> 
> That makes it rather hard to do a catalogue backup with the shipped script?

That's an error in the RPM install script. It uses the "alternatives"
mechanism for switching between database backends but messes up.
/usr/sbin/dbcheck ends up being linked to /usr/sbin/bscan.mysql instead
of /usr/sbin/dbcheck.mysql. Consequently, when make_catalog_backup.pl
tries to run dbcheck it's actually bscan which gets run. Not
understanding the -B option is probably the least of its problems. :-)

Until the RPM gets fixed, you can manually correct the bad symlink with:

ln -sf /etc/alternatives/bacula-dbcheck /usr/sbin/dbcheck

HTH
T.
___
CentOS mailing list
CentOS@centos.org
http://lists.centos.org/mailman/listinfo/centos