General :: Set The Length Time Before Session Times Out Due To Inactivity?
Feb 20, 2011
I've just installed Ubuntu 10.04 and find that if I leave the machine for more than a couple minutes, it will automatically log me out. Instructions at other sites have indicated that session controls are to be found in System>Properties. But there is no Session in the list under Properties in Ubuntu 10.04. How can I control this feature so that I'm not having to constantly login every time I turn around? I've searched everywhere and can't find a solution.
I would like to allow the auto-log off feature either an extended inactivity time or to disable inactivity-logouts.
I use my PC strictly at home, and have no security issues. I've set my username to no-password so that I just click [twice] to log back on. But I must do that to see the screen display - say to see what's playing on Pandora.
Can I set the auto-logout-time somewhere or disable the function?
I'm programming some skript to get statistical information about some texts. This includes calculating the mean of word lengths.Unfortunately, Umlauts count as two characters. In the example below the output is 9, it should be 6.
sincercly, Max
Code: #!/usr/bin/perl use POSIX; use locale; my $test = length("ABC���"); print $test;
I changed to the kde desktop environment. I logged in as a normal user, and left the computer running for a few hours. when I came back the screen was turned off and the system does not respond to mouse movement, pressing the keyboard, or any combination thereof. I tried
Code: Select allCtr+Alt+F1, CapsLock
First time i touched keyboard the led of numlock turned off, and never back. Blanking the screen itself does not cause a system crash, this occurs after several hours of inactivity.
.xsession-errors Code: Select all/etc/gdm3/Xsession: Beginning session setup... localuser:bartek being added to access control list openConnection: connect: Nie ma takiego pliku ani katalogu cannot connect to brltty at :0 Failed to connect to the VirtualBox kernel service
I am using Debian linux. I have 100 timers running. If a timer expired which will generate a signal and it was mapped to a same function handler. All the timers are mapped to one function handler. The problem is if the timer expires one at a time, the function handler called at a time. But if the 2 timers expires at a time, the function handler is called one time only instead 2 times. Is it possible to invoke the function handler as many times based on timer expirary happens simultaneoulsy?
I skipped over Jaunty on my main desktop because Intrepid had been working perfectly for so long. Finally took the plunge to Karmic, and have had major instability problems. I cannot trace them to any particular program I am using. At first it seemed related to power management, since it would lock up every time it had a period of extended inactivity. I have disabled ACPI in my BIOS (I think), and any power management settings I could find in gnome to try to troubleshoot. That seems to have helped, but it still happens semi-regularly, sometimes when I am in the middle of using it. I have tried checking logs and googled anything that seemed important. ie a message in kern.log reads: Clocksource tsc unstable
while doing FTP through command prompt, connections times out after some time remaining idle, but doing ftp through browser, connection doesn't time out after some time remaining idle... why is it so?
I combined two mp3 files into one using VLC and the whole thing plays but it still shows as being only the length of the first song. So, the mp3 actually plays for 6:12, but it shows as being 3:37.
i wonder if you can modify KDE so that users can only log in once with one session.Currently, with KDE 4.5, i have the problem that user can log in several times and then ending up with an application used in a different session which means that you can not use it in the other session.
I managed to install a second hand 10Gb HDD on my old P4. I want to see how I can use this extra disk to speed up Ubuntu 10.04 if possible.
I installed my swap onto this second drive but since I never use swap I can't see any real improvement. Next, I'm considering the creation of a new partition on that disk that would handle /tmp. Could that improve access times?
Finally, what other tricks could I use with this 2nd HDD to speed things up?
LIVECD of 11.3 Gnome works fine in my old PC. I installed several times and each time system freezes/crashes during boot. I am linux newbie, so, I am trying to figure out my problems. In Livecd I noticed Hardware info list's my SATA disk as IDE. Driver Modules: "ata_piix"Attached to: #24 (IDE interface). Is it right? I have posted Hardware information output in 01: None 00.0: 10105 BIOS [Created at bios.186] - Suse 11.3 install problem My machine specs are: Intel DG31PR motherboard, Intel core2duo, 3 GB DDR2 Ram, 250 GB SATA harddisk
Running openSUSE 11.2 with Gnome. After a relatively short period of time, screen goes blank, and when I click on it, I get presented with password prompt, and when I enter it, I'm back where I left off. I don't see how to change this, and all the time I've spent so far in YaST trying to find out where this setting is kept and how to change it has been wasted effort. So now I'm asking: how do you change this to something a little more reasonable?
I'm taking an online SuSE LINUX class, and as they cover different topics, I jump over to the Linux system (which I have running in a vm under VMWare server on W2K3) and try stuff out, and most of the time I have to enter my password because I was away too long.
My ISP offers the service of native IPv6. So my ADSL router provides me with a local and global IPv6 address. However after a reboot it takes minutes to finally see the global address when using "ifconfog eth0". During that time I can't do a ping6 to an external server, which seems logical. So I waited several minutes, but no global address. After that I started a KDE session, went back to the console(<Ctrl>+<Alt>+F1) and now the global address was there. Is this normal behavior or should I file bug report?
At last i finish my script to find the status of the URL , in this code i used all the status codes, because of this it take too much of length. with the help of wiki only i find all the status codes.code...
Multiple dirs full of mp3s All strictly encoded with exactly the same parameters (CBR 128kbps, Joint-Stereo, etc) Is it possible to determine the total playing time (to within ~98% accuracy) by some formula based on the total file size? I say ~98% accurate since ID3 tags do consume a small amount of space.
I have a question about the prompt. it is very easy to tune it for it to be colored and display path where you are etc. But my problem is that when the path is too long I would prefer the code line to be on the folowing line...
Ex 11:00 me@host a/short/path > ls -ltr ./stuff 11:00 me@host a/very/very/very/long/path > ls -ltr ./stuff
and to be honnest as I am very new in LINUX I don't know how to do this...
I have a text file with 2 columns. Column A has 69,000 rows. Column B has 49,000 rows. Column A has our complete product list Column B has product list from Manufacturer 1 There are only certain/some rows which are common between 2 columns. and also, column B is not a subset of column A. Column A has extra entries and so does column B. I need to know, which rows from Column B, are common with Column A which rows from Column B are not common with Column A. Essentially I want to know from this list, how many of our products are from my manufacturer 1, how many does my manufacturer has which we dont carry.
How would I acheive this? My natural approach to solving this kind of obstacle is to reach for MS excel and use its lookup function, but its not working... Its taking forever and hanging up. since the file is so huge and probably my excel skills are really bad.
How can I do this from command line? I am looking for awk command if possible instead of sed since I am trying to pick up its syntax and usage etc. My thought process is, sort column A,B, for every row in A, lookup and output based on condition. Dont know if I am on the right track.
i've got a file with sorted words - one on each line.How could it be possible to delete thouse lines that have words of length 1 or 2 (1-2 letters). I guess a good way it will be with AWK, n its fuction length(), but getting it, i dont know how to delete those very lines.
At last i finish my script to find the status of the URL , in this code i used all the status codes, because of this it take too much of length. with the help of wiki only i find all the status codes.Quote:and my question is do we need all the status codes necessary in this script..and is there any other way to reduce the code using any conditonal statements..code...
i am trying to find all 3 and 4-character length words in my file (which is huge and has alot of entries in it, a big fat wordlist!).My attempt with this regular expression (which I thought should work, found something on length search here: [URL]
cat sorted_noapostrophe.txt| grep '.{3,4}'
but it returns no results? Also to find any words starting with 'f' which are between 3 and 5 characters (inclusive) long, how can this be done?
I'm having a hard time googling for answers because I keep using the word "keyword."
I've never really used any kind of database before, but I want to learn the basics, so I'm playing with it a little bit at work. What I want to do is make a database to hold information on various articles. For example, with columns for the title, author, and date. Those are all easy. The tricky part is that I'd also like to be able to label articles with keywords so I can search for certain topics.
Since there's no way to know ahead of time how many keywords, if any, each article might warrant, I'm not sure how to put this in database form. There's no variable-sized array data type. It seems sloppy to just list them all in a single VARCHAR column. Making several columns that may or may not be left null and putting one keyword in each seems wasteful.
I'm trying to recover movie files from my TNT receiver hard drive but it corrupts its FAT32 allocation table (crappy cheap device...)
Using dosfsck is useless because the correct file length is the cluster length, not the (shorter) one in the table, and dosfsck only proposes to shorten the file, which I won't do.
Question: how to recover a file using the FAT cluster chain instead of using the stored length in the FAT table?
I've searched everywhere and I can't come up with a good solution. For each line I need to find the average, min, and max. I've seen plenty of solutions where the number of columns is fixed, unfortunately for me these lines can get pretty large. My thought was to read each line individually into an array, loop through the array and find the avg, min, and max that way but i haven't had much luck. I can read each line using a while loop but I'm having trouble with the array part, or perhaps that's not the best solution?
example:I block my desktop in gnome, what happens first? what programs run and how i can configure the behavior?If screen-saver is running, how i can run a "background" process that can count the time the session have blocked?How i can run programs when returning from screen-saver?I know that all depends on the desktop environmenl and the screen-saver used, but i want to know all the "bloodie" details behind.
We have two types of servers RHEL5 and RHEL4 as well as Fedora 11 desktops.
After a period of inactivity, trying to exit from "su - <username>" causes the system to hang for about 10 minutes. It takes that long before the prompt comes back. Here are a few items that noticed as I have tried to trouble shoot this problem. The prompt always comes back if you wait long enough It only happens on RHEL 5. RHEL4 and Fedora 11 are unaffected It does not appear to matter what other software is running. Some boxes have databases, others do not It happens to boxes in run level 3 as well as boxes in run level 5 It does not matter if logging in from the console (tty) or from ssh (pts). Both types of logins produce the same result.
It does not matter if the account is an LDAP or a local account. It takes between 30 min and 1 hour of inactivity before the problem occurs Other sessions on the box are completely unaffected. Once hung, I can still log in with a different session without a problem top shows no load while session is hung there are no messages in /var/log/messages, /var/log/secure, /var/log/audit/audit.log or in dmesg if a session is killed, finger shows that it is still logged in a putty log shows that the server is still sending "keep alives" to putty while the session is hung Only su is affected. There is no problem logging out of the box from the initial login account. what I can try in order to trouble shoot this?