Jump to content
Welcome to our new Citrix community!
  • 0

Linux vda 19.9 dotnet


Patrik Pira

Question

Has anyone got linuxvda 19.9 working on CentOS7(.7)?

 

After a bit of tinkering I've got ctxvda to start with rh-dotnet21 scl, But it does not work as it tries to read the machine SID from AD by connecting to ldap via a nonexisting socket in /var/xdl/.ldapserver. Did someone forget to include some sort of ldap server connector in this release?

 

Installed by upgrading a working 19.6 release and setting the path to dotnet with ctxreg. Previous versions also seem to lack the /var/xdl/.ldapserver socket.

Link to comment

6 answers to this question

Recommended Posts

  • 0

If anyone is interested, this is in my opinion the correct way of installing dotnet 2.1 on CentOS7:

 

yum install centos-dotnet-release
yum install rh-dotnet21-runtime

mkdir /etc/systemd/system/ctxvda.service.d

cat << EOF > /etc/systemd/system/ctxvda.service.d/local.conf
[Service]
ExecStart=
ExecStart=/usr/bin/scl enable rh-dotnet21 /opt/Citrix/VDA/sbin/ctxvda
EOF

/opt/Citrix/VDA/bin/ctxreg update -k "HKLM\Software\Citrix\VirtualDesktopAgent" -v "DotNetRuntimePath" -d "/opt/rh/rh-dotnet21/root/usr/bin"

Citrix: feel free to incorporate this in your documentation or product.

Link to comment
  • 0
On 10/18/2019 at 10:07 PM, Patrik Pira said:

Much Appreciated this info. We definitely should look at what you mention here.


yum install centos-dotnet-release
yum install rh-dotnet21-runtime

mkdir /etc/systemd/system/ctxvda.service.d

cat << EOF > /etc/systemd/system/ctxvda.service.d/local.conf
[Service]
ExecStart=
ExecStart=/usr/bin/scl enable rh-dotnet21 /opt/Citrix/VDA/sbin/ctxvda
EOF

/opt/Citrix/VDA/bin/ctxreg update -k "HKLM\Software\Citrix\VirtualDesktopAgent" -v "DotNetRuntimePath" -d "/opt/rh/rh-dotnet21/root/usr/bin"

Citrix: feel free to incorporate this in your documentation or product.

 

Link to comment
  • 0

Hi,

In LinuxVDA, we install dotnet runtime by running a script provided by microsoft. Setting the dotnet path in ctxsetup.sh or ctxinstall.sh, we will handle the rest.

As for the ldap server, it is hosted in Jproxy service, if it does not work, you can enable jproxy log and see if there are anything wrong in jproxy.

 

Let me know if you have more findings and thanks for the advice.

 

BR,

Qian

Link to comment
  • 0
On 10/18/2019 at 9:03 PM, Patrik Pira said:

Well, found the problem, the unixdomainsocket library unpacks in /tmp/ and tries to execute itself from there. We mount /tmp with -noexec so that was a permission denied. So for everyone that use CIS for machine hardening, -noexec on /tmp is a no go with Citrix VDA 19.9.

In java, we use a thirday pary library called juds to start  a unix domain socket server. I think the root cause is as what you said. 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...