From: Duncan Greatwood <dgreatwood@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: dgbulk@gmail.com, Michael Albinus <michael.albinus@gmx.de>,
72450@debbugs.gnu.org
Subject: bug#72450: 29.1; Tramp Failed to Parse OS Name and Version for Windows 11
Date: Sun, 4 Aug 2024 20:39:19 -0700 [thread overview]
Message-ID: <CAGg=3NUQMe==drjQASW_xsZpGHU6=x+vp=8pk=Ww_7jpjGtzcQ@mail.gmail.com> (raw)
In-Reply-To: <861q34sgb3.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 3877 bytes --]
Hi Michael and Eli -
Thanks for your comments so far.
I am not conscious of having installed any "special" MSYS(2)
components, nor have I consciously installed WSL. However, I have enabled
Developer Mode in Windows settings, which may have caused the installation
of this "sh".
In any case, regarding the versions of "sh" and "uname":
sh-5.2$ sh --version
GNU bash, version 5.2.26(1)-release (x86_64-pc-msys)
Copyright (C) 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
sh-5.2$
sh-5.2$ uname --version
uname (GNU coreutils) 8.32
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <
https://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by David MacKenzie.
sh-5.2$
If I may, the extra characters in the emacs error message might not come
from the uname on windows - that uname seems to work OK on the windows side
at least - it could be a misparsing in emacs (or even an mistake gathering
the error message, I suppose).
Regarding using SMB, it is not super convenient in that i) the target
windows machine is not directly accessible right now, it is accessible via
an intervening ssh proxy; and ii) SMB seems pretty retro to me in 2024, but
maybe that's just me. However, for my personal purposes I could probably
figure out how to do SMB (e.g. something like
https://unix.stackexchange.com/questions/38099/have-samba-proxy-for-another-server,
or by setting up a VPN, or...). For additional background, Windows is
running as a KVM/QEMU VM on an Ubuntu machine; the Ubuntu machine is acting
as the ssh proxy, the Windows VM is directly accessible solely from the
Ubuntu machine; this is a common network configuration with VMs of course.
From an emacs perspective, it seems a shame not to be able to use ssh,
given that modern Windows commonly supports ssh and provides a bash shell.
Depending on your own available bandwidth etc. of course.
BTW, emacs seems to be taking some time before finally producing an error
message. If there is a way to log what is happening in emacs - what tramp
is trying, what happens, etc., I'd be happy to. Or LMK how I could help
otherwise.
Best
-DG
On Sun, Aug 4, 2024 at 4:01 AM Eli Zaretskii <eliz@gnu.org> wrote:
> > From: Michael Albinus <michael.albinus@gmx.de>
> > Cc: dgbulk@gmail.com, 72450@debbugs.gnu.org
> > Date: Sun, 04 Aug 2024 12:56:29 +0200
> >
> > Eli Zaretskii <eliz@gnu.org> writes:
> >
> > > So I guess accessing Windows via ssh is not really supported, and the
> > > OP should be advised to use "smb" instead?
> >
> > It's preferable, yes. But I would wait for his comment, before we close
> > this bug.
>
> Sure, I didn't mean to suggest that we close this bug right away.
>
--
NOTICE: This email and its attachments may contain privileged and
confidential information, only for the viewing and use of the intended
recipient. If you are not the intended recipient, you are hereby notified
that any disclosure, copying, distribution, acting upon, or use of the
information contained in this email and its attachments is strictly
prohibited and that this email and its attachments must be immediately
returned to the sender and deleted from your system. If you received this
email erroneously, please notify the sender immediately. Xage Security,
Inc. and its affiliates will never request personal information (e.g.,
passwords, Social Security numbers) via email. Report suspicious emails to
security-alerts@xage.com <mailto:security-alerts@xage.com>
[-- Attachment #2: Type: text/html, Size: 5886 bytes --]
next prev parent reply other threads:[~2024-08-05 3:39 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-03 19:54 bug#72450: 29.1; Tramp Failed to Parse OS Name and Version for Windows 11 Duncan Greatwood
2024-08-04 4:41 ` Eli Zaretskii
2024-08-04 8:28 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-04 9:15 ` Eli Zaretskii
2024-08-04 10:37 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-04 10:45 ` Eli Zaretskii
2024-08-04 10:56 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-04 11:01 ` Eli Zaretskii
2024-08-05 3:39 ` Duncan Greatwood [this message]
2024-08-05 8:27 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
[not found] ` <mvmcymnfjcc.fsf@suse.de>
2024-08-05 11:56 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-05 22:14 ` Duncan Greatwood
2024-08-06 7:40 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-07 21:46 ` Duncan Greatwood
2024-08-08 5:20 ` Eli Zaretskii
2024-08-08 11:06 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-08 11:11 ` Eli Zaretskii
2024-08-08 11:18 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-08 11:11 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-08 18:28 ` Jim Porter
2024-08-08 19:03 ` Duncan Greatwood
2024-08-10 10:34 ` Michael Albinus via Bug reports for GNU Emacs, the Swiss army knife of text editors
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAGg=3NUQMe==drjQASW_xsZpGHU6=x+vp=8pk=Ww_7jpjGtzcQ@mail.gmail.com' \
--to=dgreatwood@gmail.com \
--cc=72450@debbugs.gnu.org \
--cc=dgbulk@gmail.com \
--cc=eliz@gnu.org \
--cc=michael.albinus@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).