Author Topic: how do i emulate windows in linux  (Read 7052 times)

ah damn i would've helped you install qemu and stuff
virtualbox is alright too

i wrap a viewer in an x session i can start alongside my main x session, p neat being able to ctrl-alt-f7 and ctrl-alt-f1 back and forth
Code: [Select]
#!/bin/sh

if [ "$EUID" -ne 0 ]
then echo "Please run as root"
exit
fi

# get a cool overlay of some stats i need to have available 24/7 (battery, cpu, cpu temperature)
# fix-conky is just a while true sleep 30s thing that restarts conky so it's always there
# compton is the compositor for transparency
conky -c /home/theblackparrot/.conkyrc &
fix-conky &
compton &

# routes audio to the pulse instance started when i logged in normally
export QEMU_AUDIO_DRV=pa
export QEMU_PA_SERVER=127.0.0.1
export PULSE_SERVER=127.0.0.1

# settings w/e
# i formatted a raw partition that qemu uses as if it were a physical hard drive, /dev/sda5 has its own MBR/partition table/etc.
QEMU_MEM=1G
QEMU_CORES=2
QEMU_PARTITION=/dev/sda5
QEMU_SHARED_DIR=/samba/qemu

# ac97 only seems to work with XP
# valid: es1370, pcspk, sb16, hda, ac97
QEMU_SOUNDCARD=ac97

# spice > vnc
SPICE_PORT=5930

# 32-bit
qemu-system-i386 \
-vga qxl \
-spice port=$SPICE_PORT,disable-ticketing,addr=::1 \
-device virtio-serial \
-chardev spicevmc,id=vdagent,name=vdagent \
-device virtserialport,chardev=vdagent,name=com.redhat.spice.0 \
-drive file=$QEMU_PARTITION,format=raw,cache=none \
-m $QEMU_MEM \
-enable-kvm \
-cpu host \
-smp $QEMU_CORES \
-net nic,model=rtl8139 \
-net user,hostname=windowsvm,smb=$QEMU_SHARED_DIR \
-soundhw $QEMU_SOUNDCARD &

# spicec was deprecated. :(
# exec spicec -h ::1 -p 5930
exec remote-viewer -f -k --kiosk-quit=on-disconnect spice://127.0.0.1:5930

also yeah stufflord's new to linux, he just doesn't know what to do and that gives linux bashers a chance to bash linux because it's linux
every OS suits the needs of individual people.

Classic linux user topic. Something dosnt work like how they need. So workarounds workarounds workarounds.
There are quite a numerous amount of benefits to running Linux (gaming performance isn't necessarily the best one BUT Linux has run some games for me better than Windows ie. Blockland, Left 4 Dead 2) however, yes, it is not quite so user-friendly yet to the point where you do not have to resort to workarounds.

« Last Edit: November 12, 2015, 04:05:07 PM by Kamutog »

there are quite a numerous amount of benefits to running windows too
again, it just depends on what you're wanting to do

i dont even run any windows programs on my laptop
i've been using linux on it for like 3 months now, and i haven't touched wine once

there are quite a numerous amount of benefits to running windows too
again, it just depends on what you're wanting to do
Of course there's a stuff TON OF advantages to Windows.

I never said there weren't, but Linux can do some stuff better than Windows; especially for older or weaker hard-ware.

i know this isn't my thread to ask, but what's the best distro?

i've used elementary OS before, and it was decent, but I felt like it was missing something

i'm considering linux mint or arch linux, but arch linux seems too difficult to setup and i can't exactly decide which desktop environment to use

i'm the kind of person who likes installing and trying new things, playing games, and i'm the experimental type.

help pls

i know this isn't my thread to ask, but what's the best distro?

i've used elementary OS before, and it was decent, but I felt like it was missing something

i'm considering linux mint or arch linux, but arch linux seems too difficult to setup and i can't exactly decide which desktop environment to use

i'm the kind of person who likes installing and trying new things, playing games, and i'm the experimental type.

help pls
linux mint is okay i used it before elementary
i put "forget arch linux its loving trash" in my profile desc because i too was stumped on setting it up even after following three tutorials word for word
the distro you need depends on what you want to do, and what your needs are
note:  wait awhile to do linux mint, they're about to update the cinnamon UI

i know this isn't my thread to ask, but what's the best distro?

i've used elementary OS before, and it was decent, but I felt like it was missing something

i'm considering linux mint or arch linux, but arch linux seems too difficult to setup and i can't exactly decide which desktop environment to use

i'm the kind of person who likes installing and trying new things, playing games, and i'm the experimental type.

help pls
so if you're good with linux and understand it well enough on the CLI side, definitely go for arch
use Linux Mint if you're just starting out with linux and want something familiar
use XFCE (Xubuntu) if you want something simple and lightweight, but easily customizable
use LXDE (Lubuntu) if you want something even more lightweight, but at the cost of being less customizable out of the box
if this is a laptop with a touch screen and you use it a lot, go for Ubuntu Gnome or plain Ubuntu, as those fit well for touch interfaces.
use Kubuntu (KDE) if you like a lot of eye-candy, although i've always had issues with Kubuntu specifically. KDE can be installed on arch without any of whatever stuff Canonical installs on Kubuntu to break things.
if you want more control and less Canonical modifications to things, go for Debian or Fedora (requires a bit of CLI knowledge but it shouldn't be too bad)

also as a tip, Arch's wiki is pretty much applicable to all distros

EDIT:
i put "forget arch linux its loving trash" in my profile desc because i too was stumped on setting it up even after following three tutorials word for word
don't follow the beginner's guide word for word lol
« Last Edit: November 12, 2015, 04:29:53 PM by TheBlackParrot »

isn't there just a tutorial tutorial on the wiki (not the beginner's guide)?

if you follow the beginners guide for arch linux but you don't understand the commands you're typing in or the logical process to follow, you're still likely to do it wrong

arch is great and it doesn't require a huge amount of linux knowledge. only a basic understanding of the cli and doing things like connecting to a network, partitioning/formatting/mounting a drive with the cli. really average tasks like that

Classic linux user topic. Something dosnt work like how they need. So workarounds workarounds workarounds.

virtualizing win95 on any OS would've been a pain w/o the original floppies

isn't there just a tutorial tutorial on the wiki (not the beginner's guide)?
no, you're expected to know what applies to you and what you need to substitute when installing
why i said you need to have a good understanding of linux lol

no, you're expected to know what applies to you and what you need to substitute when installing
why i said you need to have a good understanding of linux lol
exactly my problem

pretty sure no one just jumps into arch after using windows for years with no linux experience tho

exactly my problem

pretty sure no one just jumps into arch after using windows for years with no linux experience tho
people who want to have a fair amount of knowledge of linux before they use it do

i know a couple people who installed arch on their computer as their first

i know a couple people who installed arch on their computer as their first
i bet they didn't have a good time
parrot says he hates Debian cause it tries to set up stuff for you
i hate arch cause i have to set up stuff myself lmao

newbie mentality i guess

i bet they didn't have a good time
parrot says he hates Debian cause it tries to set up stuff for you
all of the ubuntu flavors, not debian lol