[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Running debian on WSL (windows-system-for-linux)



Dan Hitt writes:

Does anybody have any experience running debian on a WSL (windows-system-for- linux) machine?

Yes, limited experience with it here :)

I need to get a machine for family use, but i would also like to be able to also use it myself.  So i would like to be able to ssh in, back up files into it, and do other tasks, maybe even a little programming on it.  (A mac can handle all of this sort of thing quite easily, but has a huge price tag.)

At least these options come to mind:

* Debian Host (e.g. QEMU/KVM) with a Windows Guest System
* Microsoft Hyper-V Host with a Debian Guest system
* WSL as mentioned
* Docker with a Debian container on Windows (Hyper-V in disguise...)

My order of preference would be: first item -- first choice, last item -- last resort...

TL;DR: Virtualization software supports your points a--d just fine :)

[...]

In particular, i would like to
(a) be able to remotely access the WSL debian just as if it were debian box, including having ssh, rsync, and x windows
(b) occasionally do the same sorts of things from its console
(c) not have to manually set up and keep alive daemons or special services,
(d) as an extra, keep the debian and windows things on separate disks, if possible.

Basic commandline like rsync and ssh work fine (from my experience).

Getting to run the services automatically can be a little complicated and from my experience _does_ require manual setup.

I do not know whether X11 and/or different HDD will work, but I expect
`ssh -X` style X11 and VNC to work just fine (not tested).

I'm not looking for a multi-boot situation, as i want to be able to access the WSL apparatus while the console is engaged with doing windows operations for somebody else (and i guess the converse as well, although i'm pretty foggy about sshing into windows).

No experience on SSHing into Windows here, but Debian's package `remmina` works fine as an RDP client to connect to Windows here.

Newly, Windows also has a SSH client that can be used to connect to remote Linux servers (but no `-X` IIRC).

Thanks in advance for any advice or pointers.

Consider using virtualization explicitly. Regardless of which OS is host and which is guest, it is much more stable a kind of technology. Especially considering running services and graphics, VMs provide all the necessary configuration options, whereas WSL is rather limited in this regard, although it can be done with it, too...

HTH
Linux-Fan

öö

[...]

Attachment: pgpGhWIJyvcUF.pgp
Description: PGP signature


Reply to: