MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Guía de instalación Página 27: Stopping VNC

Graphics Display
1-15
The first time you run the
vncserver
, you will be prompted for a password.
This password controls access to the VNC viewer, which is not used with the
Web Server.
You do not have to specify a display number when starting the VNC server, but
it is best to specify one to prevent any potential conflict with the main X
display, which is normally 0.

Starting VNC

To start the VNC server, enter
vncserver :number
where
number
is something other than 0. 1 is a good value. Set the
DISPLAY
variable to
:<number>
in your configuration file or use
'-display :<number>'
when starting the Web Server via the
webstart
or
webboot
script.
If your Web Server application requires MATLAB to render better color than
the default, set the
depth
argument when you start the VNC server
vncserver :<number> -depth <
depth
>
where <
depth
> is either 16 or 24.

Stopping VNC

To stop the VNC server, enter
vncserver -kill :number
where
number
is the same as that used to start the server.
After stopping the VNC server, it takes about 30 seconds for the socket to time
out and clear, so wait a while after stopping the server before restarting it.

Using VNC with the MATLAB Web Server

Use the same value for
display
with the MATLAB Web Server that you used
when starting the VNC server.
For example, suppose you want to start the Web Server by passing the display
on the command line. Here is some sample output from such a command.

Archivo PDF · ·

Imprimir

Imprimir documento

Compartiendo

Preguntas sobre MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE

Todavía no hay preguntas sobre este manual. Haga la primera.

Hacer una pregunta

Respondemos con el manual e indicamos la página. La pregunta se publica en el sitio después de revisarla.

Todas las preguntas y respuestas ›

Productos y manuales relacionados para Software MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE