General :: Log Into Or Log Off An Idle Session?

Feb 25, 2010

how to log out an idle session. I was using putty to connect to a Debian machine to edit my .profile file. I got disconnected. Ideally I would want to log back into my own session. If anyone can let me know how to do it, please? If not I want to open a new session and then log off my first session (see below pts/0).

[Code].....

View 2 Replies


ADVERTISEMENT

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 :: CPUs Keep Toggling Between 100%idle And 0% Idle

Mar 22, 2011

When I run top d 0.5 on my machine and I press 1 to enable the SMP View, I notice that all of the CPUs keep toggling between 100%idle and 0% idle.

The odd part is that when a CPU goes to 0.0% idle, I would expect to see one or more of the other columns peek, but they are not.

What is causing this?

Code:

View 8 Replies View Related

General :: How To Get CPU Fan To Stop Spinning When Idle

Aug 11, 2011

I have a PC which I built ~3 years ago which had been running smoothly and silently until recently. Now, the CPU fan likes to spin up to 1200-1500 RPM even when it's idle, which is rather annoying. I have not made any recent changes (software-wise or hardware-wise) to it.

The specs:
Motherboard: Gigabyte MA78GM-S2HP
CPU: AMD Athlon(tm) Dual Core Processor 4850e
Case: Antec Minuet 350 MicroATX
OS: Ubuntu 10.04, Linux 2.6.38-10-generic

I installed the lm-sensors and hddtemp packages (via apt-get) and configured them. Here's a typical output at steady-state, where the computer's been idle for a while and the fans have been spinning for the same while:

$ sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp: +29.0°C
Core0 Temp: +32.0°C
Core1 Temp: +27.0°C
Core1 Temp: +22.0°C
it8718-isa-0228
Adapter: ISA adapter .....
$ sudo hddtemp /dev/sda
/dev/sda: WDC WD5000AACS-00ZUB0: 35°C

These all seem fairly normal to me, so I'm perplexed as to why the fan continues to run at such a high RPM. What does the ALARM that's reported for in6 mean? Is it important? I've been playing around with the fancontrol daemon, trying to see if I could get better results than with the default fan management. Using the pwmconfig utility, I generated the following /etc/fancontrol file:

# Configuration file generated by pwmconfig, changes will be lost
INTERVAL=10
DEVPATH=hwmon0=devices/pci0000:00/0000:00:18.3 hwmon1=devices/platform/it87.552
DEVNAME=hwmon0=k8temp hwmon1=it8718
FCTEMPS= hwmon1/device/pwm1=hwmon0/device/temp1_input
FCFANS= hwmon1/device/pwm1=hwmon1/device/fan1_input
MINTEMP= hwmon1/device/pwm1=35
MAXTEMP= hwmon1/device/pwm1=60
MINSTART= hwmon1/device/pwm1=180
MINSTOP= hwmon1/device/pwm1=100

This only sort of works—as soon as I enable the fancontrol daemon, the fan shuts off at first (good), but the temperatures of the 7 different sensors slowly rise, even when everything is idle. Eventually, when the Core0 Temp sensors goes past 35°, the fan comes back on, and then it alternates from being on and off at around 500-700 RPM, as the temperature goes back and forth across the boundary. It's certainly much more pleasant than 1200-1500 RPM, but it's still far from desirable.

Here's an example of the sensors output in that situation:
$ sensors
k8temp-pci-00c3
Adapter: PCI adapter
Core0 Temp: +36.0°C
Core0 Temp: +38.0°C
Core1 Temp: +34.0°C
Core1 Temp: +30.0°C
it8718-isa-0228
Adapter: ISA adapter .....
cpu0_vid: +1.100 V

I opened up the case, and the CPU heat sink felt warm but not excessively hot. I tried taking off the heat sink, cleaning off the thermal paste, putting on new thermal paste, and putting the heat sink back on, but that didn't seem to have much of an effect, if any. The two other heat sinks—one on the built-in AMD 780G graphics chipset and the other on the AMD SB700 southbridge—felt noticeably hotter than the CPU heat sink. So, my question is this: What should I do to get this computer back to the state where the fan is off when it's idle? Can I solve this with a smarter fancontrol configuration?

I cleaned out the heat sink and fan as best I could with compressed air (there wasn't a whole lot of dust, but I got rid of what I could), but still no dice. Rebooting into the BIOS configuration gives me the same results—the fan still runs at 1100-1200 RPM, and the system and CPU temperatures are reported as 40-44°C. Should I add another fan? The integrated GPU and the SB heatsinks felt significantly warmer to the tough than the CPU heatsink. The BIOS reports a system fan speed and NB fan speed of 0 rpm (since I don't have more than one fan).

View 2 Replies View Related

General :: How To Get System Idle Time

Apr 5, 2010

I want to get the system idle time till a mouse move or a key press. How is it possible to get it from a char terminal running through ssh/telnet as well as a from an X-terminal session?

View 1 Replies View Related

General :: How Long Was Keyboard Idle?

Nov 7, 2010

Suppose I am almost sure that from last Thursday, 3.00pm up to the same day at 10.00pm I was away from the machine, but not absolutely sure. Linux probably knows better than me. Maybe there will be a text file from which I could infer the keyboard was idle from Thu 2.40pm up to 11.10 pm. In this case, I would reach absolute certainty. But where could such file be in the /. tree or what could its name be (for in the latter case an updatedb followed by locate would do)?

View 4 Replies View Related

General :: How To Get Keyboard And Mouse Idle Times

May 20, 2011

How to get the idle time of keyboard and mouse in linux?

View 2 Replies View Related

General :: Kill All Idle User Processes ?

Nov 18, 2010

All the kill idle user processes scripts I've seen don't take into account that the user might have multiple sessions open. Such is the case with one of our clients. Currently, every hour or two I need to do the following:

This will get the TTY and idle time for all users.

For each idle time over a half hour, I do the following (TTY is the TTY from the previous command with a space.

I then kill those processes.

There must be a way to do this automatically in a bash or perl script. I've tried both, but can't seem to get things to work properly.

View 2 Replies View Related

Fedora :: Run Python3 Scripts From Command Line And Call Up Python 2.6.2 Idle With The Command Idle From Command Line?

May 29, 2010

i've gotten my fedora 12 to the point where i can run python3 scripts from command line and can call up python 2.6.2 idle with the command 'idle' from command line. what command will call up python3 (3.1.2 to be exact) idle?

View 5 Replies View Related

General :: Understanding Idle/Inactive Sessions And Whether Or Not Someone Is Logged In?

Jan 5, 2011

I'm trying to understand if anyone is left on a server. Basically I manage a simple linux server remotely used by 3-4 individuals. I can never tell if someone is actually on or not using w/who.What I'm seeing is some people having what appears to be inactive/lost VNC sessions. I don't understand idle fully, but I do believe a program (without user interaction) can clear idle back to 0, correct?Anyway, I'm asking because every now and then I need to reboot the server, and I do not want to interrupt any program working on calculations or waiting on having the data saved.

Code:
me@matrix:~> w
06:59:54 up 170 days, 9:13, 16 users, load average: 0.52, 0.16, 0.06

[code]....

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

Slackware :: Script - Telnet Session Is Opened And Then Some More Commands Are Forwarded To That Session?

Apr 12, 2010

hypothetically speaking, can i write a script in which a telnet session is opened and then some more commands are forwarded to that session?

View 4 Replies View Related

Programming :: Hashing The Components Of An Tcp Session To Assign/locate The Session In A Hash Table Bucket?

Nov 10, 2010

I have a very bad attempt at hashing the components of an tcp session to assign/locate the session in a hash table bucket. I am pretty sure that it has a very high collision rate and when there are a very large number of tcp sessions my application is having to search a long linked list to find the session within the bucket.

All the hashing functions I have found take a single string input where I need to input several integers and hash them into a single result. My guess is that any real hashing function is going to produce better results than what I am currently doing.

[Code]...

View 2 Replies View Related

Ubuntu :: Session Manager / Select As A Startup Session?

Nov 1, 2010

Is there a session manager I can use with 10.10? I would like to try Openbox but am not sure how to select it as a startup session. I would like to be able to choose between kde, gnome and openbox.

View 1 Replies View Related

CentOS 5 :: Writing 2nd Session Of Multi-session DVD?

Jan 22, 2010

I am putting together some new systems for my customer and I'm having some trouble with a script that we use to back up files to a DVD R. The problem is that I can't write a 2nd session to the DVD unless I eject the disk and reload it. The drives are slimline type drives, Sony BD-5730S and Teac DV-W28S-V93, so they won't reload without human intervention. Opsys is CentOS 5.4 or RHEL 5.4. I've tried both AMD and Intel based mother boards. If i try this on Fedora 11 or 12 it works fine. This works on IDE attached drives but not a SATA attached drives. Fedora appears to use something called genisoimage instead of mkisofs. I can't get genisoimage to run on CentOS or RHEL.

Here's the code to setup the test files:

rm -f /tmp/BDtest/*
mkdir /tmp/BDtest
dd if=/dev/zero of=/tmp/BDtest/blank.iso bs=10M count=1
for NUM in {1..160}

[Code].....

View 2 Replies View Related

Ubuntu Servers :: Restrict User Session Numbers And Allow Resuming Previous User Session?

Jun 30, 2010

I am currently in a project to set up an LTSP server with 10 thin clients. I am using Ubuntu 9.10 (Karmic).

Installing server and booting clients are working fine. Now, according to the need, I have to restrict user session numbers and allow resuming previous user session.

I have achieved to do the first one, but still could not able to setup the second one. As per requirement, if some thin can have power failure, the same session should be restored back. I am confused here, if I need to focus on saving xsessions or saving gnome sessions. I am looking for a concrete solution as I am running out of time.

View 1 Replies View Related

OpenSUSE Install :: Cannot Open ConsoleKit Session: Unable To Open Session

Apr 11, 2010

The following message comes up when I boot up: Logging in user Warning: Cannot open ConsoleKit session: Unable to open session: Launch helper exited with unknown return code 0. When I press OK, the system completes the start up and everything looks normal. But when I try to connect to internet, I get the following message:

KNetworkManager cannot start because the installation is misconfigured. System DBUS policy does not allow it to provide user settings; contact your system administrator or distribution. KNetworkManager will not start automatically in future. If I reboot the system, I logg in successfully. So far the problem has appeared approximately upon every second time I boot up. Rebooting the system seems to take care of it.

Don't know what info is of interest. I'm using

Opensuse 11.2
KDE 4.4.2 (Factory)
After upgrade from 4.4.1 to 4.4.2 it worked fine for a week or so.

View 9 Replies View Related

Slackware :: 13.1 Beta1 - Cannot Open ConsoleKit Session - Unable To Open Session

May 13, 2010

I do a clean install of slackware64 13.1 beta1 with KDE and switch default runlevel to 4 in /etc/inittab.

I try to login in kdm, I always come back to the login....

I try this with default runlevel 3 and an .xinitrc with "ck-launch-session startkde" .. works without problems, so I switch back to default runlevel 4, now i can login and only get the error "Cannot open ConsoleKit session: Unable to open session..."

Here are some logs

syslog

Code:

Code:

View 2 Replies View Related

General :: How To Take Session Over The Internet

Apr 6, 2011

I am having a pc at my home running CentOS 5.5 and connected to the internet can i take session of it through PUTTY or something else sitting somewhere else and connected to the internet..

View 7 Replies View Related

General :: Running GUI From SSH Session

Dec 7, 2009

I am using SSH to access a UNIX running red had Linux. If possible I would like to invoke the GUI on my connection. Is there a way I could do that e.g by exporting the display or running X-server.

View 2 Replies View Related

General :: Script At Each Session?

Dec 1, 2009

Whenever the user login into shell through terminal.i would like to monitor their activity by script command and save the file into /tmp directory. and also when they leave from the session automatically send to my mail id. is it possible?

View 2 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 Second Command In Same Screen Session?

May 5, 2011

I'm starting the first command in screen like this: screen -d -m -S testen -t lalala watch df -h Now I have a screen session running in background and I can reconnect at a later time. But how can I run a second command (in a new window) in the same screen session?

View 1 Replies View Related

General :: Mapping Folders Via RDP Session

Mar 3, 2010

Is it possible to connect local folders to the remote windows machine via RDP session?For example Microsoft's RDP Client has a feature that will connect local hard drives to the remote machine when you open a RDC.I need to copy files but I can't use smbmout because of firewall.

View 2 Replies View Related

General :: Login Into EGW - Your Session Could Not Be Verified ?

May 1, 2009

I have successfully hosted eGroupware on my server and I am happy to having EGW its really very handy to use for my organisation.

But I have a problem when ever I want login into EGW, on top of the login window I am still getting 'Your session could not be verified' the error. I am really not understand why this is coming even my EGW is working perfectly as per my understanding. But I am sure may be I have done a mistake either time of installation or configuration.

View 1 Replies View Related

General :: Can't Start Session At Kubuntu9+9+

Sep 11, 2010

Don't pay attention to 9+9+, was a misstyping

This is the deal. I installed kubuntu yesterday. Now when it prompts the start session screen, I write the user and password, click enter and then starts loading a new screen. It shows an hdd draw, and starts loading some other images, and all of a sudden it prompts me again at the start session screen.

Intel Celeron 2,13 GHz at ASROCK P4VM800 motherboard
1,18 GB RAM

View 3 Replies View Related

General :: Cat:/tmp/ts/session Not Such File Or Directory

Sep 20, 2010

While thinstation is booting from localdrive then the shows repeatedly error displays after line welcome to thinstation cat: /tmp/ts/session not such file or directory even that i have kept file in loclal derive thinstation.profile/thinstation.conf.user

View 1 Replies View Related

General :: Let VNC Users See Normal Non - VNC Session?

May 13, 2010

We have just installed VNC. It seems to work fine. If we connect to a remote system using VNC, on say DISPLAY 5, it works and we can run our applications. If another person wants to view this session, they can also connect to DISPLAY 5, and it is fine.

However, if you are just sitting at your own system, without using VNC, and someone connects to your system using VNC to DISPLAY 0, so you can show them what you are doing, they do not see your session, they see a plain startup session, not the session in which you are running your applications... How do you let VNC users see your normal non-VNC session? Have I configured something wrongly? We are new to VNC!

View 5 Replies View Related

General :: Capture The FTP Session Output From Net?

Apr 21, 2011

how to capture the FTP session output from Net::FTP module to a text file or in a variable ?

View 1 Replies View Related

General :: Run Same Script In Parallel From On Session?

Mar 17, 2010

I have a shell script to refresh some databases. Currently I open 5 sessions and to execute the five scripts.

Today, as test, I tried to see if I could run two refreshes simultaneously from one session using the '&':

. /refresh.ksh db1 &
. /refresh.ksh db2

The first one ran and the second one started only after the first one was finished. Could it be that the script refresh.ksh contains many commands and those are not pushed to the background? If so, what's the best approach to getting 5 db's refresh simultanously from on session?

View 6 Replies View Related







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