CentOS 5 :: How To Kill A Tty / Pts User Session

Jul 22, 2010

is there a way to kill a pts/* or tty* user session from comman line, without knowing its process id.

View 1 Replies


ADVERTISEMENT

OpenSUSE Install :: Kill The Entire Session (as Root) For A User?

May 5, 2010

I've got a somewhat anemic box, resource-wise, set up in the office where any authorized user plus a guest account can log on. Guest is tightly restricted, but we get a lot of people passing through who need one-time or occasional access - this isn't the big problem. What's causing me problems is that a user will log in, walk away or go to the john and the screen locks. Next user (or this one comes back) and winds up doing another login. At the end of a week or so, I may have a couple of dozen sessions listed when I ask for "users". Since some of these session contain open applications they eat up an awful lot of a marginal amount of available memory. How do I kill the entire session (as root) for a user? Gotta be simple but it's not obvious to me.

View 3 Replies View Related

CentOS 5 :: "gnome-session-save --kill" RESTART The System?

Apr 27, 2011

When I logout Gnome session, the whole system reboots. I found this command, "gnome-session-save --kill", it restarts the system, too.That's what is happening with two of my Dell destops(CentOS 5.6). How could this happen?

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

CentOS 5 :: Starting VirtualBox Causes User Session To Logout?

Feb 17, 2011

I have installed VirtualBox as per the instructions on this site, and the kernel module compiled without problem, however when I start it, it causes the user to logout!

I am using the nvidia module from the ATrpms repo if that has any bearing on the problem.

Has anyone else seen this issue?

Details:
CentOS 5.5 x86_64 running on a Dell Studio XPS 435MT with i7 920 and 6GB of RAM
VirtualBox 4.0.2 from virtualbox repo.
nvidia driver 260.

View 1 Replies View Related

CentOS 5 :: Automaticaly Launch Tomboy When The User Open Session?

Aug 5, 2010

I would love to auto-start tomboy at startup. How can I do this ? [Moderator edit: fixed Subject so nobody would expect an automatic Lunch. Is that the same as a free one? ]

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

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

General :: Make A Process That Can Be Kill By All User?

Feb 24, 2010

I've three user in my machine ,and i want to make sure that the process created by the user1 can be killed by other user and vice-versa ,is there any way i can do that without using root password or sudo

View 4 Replies View Related

Debian :: Kill An Process Running From An Folder And With User Parameter?

Dec 4, 2010

i googled around and finally stumbled over this forum. I've been wondering, how would i kill an process running from an folder and with user parameter? I usually type this into the ssh console: pkill -9 < process > -U < username >

But i want users be able to run it multiple times, and killing only an specific process and not every single one.

View 4 Replies View Related

General :: Kill Process Started With Different User Without Being Root / Sudoer?

May 3, 2010

I need to kill a process which has been started by user2 if I am user1 without being sudoers or using root.Do you know if there is a way of setting that when launching the process? Such as a list of users allowed to kill the process?

View 7 Replies View Related

Programming :: Kill Pids For All Sessions For A Specific User Except Their Current One?

Oct 20, 2010

I have several users on handhelds and they like to let their sessions time out. Their zombie processes then cause record locks.I've come up with calls for killing the pids for any prior sessions started by a given user. This procedure would be executed in the .bash_profile.

View 3 Replies View Related

Ubuntu :: Phantom User Still Logged In - Bash: Kill: (5485) - No Such Process

Sep 13, 2010

$ uptime
09:55:00 up 7 days, 6 min, 2 users, load average: 0.00, 0.00, 0.00

..but I'm the only user logged in!

$ who -a
system boot 2010-09-06 09:48
run-level 2 2010-09-06 09:48 last=

[code]....

looks as though this is the culprit, but...

$ kill 5485
-bash: kill: (5485) - No such process

This process doesn't exist in the /proc folder or the output of ps. Does anyone know how this happened, and how to remove this ghost user from my system without a complete reboot? I think I have seen a similar thing on a RedHat machine ages ago but I have never figured out how to log out these ghost users.

$ uname -a

Linux ubuntu 2.6.24-28-server #1 SMP Wed Aug 25 16:07:16 UTC 2010 i686 GNU/Linux

View 9 Replies View Related

CentOS 5 Server :: Don't Kill The Whole Tree?

Jan 3, 2011

I have a straingh problem with kill. I start a skript run.sh. With Ubuntu i can kill run.sh and the whole pstree is killed. with centos it does not work?

[Code]....

why does centos do not kill the wohle tree? is there someting with the bash? ubuntu use 4x and centos 3.2

View 2 Replies View Related

Ubuntu :: Kill Doesn't Kill, Killall Is Powerless?

Oct 21, 2010

Today I run OpenOffice.org extensions update and it freezed fter showing me that everything was successful.When i xkilled it it refused tolaunch without any problem indication.killall soffice.bin didn't report "No process found" after 1,2,3...20 times.So I tried killall soffice.bin -i

Code:
$ sudo killall soffice.bin -i
Kill soffice.bin(3319) ? (y/N) y

[code]...

View 1 Replies View Related

Ubuntu :: Don't Let User Keep Session Going

Jun 3, 2010

In recent versions of ubuntu, the behavior of gdm and gnome is changed so that if a gnome user doesn't touch the mouse or keyboard for a while, the session is locked, and they have to type their password in order to get back in. I dislike this behavior, because on some of the machines I use and manage, people will walk away and not come back, and then there is no way to log them out. I can switch and log in as a different user, but the AWOL user's session is sitting there eating up resources until the machine is rebooted. I prefer the old behavior, with no locking. Is there any way to get the old behavior back? I've looked through the gdm.conf docs, but can't seem to find anything relevant. This actually seems more like a gnome issue than a gdm issue. I think what's changed is that gnome now invokes a screensaver after a certain amount of time, and that screensaver locks the session.

View 4 Replies View Related

CentOS 5 :: Not Syncing - Attempted To Kill Init

Sep 23, 2009

I Downloaded the 6 CD's of CentOS installation , and I start install them on my machine :
Processor : Intel Pentium 4 -2.08 Ghz
Ram: 256 MB
cash :512kb
HDD: 80GB
(it is for home server purposes)

After the fourth disc the system ask to reboot the system ; so I restart it ok? What I get ? No OS. Just a long text :
I think the bootup run ok, then this line came out I think it reveal some thing that Pros will know it:
nash received SIGSEGV Backtrace :
[0x804fb35]
[0x488420]
[0x.........
[0x........
[0x......]
then
Kernel panic - not syncing: Attempted to kill init!

View 9 Replies View Related

OpenSUSE :: KDE 4.3.5 - Switching User Session

Jul 10, 2010

I installed KDE 4.3.5 on my existing Gnome desktop and i have two users using the computer. Now from Gnome I am accustomed to switch between session very easy and the sessions continue to run. If I use the Switch option from KDE it just looks my screen and does not switch. Is it possible that I miss some programs? I installed it with Yast and used the group option. I am pretty sure that I missed something during the installation.

View 5 Replies View Related

CentOS 5 Server :: Lockd Stucks And Can't Kill It's Process?

Feb 20, 2009

I'm have some desktop computers sharing my Centos 5 server diskpace through NFS. From time to time, without any warning, lockd bugs and all the users that are using GTK applications like Firefox,Gnome.get stuck.

My first atempt is to restart the NFS, but locked files persist because I can kill the lockd pid process, even using root account , I suppose this is because it's a kernel process. Here is the message error I get when restarting NFS matrix kernel: lockd_down: lockd failed to exit, clearing pid

View 1 Replies View Related

Software :: Unable To Kill Process With Kill -9

Jan 13, 2011

the process is mcelog. When I do as root kill -9 2323 which is pid of mcelog the process is not killed. I tried doing the same from top, press K and enter pid of mcelog. doing ps auwx | grep mcelog I see there are several results. I tried killing all of them like kill -9 2355 2341 3425 2345. But re-running the above commands still shows them as running. How else would I troubleshoot this to avoid restarting of the box.

View 5 Replies View Related

Debian :: Add User To Login Boot Session

Nov 12, 2015

I'v debian with xfce, how can I automatically insert my user at login screen?? ...and what's the name of the program that start the login screen and maybe change it??

View 2 Replies View Related

Debian Multimedia :: Can't Start GUI Session As User

Mar 29, 2016

I recently installed debian 8 stretch with xfce. Since the first time I boot, I have problem starting my X session: from lightdm I always attemped 2 or 3 times before it login (it returned me on lightdm prompt after a short splash screen).

Now it stopped working: the only way I can start xsession is running startx as root. When I try as user it starts the "splash" and return me to the tty with this error message:

Code: Select allServer terminated with error (1). Closing log file(EE)

This is my ~/.local/share/xorg/Xorg.0.log

Code: Select all[    27.703]
X.Org X Server 1.18.2
Release Date: 2016-03-11
[    27.704] X Protocol Version 11, Revision 0
[    27.704] Build Operating System: Linux 3.16.0-4-amd64 i686 Debian
[    27.704] Current Operating System: Linux debian 4.3.0-1-686-pae #1 SMP Debian 4.3.5-1 (2016-02-06) i686

[Code] .....

And this is my /etc/X11//Xsession

Code: Select all#!/bin/sh
#
# /etc/X11/Xsession
#
# global Xsession file -- used by display managers and xinit (startx)
# $Id: Xsession 967 2005-12-27 07:20:55Z dnusinow $

[Code] ....

and this the .xsession-errors:

Code: Select allXsession: X session started for lucatastrophe at Tue Mar 29 10:21:09 CEST 2016
localuser:lucatastrophe being added to access control list
openConnection: connect: No such file or directory
cannot connect to brltty at :0
dbus-update-activation-environment: setting MAIL=/var/mail/lucatastrophe

[Code] ...

I try to reconfigure Xorg but the Xorg -configure command result in another segmentation fault.

I think that the problem could be related with old configuration (when I install this version of debian I maintain the /home partition and my previous OS was debian 7 with xfce).

View 7 Replies View Related

OpenSUSE Multimedia :: No Sound In A Certain User's KDE Session

Dec 9, 2010

Quite some time ago I managed to get sound working perfectly on my DELL Inspiron 1720 under openSUSE 11.2 and KDE 4.3.5. Then suddenly some months ago for one of the four regular users on my system sound stopped working! KMix is always muted after KDE session startup for this user and even if you unmute it there's still absolutely no sound; in particular, the commandspeaker-test -c2 -l5 -twavdoesn't generate any sound (while I do see the printed output which doesn't contain any error messages). Even if I su to root in the very same Konsole window speaker-test remains silent!

Since sound is OK for the three other regular users I've already compared KMix settings as well as System Settings > Multimedia for each of the regular users but found absolutely no differences. BTW: In System Settings > Multimedia I have XINE set as the backend and "PulseAudio" has priority over "HDA Intel (STAC92xx Analog)" for all sort of audio output, and - perhaps needless to mention - all the four regular users are members of group "audio".

View 9 Replies View Related

General :: SuSE Always Logs A User In TVM Session?

Mar 16, 2010

I recently installed Suse Linux enterprise Desktop 11 on my box. I created an user and logged in first time into a GNOME session without any problems. Last time I logged in I selected the session as TWM and that got me into the T windows manager just fine. Now when I log out and try to log back into a GNOME session, it will still log me into the TVM sessionI have tried restarting the boxHowever, when I remote log in to the machine it will let me get on the GNOME session just fine. I'm guessing this is probably a really simple fix, however I am a Linux newbie and doing a google search isn't yielding me what I'm looking for.

View 1 Replies View Related

General :: Can Active User Session Be 'assumed'?

Jul 28, 2010

Outside of using something like screen, is it possible to 'assume' an active user session under Linux/UNIX?For example, I ssh to my server from home. Then I ssh to it form work. I want to kill the home-spawned session, and "take-over" all of the processes that it had running.

View 2 Replies View Related

Ubuntu :: Remove Live Session User ?

Apr 15, 2010

Before I start, I have searched everywhere I can for help with this, tried everything suggested and still cant do this.

The annoying thing is ive done it before but cant replicate it.

I have ubuntu installed on my usb stick using lili usb creator.

I want to remove live session user (username ubuntu).

Ive created my own account with privileges etc.

Ubuntu is 9.10.

View 6 Replies View Related

CentOS 5 :: Kernel Panic - Not Syncing : Attempted To Kill Init?

Jan 15, 2010

I am getting :

exec of init (/sbin/init) failed!!! : 2
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init! My server is at remote end which I access through Public IP.

View 5 Replies View Related

General :: CentOS - Kernal Panic -not Syncing Attempted To Kill Init?

Apr 7, 2011

I was unable to access the server and had to reboot it. When the server was booting after the Grub, it errored out withKernal Panic -not syncing Attempted to Kill init!!exec of init (/sbin/init/) failed No such directoryI reboot into the recuse mode from the CD and when looking for the installed OS.I got an error like thisFound OS but with errors.Mounting part or all of your system at /mnt/sysimage.. something of the sort. I've run fsk -y on the /boot and root drives and rebooted but still the same issues.Here is my grub.conf:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file

[code].....

View 7 Replies View Related

CentOS 5 :: Custom Kernel Panic - Not Syncing: Attempted To Kill Init?

Apr 5, 2011

I got the following error after compiling kernel version 2.6.38.2 from sources with this Howto:[URL].. Creating root device.

Mounting root filesystem.
mount: could not find filesystem '/dev/root'
Setting up other filesystems.
Setting up new root fs
setuproot: moving /dev failed: No such file or directory
no fstab.sys, mounting internal defaults

[Code]...

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







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