Screensaver
by Jeffrey Ross
I have a application monitoring program running on the display of a
machine and I'm looking to have the screen lock with a password like the
screensaver does however I do not want the screen to blank since this
would obviously prevent me from seeing what's on the screen. But I do
want to prevent people from "tinkering" with the machine.
Any suggestions?
Thanks, Jeff
15 years, 1 month
How to kill qemu without losing (paused) VM?
by Neil Bird
I admit I may be missing something obvious, I'm new to this VM malarkey.
On my F10 running the VM manager (which I'd earlier failed to get working
but I think burst into life when I manually loaded the qemu kmdl):
I can pause the VMs OK, an come back to them later, but the qemu process
is still running, taking up RAM and seemingly eating a little CPU.
Is it not possible to somehow shut the qemu process down on a paused VM
for later restart? 'Disconnecting' seemed to only apply to the VM manager,
and still left the qemus running.
--
[neil@fnx ~]# rm -f .signature
[neil@fnx ~]# ls -l .signature
ls: .signature: No such file or directory
[neil@fnx ~]# exit
15 years, 1 month
Touch screen laptop
by Philip Rhoades
People,
I have an older laptop that has a reversible screen so it can be used as
a tablet PC but I have never used it like that (it currently has F10
installed). Are there Fedora utilities I can use to check to see if I
can get the touchscreen working with F10?
Thanks,
Phil.
--
Philip Rhoades
GPO Box 3411
Sydney NSW 2001
Australia
E-mail: phil(a)pricom.com.au
15 years, 1 month
selinux-policy-3.5.13-46.fc10.noarch - slight hiccup!
by mike cloaked
I have just updated some f10 boxes a few minutes ago. On logging on again
after rebooting to the new kernel this evening, the main user directories
have had their contexts changed to usr_t so I presume some kind of
relabelling has been done - but not correctly! After restorecon -vR
/home/user the contexts have mostly reverted to where they should be - I
initially noticed because ssh suddenly started demanding a passphrase when
it should not need one - and then I noted avc denials.....
This is for selinux-policy-3.5.13-46.fc10.noarch and the related targeted
policy.
I have tested on several systems and so far all is well after doing
restorecon -vR /home
as root to fix all user areas in one go. Any one user can fix their own
user area by doing restorecon -vR /home/user
I presume that this will lose any chcon changes - but any contexts that were
saved as a rule using semanage fcontext presumably should be restored -
though I have not had time to explore all directories yet.
This update was pushed to stable today so presumably it will take a while to
sync to all mirrors.
--
View this message in context: http://www.nabble.com/selinux-policy-3.5.13-46.fc10.noarch---slight-hiccu...
Sent from the Fedora List mailing list archive at Nabble.com.
15 years, 1 month
RE: file locking...
by bruce
Hi Dennis...
Thanks for the reply... Here's my solution up to now.. might change in the
future...
The problem:
App has a bunch of clients that need to get a separate/unique list of files
from a master server app. The files are created by the master server
process, and reside on the filesystem behind the server process. (this is a
client/server based app. client sends a request to the server.. the backend
operation of the server fetches the required files, and returns them to the
client app.)
A key issue is that I don't want to run into potential race conditions,
which would result in a given client never being served the files it's
trying to fetch.
Potential Soln:
1) Invoke a form of file locking, with each client processes waiting
until it gets its lock.
2) Invoke some form of round-robin process, where the master process
puts files in different dirs, so each client can have a better
chance of getting a "lock" for the different dir..
Final Soln: (for now)
I decided to cheat!
I realized that since each client process is essentially unique, I can
create a uniqueId (uuid) for each process. Remember, the client app is
hitting the master server/file process via a webservice. So I have each
client send it's uuid to the master server via the webprocess. this
information is appended to a file, which gives me kind of a fifo approach
for creating unique dirs for each client. the server (on the backend) then
reads the fifo file, for the uuid. in getting the uuid for the 'client', a
master cron process then reads the fifo file, and for each uuid in the file,
creates a tmp dir for the uuid. the master cron process then populates this
dir, with the required files for the given client.
on the client side, the client loops through a wait loop, checking to see if
anything is created/placed in its tmp 'uuid' dir.. if files are there, it
fetches the files, and proceeds..
This approach ensures that a client would never run into a situation where
it might never get files where files are available for processing. in the
event there are no files, the client simply sleeps until there are files..
in the event a client requests files via the sending of the uuid, and the
client dies before getting the files, but the master cron had already placed
them in the uuid dir.. there will be a cleanup process to reabsorb those
files back into the system...
thanks to all who gave input/pointers!!
thoughts/comments/etc...
-----Original Message-----
From: python-list-bounces+bedouglas=earthlink.net(a)python.org
[mailto:python-list-bounces+bedouglas=earthlink.net@python.org]On Behalf
Of Dennis Lee Bieber
Sent: Sunday, March 01, 2009 11:41 AM
To: undisclosed-recipients:
Subject: Re: file locking...
On Sun, 1 Mar 2009 10:00:54 -0800, "bruce" <bedouglas(a)earthlink.net>
declaimed the following in comp.lang.python:
>
> Except in my situation.. the client has no knowledge of the filenaming
> situation, and i might have 1000s of files... think of the FIFO, first in,
> first out.. so i'm loking for a fast solution that would allow me to
create
> groups of say, 500 files, that get batched and processed by the client
> app...
>
My silly thoughts...
Main process creates temp/scratch directories for each subprocess;
spawn each subprocess, passing the directory path to it;
main process then just loops over the files moving them, one at a time,
to one of the temp/scratch directories, probably in cyclic order to
distribute the load;
when main/input directory is empty, sleep then check again (or, if the
OS supports it -- use some directory change notification) for new files.
Each subprocess only sees its files in the applicable temp/scratch
directory.
--
Wulfraed Dennis Lee Bieber KD6MOG
wlfraed(a)ix.netcom.com wulfraed(a)bestiaria.com
HTTP://wlfraed.home.netcom.com/
(Bestiaria Support Staff: web-asst(a)bestiaria.com)
HTTP://www.bestiaria.com/
--
http://mail.python.org/mailman/listinfo/python-list
15 years, 1 month
Failure in updates, what now?
by Dave Bolt IT Solutions
Last night's updates, 17 Updates and 4 Installations, mostly went well but
there was an error with SELinux blocking cupsd renaming and writing to
subscriptions.conf
The summary in SELinux is, for instance,
SELinux is preventing cupsd (cupsd_t) "rename" to ./subscriptions.conf.0
(cupsd_etc_t)
How do I re-apply the update?
Should I be filling in a bug report or three?
What further information do you helpful folks need, if any?
Thanks
Dave
15 years, 1 month
pidgin startup data
by Wolfgang S. Rupprecht
Anyone know where pidgin startup data is kept? Ever since a forceful
shutdown of one of my NFS clients pidgin refuses to start correctly. I
can see pidgin is running from ps(1) but it never opens the intial
window onscreen. I can hear the tones when a buddy logs in or out and
when they initiate an IM connection the IM window opens on screen.
I assume pidgin stores state as to where the main window was last
located and it somehow is now off screen. Where is this info stored,
I'd like to try zapping it and recreating it.
-wolfgang
--
Wolfgang S. Rupprecht http://www.full-steam.org/ (ipv6-only)
You may need to config 6to4 to see the above pages.
15 years, 1 month
Logging from remote sources
by Gene Heskett
Greetings;
I, like many of you, am using an old x86 box as a router, running the x86
version of dd-wrt-sp1 from a cf card in that old box, no drives, just nics.
So this question is directed at those using such equipment.
dd-wrt has an option to send its logs to a remote address rather than keeping
them in volatile memory, which it appears can only use about 320 of the
512megs in that old box. But it auto-rotates those logs at about 50k and only
keep the previous one.
So I've told it to use this machines ad.dr.es.s:514
I also have it mounting a samba share, but a startup script for dd-wrt that we
cobbled up back in FC2 days, is apparently no longer working to allow that
access, although dd-wrt says its mounted, with nearly 400GB of empty space
showing on its status screen.
I want to set up rsyslog on this machine to be a receiver, and log to a
separate file, the data it should be capturing on port 514. Right now, it
looks like a pretty good imitation of /dev/null. :)
I have the manpages and docs installed for rsyslog, and they seem to contain
nice examples of sending the logs someplace else, but nothing on the reverse,
where it is to log from another source.
Is there a tut on this someplace, or can someone advise me how to do this?
Thanks.
--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If you see an onion ring -- answer it!
15 years, 1 month
"No Screen" error when running F10-i686-Live-KDE and Nvidia GEForce 7000M
by Chad Trotter
First off, thanks for taking time to read this post.
I am having an issue with running and installing the F10 Live KDE CD. I have spent several days reading posts about how to pull the correct video driver I need for this work on my wife's ACER Aspire 4520.
I am an absolute n00b when it comes to Linux. This particular CD will boot fine on my Thinkpad and I've been able to run Ubuntu and Kubuntu on the machine.
I'm not exactly sure where I need to go now.
Thanks for any help.....
Chad
15 years, 1 month
Swap file size?
by Dave Bolt IT Solutions
I found some more memory modules to add to my test box, taking it from 256MB to 896MB. I notice the swap file is 512MB. Does Fedora Core 10 automatically change the size of the swap file or do I have to tinker?
Thanks
Dave
15 years, 1 month