Ubuntu :: Killing Application When Switching Users?

Jan 15, 2010

I have POPFile in my startup applications. I know how to automatically kill it when login out but cannot find a way to kill it if I just switch users (other than manually stopping it). It's important to kill it when using the switch users function because the new user will have access to the old user's POPFile database, have access to his email, etc, if I do not.I have a "lynx -dump http://127.0.0.1:8080/shutdown &>/dev/null" line in my /etc/gdm/PostSession/Default file that shuts down POPFile at log out. I need to do the same or something similar when switching user. Is there a way?

View 2 Replies


ADVERTISEMENT

Networking :: Kill A Socket Connection WITHOUT Killing Its Parent Application?

Mar 9, 2010

Is there any command in Linux to kill a socket connection WITHOUT killing its parent application? For example, I have streaming server with several connected users and I want to close socket connection to one of them?

View 1 Replies View Related

Ubuntu :: Switching Users Hung On Screen?

Jun 13, 2010

my mother woke up and came in here to get online and when I hit her name on the sign in screen its just stuck with her name on the screen So she woke up me and I hit CANCEL SIGN IN and now its stuck on CANCELING..... And its been like that for 10 min I am too scared to do ctrl alt backspace because its going to log me off of everything

View 1 Replies View Related

Ubuntu :: Switching Between Users Locks Up Computer - 10.04 And 10.10

Oct 15, 2010

Since upgrading from 9.10 to 10.04, the "Switch User" functionality no longer works. I had hoped that upgrading to 10.10 might resolve the issue, but no joy. I am using 32bit Ubuntu 10.10 on a Levono R51 laptop, with three users. 9.10 was installed from a LiveCD, and I have partitioned the hard drive so that OS is in the first partition, and the three home directories are in the second partition (just in case I need to do a complete re-installation from LiveCD). Most of time only one person uses the laptop, but if a second person tries to switch from the current session and log in, they are greeted with the following;

-- a black horizontal line (approx top quarter of the screen)
-- a purple background with the Ubuntu title and 5 red dots (lower 3/4 of screen) -- but no login screen
-- moving the mouse renders a white box (approx 1x1 inches) with some black marks

The original user can recover their session with Ctrl-Alt-F7, but this essentially makes the laptop only usable for one person (one active login) unless the original user logs off.

View 1 Replies View Related

Ubuntu :: Switching Users Freezes Workstation Temporarily

Aug 3, 2010

I have been experiencing issues when switching users since my last update; I filed a bug, but I was interested if anybody else was having the same problem:URL...In a nutshell the computer freezes temporarily during the switch user process. The longer it is running, the longer the freeze lasts. When frozen the screen is black except for a mouse pointer; but the mouse and keyboard are not responsive including the usual X command keys (Ctrl-Alt-Del, Ctrl-Alt-Bksp, Ctrl-Alt-F1, etc.).When I get the chance I am going to rollback gdm to see if that makes a difference.

View 1 Replies View Related

General :: Killing Parent Process Without Killing Child Process (Linux C Programming)?

Mar 10, 2011

I want to kill parent process after "fork()" method. but if I kill parent process with "exit(0)" method, main() thread is terminated as well so child prosess doesn't work anymore. Is there any way to kill only parent process without affecting to child process?

#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>

[code]....

View 1 Replies View Related

General :: Switching Users In A Bash Script?

Mar 29, 2011

I want to execute a bash script that switches user and then executes a series of commands. None of this users have root privileges. I guess I have to edit the sudoers file to give user1 (the user executing the script) privileges to be able to log as user2 with no password prompt. I've been looking for this example but I haven't found any.

View 3 Replies View Related

Ubuntu :: USB Devices Not Mounting When Switching Users / Logging On With Different User

Feb 28, 2010

I have an external USB drive that is NTFS. It mounts fine under my account and my wife's, but only if I fully shut-down the computer between switching. While switching users or logging out then in with a different account it will not mount the drive. I am not sure what to do... but we both access data from the same drive.

View 2 Replies View Related

Ubuntu Installation :: Getting Black Screen When Switching Users In Lucid 10.4?

May 3, 2010

I just upgraded from 9.10 to 10.4. I am having the following problem:

When I attempt to switch from the user that I am currently logged into, to another user who is also logged in, I get a black screen.

To elaborate, here is the exact sequence of events:

