1 . Thanks you for reading the letter
2 . I have programe a X-application .Sometimes, I run it from terminal of CDE ,it "kill" the CDE and I meet the login dialog . I debug it . I find that the SIGHUP caused the X-app died .I do not run it from terminal of CDE ,I run it "click button" from panel , it does the same .(the CDE is killed ,come back to login dialog,the X-app receive the SIGHUP)
3 . I wonder when I run X-app from panel ,it does not have a control terminal ,who send it SIGHUP .
I use "ps axj" find the X-app pid = 8874 ppid = 1 pgid = 8700 sessid = 8700 tty = ??
4 . How can I find the session leader use ps command or others
5 .My email is
chenhao_no4@yahoo.com.cn