<meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="ProgId" content="Word.Document"><meta name="Generator" content="Microsoft Word 12"><meta name="Originator" content="Microsoft Word 12"><link rel="File-List" href="file:///C:%5CUsers%5Cschmiflo%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml"><link rel="themeData" href="file:///C:%5CUsers%5Cschmiflo%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx"><link rel="colorSchemeMapping" href="file:///C:%5CUsers%5Cschmiflo%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml"><style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;
mso-font-alt:"Calisto MT";
mso-font-charset:0;
mso-generic-font-family:roman;
mso-font-pitch:variable;
mso-font-signature:-1610611985 1107304683 0 0 415 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;
mso-font-alt:"Arial Rounded MT Bold";
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-520092929 1073786111 9 0 415 0;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;
mso-font-charset:0;
mso-generic-font-family:modern;
mso-font-pitch:fixed;
mso-font-signature:-520092929 1073806591 9 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
mso-themecolor:hyperlink;
text-decoration:underline;
text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-noshow:yes;
mso-style-priority:99;
color:purple;
mso-themecolor:followedhyperlink;
text-decoration:underline;
text-underline:single;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-noshow:yes;
mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0cm;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.5pt;
font-family:Consolas;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-fareast-language:EN-US;}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-unhide:no;
mso-style-locked:yes;
mso-style-link:"Plain Text";
mso-ansi-font-size:10.5pt;
mso-bidi-font-size:10.5pt;
font-family:Consolas;
mso-ascii-font-family:Consolas;
mso-hansi-font-family:Consolas;
mso-bidi-font-family:Consolas;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;
mso-fareast-language:EN-US;}
@page Section1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;
mso-header-margin:36.0pt;
mso-footer-margin:36.0pt;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<p class="MsoPlainText">Hi,</p><p class="MsoPlainText"><br></p><p class="MsoPlainText">sorry for the late reply (business was a little bit stressy)<br></p><p class="MsoPlainText">>On Tue, 24 Nov 2009 10:30:10 +0100</p>
<p class="MsoPlainText">>Florian Schmidt <<a href="mailto:fschmidt@gmx.at">fschmidt@gmx.at</a>>
wrote:</p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText">>> Hi,</p>
<p class="MsoPlainText">>> </p>
<p class="MsoPlainText">>> I am interested in forcing a new session for a user
by just changing </p>
<p class="MsoPlainText">>> the session file. So even when a user has connected
and working </p>
<p class="MsoPlainText">>> sessions I want to create a session file to force a
new session </p>
<p class="MsoPlainText">>> without getting the session chooser (where you than
also can reconnect </p>
<p class="MsoPlainText">>> old sessions)</p>
<p class="MsoPlainText">>> </p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText">>Florian, do you mean to never give users a persistent
session (not being able to suspend/resume) and always give them a new session -
even if they have one running?</p>
<p class="MsoPlainText"><br></p><p class="MsoPlainText">We wan't to give users nonpersistent sessions from outside but want to give them on the same range of machines also persistent Sessions from the inside (which than can also be reconnected by using the nonpersistent session and nxclient from the outside. (this is a complicated topic but some security regulations force us to work this way)</p>
<p class="MsoPlainText"><br></p><p class="MsoPlainText">USER -> nxclient -> firewall -> NXserver (nonpersistent) - > nxclient -> NXserver (persistent) <br></p><p class="MsoPlainText"><br></p><p class="MsoPlainText">
allways by using the same credentials.</p><p class="MsoPlainText"><br></p><p class="MsoPlainText">Currently we plan to split this scenario to have server with nonpersistent sessions from where you can connect to the "normal" servers to the (maybe allready running) persistent connections. For some smaller sites it would be more interesting to have this persistent and nonpersistent (by using the same accounts) on one box.<br>
</p><p class="MsoPlainText"> </p>
<p class="MsoPlainText">>If this is what you want, you can achieve this by setting
in the node.conf file on the server (typically found here: /etc/nxserver/node.conf):</p>
<p class="MsoPlainText">>DISABLE_PERSISTENT_SESSION="all"</p>
<p class="MsoPlainText">>(you can change "all" to a group of users, or a
list of users if you want it only to be enforced for some users.)</p><p class="MsoPlainText"><br></p><p class="MsoPlainText">I know but this would disable it for the sessions coming from the inside too :(<br></p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText">>When your users log out, it will take about 30 secs until
they're session is killed/removed.</p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText">>> I checked the source of nxserver but I haven't found
anything there to </p>
<p class="MsoPlainText">>> allow such a behavior. Does anyone knows if this is
possible or of </p>
<p class="MsoPlainText">>> this could be patched in the source and if so maybe
even how?</p>
<p class="MsoPlainText">>> </p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText">>I would take a look into what the node.conf file provides
of settings and possibilities, I think this is possible to achieve (look at the
Quickstart guide to FreeNX, or FAQ, >for explaination for the
settings/directives). </p>
<p class="MsoPlainText">>Also look at 'nxacl' tool which gives another set of
admin control of the users and their sessions. You can find more information
about it at the FAQ (look at the bottom of >this mail).</p>
<p class="MsoPlainText"> </p>
<p class="MsoPlainText">>//Terje</p><p class="MsoPlainText"><br></p><p class="MsoPlainText">Cheers,</p><p class="MsoPlainText">Florian<br></p>