Code:
- Boot ubuntu and login to user A
- Then Click on power menu (top right corner) and select: Switch from A
- I get the login screen
- I select user B and enter my password

[Code].....

I did try to change my session (at the login screen) to gnome-failsafe, xterm, even kde, but still I get the black screen.

View 9 Replies View Related

Programming :: XGrabPointer Prevents Alt+Tab Application Switching?

Jan 30, 2010

I'm writing a game for Linux using Xlib whereby when a window becomes active it will take control of the mouse using XGrabPointer. The idea being that if the users switches applications through Alt+Tab the game will relinquish the mouse with a call to XUngrabPointer.

The game is using the FocusIn event to determine when it has been activated and needs to grab the mouse, and likewise uses the FocusOut event to release the mouse. This causes a problem because for some reason an Alt+Tab from the keyboards generates two FocusOut events and then a FocusIn event causing the game to take control and no application switching occurs.

If the game does not grab the mouse, then application switching works fine.

What is needed so that application switching can work while the game has control of the mouse?

I am running Fedora 12 on an Intel Core2 Duo machine. I am also using Compiz as the window manager.

View 1 Replies View Related

Ubuntu Networking :: Manager Tray Icon Disappear When Switching Between Users?

Apr 26, 2010

I'm facing an odd issue with my Ubuntu 10.04. So, I have WLAN activated and working on my user account. Then I switch to another account on the same computer and nm-applet tray icon disappears! I have activated the option that all users may use the WLAN connection, but the tray-icon doesn't show up for other users. Only the one who logs in first sees it. Network connection is working properly, but the tray icon would be handy.

Trying to start nm-applet manually in terminal results in an error saying that nm-applet is already running (sure it is, on the first account that logged in). But is it possible to have the tray icon visible for all users?

View 1 Replies View Related

Ubuntu :: Resolution During Bootup, Shutdown, Switching Users, And The Theme Icons Look Very Grainy & Cheap?

Nov 4, 2010

I have a problem where the resolution during bootup, shutdown, switching users, and the theme icons look very grainy & cheap. It might have started when I booted in failsafe graphics mode and after that, it never went away. Could be wrong about how it happened but is there a way to get out of failsafe mode? Or a way to reconfigure default, normal graphics?

View 9 Replies View Related

Debian Multimedia :: Stretch With Gnome And Cinnamon - Computer Hangs While Switching Users

Sep 10, 2015

I'm using Debian Stretch with Gnome and Cinnamon. My desktop computer sports an nvidia geforce 970 gpu (this may be relevant, and it is the reason I had to go with stretch.) I'm not a very experienced linux user but I get along fine.

I'm sharing my computer with my mom and whenever we have to switch users, the computer seems to shut down for 35 seconds: the screen doesn't receive signal anymore. After a new user is chosen, it takes another 35 seconds to get to her session. This is embarassing because my os runs on an ssd and everything else is nice and fast. At first I thought it may be a matter of us two not using the same window manager or not using the "default" window manager, but changing window managers didn't work.

Today I learned about the existence of /var/log/syslog and I decided to check what happened to it when I switched users. I can't post the whole log of what happens because it is too big, but I put it on pastebin : [URL] ....

I understand almost nothing of what is written here, but I saw some interesting things:

- after 35 seconds intervals where nothing is logged, there is a stall on cpu detected (lines 68, 500)
- my gpu seems to have something to do in all this

View 7 Replies View Related

Software :: Share Calendar Application - Allows Users To Schedule Time / Days Off

Oct 20, 2010

I have a select few users (finance dept.) at work who want to be able to write to a calendar based program on the network that allows them to schedule time / days off. The calendar or program needs to be writable by only a few administrators so that once time off is approved by their manager, he or she is the one who would access the application and submit the entry on it's specified date / time.

I would prefer if the back end is SQL database compatible but doesn't need to be since at this point I need to find anything that will fulfill this request. Obviously this sounds like a web / php based application that would run on my Apache Intranet web server

View 4 Replies View Related

Ubuntu :: Killing Processes At The Startup?

Feb 21, 2010

Why each boot-level consist of shell-scripts that start and stop processes? Why does the system while booting not just simply add the necessary programs for the next level by starting them, thus making the stopping of specific tasks not necessary and certainly speeding up the boot process?

View 5 Replies View Related

