Zombies seem to be dead but active parts of apps or programs .. but it seems that only parent program can clean up .. if so .. why? .. and is there any other method?
Killing parent is a method but ..
Sometimes parent program is an essential part of system such that without that the system shuts down or restarts
In fiction video movies zombies are shown as dangerous creatures .. are they the same in software environment? and why?
If they are childs previously working ok so they should not be harmful unless we mean that: being uncontrolled and independent and orphan is dangerous by itself!
What i mean is that if a program is not and is not designed to be a Virus or Worm or Trojan then it can not be harmful
What if your self-made programs are not welcomed enough by the system .. like being ignored! then this program tries to penetrate into system and change some values .. then the affected program might be considered as zombie while it is not only harmless ..but even useful
Sorry for taking your time but let me explain more:
I use Linux in my PC
I usually use one of the display managers named: kdm or xdm
It seems that kdm is more rigid because whenever i use that i do not see any zombie while in case of using xdm usually up to 4 zombies appear .. in some cases the smplayer which is a media player is converted to zombie as shown in system activity table!
At first i was too afraid about zombies but as my understandings developed i am not an more worried
My self-created programs were categorized as x-executable .. i think this is why they can be more active in xdm environment
I have not seen any harm or damage having zombies .. no loss of data or change in any of my own files observed
Now i am using kdm because still i am not sure .. this is why i asked these questions about zombies
In my first paragraph i meant :
My self-created programs do not contain harmful codes or functions .. unless the operating
system is designed to disobey the administrator or root and follow parental site rules!
And .. yes i still do not understand the meaning of zombie!
I tried to use insmod command to insert my programs into kernel .. but none of them were supported!
I think my programs penetrated in an script way! .. slowly and gradually ..
In a section of time in the past .. whenever i clicked on an option to open desktop wallpaper image i got a messagesomething like this :
kdeinit can not open myscript .. !
while the wallpaper was a png image!!
I cases i had seen some unknown processes in system activity table appearing for a short time and belonging to root and -1
These processes usually after a short time disappeared while changing their ID .. system could not control them!
I have posted questions in site : www.linuxquestions.org my id is: irajjs there .. maybe i can copy and past the related link ..
I have reinstalled my OS several times! I have done that even 3 times in a week! .. this is how i learn to do things!!
I prefer to work as root! This way the system can not play with me!!
Off course my last display manager is kdm which does not support root login .. just because i was concerned about zombies!
Although i have managed in system settings to be able to do many things without root permission!
I have created my init!
I have created my kernel too!
I have created system conf script
I am trying to capture and change the whole system .. although it is really very difficult .. but it is my goal to create my own OS!
A lot progress made but still a lot more is needed .. comparing with normal systems my system is much more ..
You can look at my related posts in instagram .. if you like to!
Thank you again for your time and attention and help
Your first paragraph does not make a lot of sense to me. You do not appear to understand what a zombie process is.
Why do you believe your self made program is being ignored by the system? Why do you believe that a program ignored by your system can penetrate it?
The process table is a kernel object. User space programs cannot access it, if one attempts to do so the os will treat it as an error and usually terminate the program.
xdm is an older minimalist x destop manager while kdm is much more modern. smplayer is a gui front-end for the mplayer media player. smplayer is written usin Qt widgets. It's quite probable that xdm is having problems with Qt, whereas kdm is not, resulting in zombie processes.
Rule Number 1. Never log in as root unless absolutely essential.
Rule Number 2. Never remain logged in as root any longer than necessary.
A kernel module, or mod, is a special piece of code that adds functionality to the kernel. Unless you know how the Linux Kernel works you shouldn't attempt to write one. Attempting to install random code into the kernel using insmod will at best be ignored and in the worst case break your system.
kdeinit is the init process for kde. Almost everything in linux is controlled by scripts or text files. You have probably messed up the kde configuration at some point trying to get your programs to auto start.
You need to learn a great deal more about linux system administration before you start messing with this sort of stuff. If things have gotten too far out of shape you may have to resort to reinstalling linux.