02-19-2012
Do you ever use mstsc.exe to remote into the laptop? If so, it has to be running.
I'm not sure what you mean by good practice. Leaving it on behind a good firewall is a reasonably safe thing to do. If other people can physically get to it when you are not around and it is not password protected, that's bad.
If you are worried about hardware degradation, don't. Unless you are a place where power browns out a lot, or there are power surges. Chances are fairly good that MS will deprecate your OS before you lose siginficant hardware. This has happened to me several times - Windows 95, CE. Now, XP will be down into the junk pile shortly. It came out in late 2001.
10 More Discussions You Might Find Interesting
1. IP Networking
Hello! I have two machines one running Windows XP which is hooked up to my ADSL line and the other is my Linux machine. I want to be able to dial-up to my Windows machine from my Linux one and be able to use the internet. I would like to do this because it would allow me not to have a dial-up... (1 Reply)
Discussion started by: vertigo
1 Replies
2. Shell Programming and Scripting
I am using windows Xp. From windows I would connect to my IBM AIX unix machine using telnet client. Is there any command available to view the IP address of Windows machine from Unix? (Note that ifconfig will give unix mahcine's IP address currently logged in.) (3 Replies)
Discussion started by: mvictorvijayan
3 Replies
3. Solaris
hi,
I have some windows client machines which require a signal to be sent by a Solaris machine( SunOS 5.6) when ever a particular event occurs on that Solaris machine. What are possible communication mechanisms by which i can do this.
the constraints are
> the windows machines have to... (7 Replies)
Discussion started by: Krsh
7 Replies
4. Shell Programming and Scripting
I basically want to login into different linux machines( on the same network) from a windows machine. I know i can use ssh <machine name>. But i want to automate this process. I dont want to enter the username and password. Is there any way to do it. Can i make some sort of a batch script for it. (4 Replies)
Discussion started by: lassimanji
4 Replies
5. Solaris
hi ,
Please tell me how can i access windows machine from solaris OS.how can i share one drive or folder in windows for solaris
please give me the step whatever it required
thanks to all (1 Reply)
Discussion started by: sijocg
1 Replies
6. Shell Programming and Scripting
I need a shell script to copy files frm a linux machine to a windows machine using SCP. The files keeps changing day-to-day. I have to copy the latest file to the windows machine frm the linux machine.
for example :In Linux, On July 20, the file name will be 20.txt and it should be copied to... (3 Replies)
Discussion started by: nithin6034
3 Replies
7. Shell Programming and Scripting
hi,
i am using ftp command to transfer files from unix server to windows server using a web interface.
there is a shell script which is called by the web page which executes a ftp command which (ftp) tries to connect to the windows machine and asks for username and password.
so in order to... (6 Replies)
Discussion started by: Little
6 Replies
8. Solaris
hello all,
I have been googling alot about my problem and finally thought to post a question.
server: SunOS 5.1 64bit pn Sun Netra 240
i need to run an application which shows a gui tool but i believe SunOS cant show the GUI so i need to export the display to my system which is running... (3 Replies)
Discussion started by: wonderwall
3 Replies
9. IP Networking
Hi
I have established LAN with the help of D-Link router. I am having 2 desktops ethernet connection managed by this D-Link router.
One PC is with Windows 7 OS
Second PC is with Redhat Linux 6.1
Both the PCs now stands connected to internet via this D-Link router.
I could ping windows PC... (12 Replies)
Discussion started by: videsh77
12 Replies
10. UNIX for Beginners Questions & Answers
I was following the guide I found here for doing this and I reached the step where I added myself to the vboxsf group but I am still getting a permissions denied message when I try to get into the folder:
ubuntu12@ubuntu12-VirtualBox: /media$ cd sf_Shared_files/
bash: cd: sf_Shared_files/:... (0 Replies)
Discussion started by: Circuits
0 Replies
LEARN ABOUT DEBIAN
sleepd
SLEEPD(8) System Manager's Manual SLEEPD(8)
NAME
sleepd - puts a laptop to sleep during inactivity or on low battery
SYNOPSIS
sleepd [-s command] [-d command] [-u n] [-U n] [-I] [-i n] [-E] [-e filename] [-a] [-l n] [-w] [-n] [-v] [-c n] [-b n] [-A] [-H] [-N
[device] [-r n] [-t n]]
DESCRIPTION
sleepd is a daemon to force laptops to go to sleep after some period of inactivity. This is useful if your laptop does not automatically go
to sleep when you aren't using it, and, like me, you often forget to shut it off. It is also capable of suspending a laptop when its bat-
tery gets very low.
sleepd can detect activity in several ways. The default is to poll both event devices and interrupts to detect when your laptop is in use
due to keyboard or mouse activity. It defaults to polling /dev/input/event*. You may specify a list of device files to poll instead, or
use options to enable other means of checking for activity (network activity, utmp, or load average). After a configurable amount of time
with no activity, sleepd runs a program to put the laptop to sleep.
OPTIONS
-h, --help
Show summary of options.
-n, --nodaemon
Don't fork to background; run in forground.
-v, --verbose
Output status messages.
-u, --unused
Number of seconds the laptop can remain idle before being put to sleep. Defaults to 600 seconds (10 minutes). Set to 0 to disable
any sleeping due to idleness.
-U, --ac-unused
If set, controls the number of seconds the laptop can remain idle before being put to sleep when running on AC power. If not set,
the laptop will not sleep when it's on AC power.
-e, --event
Adds an event file to the list that is watched. Using this switch disables polling all files in /dev/input/event*.
-E, --no-events
This switch disables event device polling.
-l, --load
If set, a load average higher than this number will prevent the computer from sleeping If not set, the computer will ignore the load
average.
-w If set, sleepd will also check idletime based on utmp. This will prevent the system from sleeping while remote connections are
active. It uses the time limit from -u.
-i, --irq
Adds an irq to the list that is watched. Using this switch disables automatic detection of keyboard and mouse irqs unless -a is
specified as well.
-I, --no-irq
This switch disables interrupt polling.
-a, --auto
Automatically detect and watch mouse and keyboard irqs.
-s, --sleep-command
Command to run to put the laptop to sleep. Defaults to "apm -s" for systems with APM and "pm-suspend" for systems with ACPI.
-b, --battery
If this option is specified, the daemon will put the laptop to sleep if the percentage of battery charge drops below the specified
number and the system is off AC power. This is useful for some laptops which don't handle this themselves. It supports using APM,
ACPI, and HAL for querying battery status.
-d, --hibernate-command
A command to run instead of the regular sleep command when the battery is low. This can be useful if you want to make the system go
to sleep when it's not active, but suspend to disk if the battery is low. If not set, the sleep command is used.
-N, --netdev
Monitor a network interface for activity based on packet count. eth0 is the default. This option may be used more than once with
different network interfaces.
-t, --tx-min
Set a baseline transmit raffic rate in packets per second for network monitoring. Requires -N.
-r, --rx-min
Set a baseline receive traffic rate in packets per second for network monitoring. Requires -N.
-A, --and
Only go to sleep if all specified conditions are met. For example, only sleep if idle and if the battery is low.
-c, --check-period
Number of seconds between check on system status. Defaults to 10 seconds, which should be fine generally.
-H, --force-hal
Force HAL to be used instead of ACPI or other methods to query battery status.
SEE ALSO
sleepctl(1)
http://kitenet.net/~joey/code/sleepd/
BUGS
Interrupt monitoring cannot always detect keyboard and mouse. If the keyboard or mouse interrupt is shared (as is common with usb
devices), other devices on the same interrupt can keep the system awake. Use event device polling instead.
AUTHOR
Joey Hess <joey@kitenet.net>
SLEEPD(8)