noobient / noobuntu

Enterprise Ubuntu development environment with Active Directory integration
MIT License
6 stars 3 forks source link

NoMachine incompatible with pam_mount #60

Closed bviktor closed 4 years ago

bviktor commented 4 years ago

https://www.nomachine.com/es/AR09N00902


Generate /etc/pam.d/common-session-nx from /etc/pam.d/common-session with one change:

session optional pam_mount.so

to

session optional pam_mount.so disable_noninteractive

Generate /etc/pam.d/su-nx from /etc/pam.d/su, change

@include common-session

to

@include common-session-nx

Modify /etc/pam.d/nx line:

session include su

to

session include su-nx