Ubuntu Installation :: 10.04 LTS Apt-get Install Is KILLING?

Feb 18, 2011

Keep getting apt issues when trying to install packages. First it was tz stuff, now it's "Unpacking replacement libapr1..." forever. Don't ever recall having these issues with 10.10, how do I go about fixing this?sudo apt-get install subversion Preparing to replace libapr1 1.3.8-1build1 (using .../libapr1_1.3.8-1build1_i386.deb) Unpacking replacement libapr1 ...Just trying to install Subversion!

View 1 Replies View Related

Ubuntu :: System Hang Up When Killing The Pid?

Jun 21, 2011

After installing and activating "ATI&AMD proprietary FGLRX graphics driver" ;in Ctrl+Alt+F2" mode, do following steps:sudo pidof X (to get pid number)sudo kill xxxx (xxxx is the pid number)Then , system hang up!If the FGLRX driver is not installed , there is no such problem

View 1 Replies View Related

Ubuntu :: Killing Open Office Updates?

Jul 24, 2010

The open Office installation on Netbook Remix is too much for an Eeepc 701 (4gb), so, as you do, I uninstalled it and replaced it with Abiword/Gnumeric, but I keep receiving large-sized updates for Open Office! I don't need them (or in fact the CUPS updates either), but I don't know how to stop them from being rather forcefully offered each day.

View 2 Replies View Related

Ubuntu :: Disconnecting From Remote Terminal Without Killing Process?

Apr 9, 2011

I'm running a process on my university's supercomputer that takes several hours to run every time. Is there a command I can use to exit my ssh session without killing the process I'm running?

View 1 Replies View Related

Ubuntu Networking :: Rtorrent Killing Network Whether Downloading Or Not

Jul 8, 2011

I use Ubuntu 10.04 server as a base for my media center, with rtorrent as my download program. I've had to move into a smaller place where I don't have direct control over the network, and where we have a vanishingly poor DSL connection. When I start up rtorrent, every computer on the network starts having dramatic slowdowns of internet speed, even when both my downloads and uploads are throttled to 1KBps, which is as low as rtorrent will go. Unfortunately, as I said, I don't have direct access to the router. The IT guy says my media center "is sending requests to all the computers on the network like crazy". How he knows that, I don't know, nor do I know exactly what he means.

But it is only when I have rtorrent running, even when it's only running 1k each way. It was my intention to test whether or not running utorrent on my Windows box had the same effect, but it's telling me "an attempt was made to access a socket in a way forbidden by its access permissions" on all trackers, which I've also been unable to resolve. It may or may not be symptomatic of the same issue, but the UI of rtorrent is painfully slow. As in, I push the down arrow, go make myself a sandwich and watch some telly, and maybe when I'm done it's selected the next torrent. I used to use Transmission, but it used more resources and interfered with watching shows.

View 1 Replies View Related

Fedora Hardware :: Init 3 Not Killing X11?

Jan 22, 2011

I am trying to install a new NVIDIA Driver. as I usualy do I go to a terminal logging off and using "ctrl+Alt +F2" logging in as root and entering "init 3" but when I run "sh NVIDIA" it tells me "X server is still running." If I enter "init 5" it goes right to a gui. I have tried "killlall X11" with no results.

View 7 Replies View Related

General :: Shutting Down PC Without Killing SSH Sessions?

Aug 10, 2010

I have some heavy, long processes running on remote Linux machines. I use my laptop to SSH to these machine and run the processes from my couch.

BUT, when I want to shutdown my laptop, I am in trouble since the remote processes are killed.

