[SOLVED] X-server crashed. Is my session still alive?
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's 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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I'm running a huge task on a Linux server (CentOS), and the interface is displayed locally on a Windows desktop using X-Win32, which crashes after one and half day. Does this mean my task on the server is dead too? Or the server should be able to finish the task and then kill himself?
Is there anyway to detach the session from my desktop machine and just let it run on the server? For now, I have to keep my Windows Desktop running all the time just to keep the session alive.
To determine whether the process is still running on the server you'd have to login and run "ps -ef" and look through the running processes (or grep for more specific information if you know it). Sometimes if a session gets detached from a workstation it is still alive on the server but you have no way of reconnecting (unless you set it up for that beforehand).
There ARE utilities that let you run things from one session and detach then reattach again from same workstation or even another workstation.
If what you opened was a terminal window in X so that you could run a command from command line you should use the "screen" utility. You can see a discussion of screen here: http://en.wikipedia.org/wiki/GNU_Screen
If you install vncserver and xrdp, you can connect to your server through Windows Remote Desktop Console (mstsc.exe). This allows you to disconnect and then re-connect from anywhere to pick your session back up again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.