Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
it is pity that days ago suddenly my Xwindow crashes and I have no idea how to kill it from another console, how could I handle things like this please ???
Yes, you can type this in every console. But note, that you can only kill pids as root, or only processes that you have started as user.
For example user "MAMA" is starting X-Chat. Then user MAMA is allowed to kill this pid. But he's not allowed to kill f. e. proftpd or so....
Originally posted by Donald1000 Yes, you can type this in every console. But note, that you can only kill pids as root, or only processes that you have started as user.
For example user "MAMA" is starting X-Chat. Then user MAMA is allowed to kill this pid. But he's not allowed to kill f. e. proftpd or so....
thanx but things a bit different to me. I could kill X as root but coulnt kill it as the user who opened X. that is, I started X as a common user named black, and then I press Ctrl+Alt+F1 and login with the same user name black, then I typed ps -e | more to check the PID of X(for example 555 here), and then typed kill 555 but output said the process has no owner, what is that please ???
I think you try to kill X-Server. And this is not possible as a normal user. You can only kill Kdeinit or so, that you have started as user black.
Try "ps aux" ... is there no user for the process that you want to kill? Or is it owner root?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.