jupyterhub / the-littlest-jupyterhub

Simple JupyterHub distribution for 1-100 users on a single server
https://tljh.jupyter.org
BSD 3-Clause "New" or "Revised" License
1.05k stars 342 forks source link

Strange font set to user terminal #982

Closed ariansacct closed 1 month ago

ariansacct commented 6 months ago

Bug description

We have a Jupyterhub (TLJH) server with about 10 users. Currently one of them has this as his default terminal font when using Chrome. He does not have this issue when using Firefox.

jupyterhub_font_bug

No one else has this issue. What we tried:

He needs to use the terminal regularly and having to read the screen like this is very annoying. Any tips would be appreciated.

How to reproduce

Not sure really.

Expected behaviour

Normal monospace font to be rendered in the terminal.

Actual behaviour

Strange font.

Your personal set up

Server host OS:

Description:    Ubuntu 22.04.3 LTS
Release:        22.04
Codename:       jammy

He accesses the server on a Windows 10 machine using Chrome Version 125.0.6422.61 (Official Build) (64-bit).

We installed TLJH by following the instructions in the documentation here.

pip freeze output:

alembic==1.13.1
altair==5.3.0
anyio==4.2.0
appdirs==1.4.4
argon2-cffi==23.1.0
argon2-cffi-bindings==21.2.0
arrow==1.3.0
asttokens==2.4.1
async-generator==1.10
async-lru==2.0.4
attrs==23.2.0
Automat==20.2.0
Babel==2.14.0
backcall==0.2.0
bcrypt==3.2.0
beautifulsoup4==4.10.0
beniget==0.4.1
bleach==6.1.0
blinker==1.4
Brotli==1.0.9
cachetools==5.3.3
certifi==2020.6.20
certipy==0.1.3
cffi==1.15.0
chardet==4.0.0
charset-normalizer==3.3.2
click==8.1.7
cloud-init==23.3.3
cloudpickle==3.0.0
colorama==0.4.4
comm==0.2.1
command-not-found==0.3
configobj==5.0.6
constantly==15.1.0
cryptography==3.4.8
cycler==0.11.0
dask==2024.2.0
dbus-python==1.2.18
debugpy==1.8.0
decorator==4.4.2
defusedxml==0.7.1
distro==1.7.0
distro-info==1.1+ubuntu0.2
dnspython==2.1.0
elastic-transport==8.12.0
elasticsearch==8.12.0
entrypoints==0.4
et-xmlfile==1.1.0
exceptiongroup==1.2.0
executing==2.0.1
fastjsonschema==2.19.1
fonttools==4.29.1
fqdn==1.5.1
fs==2.4.12
fsspec==2024.2.0
gast==0.5.2
gitdb==4.0.11
GitPython==3.1.43
greenlet==3.0.3
gssapi==1.6.12
gyp==0.1
h11==0.14.0
html5lib==1.1
httpcore==1.0.2
httplib2==0.20.2
httpx==0.26.0
hyperlink==21.0.0
idna==3.3
importlib-metadata==7.0.1
incremental==21.3.0
ipaclient==4.9.8
ipalib==4.9.8
ipaplatform==4.9.8
ipapython==4.9.8
ipykernel==6.29.0
ipython==8.21.0
ipython_genutils==0.2.0
ipywidgets==8.1.1
isoduration==20.11.0
jdatetime==4.1.1
jedi==0.19.1
jeepney==0.7.1
Jinja2==3.0.3
joblib==1.3.2
json5==0.9.14
jsonpatch==1.32
jsonpointer==2.0
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
jupyter==1.0.0
jupyter-console==6.6.3
jupyter-contrib-core==0.4.2
jupyter-contrib-nbextensions==0.7.0
jupyter-events==0.9.0
jupyter-highlight-selected-word==0.2.0
jupyter-lsp==2.2.2
jupyter-nbextensions-configurator==0.6.3
jupyter-resource-usage==1.0.1
jupyter-telemetry==0.1.0
jupyter_client==8.6.0
jupyter_core==5.7.1
jupyter_server==2.12.5
jupyter_server_terminals==0.5.2
jupyterhub==4.0.2
jupyterhub-dummyauthenticator==0.3.1
jupyterlab==4.1.1
jupyterlab_pygments==0.3.0
jupyterlab_server==2.25.2
jupyterlab_widgets==3.0.10
keyring==23.5.0
kiwisolver==1.3.2
launchpadlib==1.10.16
lazr.restfulclient==0.14.4
lazr.uri==1.0.6
locket==1.0.0
lxml==4.8.0
lz4==3.1.3+dfsg
Mako==1.3.2
markdown-it-py==3.0.0
MarkupSafe==2.0.1
matplotlib==3.5.1
matplotlib-inline==0.1.6
mdurl==0.1.2
mistune==3.0.2
more-itertools==8.10.0
mpmath==0.0.0
nbclient==0.9.0
nbconvert==7.14.2
nbformat==5.9.2
nest-asyncio==1.6.0
netaddr==0.8.0
netifaces==0.11.0
notebook==7.0.7
notebook_shim==0.2.3
numpy==1.24.0
oauthlib==3.2.0
olefile==0.46
openpyxl==3.1.2
overrides==7.7.0
packaging==23.2
pamela==1.1.0
pandas==2.2.0
pandocfilters==1.5.1
paralleltools==0.0.3
parso==0.8.3
partd==1.4.1
patsy==0.5.6
pexpect==4.8.0
pickleshare==0.7.5
Pillow==9.0.1
platformdirs==4.2.0
plotly==5.18.0
ply==3.11
prometheus-client==0.19.0
prompt-toolkit==3.0.43
protobuf==4.25.3
psutil==5.9.8
psycopg2-binary==2.9.9
ptyprocess==0.7.0
pure-eval==0.2.2
py==1.10.0
pyarrow==15.0.0
pyasn1==0.4.8
pyasn1-modules==0.2.1
pycparser==2.21
pydeck==0.9.0
Pygments==2.17.2
PyGObject==3.42.1
PyHamcrest==2.0.2
PyJWT==2.3.0
pyodbc==5.1.0
pyOpenSSL==21.0.0
pyparsing==2.4.7
pyperclip==1.8.2
pyrsistent==0.18.1
pyserial==3.5
python-apt==2.4.0+ubuntu2
python-augeas==0.5.0
python-dateutil==2.8.2
python-debian==0.1.43+ubuntu1.1
python-json-logger==2.0.7
python-ldap==3.2.0
python-magic==0.4.24
python-yubico==1.3.3
pythran==0.10.0
pytz==2024.1
pyusb==1.2.1.post1
PyYAML==5.4.1
pyzmq==25.1.2
qrcode==7.3.1
qtconsole==5.5.1
QtPy==2.4.1
referencing==0.33.0
requests==2.31.0
requests-toolbelt==0.9.1
rfc3339-validator==0.1.4
rfc3986-validator==0.1.1
rich==13.7.1
rpds-py==0.17.1
ruamel.yaml==0.18.6
ruamel.yaml.clib==0.2.8
scikit-learn==1.4.0
scipy==1.8.0
SecretStorage==3.3.1
Send2Trash==1.8.2
service-identity==18.1.0
six==1.16.0
smmap==5.0.1
sniffio==1.3.0
sos==4.5.6
soupsieve==2.3.1
SQLAlchemy==2.0.26
ssh-import-id==5.11
stack-data==0.6.3
statsmodels==0.14.1
streamlit==1.33.0
sympy==1.9
systemd-python==234
tenacity==8.2.3
terminado==0.18.0
testpath==0.5.0
threadpoolctl==3.2.0
tinycss2==1.2.1
toml==0.10.2
tomli==2.0.1
toolz==0.12.1
tornado==6.4
traitlets==5.14.1
Twisted==22.1.0
types-python-dateutil==2.8.19.20240106
typing_extensions==4.11.0
tzdata==2023.4
ubuntu-advantage-tools==8001
ubuntu-drivers-common==0.0.0
ufoLib2==0.13.1
ufw==0.36.1
unattended-upgrades==0.1
unicodedata2==14.0.0
uri-template==1.3.0
urllib3==1.26.5
wadllib==1.3.6
watchdog==4.0.0
wcwidth==0.2.13
webcolors==1.13
webencodings==0.5.1
websocket-client==1.7.0
widgetsnbextension==4.0.9
xgboost==2.0.3
xkit==0.0.0
zipp==1.0.0
zope.interface==5.4.0
welcome[bot] commented 6 months ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada:

consideRatio commented 1 month ago

I have no idea what cause this bug for one specific user, but it sounds related to JupyterLab presenting that terminal UI rather than JupyterHub or having JupyterHub installed via this distribution. It could also be entirely unrelated to JuptyerLab and related to the individual persons browser settings or plugins etc.

An idea is to ask that the user try using chrome with extensions disabled etc maybe.

Since the issue isn't related to this project more directly, I'll go for a close. A suitable place to ask for help about this could be in jupyterlab context, such as discourse.jupyter.org within the jupyterlab category.