Ubuntu :: Prevent Prompt "Do You Really Want To Shutdown" ?

Jun 6, 2010

When I click "Shutdown" I am always asked for confirmation similar to

Do you really want to shutdown CANCEL SHUTDOWN

How can I prevent this annoying prompt and shutdown immediately?

I prefer a solution for the good old "Shutdown" menu and not a comline command.

View 4 Replies


ADVERTISEMENT

Ubuntu :: Prevent Nomal User To Reboot/shutdown?

May 15, 2010

i searched the forum about this subject, i found many post but nothing useful. i also wonder why a normal user is not prompted to authenticate as root to perform these tasks. i thought the file /etc/sudoers but i don't think this is the point. i tried the group "shutdown" but does not exist. i read that this is expected in ubuntu server so it should exist even in the desktop version, i guess.

View 3 Replies View Related

Debian :: Prevent Shutdown When Several Users Are Logged In

Dec 30, 2010

If there is a simple way to prevent accidental shutdown when the following situation occurs:

Sometimes, I log in on my father's computer to run some administrations' tasks (updates...). For that, I use SSH since I'm frequently far from my parents and what I want is to prevent a shutdown run by my father. Of course, he should be able to turn off by himself if nobody else is connected.

Molly-Guard allows to prevent distant shutdown, my request is a kind of complementary software.

Does anyone know a project which could fit with this request? Do you have simple ideas to write a short code I know bash, perl, python...

View 3 Replies View Related

Ubuntu :: Prevent Automatic Shutdown/hibernate/sleep When Critical Battery Reached ?

Aug 8, 2010

I'm trying to make the power manager NOT automatically shutdown / sleep / hibernate when battery power of my laptop reaches critical

I am surprised there isnt an 'NO ACTION' option for that in power manager

I've tried editing the acpi-supper in /etc/default bu couldn't find a solution in there nor in the /home/user/.gconf/apps/gnome-power-manager/ directory

View 7 Replies View Related

General :: Run A Prompt At Logout Or Shutdown?

Feb 20, 2010

Is there a way to run a prompt at logout or shutdown? I added the following code to .bash_logout, but apparently the �read� command doesn't work from there.

Code:
echo "Make a backup now? (y)"
read answer
if [ "$answer" != "y" ]
then
echo "Backup aborted."
fi
I am using Ubuntu 9.10

View 2 Replies View Related

Ubuntu Installation :: Shutdown Prompt In Every Gnome Distro

Sep 3, 2010

Every single Gnome based distro I have tried on a desktop machine has immediately popped up with the Log Out, Shut Down etc prompt as soon as the desktop loads. I doesn't happen with any KDE based distro!

I have tried resetting the CMOS/BIOS etc and it's not the Power Pack, tried two!

The machine is a Fujitsu Siemens Desktop with 3GB RAM, decent graphics etc...

I've tried KDE distros and don't like them as much and really want to get back to a Gnome environment.

View 1 Replies View Related

Red Hat :: Command Line Prompt But Not The Correct Bash Prompt?

Feb 2, 2011

I'm running Red Hat Linux 5.4 on HP DL580 server with 16 processors and 64 GB of RAM. I'm connecting to the server remotely through SSH. after entering the password, it takes time to return the command line, if I click ctrl+c during this time, I'll have the command line prompt but not the correct bash prompt (I have to run bash to pass to my correct prompt).I tried to install Apache on the server, ./configure took 4 hours to finish instead of 1 or two minutes, Oracle installation same behavior. Server Disks are mirrored using RAID controller.

View 6 Replies View Related

Server :: Shutdown The Nodes From The Master Terminal Using "shutdown -h Now" Get Shutdown?

Dec 10, 2010

I have installed a cluster computer with 10 nodes . The manufacturer is HP . All nodes and the master node have redhat enterprise linux installed in them . When I shutdown the nodes from the master terminal using "shutdown -h now" they get shutdown . But they dont get completely turned off . This issue bothers me when the power supply is given , all nodes boot up simultaneously generating a huge heat .

Thing to note : When we shutdown our PC they get completely turned off . When the power supply is given , a press on the Power On button is required to boot the system. But , why does it not happpen in the case of cluster? Is there any other way of completely turning off the nodes from the master terminal ?

View 1 Replies View Related

Ubuntu :: Monitor Out Of Sync During Boot And Shutdown (also Shutdown Hang)?

Jun 30, 2010

when my pc boots and shuts down my monitor goes into 'input out of range' mode for a bit between the gui and the text only phases of boot/shutdown.is there a way to fix this? or where to start troubleshooting?also, when it shuts down it hangs after coming back to the text only part

View 4 Replies View Related

Fedora :: Shutdown Policy Triggered By Vncserver - Computer Refuses To Shutdown Normally

Feb 5, 2011

Recently I installed vncserver (tigervnc) on my desktop. Ever since my computer refuses to shutdown normally. At shutdown the following message pops up: Quote: System policy prevents stopping the system when other users are logged in Then I have to enter the root password to shutdown. If I stop vncserver before, the computer shuts down normally.

