Hi
I have the same problem and I manage to resolved it:
The problem is that the username are transfrom in jupyter-username in TLJH.
If you want to bypass this you have to remove the “jupyter-” string in 3 files in /opt/tljh/hub/lib/python3.10/site-packages/tljh:
diff user_creating_spawner.py
/< system_username = generate_system_username(“jupyter-” + self.user.name)
/—
/> system_username = generate_system_username(self.user.name)
diff jupyterhub_config.py
/< c.SystemdSpawner.unit_name_template = “{USERNAME}”
/—
/> c.SystemdSpawner.unit_name_template = “jupyter-{USERNAME}”
diff configurer.py
/<c.SystemdSpawner.username_template = “{USERNAME}”
/—
/>c.SystemdSpawner.username_template = “jupyter-{USERNAME}”
Found this solution and adapt from
https://www.reddit.com/r/JupyterNotebooks/comments/pfah2c/can_i_setup_jupyterhub_tljh_to_use_preexisting/