Fedora :: How To Cath E Log On / Off Sleep Event
Apr 16, 2010In window , I can catch all of systems event by window API, but in Linux,I don't know how to do it.
View 2 RepliesIn window , I can catch all of systems event by window API, but in Linux,I don't know how to do it.
View 2 RepliesWith /usr/bin/canberra-gtk-play set to --id='desktop-login' in the startup Applications dialog one expects a sound to play at login. This is not the case with fedora 12. I set the variable to --file=/home/me/sounds/myloginsound and I got sound.
I'm curious as to why the event id failed. I suspect that id was not linked/associated with any sound before fedora 12 was released. How does one troubleshoot sound event ids and their associated sounds in f12.
I'd like to get audio when I log out as well. I recall seeing a dialog box with events and associated sounds in f11 (or was it f10?) .... I don't see it in f12
1. Does anyone know which package adds that functionality?
2. In the absence of a GUI approach, how can this be achieved (with the terminal)?
$ cat /etc/redhat-release
CentOS release 5.4 (Final)
I've tried two copies of a: Microsoft Natural ergonomic Keyboard 4000 v1.0 Both fail. The result is my screen fills up with whatever key was missed. Re-pressing the key does no good. I have to unplug the keyboard and then plug it back in. So, I'm interested to know if this is a general problem or just my system. Meanwhile, I'm turning down the key repetition rate so it doesn't immediately fill my screen when it happens.....
I was having a job in /etc/event.d. It was working fine upto FC12. With upgrade to Fedora 13, it stopped working . Searching the internet, It looks like /etc/event.d is obsolete and I need to use /etc/init. Also the filename has to have a '.conf' extension. So I have renamed my job as /etc/init/svscan.conf.However, it fails to start automatically on reboot . It works if I manually issue the command % sudo /sbin/initctl emit qmailstartBut fails to start automatically on reboot. Is there anything wrong in my script below ? Let me know if I have missed out anything?
% cat /etc/init/svscan.conf
# svscan - runlevel compatibility
# WARNING: This file was auto-generated. Do not edit!
[code]....
I am using fedora 9, with kernel version 2.6.25-14.fc9.i686. I installed rsh-server. My configurations (with firewalls off)were:
1. In /etc/xinetd.d/rsh made "disable = yes" to "disable = no"
2. In /etc/securetty included the lines rsh and rlogin
3. By switching to user 'user1', in /home/user1/.rhosts included ip address of remote machine and issued 'chmod 400 /home/user1/.rhosts'
4. restarted xinetd service
When I issue the following from remote machine rsh <ip address> -l user1 ls it fails saying 'Error sending audit event.' In 'tail -f /var/log/messages' I could see the error dump
socket bind: Invalid argument (errno = 22) Error sending audit event.
I was using V9 and upgrade to V10 and now my logins in my inittab do not work. I realize that is file structure is outdated so I made individual run files for each of my serial devices under event.d ( such as TX0000 - rc....etc) - all this works but i need to manual type initctl start TX000o to get logon for my serial devices. I would so much like them to automatically start on bootup.
View 3 Replies View RelatedI had this problem at first in Fedora 14 KDE. When I try to put it to sleep or hibernate it will go to black screen and then just turn back up. And now on my other computer which runs on Fedora 13. After KDE 4.5.2 update it does the same thing. I think it is same problem but I can't be sure.
View 3 Replies View RelatedI am using fedora 11. I have disable power management and screensaver.
[Code]....
However, when I reboot my computer, it will still come to a black screen after 10 minutes. When I move my mouse once, it never sleep again.
i'm having this problem:when i put Fedora to sleep the system disconnect all my usb (or so i think)basically i can't wake up my computer becouse there is no where to do it.it gets back to normal after i power it off/on...how can i fix this?please since i'm new both to fedora and linux try to be detailed with the explanations, or there is a good chance i won't understand a thing
View 1 Replies View RelatedI'M using F14 x86_64 and my problem is suspending. When I closed my laptop lid its going black screen and my hdd led is lighting I think my hdd is working hard and I think my cpu is working hard too so fan is working fast and my notebok is going hot.Any key is working on black screen. I must shut down hard .y computer has i5 and ati 5650. WHen I was using Mint 10, it has going sleep well
View 3 Replies View RelatedI just recently updated to kernel 2.6.35.10-83, and after the usual hassle of updating my ATI driver, it worked perfectly. Or so I thought ..
When i pushed the sleep button on my laptop to suspend the system, it turned out that it doesn't do so very well any more - it sounds like it turns off the harddrive, and then the screen just goes blank except for a blinking, but unresponsive cursor. Also, pressing numlock/capslock doesn't switch those little lights on/off.
The only thing I can then do is to hold the power button for a while to shut down.
Is anyone else experiencing this, or does anyone have a solution?
I there anyway to prevent Fedora from going to sleep / hibernate.
View 1 Replies View RelatedI upgraded to fedora 11 from fedora 10 yesterday, I like it ok but when I put the machine in sleep mode and then go to turn it back on it comes up to the log in screen and thats it its frozen. I hate to completely shut down the machine every time I get off.
View 2 Replies View Relatedwhen I hit the shutdown option... I notice my Hibernate and Sleep button are gone... just the other 3 buttons are there.I wonder if it's certain apps I'm running (that can't be allowed to go into Hibernate) or if it just happens at random for no reason.Has anybody else had this problem? and what is causing this?
View 1 Replies View RelatedI am trying to figure out what is causing my system to go to sleep as soon as I wake it up.
- Every time I put my notebook to sleep by pressing (Fn+F1)...
- When I wake it up by hitting the power button or opening the lid,
- The system starts wakening, but then it just sleeps again.
- By this time I just hit the power button or open the lid again, and is ok then.
I been trying to read about ACPI & HAL, but I haven't notice anything suspicious.
I have a Dell M1330 with Nvidia (manufacturer drivers) running FC11.
I've configured my F12 system to go to sleep when idle for a period of time and so far everything has been working out well except that it appears that the USB ports are completely dead with the system is put into sleep. I can't wake it using keyboard or mouse. only with the power button. Anyoen else experience this or know how to allow sleep from keyboard/mouse?
View 14 Replies View Relatedwhich log file should i look at to debug problem with system sleep or anything to do with the system won't return back after goes to sleep.
Basically i got my system running from the night before. No problem until this evening around 5pm. (i realised the problem at 5pm) my monitor goes to sleep. My system power still on. It won't respond to monitor/mouse movement. i can't ssh in.
After reboot, check /var/log/messages. The only message there before reboot was at 9am. I am pretty sure everything worked fine around 2pm.
So I have Fedora 14 installed on a laptop directly connected to my printer. I really never use the laptop except to send print jobs to it wirelessly. I was wondering if there was a way to make it suspend or sleep, or even idle everything down so it uses less power, but still listen for print jobs?
View 2 Replies View RelatedWhenever I resume my laptop, there is no audio... the only way to make it work is to restart my comp ...I am using fedora 14 on Thinkpad x201 .
View 1 Replies View RelatedI'm not sure, but I think this is hardware. Anyway, I have two different boxen running FC14. One has a Nvidia 9800, the other a Nvidia NV96. The former I use as a desktop, the latter a server. I've let the server go with whatever the system autodetects for video, but the desktop I've played with a ton: nouveau, nvidia, etc.
Anyway, since I upgraded both to 2.6.35.9-64, both go to sleep at some point during rhgb. I can't find anything in boot.log, messages, or what have you to try. This happens even if I go to runlevel 3, so unless I'm misunderstanding the boot sequence, this is way before X starts.
Now, just upgraded to 2.6.35.10-72 tonight, and the behavior slightly changed. Before, it would show the rhgb loading screen for a few, but then the monitor would sleep before it completed. As of this kernel, it just goes to sleep right away.
The only quirky thing I can think is that I'm running DVI out into a KVM. I have been making sure to have the machine as the active video when it boots, so it should still be able to feed EDID info to the machine, but I did notice when trying to track down nouveau/nvidia problems on the desktop that X was having trouble reading my EDID all the sudden.
I'm assuming there's some automagic default now that's putting my monitor out of range. The only way I've been able to keep the desktop running is to not have the nvidia driver installed, but also not have a driver type specified in xorg.conf. If I do that *and* specify a modelines, I can boot with rhgb off at runlevel 3, then manually start X. From the Xorg.0.log, it appears to be falling back to vesa, which is the only thing that works.
How can I debug this? If the monitor sleeps but there are no messages in boot.log, messages, or Xorg.0.log, how can I even figure out what rhgb is doing?
I have been using fedora 14 .. I have set d sleep timer and lock the window timer to "Never"But when i watch movies on VLC player the screen locks automaticaly after a few minutes ..
View 6 Replies View RelatedI have a HP laptop with an internal tv-tuner card, which i use once in a while, because i don't have a tv. The problem is, that the kernel module i installed to make this piece of hardware work, for some reason makes my laptop unable to sleep. So if i want to suspend my pc, i have to first unload the module, using
[code]...
Im looking for the command to pause or sleep a process by pid.I dont want to use the kill -STOP
View 1 Replies View RelatedRegistered: Sep 2010
Location: Pune
Distribution: Fedora and redhat
Posts: 2
Rep: Reputation: 0
how can i change sleep idle time in fedora
finally got my wireless to connect before i log in, but now i see that when the computer boots, before i login, it will go to sleep if i wait too long. next question, how do i change pre-login sleep timers?
View 2 Replies View RelatedI have Fedora 10 x86_64 installed on my Think Pad T61p and when ever I put it to sleep and then try to wake it back up, it doesn't wake back up, all I get is a blank screen
View 2 Replies View RelatedI have been working on this problem for a few month. By messing with windows registry and local security policies I was able to remotely shut down windows from Linux by issuing:
Code:
net rpc SHUTDOWN -C "comments" -f -I xxx.xxx.xxx.xxx -U username%password
But now I am wondering how to force windows into sleep or suspend remotely from Linux.
It seems that there is no "net rpc SUSPEND" or "net rpc STANDBY" option available.
how to perform such remote operation?
Gnome would sleep after specified 10 min and put this machine into <1 Wt saving mode.KDE just invokes screensaver and turns off display. It won't even spin down HDDs.There are no profiles in KDE power settings and I can't create any - create button works, but 'new profile' dialogue does not actually create any profiles.This is a brand new default install of F14 on AMD 890 chipset.
View 1 Replies View Relatedinstalled Fedora 14 on my desktop a couple of days ago. For the most part, it seems to be fine, but I've got a problem with the 'put display to sleep when inactive for' setting. From the desktop, I've tried going to system/preferences/power management, where I've set the display to go to sleep when inactive for 30 minutes - however, it instead goes to sleep after five minutes. The same applies whether I set it to 10m, 30m, 1hr or never.
Having looked online, someone mentioned gconf-editor as a fix to another issue, so I decided to give that a try as well. Under /apps/gnome-power-manager/timeout, I tried setting sleep_display_ac, sleep_display_battery and sleep_display_ups each to 1800 ("The amount of time in seconds before the display goes to sleep" - 30mins, by my maths) on the off-chance that the OS had incorrectly detected the power source, but the display again went to sleep after five minutes.
If it makes any difference, I'm not using a screensaver, and I think the kernel I have installed is 2.6.35.13-92.fc14.i686 (that's what's given in System Monitor). I've also tried running yum update, again just on the off-chance it'd fix something, but everything is up to date.
I boot EPC 1000h from usb(Fedora-12-i686-Live). it shows msg at the point about "drm-model-rmfb". ...than it "sleep forever".
View 2 Replies View Related