×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

WSL or Virtualization?

WSL or Virtualization?

WSL or Virtualization?

(OP)
Hello,

I have basic knowledge on Linux system.
First I start with the ubuntu to know things and I also try some other linux system like arch already.

I have backup laptop to test linux system and windows os for daily use.

Now I only have one workstation which is laptop running on windows 10. But then I want to test linux system on my laptop while running windows 10.


My first option is to use VMWare to test since I have i7, 8gb ram , nvidia 940mx graphics and 1tb hdd.( I want to learn Kali)

While searching I found a article about WSL to run linux system on windows 10.

So I have another option to use Windows Subsystem for Linux. But while reading some article there's some environment restrictions on using WSL.

Anyone have suggestion for this?Tips

Thanks :)

RE: WSL or Virtualization?

If you are using WSL, you need an X server like XMinG https://sourceforge.net/projects/xming/ otherwise you won't be able to use any graphical applications. I have been using WSL for 5 months now: haven't found any restrictions yet.

Start xming, start wsl - you have a choice of Ubuntu or SuSE, modify your .profile Add

export DISPLAY=:0.0

exit WSL console. Start WSL console again. Check the value of $DISPLAY. It should be :0.0. You can run a simple gui test like xeyes. You can access the windows disk from /mnt/c and any USB device from /media/ . WSL is great for all sorts except playing with networks. If you wish to have different IP addresses and mess with Windows/Linux networks, use VMWare.

If you are on the professional windows vesion, you can also use hyperv - you will need to add it to your windows configuration first. Once it is up, you can create a VM. I have never used this for networks so I don't know how networks behave with hyperv.

VMWare - you can use it with Workstation Player. Navigating through VMWare's pages to find it is quite something. Always takes me ages. It sets up extra drivers: one for host only networking, one for NAT. By default the networking is NAT (local network with the host). You can go for bridged if you want a separate network address. The problem here is deciding what size disk you want when creating the VM. With WSL, there is no restriction. VMs are like physical computers. If you are just playing around, 60Gb would be sufficient. Make sure you choose the 2Gb split version when creating the disk otherwise you will find it difficult to move the VM anywhere. Files bigger than 2Gb don't copy very well to USB devices or over the network.

If you make a copy of the VM, on startup, it will ask you whether you moved it or copied it. To avoid network conflicts, always say copied, otherwise if you start up two copies, there will be a network clash.

Some people prefer virtualbox to VMWare. I find it a bit clunky after having used VMWare for 7 years but it has revision control snapshots which VMWare Player does not have. You have to upgrade to VMWare Workstation for that and it costs $$$. The good thing about VMs, is you don't necessarily need to shut down: just suspend and the next time (maybe 6 months or 4 years later), restart and you'll be exactly where you left off. Great when you're learning stuff.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close