General :: How To Auto Logout From Server

Jan 6, 2010

I'm wondering how to let him logout automatically from server when the user is in idle for a long time after login.

View 1 Replies


Fedora :: Set Auto-logout On 11 Gnome?

Aug 25, 2009

How doI change the time interval for auto-logout in gnome? Changing the TMOUT environmental variable only works for bash shell.

View 1 Replies View Related

Ubuntu :: Auto-logout On - Enter ?

Mar 9, 2010

Soon after I installed synergy and set up conky and devilspie, I started having problems with the machine loging out automatically.

As soon as I turn the computer on, it auto-logs in, and when I press enter (it seems it works for anything) the machine logs out. After logging back in it's fine however.

/var/log/syslog output:


(Of course there was log more output, but this is the only thing that seems related. Everything else is about "named" and "dnsmasq")

View 3 Replies View Related

Ubuntu :: Auto Logout At Time Of Day?

Feb 10, 2011

I'm trying to get a script that will auto logout user at a certain time of day.I have look all over the web. All I have found in my hunting is a script that will auto logout user after "x" amount of idle time.

View 1 Replies View Related

Ubuntu :: Where Has Possibility To Auto-save Session On Logout Gone In 11.04?

Apr 28, 2011

Where has the possibility to auto-save session on logout gone in 11.04? Or even just save a session at any point?It has been filed as a bug on URL... but I fear it has been (re)moved on purpose..

View 9 Replies View Related

General :: X Server Dies On Logout Kubuntu 10.10

Dec 15, 2010

When I logout on kubuntu my xserver dies and I have to start x again manually from console. Im not to kubuntu 10.10 and I tried to check out /etc/X11/xorg.conf but its not there. on reboot xserver starts automatically. I am using opensource drivers and video card is radeon x700 pro

View 3 Replies View Related

Debian Configuration :: XFCE Logout Doesn't Completely Logout Of System / Solution For This?

Oct 17, 2010

As a normal user I have activated the functions of the Quit applet, i.e. Logout, Shutdown and Restart are active buttons. I am able to restart or shutdown, no problems. But when I use the Logout button I don't get logged out, just returned to the login shell & I am still logged in as my user. I don't have a display manager installed and I do NOT want to use a display manager such as XDM or GDM. How do I get the Logout button to actually logout the user? It appears I am only getting logged out of the x-session, but I want complete logout.

View 6 Replies View Related

Server :: Shutdown Server After Website Logout?

Jan 26, 2010

I have a debian machine with an apache2 webserver. I am able to start the machine from the internet (power plug board with webinterface) but I don't know how to shutdown the server automatically if nobody uses the website anymore. It is a homeserver which should only run if needed.

Unfortunately I don't know much about Linux, apache, php, cgi-scripts, cronjobs and other things that might be useful. But I googled a lot and have now an idea how it could work. It seems complicated to me and so I want to ask you guys what you think about it and if perhaps you could give me a hint.

