General :: Kill X Server Without Being Forced To Log Out?
Jun 9, 2010
I'm having trouble killing X server and keeping access to the console. I'm trying to install an Nvidia driver so that I can use OpenGL with Geant4. To install the driver, I need X server to be off.I Googled, and found a lot of things about runlevels that no longer apply in 10.04, since inittab has been removed, and that the runlevel now defaults to 2.
I tried CTRL + ALT + Backspace, but that just boots me to the GUI login prompt. In earlier versions of Ubuntu, I would set the default runlevel to 3, but since I'm already at 2, that seems to be as low as I need to go. I tried it in runlevel 1, but the installer warned me about the possibility of needing daemons that would otherwise be running. So in summary, I just need to be able to kill the X server and keep using the console on the current run level. If anyone knows how I can do that in 10.04,
View 5 Replies
ADVERTISEMENT
May 25, 2011
Following Problem:I am only using Linux at university, so I'm basically beginner. Today for some reason after logging in the the power of the computer went off.After restarting and logging in again I couldn't start my firefox (which was running before).Now I don't know whether it is because I'm still "logged in" with the old account (since logging in on several computers/terminals is no problem), or anything eitherrivial or a real problem...Is there any way to find out if I'm logged in on another terminal, and if how can I close this one (external log out possible)
View 2 Replies
View Related
Mar 23, 2011
Ubuntu uninstalled OOo and installed LibreOffice. What a piece of ----! The first thing which showed up: bold, underline, etc don't highlight when selected; next- Open As, Save As don't show USB stick. I've messed with Linux enough--went downtown and purchased Windows 7--had enough of amateurville patting itself on the back and forcing non-refined software on
View 13 Replies
View Related
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
May 23, 2011
unclean shutdowns/reboots. Whenever I boot/restart, I notice the message "/dev/hdb1 (and hdb2) was not cleanly unmounted, check forced." Then fsck(?) scans them without errors, and everything continues normally. FWIW, hdb1 @ hdb2 are ext2, /boot & /tmp respectively, whereas all other partitions are ext3. Could that (ext2) be why? I checked halt, reboot, umountfs, umountnfs.sh, and umountroot in /etc/init.d, and nothing jumped out at me, though I'm not exactly sure what I'm looking at/for.
View 8 Replies
View Related
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
Nov 5, 2010
when u running command "top" u can see table and under %CPU i see some time used over 60% how can make server kill any thing using 60% or over auto ? i'm not using php or mysql i hosted vps's and they not runung mysql
View 8 Replies
View Related
Apr 27, 2010
Sometimes, i just want to run a shell terminal so i can access the desktop environment of another computer over ssh. is there a way to kill the X server and have it NOT restart in 9.10 Ubuntu?
View 6 Replies
View Related
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
Feb 24, 2011
### update ####
Sorry to waste the groups time on this one, after killing that and biting fingers, I re-examined the ps list and saw the tar and bzip running fine (so even though I killed the backup .sh, it was still going along, so I simply removed those and all was well again.
Feel free to reply though with #3, if I have 30G of mail, I know gzip is faster but bzip is more compression from reading, should;
a) tarring that mail actually drop to 3G total!
b) est (I know it's tough) but backing up 30G, is 10 hours longer than expected? (I will run some tests on a smaller folder)
############### end update
this is on an old RH9 box and backing up mail. I started the job last night in a shell script, it's around 30G of mail, and it was a tar using bzip as there was only 20 or so gig 'free space'. The old backup script was in perl and just a tar mail folder and the total was 3G so I figured I was safe.
Well it started last night and this am it was still running. I did a kill -9 on the pid and ps now shows it as;
root 9143 0.0 0.0 0 0 ? Z Feb23 0:00 [backup.sh <defunct>]
Disk space was down to 1.3G free (so somewhere all that space is being held temp somewhere), but I removed the old backup (3G which gave me a little breathing room of 4.5G), but the backup is still running somehow as the 4.5 is now 4.3. I tried the pkill, kill -9 pid, read someone said re-start the job which I did, then killed but nothing.
I really can't reboot this production box, so in RH9, I need to both;
1.kill that defunct backup
2.remove the temp storage it has made
3.figure out why it's taken 10+ hours and not done.
1 and 2 being 'critical'
View 3 Replies
View Related
Mar 13, 2010
We have an internal application which takes below 10% cpu usage normally. However sometimes it hit above 85% or more (and stays there) causing the server to become very slow. Currently we have to monitor this manually, kill the process and manually start it.
command / script that will kill the process (using pid will be the best option as i think) when it reaches 85% or higher
(I saw another question that suggested to use monit but I have to get this done using the standard commands available in the current installation - RHEL5)
View 1 Replies
View Related
Sep 12, 2010
Ever since I installed and started operating my FTP server, with a wired connection, my wireless connection to my computers has been going in and out a lot. My wireless connection is about a foot away from the router. Is it possible that the wired FTP server is pulling a lot of the internet signal away from my wireless setup?
View 3 Replies
View Related
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
Dec 10, 2010
I'm running Ubuntu 10.10. I recently installed the open ssh server so that can sftp stuff. However, I do not want the server to always be on, only when I manually start So, I did an 'update-rc.d -f ssh remove'and now I don't see any startup scripts in the rcx.d directories any more.However, when I do a 'ps ax', there is always a '/usr/sbin/sshd' process running. I try to kill it but it keeps restarting under a different process ID.How do I disable sshd?
View 3 Replies
View Related
Apr 12, 2011
i want to remove a path, but is in use.. How can i kill the zombie processes?
[Code]....
I guess i was wrong deleting first the disks that formed the path, but now how could i kill those zombie processes without a reboot?
[Code]....
View 2 Replies
View Related
Jul 30, 2011
I have seen the following command:
$ kill %1
What is the usage of this statement?
View 2 Replies
View Related
Sep 24, 2010
How to kill grub2? Even with a 20 second hard-drive delay grub2 throws a error: no such partition and will not boot to a floppy. I know there is no partition I deleted all and started over. How do I kill grub so I can install fresh? I can boot to a thumb drive with gpart how do I clear the partition table and bootstrap?
View 7 Replies
View Related
Feb 18, 2010
use kill command in ssh? some of my friends are always disturbing me while i'm programing using ssh...
View 1 Replies
View Related
Apr 5, 2010
Can we just put all the processes in one group and kill that group? Is there any other way to do this?
View 3 Replies
View Related
Dec 10, 2010
A process with name=example can be killed by killall -9 example
How to kill multiple instances of following command which contain spaces?
"valgrind --tool=lackey ./testcases/kernel/syscalls/waitpid/waitpid03"
Following command returns valgrind --tool=lackey ./testcases/kernel/syscalls/waitpid/waitpid03: No such file or directory
View 3 Replies
View Related
Feb 9, 2011
Ctrl-c doesn't always work to kill the current process (for instance, if that process is busy in certain network operations). In that case, you just see "^C" by your cursor, and can't do much else.What's the easiest way to force that process to die now without losing my terminal?
Summary of answers below:Usually, you can Ctrl-z to put the process to sleep, and then do "kill -9 process-pid", where you find the process's pid with 'ps' and other tools.On Bash (and possibly other shells) you can do "kill -9 %1" (or '%N' in general) which is easier. If Ctrl-z doesn't work, you'll have to open another terminal and kill from there.
View 6 Replies
View Related
Feb 18, 2011
How to kill a process initiated by another user, who is in same group as me?
View 1 Replies
View Related
Aug 22, 2010
This is a humbling experience for a long time MS admin/tech.I am wanting to build a file server fr my home network. So, I downloaded and installed FreeBSD 8.1 last night.Wanting a more familiar interface, I downloaded and tried to install KDE. It loads and asks for language. Then I select "Install kubuntu".
The kubuntu logo and a progress meter pop up for a while. Eventually the screen goes black and nothing else happens. I have to reboot. If I take the CD out it boots to FreeBSD.Am I missing something? Kubuntu never asks anything regarding partitioning. Is FreeBSD an os like DOS and kubuntu a GUI like Win 3.1 or is kubuntu more like XP with a GUI built in to the os? If it is the latter, how do I get it to kill the FreeBSD install?"Try kubuntu without installing" does the same thing.
View 3 Replies
View Related
Oct 30, 2010
I have a big problem with one of my processes named "mbusd" ;it is an opensource modbus RTU/TCP gateway when I plug USB to serial convertor to it my laptop without this process linux makes virtual ttyUSB very fine and when I unplug it it removes except some times (SOME TIMES not all the times) that I run mbusd process to work with, at that time during mbusd process work when I unplug USB/serial converter the virtual ttyUSB does not disappear and mbusd does not exit too and it turnes in something like this when I get ps -aux: mbusd [defunc] at this time I can not even kill it with -9 or -15 signals and pluging back the converter does not solve the problem too and mbusd does not exit or start to run again.
View 3 Replies
View Related
Jul 19, 2011
Using Ubuntu 11.04. I use this command to kill frozen Flash processes ...
Code:
pgrep -P1 -f 'npviewer.bin' | xargs kill -9
IF there are no hung processes, I get the error ...
Code:
Usage:
kill pid ... Send SIGTERM to every process listed.
[Code]...
View 4 Replies
View Related
Apr 22, 2010
We want to kill a process provided that only process name is given and we are to first find out the process id and then kill the process. Yes, in one go! That is, using pipe.
So, I tried this (the bold text):
[Code]...
View 17 Replies
View Related
Jan 29, 2010
just installed iptraf and was using it. However, I lost the SSH link while IPTRAF was running. Now when I try to go into detailed statistics it says: detailed interface stats alreday monitoring eth0. How do I stop that so I can start it again? I tried kill and the process id which I found using pidof iptraf but it won;t stop the program.
View 1 Replies
View Related
Dec 14, 2010
if i do a
ps aux | grep ftp
that would show me at least any active ftp connects started with the ftp command, right? Is there then a way to use that to somehow kill any stuck sessions that are older than an hour?
View 9 Replies
View Related
Mar 14, 2011
I want to kill a process when timeout where 2 processes are running parallel or simultaneous in a same user witout effecting the another process,i have used the command
ps -ef |grep user
kill -9
but its killing another process suppose if i try to kill with processname sub processes in that process converting as daemon process and its not killing sub processes when killing parent process.
View 1 Replies
View Related
Jun 17, 2010
I want to limit the time a grep process command is allowed to run or be alive.For example. I want to perform the following:grep -qsRw -m1 "parameter" /varBut before running the grep command I want to limit how long the grep process is to live, say no longer than 30 seconds.How do I do this?And if it can, how do I return or reset to have no time limit afterwards.
View 4 Replies
View Related