Debian Configuration :: How To Forcibly Disable Laptop Close From Suspending
Mar 31, 2016
I'm using xfce, and the power manager settings, to only lock the screen when close, are not honored. The laptop suspends, no matter what, when closed. Is there a way to forcibily only allow xfce power manager to handle the close lid behavior?
View 2 Replies
ADVERTISEMENT
Dec 30, 2015
I've just installed new Debian 8 from live CD, lxed. The problem is urgent, I cannot do anything on my laptop, the computer keeps on suspending/hibernating every 30 seconds or so.
View 4 Replies
View Related
Feb 3, 2011
Unbeknownst to me the LVM volume (on LUN) that I removed from my server was in use by another system. So instead of vgexporting the volume group on one of the servers and then lv,vg,pv-removing it on the other I dismantled the LVM devices my servers (as belwo).
0. unmount the filesystem
1. Remove logical volume (lvremove <vg>/<lv>)
2. Remove volume group (vgremove <vg>)
[code]...
View 6 Replies
View Related
Dec 17, 2011
Dell Latitude C610 laptop with Debian Squeeze.I am using the computer as a print and file server, accessing it with ssh, so I don't need the display (which is busted anyway). I want to close the lid without having the computer suspend. Could not find a way to make it happen with gnome-power-preferences or the BIOS settings. There is a script, /etc/acpi/lid.sh, that runs when the laptop lid switch changes. Part of the script is shown here:
Code: Select allgrep -q closed /proc/acpi/button/lid/*/state # this is a file of 1 line like "state:Â Â open" or presumably "state:Â Â closed"
 if [ $? = 0 ]                # The brackets evaluate to True when the lid is closed.
then
  if [ x$LID_SLEEP = xtrue ]; then
    [ -x /etc/acpi/sleep.sh ] && /etc/acpi/sleep.sh # i.e., if this file exists, then run it.
    exit
  fi
... there's more ...
Â
The stuff that gets executed after the if [ #$ = 0 ] is the stuff that suspends the computer. So I just replaced the brackets with something that is certain to be false, so it will never happen:
Code: Select allif [ 1 = 2 ]
I admit this is FAR from an elegant solution, but it seems to work and it doesn't fubar the system.
View 3 Replies
View Related
Nov 6, 2010
i have set up a laptop running maverick as server but the problem is that when i put down the screen ubuntu suspends my laptopwhat should i do??
View 3 Replies
View Related
Jan 20, 2010
I would like to be able to suspend to disk or Ram from the command line. I can do it with the package 'hibernate' which works well, but it needs to be run as root:
Code:
Do you know if there is any way that I can make this script run by normal users?
I am using a minimal version of 9.04 with openbox.
View 9 Replies
View Related
Jul 20, 2015
So I have this laptop with a busted battery, I'm trying to get it into some kind of headless server, media topbox hybrid.
First thing I want to do is being able to leave it shut (powered on) in the corner without having to interact with it directly.
I've setup ssh and vnc so to login remotely and do task, transfer files and etc.
However there is a little issue with the laptop lid down upon turning it on, it immediately goes into suspend when getting to the display manager, which is 'lightdm'.
I suppose this is the default setting for Xorg and as such my custom configs for KDE only kick in after I login.
Question is: I never seen configuration for default power management stuff being done in Xorg, is there some way to disable automatic suspension on lid down?
Another question is: After the KDE kicks in does it always replace power options? I have setup a xorg.conf file specifying dpms options but these don't seem to remain.
View 11 Replies
View Related
Aug 18, 2015
I bought a hp envy x360, and I have installed debian 8.1 and I have some problems with GNOME.
I am running session and it works fine, but after some time it is closed suddenly and after I can't start session.
View 0 Replies
View Related
Nov 2, 2015
Where is now, in new Debian systems, the internal text file where the
adequate medium (live systems recognize a medium /dev/sdb1 if I connect my phone tablet)
has to be present if used?
Is a special procedure to be use to mount, open, read, close and unmount them properly?
View 1 Replies
View Related
Nov 2, 2015
System is a Dell E7440, with Jessie, I recently upgraded to kernel 4.2.5 due to issues with wireless that are supposed to be fixed. (The same issue exists with jessie stock kernel 3.16 and BPO tough)
When I close the lid it often does not work and I get this in dmesg
Code: Select all[Â 567.104335] pci_bus 0000:01: Allocating resources
[Â 567.104349] pci_bus 0000:02: Allocating resources
[Â 567.104415] pci_bus 0000:03: Allocating resources
[Â 567.104428] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[Â 567.105515] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[Â 567.105540] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[Â 567.105585] i915 0000:00:02.0: BAR 6: [??? 0x00000000 flags 0x2] has bogus alignment
[Code] ....
I suppose the i915 stuff is something I can ignore, However
Code: Select all[Â 570.768020] acpi device:40: Cannot transition to power state D3hot for parent in (unknown)
seems to be the issue.. I don't even know what device:40 is.
in ls -l it shows as
Code: Select all lrwxrwxrwx 1 root root 0 Nov 2 12:28 device:40 -> ../../../devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/INT33C6:00/device:40
and
Code: Select all# cat /sys/bus/acpi/devices/device:40/path
\_SB_.PCI0.SDHC.WI01
The awkward thing is tough, software suspend by running "systemctl suspend" works perfectly and always.
Code: Select all [ 872.054627] PM: Syncing filesystems ... done.
[Â 872.091506] PM: Preparing system for sleep (mem)
[Â 872.092045] Freezing user space processes ... (elapsed 0.001 seconds) done.
[Â 872.093377] Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
[Â 872.094563] PM: Suspending system (mem)
[Â 872.094595] Suspending console(s) (use no_console_suspend to debug)
[Code] ....
So despite the mysterious issue with acpi device 40, how is real lid close different from "systemctl suspend"? And can I simply workaround the issue by making such a suspend when the lid closes?
View 2 Replies
View Related
May 25, 2011
I don't know if these are related, but I have had occasional lockups, where no input has any effect and then it shuts down, and am usually unable to resume from suspend on closing the lid.
Here are the specifics. Thinkpad x120e, AMD e-350, ATI radion 6310 graphics, Intel 320 series SSD 80 GB, no bluetooth.
The ethernet and wireless cards, as given in lspci, are
01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03)
04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8188CE 802.11b/g/n WiFi Adapter (rev 01)
[Code].....
View 10 Replies
View Related
Apr 16, 2011
I am trying to disable the touchpad and when I try to run synclient -l I get
synclient -l Couldn't find synaptics properties. No synaptics driver loaded?
My xorg.conf follows:
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
[Code]....
I also have an option in BIOS to disable touchpad when external mouse is plugged in, which I enable without any result.
View 2 Replies
View Related
Sep 15, 2015
I am using a old laptop as a server now and its running great! I would like to disable sleep/hibernation when I close the lid (i would prefer the screen still shut off if possible) ...
This has to be done via command line because I don't use a gui ...
View 3 Replies
View Related
Mar 30, 2014
I have a Dell Vostro 2520 and when I plug in the headphones, the speakers don't mute. I tried to edit /etc/modprobe.d/alsa-base.conf file several times to put different things in, that I found on the internet but non of them worked.
lspci | grep -i audio
Code: Select all00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
sudo vim /etc/modprobe.d/alsa-base.conf
Code: Select all# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
[CODE].....
View 7 Replies
View Related
Jun 30, 2015
I have tried to use the extensions toggle-touchpad and touchpad-indicator that claim to be able to do this, but neither will load properly. They show up with a little exclamation-point-triangle in the "Tweaks" panel saying "Error loading extension". How to get Jessie gnome system succeeded in getting their touchpad disabled via a simpe toggle mechanism?
View 5 Replies
View Related
Jan 31, 2010
I'm running debian unstable and since there was the switch to dependency based boot I can no longer control my boot services.I used to suppress the services that I use rarely during boot with: sudo update-rc.d -f myservice remove This arranged the links in /etc/rc?.d and everything worked.
Now this command only says: update-rc.d: using dependency based boot sequencing.This seems to work until I upgrade the service to a new version and it is enabled again.Do you have any idea of how to disable boot services permanently with the new system?
View 4 Replies
View Related
Sep 25, 2010
Howto disable IPV6 in Lenny?
I added this line:alias ipv6 off in /etc/modprobe.d/aliases:# cat /etc/modprobe.d/aliases
# These are the standard aliases for devices and kernel drivers.
# This file does not need to be modified.
#
# Please file a bug against module-init-tools if a package needs a entry
# in this file.
[Code]....
alias ipv6 offbut howto check after restart if ipv6 was loaded or not?
View 7 Replies
View Related
Dec 22, 2010
I've been using Debian since the early days of Lenny being testing as OS on the same Computer. Its a Acer Aspire Notebook with switches for wireless and bluetooth. While booting Lenny my wireless and bluetooth stayed off as long as I didn't switch them on. But since squeeze they get activated ( you can see it by looking at the LED's ) the moment after the grub screen. I now do have to turn bluetooth and wireless off by hand everytime which is quite annoying since I mostly use eth0.
how to disable bluetooth and wireless per default in a way I can simply turn them back on by using the switch?
View 5 Replies
View Related
Apr 3, 2011
So from a web server stand point if we start using swap for httpd or mysql its bad and performance goes down the drain. So would it be a good or bad idea to disable swap entirely?
View 2 Replies
View Related
Apr 4, 2011
How to completely disable hibernation in Debian Squeeze (with KDE). If it's impossible to disable it for whole system, I want to hide button in KDE menu.
View 3 Replies
View Related
Aug 7, 2015
I have Debian 7 running on RPi2 with Kodi. My NFS server is running on Slackware 14.1 which doesn't have full support for nfs4. I think this is causing some slowdowns/extra time when trying to stream video. Debian 7 by default mounts NFS as nfsv4, I would to like to disable this if possible. If so how?
View 1 Replies
View Related
Jan 18, 2016
I want to turn off frequency scaling permanently and totally in the lowest-level way possible. Is there a kernel command line that can be used or is recompiling the kernel without the governor stuff the only way?
Solved. Just modprobe -r and blacklist the acpi_cpufreq kernel module.
View 3 Replies
View Related
Sep 24, 2010
When I did external vulnerability scan of my servers, I discovered the following issue that I must correct:
THREAT:
This is the global system user list, which was retrieved during the scan by exploiting one or more vulnerabilities.
IMPACT:
These common account(s) can be used by a malicious user to break-in the system via password bruteforcing.
SOLUTION:
To prevent your host from being attacked, do one or more of the following:
RESULT:
So.. How can I prevent this scanner to reveal user names, in my case root ? Please help, It is mandatory for me to correct these issue.
View 3 Replies
View Related
Feb 14, 2011
Is there a way to disable the ip6v protocol permanent?
View 4 Replies
View Related
Mar 15, 2011
I am very pleased with a new Squeeze desktop that I built. I am use to using BSD style init scripts (Slackware, OpenBSD, Arch) and am trying to tweak my system not to start vsftpd at boot. I use vsftpd occasionally to move large files between computers on my LAN. My inittab shows run level 2 as default.
View 3 Replies
View Related
Apr 19, 2011
want to disable apache2 so that it does not restart on boot so that I may evaluate lighttpd
View 1 Replies
View Related
May 30, 2011
We have setup squeeze workstations with gnome, citrix receiver and vmware-view client. Which startup programs and daemons, for example avahi-daemon can be normally disabled or what is disabled on your workstations?
View 1 Replies
View Related
Jun 10, 2011
I got a problem with a Dell Latitude E5500. I can not disable the hardware beep after the gdm3 login screen has been loaded. All alsa beeps and system sounds are disabled and/or muted. I also tried setterm -blength 0, xset -b in startup scripts. They disable terminal-beeps, but not the halt or the gdm login beep. I tried wasting around with the gconftool, but nothing happened. It is an annoying sound. If you use, init 0 to shut down, no beep comes up.
View 10 Replies
View Related
Jul 31, 2011
my thinkpad Edge 11 has some problems with the touchpad and the trackpoint, so i want to permanently disable the touchpad, but not the TrackPoint. Both are PS2 devices.
/dev/input/mouse0 --> TouchPad
/dev/input/mouse1 --> TrackPoint
How can i disable the device? In X it does not work with gpointing-device-settings
View 2 Replies
View Related
Feb 16, 2010
Until a while ago, I had to problems sshing into my laptop, whose static IP is 192.168.1.64. I scp'ed a few files from it to my desktop, whose static IP is 192.168.1.22. Then, suddenly, I started getting a "destination host unreachable" error. I also get the same error when I try to ping the laptop. I verified that the ssh daemon was running on the laptop, and even rebooted, but I am still getting the error.
I didn't install any upgrades or edit any configuration files on the laptop between the time that ssh was working and when it stopped working.
Otherwise, networking works on the laptop. In fact, I am writing this post from it. It is as if my laptop suddenly decided to block incoming traffic.
[Code].....
View 9 Replies
View Related