The idea: A cronjob starts every ten minutes a php script that checks when the index.html of the welcome-page was opened the last time (fileatime()). Lets say it was opened last time at 3pm. Then the php script adds for example 60 minutes to that time (=4pm) and calculates how much time is left to 4pm. This time is saved in the variable $timeleft. Now the php script compares if $timeleft is less then 10 minutes (=600 seconds). If it is, the php script starts a cgi script that will shutdown the server. The cgi script will login as root (I think that can be done with the "expect"-command url and then enter the command "shutdown -h now"

Is all this realizable? Isn't there a better and/or easier way to do?

View 2 Replies View Related

General :: Make Nano Support Auto-complete And Auto-bracket Closing?

Feb 20, 2010

Does anyone know if there's a way to make nano support auto-complete and auto-bracket closing?

View 1 Replies View Related

General :: Html - Code Editor That Has Auto-indent AND Auto-outdent?

Apr 22, 2011

I code primarily in jQuery/JavaScript, and I'm looking for a text editor for Linux that has auto-indent and auto-outdent (seems to be tough to find that). Any suggestions? I've checked Gedit, Cream, vim, Bluefish.None of them seem to have this feature.

View 2 Replies View Related

General :: Auto Delete Mails From Postfix Server After 1 Month?

Jun 21, 2010

How do I make my postfix mail server auto delete mails from user mailboxes after say 1 or 2 months?

View 1 Replies View Related

General :: Can I Force-logout Other Session From A New SSH

Sep 27, 2010

I sshed into a Linux machine (bash shell) from a public Windows machine (in our lab) and forgot to log out. I'm now back at my seat in another room and I am too lazy to walk back and log out that session; I can ssh into the Linux machine from my current PC though. Can I force-logout the other session from a new SSH session?

When I ssh to the Linux box from my current PC and type users command, I can see that I'm still logged in there; my name is listed twice - one for the current session and another for the session from lab PC.

I don't have root privileges on the said machine, but I guess that shouldn't matter as I'm just trying to log out myself.

View 1 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.

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

View 2 Replies View Related

General :: Command For Getting Logout Window?

Apr 12, 2010

I am using SLC4.6. I just wanted to know what is the command to get the log out window as we get it from Action-->Log Out button ?

View 9 Replies View Related

General :: Getting HISTTIMEFORMAT To Work After Logout?

Oct 13, 2009

I've been trying to get timestamps on the history command. I found the following
export HISTTIMEFORMAT="%F %T " - and it works ok - but after I logout and log back in the history command is back to normal. So I did a little more searching and found this export HISTTIMEFORMAT='%F %T - %H:%M:%S ' >> ~/.bashrc I thought exporting to .bashrc would "save" the command - but I guess I am wrong. what do I need to do to get timestamps on history evertime I log on? how/where do I set it for all users?

View 9 Replies View Related

Server :: Log File Monitoring Script On Server But After An Auto Update Recently It Seems To Have Disapperaed?

Jun 28, 2010

I used to have a log file monitoring script on my server but after an auto update recently it seems to have disapperaed.Can anyone think of some log file analyzers that send outputs of ssh, amount of disk space used etc. as I cannot remember the name of the program at all.

View 1 Replies View Related

General :: X Window KDE Logout / Exit From KDE And Go To Command Line?

Mar 28, 2010

every time I logout from Xwindow KDE, it doesn't redirect me to Linux command line, instead it was halted without the machine being shut down. How can I exit from KDE and go to Linux command line?

View 10 Replies View Related

Server :: Make Auto Replace Http Url In A Web Server?

Jul 2, 2010

I setting up a web server on my Linux (Centos) using "Apache" web server. And its working well, it will show my websites. But when i try to put my url in a internet browser (ie. only type "" ) is only be [URL]. Usually as i know like the other websites (ie. it will go to auto replace the name be [URL]. But my url here it's not be replacing like that. How to do this configuration. I don't know where the services that i need to look. (ie; named (bind) or in Apache web server it self)?

View 2 Replies View Related

Server :: Auto Suspend For Home Server

Jun 2, 2009

I'm just setting up my first home server with ubuntu and I would like the box to suspend to ram when no one is accessing it for a while (let's say for 1 hour)The wake up task is already done and is working fine so far; but how can I put the machine to sleep automatically?I guess I have to watch for network-traffic but have no clue how to do it.

View 9 Replies View Related

Networking :: Auto Redirect If Server Is Down?

Jul 20, 2011

where to look for setting up my web server A so that if I have to bring it down for maintenance, all web traffic will go to my backup server B. I thought about changing DNS entry but that will take time to update.

View 2 Replies View Related

Server :: Auto Increment Primary Key?

Aug 23, 2010

So I have a field in my table called "id" and this is the primary key for the table which is also configured to 'auto_increment' as show below:

mysql> describe users;


View 6 Replies View Related

Server :: Email Auto Response

Mar 28, 2010

I need to set an auto response on my linux email server (ubuntu9),for a person who will be on leave, Perfectpol is out office for a while, if urgent please call office number 222 2222 do i go about setting this. The email address of the user who will be away is

View 1 Replies View Related

Server :: Error Using Auto Install ?

Jun 20, 2011

I am using Mandriva 2010.2 in my server side and in my client side..... When i try to boot one of my clients through ethernet through server it is working and it is booting... After loading vmlinuz and all.rdz it is indicating an error...

Below given is the configuration file for pxelinux.cfg/default

When i remove the line/phrase kickstart=images/, my linux is loading successfully from server and we can get the installation steps/procedure manually... But i am trying for an auto install procedure....

View 2 Replies View Related

Red Hat :: Auto Startup Of WebSphere App Server After DB2?

Apr 8, 2011

I am trying to configure Red Hat ES to automatically start WebSphere Application Server (WAS) automatically upon boot after DB2 services (which already start on boot) are loaded to avoid WAS errors. Note that WAS runs under the jvm so there are processes named WAS or WebSphere when it is running.

My question is, do any of you know a way to setup Linux to automatically start WAS after DB2 services have been successfully started? The web apps running under WAS will have errors if DB2 is not up and running when WAS starts up. I think a 30 - 60 min delay between startup of DB2 and startup of WAS would work perfectly. I am not sure which config file would need to be updated with the call to command to start WAS (I have the command, just don't know where to put it) nor do I know how to ensure DB2 is running before WAS starts in a config file. Right now, I have DB2 loading on boot and WAS starting after I login to xterm.

View 2 Replies View Related

Ubuntu Security :: Ecryptfs Doesn't Auto-decrypt With Auto-login

Jan 6, 2011

I recently installed 32bit maverick and wanted to make it login automatically. I tried enabling auto login from Admin > Login but that didnt work and I was still prompted for my password. Then I went to Users & Groups and changed the password option to Do Not ask for password at login now after I reboot, the user list is shown (only 1 user) and it doesnt ask for password after I click on my username.

However, then it gives a few errors (as i vaguely recall):

1. cannot load .ICE directory in my home directory
2. some error 256 about a gconf-sanity-2 file
3. nautilus cannot load my home directory etc

and then it gets stuck without loading anything (blank wallpaper). i ve tried navigating to my home directory using Alt F2, gksudo nautilus and my home dir contents are encrypted by the ecryptfs (there is a readme.txt file and a shortcut). i have tried to decrypt but it doesnt work... i ve also tried to start/stop gdm, and startx but nothing works. if i stop gdm, then the prompt doesnt recognize my password and keeps on rejecting the commands i enter... I think this has something to do with the home dir not being decrypted due to the dont ask for paswd option... how can i disable the dont ask for pwd without the gui (i can access my / by booting through an external usb).

View 4 Replies View Related

Networking :: Ethernet Auto-connect / Auto-sense Doesn't Work

Feb 3, 2011

I have noticed that a common issue to several distros is the fact that the networking subsystem doesn't automatically detect the link if an ethernet connection is disconnected and then re-connected to the NIC after boot. If the ethernet cable is connected after the system is up and running, nothing happens - ethtool eth0 shows link detected: no, and you have to restart the network service to let the NIC know that there is in fact a link, and actually connect. I have a Fedora14 (KDE) box with a brand new Asus motherboard with embedded NIC. Everything works great except the auto-detect of a freshly connected ethernet connection if the link is down to begin with.

Am I missing a ethernet link sentinel utility or something, or is this just the way linux works? I have done plenty of research on plenty of posts, and it seems this is a common problem, with no solution other than manually or programatically restarting the network service in a script to detect the link after a disconnect.

View 3 Replies View Related

Debian Configuration :: Auto-login And Auto-connect To Networks

Jun 3, 2010

I press On-button, Debian boots, logs in and automatically connects to the Wireless network AND! to my local pc via LAN. It runs an ssh server, so I can ssh into debian over internet and communicate with the local pc (send a magic packet).Here are my problems:

1) I don't how to log in automatically. This and this doesn't work.
2) I need a network tool that can manage multiple connections and has a reconnect feature. With the default network manager I cannot even connect to more than one network simultaneously although I have two network devices of course.

