Problem starting asterisk via vnc

Hello to all,

I have a big problem. I have running three asterisk servers, but in one of them if asterisk stop and I restart it remotly with vnc, when I close the vnc sesion the asterisk stops again. I must start it local.

I log like root and start asterisk with asterisk -vvvc.

Any help?

Thank you.

Don’t use -c.

Note that mixing X and Asterisk is not recommended, unless X is left completely idle whilst running Asterisk.

Thank you for your answer, I solved the problem starting asterisk via ssh using the command screen.