imageI recently (well today really) started playing with the Citrix Linux VDA. I took Ubuntu to test because I happen to like Ubuntu.

I didn’t get it to work correctly right away though and during troubleshooting I wanted to know where the VDA is storing it’s settings.

I found the following file /etc/xdl/ctx-vda.confwith the following contents:

I didn’t check but I am assuming that the password is random and unique per VDA…

This clearly indicates that the settings are stored in a postgres database so let’s have a little look:

image

No access with the psql command so let’s check the postgres configuration:

image

The user with access to all databases is postgres (the default user) so we can become this user with su - postgres and query the list of databases with \l+ and list the schema’s with \dn+.

The actual data is in the schema regso I also set the search path:

image

Let’s see what tables are in the database:

image

And finally let’s see what’s inside the tables with TABLE reg."Key":

image

Wow that’s registry keys, at least we now understand why the schema is named reg!

Table Properties doesn’t really contain anything interesting:

image

Table Value holds the interesting data:

image

image

So for instance ListOfDDCs is stored in Values:

image

And here an example to change the DDCs:

image

Note: making changes is likely unsupported by Citrix.