[Code]....

View 2 Replies View Related

Ubuntu :: Can't Shutdown Without Running Sudo Shutdown

Jun 20, 2010

I cant shutdown without running sudo shutdown. When I try to use the default gnome shut down it takes me back to the logon screen. Fresh install today and I've had the same problem on other installs.

View 9 Replies View Related

Ubuntu :: Randomly Pop Up The Shutdown Menu And Then Shutdown?

Sep 7, 2010

Ubuntu will randomly pop up the shutdown menu and then shutdown.It seems to happen when im in firefox and typing and it has been difficult to replicate. I dont think it is a temp issue since watch sensors shows temmp of 40-50C. Someimtes it happens every minute someimtes i can go 10min without it happening.

Dell Inspiron 1525
ubuntu 10.04 (only os on system)

View 3 Replies View Related

Ubuntu :: Shutdown Command Like Shutdown Button?

Dec 10, 2010

looking for a command that shutdown/reboot my ubuntu just same as process that happened when I press shutdown buttonIn fact I need to close all programs that are running and then PC shutdown (that happened when I press shutdown button).

View 9 Replies View Related

General :: Locate Shutdown Log For Linux Shutdown (RHL 5.1-2.6.18-53.el5PAE)

Apr 22, 2010

I cannot locate shutdown log for Linux shutdown to check various activities carried out during shutdown. I can view Startup Log which is availble on console>Applications>System Tools>System Logs.

I have included Shutdown/Startup in dbora, so that Oracle 10gR2 Shutdown/Startup will be automated during OS Shutdown/Startup.

I want to check Shutdown log because Oracle Shutdown was not running, as from $ORACLE_HOME/shutdown.log contains no entries, where as startup log contains latest startup details.

That means here 2 issues are there. One, I want to locate OS Shutdown Log and the other being Why Oracle Shutdown not getting executed.

View 2 Replies View Related

General :: Get Away From The # Prompt And To The $ Prompt?

Mar 19, 2010

I'm logging on my server via PuTTY but I'm getting the bash # prompt and I can't call the few commands I know i.e.: lynx

How do I get the more familiar $ prompt?

View 4 Replies View Related

OpenSUSE Install :: OpenSUSE 11.4 Delayed Shutdown While Pressing The Shutdown Button?

Mar 12, 2011

I did a live upgrade from 11.3 KDE and observe a following issue.When I press the shutdown button on the laptop it initiates the shutdown and shuts down fine but after a significant delay of time (something like 30 seconds). When I click the shutdown button in KDE it initiates the shutdown instantly. This was not the case in 11.3 where the shutdown worked the same regardless of the method that triggered it

View 6 Replies View Related

Server :: Unable To Shutdown/reboot Server, No Shutdown Process Running?

Mar 30, 2010

I'm trying to reboot the server (shutdown -r now).But it seems like nothing happened.

When I try "shutdown -c", the system prompts "shutdown: cannot find pid of running shutdown."

View 5 Replies View Related

General :: [FYI] "last -f <old Wtmp> -x Reboot Shutdown" Incorrect For Last Reboot And Shutdown?

Mar 25, 2010

Further to this LQ thread which Tinkster solved by suggesting the last command (thanks Tinkster) I have been exploring last -x reboot and have found that the reported duration is incorrect for the last reboot and shutdown when a old wtmp file is used. Not having a record for the following shutdown, last assumes that the system has been up until the current time and similarly for the shutdown.

The output comes in time order, latest first, each line showing the time of the reboot and the uptime from then to shutdown. Using last -x reboot shutdown to show the shutdown time, here's an illustration

Code:

shutdown system down 2.6.29.6-smp Sun Mar 7 15:35 - 03:02 (11:27)
reboot system boot 2.6.29.6-smp Sun Mar 7 09:35 (05:59)
09:35 until 15:35 is 05:59.

When the uptime exceeds 24 hours it is shown as (<days>+<hours:minutes) like this
Code:
shutdown system down 2.6.29.6-smp Sun Feb 21 12:39 - 13:20 (00:40)
reboot system boot 2.6.29.6-smp Sat Feb 20 09:39 (1+02:59)
09:39 until 12:39 the next day is 1 day 02:59.

The time in parentheses at the end of the shutdown lines is normally the time until the next shutdown.

So far so good. The incorrect output is for the last reboot and shutdown of an old wtmp file. Here's the output of last /var/log/wtmp -x reboot shutdown; last -f /var/log/wtmp.1 -x reboot shutdown

Code:

[snip]
reboot system boot 2.6.29.6-smp Fri Mar 12 07:42 (01:54)
shutdown system down 2.6.29.6-smp Fri Mar 12 01:31 - 09:37 (08:05)
wtmp begins Thu Mar 11 08:25:26 2010
[snip]
reboot system boot 2.6.29.6-smp Wed Mar 10 14:12 (15+01:42)
shutdown system down 2.6.29.6-smp Wed Mar 10 12:41 - 15:54 (15+03:13)
[snip]

