Forum / NoMachine Terminal Server Products / Create a new virtual desktop automatically after login
- This topic has 3 replies, 2 voices, and was last updated 6 years, 8 months ago by
Gega.
-
AuthorPosts
-
February 15, 2019 at 13:55 #21435
oolmedoParticipantHello all,
I am using Workstation on a Linux host, we use the product in order to give access to the users using web player (mostly windows using chrome or IE) to reach their own desktop. We would need to minimize the user interaction and I would like to know if it is possible that after the first login from the player the new virtual desktop option starts automatically (no option to customize desktop is needed and every time that a user connect, he will create a new virtual desktop connection).
Thanks for your help
Best regards
Oolmedo
February 18, 2019 at 09:25 #21468
GegaParticipantHello oolmedo,
In order to implement behavior you have described, you will need to use custom scripts.
When do you want to run virtual desktop?a)Run new virtual desktop every time every time user connects.
b)Run new virtual desktop only the first ever login from user.
c)Run new virtual desktop only in case user has no running virtual desktops.
February 18, 2019 at 14:40 #21485
oolmedoParticipantHello Gega,
Definitely, I would need to implement the option a that you describes. Also, I wonder if when the user disconnects the virtual desktops are stoped or killed (I would need to kill them all when the user logout)
Thanks for your reply
Best regards
oolmedo
February 19, 2019 at 14:14 #21495
GegaParticipantThere’s an upcoming FR which will be available in the next version of NX – https://www.nomachine.com/FR11P03736. This FR will be enough to cover your case.
Before this FR is implemented you can do it this way:
Set DisablePersistentSession all, in server.cfg, what this will do is that virtual desktops will be terminated upon disconnection.
Next remove everything from AvailableSessionTypes key and leave only unix-xsession-default:
AvailableSessionTypes unix-xsession-default.This will make default virtual desktop as only available session. After this change, webplayer will start new virtual session upon login. If you’re using nxplayer, nxplayer will show only one icon “new virtual desktop icon” – to start a new session you simply click on it.
To save this behavior the user could switch shown desktops from “all desktops” to “my desktops”; after this change if same connection is used, the user will start a new virtual desktop after login, without the need for clicking a new session again.
-
AuthorPosts
This topic was marked as solved, you can't post.
