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.
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?
What's the best procedure to kill a desktop window from the command line? I'm having the problem on a FC 12-64 machine that using the File Browser window locks up most of the desktop. This might be software problem or it could be due to a defective mouse. I haven't had time to see if other windows cause the same problem. To do that, I'd like to kill the File Browser window.
The only windows that work are terminal windows. So I tried using the command line from a terminal to kill the file browser. When I do a kill -9 on the process involving nautilus, the process dies, the File browser window flickers off and back on, and then a new process involving nautilus appears in the list displayed by ps -ef. Is there a way to kill the File Browser window and make it stay dead?
Our Fedora 15 linux box have the following requirements:
1. Runlevel 3 1. Autologin as root for convenience 2. Run Xorg 3. Run xterm on display :0.0 4. Lauch our program on display :0.0
So we simply put step 2 ~ step 4 in the .bash_profile of root user:
# .bash_profile if [ -f "/.bahsrc ]; then .~/.bashrc fi export DISPLAY=:0.0 Xorg & sleep 3 # for some reason, we need this three seconds to make sure that xterm start up successfully xterm &
The problem is, if I issue "kill xterm", it flashes out some messages disappearing so quick that I can't even read, and then leave me with a black screen with a cross cursor at the center. The system seems to be crashed, even the numlock doesn't work. Since we execute xterm & during logging in, now I can crash my system simply by pressing ctrl + C ! That's disaster!
I've been dual booting 10.10 with Windows7 for about a month. Today is the first time I've encountered a serious problem.
This morning, nothing functioned properly after trying to open several programs. The computer seemed to be "frozen", although the mouse was working fine.
I decided to reboot, but then encountered an even bigger problem.
It failed to boot and got this message: no init found. try passing init= bootarg
The problem now is that it requires a Live CD session and I keep getting this: GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0)
In case it matters, I didn't install 10.10 from an ISO, I just upgraded from 10.04.
Ubuntu 9.10 will not boot! System froze this morning, I restarted and it is now failing to boot. Starts loading grub and I get this message:
mount: mounting /dev/disk/by-uuid/04aa3697-7bc0-45b5-b86a-77a1e6534bd5 on /root failed: invalid argument mount: mounting /sys on /root/sys failed: no such file or directory mount: mounting /dev on /root/sys failed: no such file or directory
[code]....
I booted with 9.04 LiveCD discovered the drive could not be mounted-ran fsck -ln and it told me the drive has no valid partition table. I have had intermittent problems mounting flash drives before this, so I'm kind of worried it might be a hardware issue.Also have files on that drive I would rather not lose, so reinstalling is hopefully a last resort.
I have a problem that I'm not sure how best to debug. About every other time when I boot my system, I get a condition where listing the files in /root locks up that xterm session.This can be cleared by opening another xterm window and killing the listing command. This happens on "ls -a", "find", "tar" and I think "stat" also. The locked up xterm echo's chararcters but does not respond to any control sequences. This is new with FC11.This has only been seen to happen for root. And once a system is booted with this problem it seems to persist until you get it booted without the problem.
I have written an init script and placed it in /etc/init.d/ directory.What I would like to know is, will the script run automatically or we need to install the script using "install_initd" command.If I have to invoke this command manullay, what will be the best place to do this ? Can I add this to "/etc/init.d/rcS" file
openSUSE 10.3 on Itronix IX260+ Stuck on command line, init 3, and all attempts at graphic init 5 fail. Get these messages:(EE) No devices detected; Fatal screen error: no screens found; AIGLX disabled Primary Device is PCI 01:00:0kernel:device-mapper:multipath round-robin:version 1.0.0 loaderkernel:device-mapper:table:253:0:multipath: error getting device kernel:device-mapper:ioctl: error adding target to tableProblem would seem to be with the device-mapper, but have no idea how to fix it.
While I was using my computer a few days ago, the terminal stopped working properly, so I tried to reboot, and when it started up again it wouldn't boot and said "no init found. try passing init=bootarg"
This has happened twice before, so I really need to figure out what keeps happening, otherwise I can't continue to use linux. i reinstalled both times before. i think that this is caused by a process that prevents me from using the hard drive, because when I try to check the disk in the terminal or in gparted, it says Device or resource busy while trying to open /dev/sda1. Filesystem mounted or opened exclusively by another program?
Also, in the disk utility, in the lower right corner of the filesystem it has a spinning "loading wheel".(i'm not sure if that means anything)
I am using ubuntu 10.10, but am not sure what kernel I am using, but i tried a few different kernel options(there's three of them at start up). safe mode does not work either.
Lately I've been trying to install the Nvidia Cuda driver for Linux.In order to do this, I have to tun a .run file. When I run it in the console, It says that I can't install when running the X server. So I try to use "init 3".When I type it, and hit enter, the screen goes black, no blinky cursor thing, just a frozen black screen. I followed one of the nvidia tutorials on here to get the normal nvidia driver, and it worked successfully.Before I installed the nvidia driver, when I would use "init 3" I would get a colourful console window with random coloured blocks of random lettering. It seems that installing the nvidia form the tutorial turned this into a black screen.
im just stating in fedora..why does i cant restart/start/stop my /etc/rc.d/init.d/smb ? actually i notice that there are no "smb" or "samba" file exist in my /etc/rc.d/init.d/ or in /etc/init.d/
and there is no smb or samba found in my /sbin/chkconfig but i have my samba installed. Im using fedora 10
This is a minor annoyance, but I'd like to know how to fix it... When starting Fedora 12 with KDE, the KDE icon is twice the size of the other icons. I figure it is easy to make it the same size as all the other icons, but I don't know how. If this seems confusing, I am referring to the screen that appears after you enter your password and before the KDE desktop appears. A set of icons appear one at a time. The KDE icon is clearly twice as large as the others.
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?
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?
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!
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
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.
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?
We have a virtual XP machine on our fedora 11 install. I want to drop fedora 11 down to init3 (since its a server anyway) and everyone is worried about the windows virtual machine dying. What would happen to my windows virtual machine if I drop the host server to init 3?
I upgraded to Fedora 15 using preupgrade after I failed to upgrade or install it clean through DVD. But, after the preupgrade process finished, I can't boot my system even into init mode 3. I am able to boot into the init mode 1 and can see that many of the packages have been upgraded to fc15. I tried to start the x server from init mode 1. My nVidia screen even popped up. But after that the screen went totally blanked.
I would like some quick pointers to understanding service-daemon controlling and etc/initd.conf or /etc/xinetd.conf, if you prefer. read, a while back, I should be using...
[bash]# service "srv-dmon" start/stop/status/restart/reload/etc and to stop using... [bash]# /etc/init.d/"srv-dmon" start/stop/status/restart/panic/save/etc
I have a service that when shutdown requires a username and password. I use `read` in my script to gather this info because I can't have it in the file. When I run the init script by hand it will ask for the username and password and everything shutsdown properly. When I run reboot or halt I get no prompt. get user input in a shutdown process?