Issues getting Thinlinc Server running on OpenSuse MicroOS

I’m trying to install the thinlinc server on OpenSuse MicroOS.

tl-session is complaining about not having permission to run mkdir. I think this is because it is trying to create a directory in the read only part of the root file system.

If anyone knows what directory tl-session is trying to create that would be greatly appreciated.

/var/log/vsmagent.log

DEBUG vsmagent: Handling connection from ('127.0.0.1', 1023)
DEBUG2 vsmagent: Handling method get_load
DEBUG vsmagent: Handling connection from ('127.0.0.1', 1022)
DEBUG2 vsmagent: Handling method req_session
DEBUG vsmagent: Got encrypted vnc password for user
DEBUG vsmagent: Got encrypted shadower vnc password for user
DEBUG vsmagent: Cannot find font path element /usr/share/X11/fonts/misc, skipping
DEBUG vsmagent: Cannot find font path element /usr/share/X11/fonts/75dpi, skipping
DEBUG vsmagent: Cannot find font path element /usr/share/X11/fonts/100dpi, skipping
DEBUG vsmagent: Cannot find font path element /usr/share/X11/fonts/Type1, skipping
DEBUG vsmagent: Cannot find font path element /usr/share/X11/fonts/TTF, skipping
DEBUG vsmagent: Cannot find font path element /usr/share/fonts/default/Type1, skipping
DEBUG vsmagent: Cannot find font path element /usr/share/fonts/X11/misc, skipping
DEBUG vsmagent: Cannot find font path element /usr/share/fonts/X11/Type1, skipping
DEBUG vsmagent: Cannot find font path element /usr/share/fonts/75dpi, skipping
DEBUG vsmagent: Cannot find font path element /usr/share/fonts/100dpi, skipping
DEBUG vsmagent: Cannot find font path element /usr/share/fonts/Type1, skipping
DEBUG vsmagent: Cannot find font path element /usr/share/fonts/URW, skipping
DEBUG vsmagent: Cannot find font path element /usr/share/fonts/Speedo, skipping
DEBUG vsmagent: Cannot find font path element /usr/share/fonts/cyrillic, skipping
WARNING tl-session: mkdir: Permission denied

In MicroOS the following directories are read only /, /usr, /sys, /sbin, /proc, /mnt, /lib64, /lib, /boot, /bin

I’m hoping that if I can figure out where tl-session is trying to create a directory I can create a symlink from the writable filesystem to that location instead

Below are the steps I took to get thinlinc installed.

//download and install iso from website
https://en.opensuse.org/Portal:MicroOS/Downloads

//install packages required for tl-setup
sudo pkcon --allow-reinstall install selinux-policy-devel sendmail nfs-client

//download and install thinlinc rpms
cd ~/Downloads
curl https://www.cendio.com/downloads/server/download.py -o tlserver.zip
unzip tlserver.zip
cd ~/Downloads/tl-*-server/packages/
rm *i686.rpm
sudo pkcon --allow-reinstall install-local *.rpm

//open shell to run tl-setup from
sudo tukit --continue execute /bin/sh

//create /etc/pam.d/sshd since it doesn't exist
echo $'#%PAM-1.0\nauth     requisite      pam_nologin.so\nauth     include        common-auth\naccount  requisite      pam_nologin.so\naccount  include        common-account\npassword include        common-password\nsession  required       pam_loginuid.so\nsession  include        common-session\nsession  optional       pam_lastlog.so   silent noupdate showfailed' > /etc/pam.d/sshd

//run setup, skip python-ldap and configuring printers so it to completes to the point where it tries to start the services which it fails to do since it says we are inside chroot
/opt/thinlinc/sbin/tl-setup

//run command that finishes successfully otherwise snapshot will be discarded
echo "hello"

//leave shell and reboot
exit
sudo reboot

//once rebooted start services
sudo systemctl enable vsmserver.service
sudo systemctl enable vsmagent.service
sudo systemctl enable tlwebaccess.service
sudo systemctl enable tlwebadm.service

Hello,

vsm will store its session database in /var/lib/vsm and vsmagent will need to create directory under /var/opt/thinlinc/sessions, so you will need atleast have write access to /var/lib/ and /var/opt

Regards,
Martin