And I guess I can run all that in console mode, right?

View 10 Replies View Related

Ubuntu :: Auto Run (auto Exec) A Script On Mounting A Device?

Mar 16, 2010

I would like to exec a script whenever a user mount a device. The device could be an internal device (for example a partition on a second hard disk) or a removable one (for example a usb hard disk). The script must have sudo capabilities even if the user is not included in the admin group. Is it possible?

The specific question:
I would like to add acl option to a device whenever it is mounted.
I tried fstab but it's changing the behaviour of nautilus see:

[URL]... so I would like to create a script with the command

sudo mount -o remount,acl /media/data
and auto execute it any time data is mounted.

View 1 Replies View Related

CentOS 5 :: Software RAID Auto Sensing Auto Rebuild Possible?

Jul 23, 2010

I recently installed a server with Software RAID. I tested by powering it down, unplugging one drive and powering it up. Magically, it worked!I found out later that I have to manually add individual devices like md1 to sda2 md2 to sda4. I got all of them added and rebuilt but my question is: Is there a way to make it so that if I "removed" a drive and put it back, the system will senses the new drive and rebuilds based on some internal table?

View 1 Replies View Related

Networking :: DHCP Server Auto-detect

Apr 1, 2010

I have a scenario where a Debian (in this case) device will be connected to an existing LAN.What I then want said box to do, is to query the LAN to see if there is an existing DHCP server present. If there isn't one - then simply use the Debian box as the DHCP server (which works fine atm).If there is an existing one - I need the Debian box to be able to turn off it's own internal one and get it's details from the existing server (ie. change from server to client).

These action will need to be sat in the background as well - just in case another DHCP server appears on the LAN after this box does. Don't shoot me for saying it - but I know Windoze server does this. Is there a 'script/util' that anyone knows of (I am trying to do this auto-magically)?

View 2 Replies View Related

Copyrights 2005-15, All rights reserved