General :: Run Xscreensaver Whenever The Lid Is Closed
Apr 24, 2011How can I run xscreensaver whenever the lid is closed? I'm running Ubuntu 10.10 with the awesome window manager.
View 1 RepliesHow can I run xscreensaver whenever the lid is closed? I'm running Ubuntu 10.10 with the awesome window manager.
View 1 RepliesI am trying to get the X screensaver gltext to monitor my system temp and maybe some other stats. Writing a script that puts together the stats periodically is no problem, but the main thing I'm running into is that gltext doesn't refresh - whatever text I feed it stays there.So, for example, I run this command:$ /usr/lib/xscreensaver/gltext -text "`cat /proc/acpi/thermal_zone/THRM/temperature`"and get a gltext window showing:temperature:60 CI can manipulate it and format it as necessary, but as my CPU heats up and cools down, it doesn't update, even if I include time variables that do.I have a script that feeds gltext the time as the first line and the temp as the second line - and although the time updates continuously as the time changes, the temperature value remains the same as whenever the screensaver started.
View 2 Replies View RelatedI have xscreensaver installed and configured. I have it set to turn on after 5 minutes, cycle every 5 minutes. I have acpi setup to blank my monitor after 10 minutes and power off after 15 minutes. The problem is, sometimes it works, sometimes it doesn't. I haven't figured it out. The service from what I can tell only runs when the screen saver is active. So checking ps -e doesn't tell me much, and since there isn't a true problem it is not recording anything in the logs.
View 1 Replies View RelatedI am facing problem while connection to host (Red Hat Enterprise Linux ES release 4 (Nahant Update 5)) via putty.
when ever i try to connect host machine via putty/ssh, connection is established succussfully but just after few minutes it disconnectes . same is the problem if i connect using VNC. I did't made any configuration changes in recent past, earlier every thing was fine.
recently my windows XP pro crashed and so i reformatted wth fedora. when on windows i had some movies that played fine, like .aac or .mkv with no lag or bad pic. so now on fedora, with the same hardware ill use VLC or K media and its terrible. voices are off, grainy, stops a lot. i installed easylife to get the necessary plugins but still looks like garbage.so i was told to try and open my DMA to get a better experience.
View 4 Replies View RelatedI'm using tigthvnc server on linux machine. Often my clients are closing their vncviewrs from close button ('X'), and not exiting gracefully their sessions from OS. How can I terminate the server when they do that?
View 1 Replies View RelatedI have a server program in ubuntu which i run using putty remotely. My problem is that when i closes my putty window, my server automatically closes and stop working.
I want that once i start my server it remains on when i closed my putty window.
nmap is showing a port as closed. I have the firewall stopped on both hosts.It shows as closed on localhost as well.The process that's listening to that port is not started from xinetd so i doubt hosts.allow/deny is the issue.I can't help but feel that I'm forgetting some other access control mechanism.Both hosts are RHEl5.4
View 3 Replies View RelatedIn my case, it occurs intermittently when trying to connect using putty's command line client 'plink.exe' to a linux machine using ssh. For some testing purposes, a linux server is setup with 8K virtual ip addresses and the testing scripts will connect to these ip addresses through ssh using plink.exe. There will be concurrently 25 ssh sessions launched to the server. While it works for sometimes, it throws 'server unexpectedly closed network connection' error intermittently. If the same ip address is tried again manually, it works. While the ssh server is accepting connections, this error is thrown sometimes and unable to find out the reason from the logs. It is not that the ssh connection is completely blocked. It gives this error message while connecting to some of the virtual ip addresses but works some times.
The hosts.deny, sshd_config are tuned to allow the connections, allow more sessions etc.
I think I can do it by brute force with a crontab entry for each of the 15 days at a time, but I'm not even sure I know how to do that.I'm trying to automate a process I do manually every day. That is, I execute the same command every day for 15 days running, manually changing the filename of the file by 1 each time, i.e. file.1.dmp, file.2.dmpThen after I reach the end of 15 days, I start again changing the filename being written back to the name of the first file I created 15 days ago. This overwrites the 15 files one a day for 15 days. That is, after I create the file.15.dmp, I (manually) change the name of the file being created back to file.1.dmp again.
I realize that this may not be descriptive enough to help me with getting an answer. I don't know how else to explain it. I'd be more than glad to fill in any details I've missed.I've thought about using a for loop, but it's been so long since I've had to do any programming I hesitate to go down that path. I've though about using the current date variable to change the filename, but how do I reset the script to start again after 15 days?The point of my exercise is to have a rolling backup/dump file for 15 days that I can restore from if needed.
I am only getting 4.7kb/s, dispite there being 31 or so Seeders. The port is just opening and closing it seems, I have no idea why though.The port was opened both with firestarter (which isn't supposed to be firewalling ATM) and "sudo iptables -A INPUT -p tcp --dport 6884 -j ACCEPT".It was also opened under the 'Application Sharing' menu of my router.
View 6 Replies View RelatedWe have one FTP server. Users are uploding files to the perticular directory remotely. but today some users got below error message.
421 Service not available, remote server has closed connection.
(vsftpd service is up and running) What are the possible causes for this error and from where I should start troubleshooting?
How to set xscreensaver as default
I just enjoy xscreensaver, but I like to have it as default, when f12 start. I am not very deep in details of Fedora, but still, can anybody guide me to set this as default ?
I added XScreenSaver 5.08 to her applications list. We've had issues with XScreenSaver and want to either disable or uninstall the application. We cannot figure out how to disable XScreensaver and revert to the original screensaver app that came with the system. When I use Snaptics Package Manager to either 'completely' uninstall', or just 'uninstall' the message says that I will uninstall the 'desktop'.
Does this mean I will uninstall only the desktop version of XScreenSaver applilcation? Or, does this mean I will uninstall the system desktop (in this case Xfce)? I'm a little hesitant to punch the button in case I blow off Xfce desktop! Our goal is to either disable or uninstall XScreenSaver 5.08. Then be able to use the screensaver that came with the system.
how to set xscreensaver as default I just enjoy xscreensaver, but I like to have it as default, when f12 start.
View 1 Replies View RelatedDebian/Testing/XFCE4. I have xscreensaver installed but can find no way to set it up.
View 2 Replies View RelatedWhile I will not dispute this is not for everyone, I was wondering is there a trick to get webcollage working in Slack 13?
It works from the command prompt with something like this: /usr/libexec/xscreensaver/webcollage -vvv -size '800x600' -imagemap crazy
Just wondering why the Xscreensaver portion seems to be defunct.
For some reason I cannot figure out, xscreensaver does not have permission to control my screen. It's present in memory, so the settings app thinking it is not present and asking if I want to start it is odd. Could the the necessity of using VESA BIOS controls to get around bugs in the VIA/S3/Unichrome chipset be the source of the problem? Are there other Linux screensavers that might work differently and might still be able to blank my screen?
View 4 Replies View RelatedMy supposedly stable system was crashing. The problem was one or more specific screensavers--xscreensaver, the display manager (lightDM), and X itself are innocent as far as I can tell.
I'm on a Thinkpad T400 with Debian Jessie (8.4)/MATE/lightDM. I have libreboot and not proprietary BIOS. I like variety, so in addition to installing xscreensaver itself (the unofficial patched jessie version without the "out of date" nag, which I got from https://angband.pl/debian/pool/main/x/xscreensaver/), I also installed some extras from the official repository (xscreensaver-gl-extra, xscreensaver-data-extra, xscreensaver-screensaver-bsod). I enabled all the installed screensavers and asked xscreensaver to randomly cycle through them.
To my dismay, after variable lengths of time (usually within 20-60 minutes), when a random screensaver has been on for a little while (I'm guessing as it's about to go to the next random one), X crashes to a black screen. The only way to make the black screen go away is to kill X (which I mapped to Control + Alt + Backspace) then log back in. There are no useful logs anywhere except some cryptic IO error 11 entry in ~/.xsessionerros.
Now for the troubleshooting:
1) First I tried installing a more up-to-date version of xscreensaver (5.34-2), which I grabbed from the sid repository. This didn't work--same problem as described above. Therefore, I went back to the patched version for jessie (5.30-1 from angband.pl).
2) To exclude that the lightDM middleman was the problem, I disabled it and was logging in with startx. Problem did not go away. (I then rigged systemd to log me in automatically and for startx to run automatically once I'm logged in--who needs middlemen?)
3) To exclude screensavers butting heads, I uninstalled mate-screensaver and disabled anything from X that could be interfering (by running these commands in a startup script: xset -dpms; xset s 0 0; xset s noblank; xset s off). Problem did not go away. I kept this startup script nevertheless.
4) Finally, to exclude individual xscreensaver module(s) being the problem, I unchecked them all. Then I wrote down the names of my 20 favorite modules (which include some from gl-extra, some from data-extra, and bsod) and tested them in small batches, running xscreensaver with only 5 favorites checked at a time. After testing four batches of 5 and witnessing all 20 favorites both display and load without any X crashes, I went ahead and selected all 20 favorites. I left the laptop on overnight and in the morning (about 12 hours later) it's still going strong.
One or more particular xscreensaver modules are crashing X, probably at the time they are being loaded to be the next one to show. I think I already spent enough time on this, so don't really care to identify +/- troubleshoot the offending modules.
I'm having some problems getting my screensaver to work automatically.If I start the screensaver config program then it gives me this message: "The XScreenSaver daemon doesn't seem to be running on display ":0.0". Launch it now?" If I click yes then my screensaver works exactly as expected.How can I get the XScreenSaver daemon to start automatically?
View 3 Replies View RelatedCan someone please tell me why I have 2 screensaver programs? I have screen saver - KDE Control Module and XScreenSaver. What is the difference between them?
View 1 Replies View RelatedI recently installed xscreensaver in order to change some settings on some of the screensavers I have. All is well until I lock the screen. I do not like the look of the password entry window. the one that came with the GTK2 theme I use looked great and I was wondering if there was a way to tell xscreensaver to use that one instead of the one that it uses by default. Also, whenever I restart my computer I have to open up xscreensaver and tell it to kill the gnome-screensaver daemon and then start the xscreensaver one. Is there a way to automate this process?
View 2 Replies View RelatedAlthough xscreensaver is much better and liked by many users, the Ubuntu devs replaced it with gnome-screensaver simply cause -
1) It's integrates better with the gnome-desktop.
2) It follows release cycles of Gnome.
Since the devs and admins won't listen, we users have to clean their **** up and this is the howto - In Ubuntu, the gnome-screensaver is running; but xscreensaver is better, so we need to replace it. The gnome-screensaver runs as a daemon...removing this gnome-screensaver package will remove this executable also -
[Code]...
I just installed Xubuntu 10.10 after killing my previous one w/ manual changes. Anyway, a moment after starting XScreensaver, the screen will blank. When i move my mouse, the cursor is visible, nothing else. the only thing i've been able to do is unlock, move cursor to the logout button, and logout.
View 3 Replies View RelatedI recently installed Xubuntu on a 5+ year-old Acer Aspire laptop. In spite of how the root, swap and home are volumes in an LVM2 group on top of a fully-encrypted harddisk, it's quite swift this computer isn't for me, however; it's for my old man. It's been my pet project for the past few weeks, as an exercise in making Linux both highly secure and user-friendly, so that even a technophobe like him could use it without fear of identity theft if it ever gets lost or stolen. I recently shipped it off to him...
The weakest part of security, however, I fear may be the screensaver, which is why I ask. I've searched and searched and cannot manage to find any information on security hardening practices (apart from banal advice such as "always choose a secure password" and "never log in to an X-session as root"). What I want to know is, just how safe is a locked screen? Also...is it technically possible with the right tools to get a core dump of a running computer and thus extract the block device encryption key from memory? I know that your run-of-the-mill thief will just try hitting the power button and throwing in a livedisk, but hey, you never know. Edit: found. [URL] I guess I need to tell him how to set the BIOS password to thwart that sort of thing next time I talk to him on the phone...
Sometimes my screen-saver crashes, showing a blank screen with "render error detected ..." message.This message is displayed only short time <1s, then login screen appears.Due to short time, I'm not able to read the complete error message on screen. Is there a way to delay the displaying of such errors so I can read it properly?In the /var/log/messages I have found the following: Code: Jul 9 09:22:33 dc7100 kernel: render error detected, EIR:
0x00000010
Jul 9 09:22:33 dc7100 kernel: page table error
Jul 9 09:22:33 dc7100 kernel: PGTBL_ER: 0x00000010
[code]....
I recently upgraded to zenwalk 6.2 and xscreensaver now starts automatically so i have to input my password whenever i shut and reopen my laptop lid. how can i stop it from auto-starting.
View 3 Replies View RelatedIm running ubuntu 10.04 lts. Ive been struggling with automating a screensaver to come on and off at shceduled times. all is working fine except I cannot seem to get xscreensaver to start from cron. when i run it manually i need to use:
xscreensaver & and then hit enter. I'm not sure whats happening as i only get the line that it ran in my logs but no error. i am using xset to turn the display power on and off, then xscreensaver-command -activate and deactivate, after loading the xscreensaver daemon. everything automated works fine except starting xscreensaver daemon. if i run the same commands manually it works fine. if i leave the xscreensaver daemon running and shutoff display with xset it will come on again unless i kill xscreensaver. fyi what im trying to do: my linux file/web/music server is on a tablet netbook and i flipped the screen around and am trying to also use it as a digital picture frame. which works fine, i just dnt want to run it needlessly 24/7
So I'm using xscreensaver on Fedora 13 and was wondering if I could use a different screen-saver on each of my monitors (I have two). I don't know how or if I can do so, but I'm confident that someone here will.
View 2 Replies View RelatedI'm having trouble trying to make a script. What I want to do is check if xScreenSaver is running in my user account. If not, run it. If it's running, kill it.
So this is the script I've made:
Code:
The problem is that I've echoed the output of $(pgrep -u $(whoami) xscreensaver) and it always seems to add 4 numbers to the pid, even if the pid doesn't exist. What do I mean by "doesn't exist"? That no xscreensaver is running in my user, and if I run pgrep -u $(whoami) xscreensaver in bash, I get not output, but if I run the command though the script, I get (for instance) 4050. If I run it again, I get 4054, and again 4058... etc. What the hell is going on with that?