The boot started at "Wed Mar 10 14:12" which had an actual uptime of 1 day 11:20 is reported as 15 days 03:13 which is the time from then until the last -f /var/log/wtmp.1 -x reboot shutdown command was issued. The time from shutdown to shutdown is similarly affected.

View 1 Replies View Related

Ubuntu :: "shutdown" In Terminal Vs "shutdown" In Desktop

Feb 26, 2010

I'm new to Ubuntu and have spent several days trying to make a few simple alterations to my Myth 9.10 installation. My biggest task was to get the MCE "power" and "start" buttons working, which they now are - sort of.

The problem is with the shutdown command that the power button activates seems to be different to the shutdown command from the taskbar shutdown menu i.e. when I switch off the computer with the remote it restarts with the "recovery" menu as it wasn't shutdown properly. Same thing happens with the shutdown command from a terminal window. Shutting off from the desktop menu is fine.

View 9 Replies View Related

Ubuntu :: How To Prevent A Diskcheck At Startup

May 8, 2010

I installed 10.04 LTS with great succes on my very old compac armada 500 laptop, but experience the problem of the hanging diskcheck at startup at regural intervals. I read this is a reported bug. My question is: is there any file or methot by which I can prevent diskcheck from running at startup, or put the frequency of running at a very very large number at least until the bug is fixed ?

View 3 Replies View Related

Ubuntu :: Prevent The System From Powering Off

Jun 25, 2010

Ubuntu randomly switches off. I eventually found out that it happens when my system is over loading. If my memory goes up to 100% use or CPU, Ubuntu powers off. If there some software that I can download to prevent my system from using 100% of its power, so it doesn't power off?

View 1 Replies View Related

Ubuntu :: Prevent Mounting Of Internal HDD?

Jul 27, 2010

I have a machine with Windows XP installed on the HDD. I intend to install Ubuntu on a USB memory stick so that I can insert it into a USB slot and boot from that instead. What I would like to do though is to prevent it having access to the existing internal hard drive. It sounds as if it should be easy but I ca find a lot about mounting devices but not preventing auto-mounting.

View 2 Replies View Related

Ubuntu :: Prevent HDD Repair On Boot?

Aug 25, 2010

I installed Ubuntu to use ddrescue to clone my dying drive and keep the log.Now the question is:Does Ubuntu really try to repair a corrupt NTFS disk during boot?If so, how can I change this behaviour, including any disks attached to the system in future?I had a similar question for the live cd, I think it should be easier now, as we can configure the system.Btw am I the only one to think an 'auto repair' by default is no good without asking for permission? It's something I dislike on Windows. A corrupt structure is likely a hardware problem, and in this case a repair can terribly damage the file system.

View 2 Replies View Related

Ubuntu :: Prevent Certain Applications From Use Of ALSA?

Sep 5, 2010

How can I prevent a certain application from having access to ALSA. It keeps stealing my audio.

View 1 Replies View Related

Ubuntu :: Prevent Idle Script

Sep 7, 2010

I need a script to prevent the laptop becoming idle, because if I don't move the mouse a few seconds everything stops. I tried everything so please don't ask about the problem.There is such a script or someone can create one for me?

View 1 Replies View Related

Ubuntu :: Prevent From Asking The Keyring Password?

Sep 12, 2010

Every time after reboot it asks for the password. I need it to just lower this security and do this by itself.

Also, in general, how can I prevent Ubuntu from asking the password from the interactive user at all?

View 4 Replies View Related

Ubuntu :: Prevent Dpkg Warnings When Doing Apt-get?

Nov 14, 2010

Every time I run "apt-get" or "apt-get autoremove" terminal-commands lately, I see this:

Code:

Do you want to continue [Y/n]? y
(Reading database ...
dpkg: warning: files list file for package `mythtv-theme-metallurgy' missing, assuming package has no files currently installed.
(Reading database ... 10%

[Code].....

View 1 Replies View Related

Ubuntu :: Prevent File From Being Deleted ?

Dec 31, 2010

I would like to ask if there is a way of preventing a file from being deleted, but still retaining the option of editing it. I know that I can set write access off with chmod, but that would also mean that I can't edit the file any more. What I would like to achieve is to make it impossible to remove a file on which I am working.

View 9 Replies View Related

Ubuntu :: Prevent File From Being Modified?

Mar 1, 2011

In /etc/default/rcS I have set FSCKFIX=yes. This solves a recurring 'no init found' problem that prevents my machine from booting. Occasionally however, the setting reverts (by itself somehow) to FSCKFIX=no. Thus my machine cannot boot. Is there a way that I can prevent this file from being changed?

View 1 Replies View Related

Ubuntu :: How To Prevent Sleep During Processing

Jun 19, 2011

If I set my Ubuntu 10.10 to sleep after an hour of inactivity, I can't leave Blender to render overnight. The processing that Blender is doing seems to be ignored, and the computer goes to sleep after an hour. How can I prevent this from happening? I don't want to set Sleep to Never, I would like the computer to sleep after Blender is done.

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved