Re: Shut down X connection? [message #80290] |
Thu, 24 May 2012 04:08 |
Lajos Foldy
Messages: 176 Registered: December 2011
|
Senior Member |
|
|
On Wednesday, May 23, 2012 10:08:51 PM UTC+2, Mark Fardal wrote:
> Hi,
>
> I'd like to know if it's possible to terminate IDL's connection to the
> X server, without terminating IDL. There has been some discussion in
> the past of how to avoid starting up an X server connection in IDL.
> This is slightly different: I want to start up the connection, shut it
> down, and start it up again. Merely changing the display device with
> set_plot, 'null' is not sufficient. If this is possible, it would
> enable moving the X display freely from one client to another, with
> the IDL session running on a server inside a "screen" session.
> Which would be nice.
>
> thanks,
> Mark
I think the X connection can not be closed. But you can run IDL in a VNC session. We were discussing it two years ago, I copy-paste my old advice:
The graphical counterpart of screen is Xvnc (vncserver). I use it with
openSUSE 11.2, but I think other distros are similar:
- login to the remote host
- vncserver
this prints something like:
...
New 'X' desktop is remote:1
...
- logout
On your local machine:
- vncviewer remote:1
- open a terminal, start your job, ...
After exiting vncviewer, you can turn off your local machine.
regards,
Lajos
|
|
|