Difference between revisions of "VNC"

From MidrangeWiki
Jump to: navigation, search
m (gah, fix own edit again 2nd reference to a named <ref> needs to have text (any text) inside the tags)
m (Ending VNC server processes: the user who started it should stop it, otherwise you will get this error)
Line 30: Line 30:
 
''where n is the numeric value that represents the display number that you want to terminate.''<ref name="Start VNC Call QP2SHELL">foo</ref>
 
''where n is the numeric value that represents the display number that you want to terminate.''<ref name="Start VNC Call QP2SHELL">foo</ref>
  
 +
The command above should be run by the same userid which started the VNC process.  Otherwise the error below will be displayed.
 +
<pre>
 +
Can't find file /home/USERPRF/.vnc/SERVERNAME.COM:1.pid
 +
You'll have to kill the Xvnc process manually
 +
</pre>
  
 
==Connecting VNC client==
 
==Connecting VNC client==

Revision as of 22:11, 18 January 2008

See also on Wikipedia: VNC

VNC is an acronym which stands for Virtual Network Computing. It is software which allows graphical desktop connections. On the AS/400, a PC can connect to an XWindows session using VNC.

VNC refers to:

  • the server software
  • the server process which accepts the incoming connection
  • the client viewer software

Prerequisites

Starting VNC server processes

STRPTL CLIENT(*VNC)

[2]

CALL QP2SHELL PARM('/QOpenSys/QIBM/ProdData/DeveloperTools/vnc/vncserver_java' ':n')
     ADDENVVAR ENVVAR(DISPLAY) VALUE('systemname:n')

where:

  • systemname is the host name or IP address of the iSeries system where VNC is running
  • n is the numeric value that represents the display number that you want to start[3]

Ending VNC server processes

CALL QP2SHELL PARM('/QOpenSys/QIBM/ProdData/DeveloperTools/vnc/vncserver_java' '-kill' ':n')

where n is the numeric value that represents the display number that you want to terminate.[3]

The command above should be run by the same userid which started the VNC process. Otherwise the error below will be displayed.

Can't find file /home/USERPRF/.vnc/SERVERNAME.COM:1.pid
You'll have to kill the Xvnc process manually

Connecting VNC client

References

  1. http://www-03.ibm.com/servers/enable/site/porting/tools/
  2. Usage instructions for VNC
  3. 3.0 3.1 Tips on using VNC from IBM Information Center Cite error: Invalid <ref> tag; name "Start_VNC_Call_QP2SHELL" defined multiple times with different content

Categories

This article is a stub. You can help by editing it.