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.

View 3 Replies


ADVERTISEMENT

Ubuntu :: Allow Auto-log Off Feature Either An Extended Inactivity Time Or To Disable Inactivity-logouts

Oct 18, 2010

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?

View 1 Replies View Related

Programming :: Perl's Length() Counts Umlauts Multiple Times

Dec 14, 2010

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;

View 4 Replies View Related

Debian Multimedia :: System Freeze After Long Time Inactivity

Feb 16, 2015

I made a fresh installation of Debian.

Code: Select all[VOSTRO200@root]#uname --all
Linux VOSTRO200 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u1 x86_64 GNU/Linux

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

[Code] ....

View 3 Replies View Related

Programming :: Function Handler Is Called One Time Only Instead 2 Times If The 2 Timers Expires At A Time

Mar 2, 2011

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?

View 14 Replies View Related

Ubuntu :: Instability In Karmic \ Lock Up Every Time It Had A Period Of Extended Inactivity?

Jan 21, 2010

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

View 2 Replies View Related

General :: FTP Through Command Prompt, Connections Times Out After Some Time Remaining Idle

Aug 23, 2010

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?

View 2 Replies View Related

OpenSUSE :: Alter A Mp3's Metadata For It's Time / Length?

Dec 16, 2010

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.

View 4 Replies View Related

OpenSUSE :: User Can Log In Several Times And Then Ending Up With An Application Used In A Different Session

Nov 28, 2010

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.

View 2 Replies View Related

Ubuntu :: Second HDD Improve Boot Time And Access Times ?

Jun 26, 2010

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?

View 6 Replies View Related

OpenSUSE Install :: 11.3 - Installed Several Times And Each Time System Freezes/crashes During Boot

Dec 7, 2010

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

View 3 Replies View Related

General :: How To Change Inactivity Timeout

Mar 26, 2010

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.

View 2 Replies View Related

Ubuntu :: Adding Time To SSH Session?

Jul 15, 2010

I need some assistance with my Ubuntu server setup.

I use a Free BSD Linux server at work that I SSH to. When I telnet to the server I see the following:

[8:23am] myhost:/home/pmiglia]

I like that I see the time and path just like that.

Now I have been trying for DAYS to get my Linux server to display with the time but with no luck

FYI, new users and old users do not display like this when they SSH, only me as far as I can tell.

View 4 Replies View Related

General :: Lock The Console After 5 Minutes Of Inactivity

Sep 16, 2010

How would i force The server console to be locked automatically after 5 minutes ?

I want it to happen for X as well as terminal session of the machine.

My Linux distribution details.

Code:

View 13 Replies View Related

Debian Configuration :: Udev Times Out Resulting In 3 Min Boot Times

Jan 21, 2016

My systemd-udev-settle.service is failing for some reason.

systemctl status systemd-udev-settle.service -a output
Code: Select all● systemd-udev-settle.service - udev Wait for Complete Device Initialization
   Loaded: loaded (/lib/systemd/system/systemd-udev-settle.service; static)
   
[ode]...

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.

View 6 Replies View Related

OpenSUSE Network :: IPv6 Getting A Global Address Takes A Long Time - Possibly Only After Starting A KDE Session

Jul 8, 2011

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?

View 6 Replies View Related

General :: Reduce Bash Script Length?

Jul 30, 2010

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

View 7 Replies View Related

General :: Determine Mp3 Length By File Size?

Nov 16, 2010

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.

View 3 Replies View Related

General :: Variable Length Console Prompt?

Jul 15, 2010

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

View 7 Replies View Related

General :: Compare Columns Of Uneven Length?

Jan 20, 2011

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.

View 7 Replies View Related

General :: Delete Lines From File By Their's Length

Apr 27, 2010

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.

View 14 Replies View Related

General :: How To Reduce Bash Script Length

Mar 19, 2011

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

View 6 Replies View Related

General :: Regex To Find Min / Max Length Words In File?

Jan 29, 2011

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?

View 4 Replies View Related

General :: Implementing A Variable-length List Of Keywords In Mysql?

Sep 20, 2010

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.

View 2 Replies View Related

General :: Recover File Using FAT Cluster Chain Instead Of Using Stored Length In Its Table?

Feb 1, 2011

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?

View 1 Replies View Related

General :: Bash Script To Read Csv File With Multiple Length Columns

Jul 27, 2011

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?

View 14 Replies View Related

General :: Session Timeout - What Is Considered A Idle "session" ?

May 11, 2010

Info about session timeout.

I use tmout = 15 min in my /etc/profile (along with readonly tmout). i have some issues i need to address, looking for ideas.

1. what is considered a idle "session" ?

2. if i & a process to the background and do nothing is this a idle session?

3. if user uses su to a higher level, are there now two sessions? is the tmout for user suspended until su user time outs or leaves su session?

4. i have some users who will run long sql queries. is there a workaround to have the session remain active until process has finished?

View 3 Replies View Related

General :: Sed/awk/grep Search For Number String Of Variable Length In Text File?

Jan 19, 2010

I need to search a text file for a string of numbers which are different lengths, and always are between number=" and " like:

number="1234567890"
number="22390"

I need to grab those numbers and pipe each one to a line in a file. I've already tried something with awk and that didn't seem to work.

View 10 Replies View Related

Debian Multimedia ::run A "background" Process That Can Count The Time The Session Have Blocked?

Feb 24, 2011

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.

View 1 Replies View Related

Red Hat :: Su Hangs On Exit After Inactivity

Mar 25, 2010

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?

View 2 Replies View Related







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