I did my research and found out that "screen" is a great solution for me, it is! (As long as I don't SHUTDOWN my laptop). Isn't there a way to "persist" the "screen" sessions so I can shut it down and then re-attach to a session?

View 7 Replies View Related

General :: Killing A Zombie Process?

Oct 15, 2010

I have a zombie running on my computer(Ubuntu 10.10) and although I have tried killing it using the processes PID number it won't die.

Tasks: 137 total, 4 running, 132 sleeping, 0 stopped, 1 zombie
Cpu(s): 49.7%us, 50.3%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1016076k total, 938688k used, 77388k free, 25896k buffers
Swap: 3069948k total, 23140k used, 3046808k free, 584956k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
1733 stephani 20 0 0 0 0 Z 46.7 0.0 52:34.34 transmiss <defunct>

Transmission has being running for almost 60 minutes and is consuming a very large amount of the CPU.

View 8 Replies View Related

General :: Capturing PID And Killing Process

Oct 9, 2010

I want to capture PID of a program and kill it using the PID if the program is been executing beyond 5 seconds.The problem I'm facing is I have another copy of the same program running under different shell script, and the above code is killing both the process. How do I specifically kill the program which has started under the current running shell script.

View 2 Replies View Related

General :: ClamAV Killing RedHat 4.8?

Jul 19, 2010

I install the antivirus, ClamAV, onto a RedHat 4.8 box (yes it has to be that release of the OS to work with my other software needs) and after the install and giving the permissions to another user/group dedicated to this AV I get a ton of errors. After the install a few things pop up after a restart/logout. When trying to log back in the Gnome environment crashes so you cannot access any acct aside from using the text based environment. Two other error windows appear as well, one mentioning Bonobo has died and the other saying that Nautilus cannot be started due to Bonobo. I'm not too familiar with Bonobo can anyone fill me in on why those errors occured?

View 2 Replies View Related

Ubuntu :: Killing Caps Lock (standard Methods Fail)

Oct 17, 2010

I'd like to make a few changes to the keymap; disabling caps lock and a few other changes. First I tried what has worked before:

editing /usr/share/X11/xkb/symbols/pc
and commenting out a line there:
// key <CAPS> { [ Caps_Lock ] };

But changes in the xkb-files apparently only takes effect after login, and this particular system is set to autologin (i.e. it only works after I log out and log in again, not right after a reboot). I also tried putting

xmodmap -e "clear Lock" in one of the shell's startup-files (/etc/zsh/zshrc) No luck with that either. The above command works fine if I manually type it at the prompt, but for some strange reason it won't work in the shell startup script (and I know it has been executed since the lines before and after it in the script work fine).

View 1 Replies View Related

Ubuntu :: Update Manager's Kernel Updates Killing System?

Mar 16, 2011

It's taken a lot of work, but I have figured out over thecourse of many many fresh installs over the past few days that the kernel updatefrom the update manager in ununtu is breaking my system. This is both for the -22 and -27 updates.Is anyone else having problems with these and/or is there a fix?

View 9 Replies View Related

OpenSUSE Install :: Killing A Repository Entry?

Jun 26, 2011

I am having a problem since upgrading from OPENSuSE 11.2 to 11.4 (both 64bit). The problem goes back to some issue with repositories which is what "forced" me into an 11.4 upgrade.

So, upon completing the install, and every time I run YAST to do updates, I get a message about this: "Error refreshing service ATI Repository (http://www.ati.com/suse/11.2):" How is it that this repository entry survived the upgrade install? Ok, forget that, how do I get rid of this when I can't get it to display in the list of repositories I have?

What is even worse, I don't have ATI drivers on this system (I had uninstalled them a year ago, pulled in the NVidea, esw, etc.) as I had put an NVidea adapter card in, in place of the ATI built in (on the MOBO). Somehow that dropping of the repository didn't work, and now I have this thing in limbo? ps. I can't figure out what string to search in my file system or I'd have deleted the sucker last night during the install manual reboot.

View 9 Replies View Related

General :: Killing All Processes Of Current User?

Jun 15, 2010

user@host$ killall -9 -u user Will it definitely kill all processes owned by user (including forkbombs)?

No new processes is spawned to user from other users. No user's processes are in D-sleep and unkillable.No processes are trying to detect and ptrace or terminate this started killall (but they can ptrace or do other things with each other) There is ulimit that prevents too much processes (but killall is already started and allocated it's memory)

E.g. if killall will finish untampered and successfully is it 100% that no processes are left with this uid? If no, how to do it properly (with standard commands and no root access). Will SysRq+I definitely kill all things (even replicating)?

View 2 Replies View Related

Programming :: Alter A Running Process Without Killing It?

Sep 7, 2010

In the comments section of this blog, the commenter "Pratik" claims that you can edit a running bash script, without killing it, and have the changes picked up by the running script. He claims you can do this by editing files in /proc. Now, I know how to find the /proc folder that contains the data on the running process, Code: cd /proc/`pgrep process_name` But I can't figure out what I should do if I want to edit a running bash script.

View 6 Replies View Related







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