Difference between revisions of "VNC"
From MidrangeWiki
MrDolomite (talk | contribs) m (gah, fix own edit, bad <ref>) |
MrDolomite (talk | contribs) m (→Categories: - {{stub}} works for what I needed it for :)) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 15: | Line 15: | ||
STRPTL CLIENT(*VNC) | STRPTL CLIENT(*VNC) | ||
</pre> | </pre> | ||
− | <ref name="Start VNC Command">[http://www-03.ibm.com/servers/enable/site/porting/tools/vnc.html Usage instructions for VNC]</ref> | + | <ref name="Start VNC Command">[http://www-03.ibm.com/servers/enable/site/porting/tools/vnc.html Usage instructions for VNC]</ref> OR |
<pre> | <pre> | ||
CALL QP2SHELL PARM('/QOpenSys/QIBM/ProdData/DeveloperTools/vnc/vncserver_java' ':n') | CALL QP2SHELL PARM('/QOpenSys/QIBM/ProdData/DeveloperTools/vnc/vncserver_java' ':n') | ||
− | + | ||
+ | ADDENVVAR ENVVAR(DISPLAY) VALUE('systemname:n') | ||
</pre> | </pre> | ||
''where:'' | ''where:'' | ||
Line 28: | Line 29: | ||
CALL QP2SHELL PARM('/QOpenSys/QIBM/ProdData/DeveloperTools/vnc/vncserver_java' '-kill' ':n') | CALL QP2SHELL PARM('/QOpenSys/QIBM/ProdData/DeveloperTools/vnc/vncserver_java' '-kill' ':n') | ||
</pre> | </pre> | ||
− | ''where n is the numeric value that represents the display number that you want to terminate.''<ref name="Start VNC Call QP2SHELL"> | + | ''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== | ||
Line 37: | Line 43: | ||
==Categories== | ==Categories== | ||
− | |||
[[Category:Definitions]] | [[Category:Definitions]] |
Latest revision as of 17:46, 29 April 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
Contents
Prerequisites
Starting VNC server processes
STRPTL CLIENT(*VNC)
[2] OR
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
- ↑ http://www-03.ibm.com/servers/enable/site/porting/tools/
- ↑ Usage instructions for VNC
- ↑ 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