nomachine portal server on centos6

Forum / NoMachine for Linux / nomachine portal server on centos6

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #404
    cperry
    Participant

    Hi,
    I’m running 4.0.360 portal server on centos 6, and I can create sessions and reconnect to them using the nomachine client, but I can’t seem to do it using the web interface. Whenever I login to the web interface, it just creates a new Default session.

    I have done the following in server.cfg
    EnablePersistentSession all

    And this in portal.cfg
    EnableCreateFavorites 1

    There is a setting in portal.cfg below but I’m not really sure if this is why I can’t create a list of sessions through the web.
    SectionSession “Default connection”

    Thanks for any insights.
    Chris

    #441
    sil04
    Participant

    Hi cperry,

    what do you need exactly to do? To connect by Portal Server to different servers? If yes, this article can be helpful:

    https://www.nomachine.com/AR07K00679

    SectionSession “Default connection”

    allows to define the name of the connection as it will be displayed to users. In the same section you can also define the server host to which the Portal Server will connect. Just edit value set for the ServerHost key if you want to connect to a server different from localhost.

    #442
    cperry
    Participant

    I read through your article, thanks for the link. What we’d like to do, is the following:
    1) a user connects to the portal server, and creates their own desktop
    2) they then can reconnect to this session after disconnecting.

    This is what they have been doing with nx3, and it seems as though nx4 through the web interface does not preserver a users session after creating a desktop. Is it possible to have your session or gnome desktop that you create preserved?

    #443
    sil04
    Participant

    In the current implementation, web users cannot save their session configuration. However, when the user creates a new virtual desktop, disconnects from that web session (for example by closing the web page) and connects again, he/she should find the previous session listed in the list of available connections. Double click on it to re-open that session.

    The same should happen if the user closes the session by clicking on the Disconnect button from NoMachine menu -> Disconnect panel (ctrl+alt+0 or click on the page peel to open the menu) or by making system logout. If the user instead makes system shutdown the virtual virtual desktop session is terminate and cannot be re-opened later.

    #444
    cperry
    Participant

    Yes, this is what I find a little odd, is that by creating a session on through the web interface (it always says Default Connection) , I get a gnome desktop, open a text editor and type a word, then close my browser, and I can’t seem to connect again.

    I have attached server, node, and htd.cfg files if there’s anything you can think for me to change to make this behavior work for us.

    I wonder if this has something to do with me using an evaluation license. any help is greatly appreciated.

    • This reply was modified 11 years, 1 month ago by cperry.
    #456
    sil04
    Participant

    Is your Portal Server using the default configuration? I.e. Is it configured to connect to the server on the local host (ServerHost localhost is set in portal.cfg file) or to a different server machine?

    If Portal Server connects to the server on its host machine, you should be able to see the previous ‘Default Connection’ session listed among the available sessions when you connect again by web.

    If you don’t see it listed, it can be that some problems occurred. In this case it could be useful to see logs, namely nxserver.log from /usr/NX/var/log.

    Please set debug log level: edit /usr/NX/etc/server.cfg , /usr/NX/etc/node.cfg and /usr/NX/etc/portal.cfg

    uncomment and set the following key: SessionLogLevel 7.

    Then connect from the web, create the connection, close the browser. Connect again by web and get /usr/NX/var/log/nxserver.log

    • This reply was modified 11 years, 1 month ago by sil04.
    #478
    cperry
    Participant

    Hi,
    This is a standalone host.I did bump up the logs a few days ago, but don’t see anything too relevant. Here is how my portal.cfg is configured.
    To give you an idea of what’s going on, you can login and create a desktop here as my test user:
    https://rce-nx4-alpha.hmdc.harvard.edu:4443/
    user: nxtest
    pw: letmein12#$

    This is my portal.cfg file — the only thing I added was the http line.
    [root@rce-nx4-alpha log]# grep -A5 ServerHost /usr/NX/etc/portal.cfg
    ServerHost localhost
    ConnectionMethod NX http
    ConnectionPort 4000
    ServerPath /etc/NX/nxserver

    I really appreciate this. It’s the only thing holding us back from rolling this out beyond evaluation.
    EndSection
    [root@rce-nx4-

    #479
    grisou83
    Participant

    Hello,
    I just tried to connect to your portal server and I notice that you are using 4.0.346 .
    You can’t see the available sessions list because there was a bug on that version.
    Please update to latest available version:
    https://www.nomachine.com/download-enterprise

    Additionally please correct:
    ConnectionMethod NX http
    to
    ConnectionMethod NX

    You can now remove the temoporary account you just created for test 🙂

    #513
    cperry
    Participant

    This works. Thank you!!!!!!!!!!!!!!

Viewing 9 posts - 1 through 9 (of 9 total)

This topic was marked as solved, you can't post.