-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MiKTeX does not work over SSH from the command line #931
Comments
You can disable the GUI as follows: initexmf --set-config-value=[MPM]AutoInstall=t |
Thanks for the quick advice, but unfortunately it does not solve the problem on my system.
I've checked also in the graphical MiKTeX console that the packages are set to be installed automatically on-the-fly. |
Seems to be a known issue. |
Duplicate of #899 |
Thanks, but this really seems to be a different issue. I've tried from scratch, installed MiKTeX 21.6 (user-only, set to automatically install packages on the fly, otherwise all defaults). Here, #899 does not apply, when normally using Windows,
But, when logged to Windows over an ssh session,
It is probably because |
MiKTeX utilities will no initialize a GUI. Just opened a SSH session and ran |
Thanks for trying, so I tried on a different Windows 10 VM (19043, Windows 10 Education) and I've tried debugging the problem on the VM where it crashes (17763, Windows 10 Enterprise Evaluation) and I got this stack trace from windbg:
Well and then I realized that the active code page ( So maybe there is a way to make MiKTeX more robust when dealing with the locale setup, but the code page probably ought not to be zero in the first place (the VM is the 1809 one from https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/). |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I confirm the issue still exists in 21.8, e.g. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
MiKTeX does not seem to be working without graphical interface even when it only communicates via the command line. Running
miktex --version
via an SSH session to the Windows machine produces no output, while on the same system, it works with graphical interface locally, producingOn the same system,
texify --version
from the SSH session produces:With the graphical interface, this command also fails (which was already reported), but differently (MiKTeX 21.8, Utils.cpp:490 Internal error). On earlier versions of MiKTeX, it worked in the graphical interface for me, but still failed over the SSH session with the
Windows API error 0: The operation completed successfully.
error.The text was updated successfully, but these errors were encountered: