<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:x="urn:schemas-microsoft-com:office:excel" 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=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;}
tt
        {mso-style-priority:99;
        font-family:"Courier New";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></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=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Ok, the </span><tt><span style='font-size:10.0pt'>ENABLE_ROOTLESS_MODE="1" is clear, thanks for the info. </span></tt><tt><span style='font-size:10.0pt;font-family:Wingdings'>J</span></tt><span 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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Basically I would appreciate any pointers on FreeNX versions in which the nxacl is working and maybe how I can check if the nxacl is being processed.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Maybe my version, even if it has nxacl but it does not seem to process it. Do I need to enable it somewhere?<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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Also some example of how I can modify the session parameters, syntax etc.<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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks,<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><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Tom<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><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</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>On Behalf Of </b>ext chris@ccburton.com<br><b>Sent:</b> Wednesday, January 23, 2013 3:53 PM<br><b>To:</b> User Support for FreeNX Server and kNX Client<br><b>Subject:</b> Re: [FreeNX-kNX] Seamless / rootless session, allowing only certain application to start.<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><br><tt><span style='font-size:10.0pt'><a href="mailto:freenx-knx-bounces@kde.org">freenx-knx-bounces@kde.org</a> wrote on 23/01/2013 12:44:22:</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><br><tt>> Hi and sorry if this has been asked before.</tt></span> <br><br><tt><span style='font-size:10.0pt'>I don't think it's been asked recently anyway . . . .</span></tt> <br><br><tt><span style='font-size:10.0pt'>> I am having trouble finding the needed information online anywhere.</span></tt> <br><br><tt><span style='font-size:10.0pt'>Yup, that's cos there's no documentation . . .</span></tt> <br><br><tt><span style='font-size:10.0pt'>> NX version:</span></tt> <br><tt><span style='font-size:10.0pt'>> NX> 1000 NXNODE - Version 3.2.0-74-SVN OS (GPL, using backend: 3.3.0)</span></tt> <br><tt><span style='font-size:10.0pt'>> I have a need to do two things. (in FreeNX or commercial NX server)</span></tt> <br><tt><span style='font-size:10.0pt'>> 1.      Force an application to be started on session start  with no</span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>> desktop (this I have partly  got working by using the </tt><br><tt>> NODE_AUTOSTART="/usr/bin/firefox" setting in node.cfg</tt><br><tt>> (Not without desktop showing however) it seems the </tt><br><tt>> ENABLE_ROOTLESS_MODE="1" does not function as I had thought it would.</tt></span> <br><br><tt><span style='font-size:10.0pt'>It could more accurately be called:-</span></tt> <br><br><tt><span style='font-size:10.0pt'>         ENABLE_CLIENT_SELECTION_OF_ROOTLESS_MODE</span></tt> <br><br><tt><span style='font-size:10.0pt'>but it isn't . . .</span></tt> <br><br><tt><span style='font-size:10.0pt'>> 2.      Only allowing this application to be launched, all other NX </span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>> client configured commands should be overridden so that this one </tt><br><tt>> application starts.</tt></span> <br><tt><span style='font-size:10.0pt'>> So in short, I want the user to be presented with a login </span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>> application when they are logged on through the NX server, also I </tt><br><tt>> want the desktop to be hidden and not usable for the end user.</tt></span> <br><tt><span style='font-size:10.0pt'>> I have not found any working way to do this, some information I </span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>> found about nxacl that I could not get working in our FreeNX so far.</tt></span> <br><br><tt><span style='font-size:10.0pt'>Use nxacl to change/set the session parameters</span></tt> <br><tt><span style='font-size:10.0pt'>        rootless=1</span></tt> <br><tt><span style='font-size:10.0pt'>        application=whateveryouwant</span></tt> <br><br><tt><span style='font-size:10.0pt'>As I (almost) wrote above . . . </span></tt><br><br><tt><span style='font-size:10.0pt'>The setting in node.conf</span></tt> <br><br><tt><span style='font-size:10.0pt'>        ENABLE_ROOTLESS_MODE="1"</span></tt> <br><tt><span style='font-size:10.0pt'>        (which is the default value)</span></tt> <br><br><tt><span style='font-size:10.0pt'>allows nxnode to accept the "rootless" parameter from</span></tt> <br><tt><span style='font-size:10.0pt'>the client if it is set to 1</span></tt> <br><tt><span style='font-size:10.0pt'>BUT</span></tt> <br><tt><span style='font-size:10.0pt'>it DOESN'T force it, so you need to use nxacl.</span></tt> <br><br><tt><span style='font-size:10.0pt'>Now</span></tt> <br><br><tt><span style='font-size:10.0pt'>what problems are you having with nxacl  ?????</span></tt> <br><br><br><tt><span style='font-size:10.0pt'>> I was also not able to do this in the Commercial NX server.</span></tt> <br><tt><span style='font-size:10.0pt'>> Has anyone tried something like this and got it working.</span></tt> <br><tt><span style='font-size:10.0pt'>> I would be grateful for any hints.</span></tt> <br><tt><span style='font-size:10.0pt'>> </span></tt><span style='font-size:10.0pt;font-family:"Courier New"'><br><tt>> Regards,</tt></span> <br><tt><span style='font-size:10.0pt'>> Tom</span></tt><o:p></o:p></p></div></body></html>