<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Courier;
panose-1:2 7 4 9 2 2 5 2 4 4;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
span.EstiloCorreo17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:238826630;
mso-list-type:hybrid;
mso-list-template-ids:-365890808 -535939832 201981955 201981957 201981953 201981955 201981957 201981953 201981955 201981957;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1
{mso-list-id:1381589643;
mso-list-type:hybrid;
mso-list-template-ids:492233826 -89604624 201981955 201981957 201981953 201981955 201981957 201981953 201981955 201981957;}
@list l1:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;
mso-fareast-font-family:Calibri;
mso-bidi-font-family:"Times New Roman";}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="ES" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hi cb!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thank you for your response.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’m using a freeNX server on an Ubuntu machine and a freeNX client on an Ubuntu machine. I’m testing nxproxy and nxssh command line binaries, I’m
not using nxclient or other GUI NX clients at all. I want to disable shared memory and shared pixmap features using these client binaries and without modifying the server. When I want to establish a session I use nxssh binary to provide command line input
like these:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">$ nxssh -i key nx@server_machine –B<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">> login<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">> user<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">> password<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">> startsession --link="lan" --imagecompressionmethod="-1" --type="unix-application" --application="xeyes" --encryption="0" --noshmem="1" --noshpix="1"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">After a few seconds the sessions is created and I use cookie and port to create the remote connection using nxproxy binary in another console like
this:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">$ nxproxy -S server_machine:provided_port cookie=provided_cookie<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">It works at all!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">But I want to disable shared memory and shared pixmaps features, because I’m experimenting with a different local X server. I have tried many different
options in startsession line like:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">--noshmem="1" --noshpix="1"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">or<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">--shmem="0" --shpix="0"<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">But every time I get lines of nxproxy client binary like this:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Info: Using shared memory parameters 1/2048K.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I have never achieved not using shared memory or shared pixmap. I want just it without modifying any source code or binary, just using startsession
commands using nxssh established session. Any idea?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thank you for your time!<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-GB" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">De:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> freenx-knx-bounces@kde.org [mailto:freenx-knx-bounces@kde.org]
<b>En nombre de </b>chris@ccburton.com<br>
<b>Enviado el:</b> jueves, 01 de noviembre de 2012 15:33<br>
<b>Para:</b> User Support for FreeNX Server and kNX Client<br>
<b>Asunto:</b> Re: [FreeNX-kNX] Disable shared memory and shared pixmap<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">>I’m using nxssh and nxproxy to establish NX sessions with a freeNX server. I use this basic startsession command:</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">> </span><br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">>startsession --link="lan" --imagecompressionmethod="-1" --type="unix-application" --shpix="0" --shmem="0" --application="xeyes" --encryption="0"</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">> </span><br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">>As it is shown, I want to disable shared memory and shared pixmap emulation (--shpix="0" --shmem="0"), but I get always this log when I start my nxproxy instance:</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">> </span><br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">If you want to disable shared memory via the setting</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">in nxclient</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""><Configure (button)><General (tab)><Display (section)></span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""><Use custom settings (checkbx)><Settings (button)><performance></span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">you probably need to update your nxnode to pass it to</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">nxagent</span> <br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">eg. ubuntu/fedora pin shmem=1 ignoring nxclient</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">so</span> <br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">you will need to edit nxnode and add :-</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:Courier"> noshpix=$(getparam noshpix)</span>
<br>
<span style="font-size:10.0pt;font-family:Courier"> shpix=$(getparam shpix)</span>
<br>
<span style="font-size:10.0pt;font-family:Courier"> noshmem=$(getparam noshmem)</span>
<br>
<span style="font-size:10.0pt;font-family:Courier"> shmem=$(getparam shmem)</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">to the list at the beginning of startsession()</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">and</span> <br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">update the bit which looks almost like:-</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:Courier">cat << EOF > "$USER_FAKE_HOME/.nx/C-$sess_id/options"</span>
<br>
<span style="font-size:10.0pt;font-family:Courier">nx/nx,${keyboard:+keyboard=$keyboard,}${kbtype:+kbtype=$kbtype,}${kbload:+kbload=$kbload,}${keymap:+keymap=$keymap,}${geometry:+geometry=$geometry,}${client:+client=$client,}${resize:+resize=$resize,}${CACHE}${IMAGES}${PACK}link=$link,nodelay=$nodelay,type=$realtype,${clipboard:+clipboard=$clipboard,}${composite:+composite=$composite,}product=LFE/None/LFEN/None,${noshmem:+noshmem=$noshmem,}${shmem:+shmem=$shmem,}${backingstore:+backingstore=$backingstore,}${noshpix:+noshpix=$noshpix,}${shpix:+shpix=$shpix,}${ACCEPT}cookie=$proxy_cookie,id=$sess_id,samba=$samba,${sync:+sync=$sync,}${cups:+cups=$cups,}${keybd:+keybd=$keybd,}${aux:+aux=$aux,}${</span><a href="http://+http=$http"><span style="font-size:10.0pt;font-family:Courier">http:+http=$http</span></a><span style="font-size:10.0pt;font-family:Courier">,}${rdpcolors:+rdpcolors=$rdpcolors,}${rdpcache:+rdpcache=$rdpcache,}${fullscreen:+fullscreen=1,}${menu:+menu=$menu,}media=$media:$display</span>
<br>
<span style="font-size:10.0pt;font-family:Courier">EOF</span> <br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif""> . . . to pass them to nxagent (note that my version has been rationalised a little too)</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">You don't tell me what distro or rpm /deb you are using so I can't post a diff for you to test.</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">></span> <br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">>…</span> <br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">>Info: Using shared memory parameters 1/2048K.</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">>…</span> <br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">> </span><br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">>Why it is happening? I want to use a different local X server without this features and I want to disable both. How can I do it?</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">> </span><br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">>Thank you!</span>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">></span> <br>
<br>
<br>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">Good luck !!! Let us know how you get on . . . .</span>
<br>
<br>
<span style="font-size:10.0pt;font-family:"Arial","sans-serif"">cb</span> <br>
<br>
<o:p></o:p></p>
</div>
</body>
</html>