Hi. I am using a custom image based on the tdx-reference-multimedia-image. I want to use X11 for properly using the virtual keyboard with the GTK framework (Weston has some incompatibilities).
So, in local.conf I changed the DISTRO = "tdx-xwayland" to DISTRO = "tdx-x11" and it compiled fine. However, after booting, the desktop environment does not start; instead, a login screen appears requiring a username and password. I have tried root and blank password, root-root, root-admin, but none of them work.
I mention that the local.conf file also contains some lines for defining a default root password, as follows:
While I don’t know the answer to your question, have you tried to give the password with the ‘-P’ option (i.e. capital P) to usermod and rebuild and redeploy the image?
Hi. Thanks for the suggestion. I have commented these lines from local.conf and finally accesed the command line using the username root and blank password. However, the X server is not running and I do not know why.
I built the tdx-reference-multimedia image just changing the DISTRO on local.conf to tdx-x11 and had no issues with the user login. Can you confirm that this is only change you have done?
Also the X server runs by default, can you check what is the status for the xserver-nodm service?
Can you please rename your local.conf file and generate a new one running the . export, after this change just the DISTRO parameter to tdx-x11 and then build the tdx-reference-multimedia-image?
Hi. I did what you suggested and I confirm that the X server started automatically and the clock application was shown. It seems that the packages I’ve added/removed in local.conf had an effect on this behavior. Anyway, in my case I’ve enabled automatic login using getty@tty1.service.