[Script] Turn your Linux VPS/Server into Windows Server automatically using Shell script

Joined
Aug 3, 2019
Messages
5
Reaction score
0
Great script bro however it doesn't work for completely...it goes through upto the last point but the qemu isn't able to start the installation and complains that "qemu-system-x86_64: Initialization of device ide-hd failed: Device initialization failed.". when i see the command that starts the VM from the details file, it is below

Code:
/usr/bin/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -show-cursor -m 1742M -localtime -enable-kvm -cpu host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,+nx -M pc -smp cores=40 -vga std -machine type=pc,accel=kvm -usb -device usb-tablet -k en-us -drive file=,index=0,media=disk,format=raw  -boot c -vnc :9 & disown %1

if you see there is nothing after file=

any help is appreciated!!
 

sohom

Supreme Member
Joined
May 26, 2013
Messages
1,315
Reaction score
607
Website
www.mediabots.net
Great script bro however it doesn't work for completely...it goes through upto the last point but the qemu isn't able to start the installation and complains that "qemu-system-x86_64: Initialization of device ide-hd failed: Device initialization failed.". when i see the command that starts the VM from the details file, it is below

Code:
/usr/bin/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -show-cursor -m 1742M -localtime -enable-kvm -cpu host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,+nx -M pc -smp cores=40 -vga std -machine type=pc,accel=kvm -usb -device usb-tablet -k en-us -drive file=,index=0,media=disk,format=raw  -boot c -vnc :9 & disown %1

if you see there is nothing after file=

any help is appreciated!!

Ok
https://github.com/mediabots/Linux-to-Windows-with-QEMU/issues/5

Previously one user got same issue, after inspecting, it turns out issue was from Hosting

Anyway, give me output/screenshot of following 3 commands separately:-
Code:
df
fdisk -l
lsblk

So I can inspect the issue.
Also, If you have no problem, state your Web Hosting name.
How much Disk space does it has?
Also did you choose the option of destroying current OS?

Regards
 

Brickbat1

Jr. VIP
Jr. VIP
Joined
Mar 22, 2010
Messages
1,613
Reaction score
911
Open Source Github Project/Repository URL :
https://github.com/mediabots/Linux-to-Windows-with-QEMU

A Shell Script for Auto installation of Windows Server into a Linux Server.

A Shell Script to Auto install Windows Server on your Linux System. [Right now, it supports 2012 R2 < evaluation/180 days trial > copy]

Script would use QEMU-KVM portable software for Virtualization purpose. Since QEMU is a portable s/w, so it can reside in temporary RAM.

Actually script is semi-automatic. All Linux commands part(such as downloading Windows ISO image, gathering system info, choosing disk/partition, managing RAM , attaching required windows s/w in CDROM) would be handled by script automatically.

And rest of the windows part(clicking, selecting, setting Administrator password ) need to be done manually by any Free VNC windows software.

After Windows Installation completed, you would find a Power Shell script under CD-ROM, called "EnableRDP.ps1". By running it you would be able to enable Remote Desktop on your Windows server, so after that you would be able to connect your Windows server through Windows "Remote Desktop Application" App :)

I also attached Firefox App on CD-ROM, install that, so you don't need to face "Internet Explorer" horrible setting experience!


Requirements


A SSH client such as Putty : https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

A VNC software such as RealVNC : https://www.realvnc.com/en/connect/download/vnc/

A VPS or Dedicated server with Ubuntu OS Installed.

At least 30GB Free disk space in your system.

Virtualization of your VPS or Server must be enabled. Run below coammnd :

Code:
echo $(egrep '^flags.*(vmx|svm)' /proc/cpuinfo | wc -l)

if output is greater than 0, then Virtualization is enabled :D

Either should have access of root user OR run with su (super user)

How to Run the Script

Just run below five commands one after another :
Code:
su

mkdir /media/script && mount -t tmpfs -o size=1m tmpfs /media/script

wget -P /media/script https://raw.githubusercontent.com/mediabots/Linux-to-Windows-with-QEMU/master/mediabots_Ubuntu-to-Windows.sh

chmod +x /media/script/*

/media/script/mediabots_Ubuntu-to-Windows.sh

Screen-shots step by step

1) Download Putty(SSH client) from here : https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
2) Run Putty.exe file and connect to your Linux Server IP address (with port 22)
lPVhvhm.png

Login with your Linux Server Credential.
3) Run the Script. [ Read -> "How to Run the Script" section of this topic ]
KGejlQu.png

4) If your Server/VPS RAM size > 5 GB
Script would ask , whether you would like to delete existing Linux OS or not
-> I opted for [No]
LFwowrx.png

Script has done its work
5) now Download & install VNC [ https://www.realvnc.com/en/connect/download/viewer/ ]
and open your VPS/Server IP with port 0
Tc6NAGt.png

in my case my VPS IP was 51.15.229.233
4) Now you would see, Windows installation is on the process
k2tLHAR.png

5) Click/Choose options which I highlighted
5m02t3j.png

mpixbrf.png

Choose "Windows Server 2012 R2 SE (with GUI)"
Qk8W93v.png

yllbhw7.png

PRydybd.png

eksRoWZ.png

KOdQxNn.png

Set password for user : Administrator
Create a 16 to 20 Character long strong password
VsEPiSI.png

dLJze9n.png

login to Windows Server with your password
v9zWnwj.png

tR6CXfk.png

Windows Server installed successfully :D
W7olVM3.png

Enable Remote Desktop through ebableRDP.ps1 power shell script
Also install Firefox for browsing
TXKbKTX.png

In case .ps1 script prompt like this
BT2bQOz.png

press Y and Enter
---
Job Done :)
Enjoy
-------------------------------------------------------

Demo Video



or

https://bit.ly/Linux-to-Windows

Disclaimer

For few cases, due to RAID configuration of the hard disk, if you had chosen to delete existing Linux OS & install Windows OS on entire hard disk. On your VNC , you might see, Windows installation failing.

If you are facing such issue; Exit from the script & Re-run it & in this time just opt for installing Windows OS without deleting Linux OS. And it would work :D

In case, portable QEMU-KVM app stopped/closed, your Widows-Server would not be accessible. To access it again, you require to run the QEMU-KVM app again with proper parameters.

Run below command :

Code:
cat /details.txt

Copy the Output of the above result and Paste it & press Enter button. It would run the QEMU-KVM again. So your Windows Server would be accessible again :D

If you required a reboot of your Windows Server, just reboot it from Windows Server reboot option. Don't reboot your server from Server Hosting Control-panel. Otherwise QEMU App would get stopped.

If you had opted for removing your old Linux OS, you would get Windows server with full HDD capacity. But RAM would not be full, because QEMU resides on RAM.

Updates

Right now, Script supporting Ubuntu Distro only.

But very soon I would add the support for all popular Linux Distros too.

So stay tuned.

--
Hope you guys like it.
If you are a developer, you are welcome to contribute in the project

Feel free to ask any question

Don't forget to share your thoughts

Thank you


This is great stuff man...cant wait to try it and bring down by over 50% , my windows vps costs..!!
 
Joined
Aug 3, 2019
Messages
5
Reaction score
0
Ok
https://github.com/mediabots/Linux-to-Windows-with-QEMU/issues/5

Previously one user got same issue, after inspecting, it turns out issue was from Hosting

Anyway, give me output/screenshot of following 3 commands separately:-
Code:
df
fdisk -l
lsblk

So I can inspect the issue.
Also, If you have no problem, state your Web Hosting name.
How much Disk space does it has?
Also did you choose the option of destroying current OS?

Regards

Yeah that’s the same issue
fdisk -l doesn’t return anything , the VPS runs under a container technology I guess that’s why.

But when I run the command that is used to check if the virtualisation is supported, it returns 1.

Anyways, after banging my head for few hours, I was able to install QEMU kvm and use virt-install to create a guest with windows 2008 R2.

I really wished I could modify the script somehow and automate the process.

Also am still unable to access guest via RDP as I don’t know what IP should I give it or some port forwarding is needed.

I have left it as is for now and using VNC which really sucks to be honest.
 

Haksxsx`

Senior Member
Joined
Sep 14, 2017
Messages
1,025
Reaction score
278
Website
cutt.ly
really detailed configuration shown here, I'll try it soon.
Very Valuable info here.
 

peace1

Newbie
Joined
Aug 23, 2019
Messages
1
Reaction score
0
Hi, peace
I just bought the "Start-3-S-SSD" from online.net, I tried your tutorial, but got this message:
Code:
WARNING: Image format was not specified for '/mediabots/WS2012R2.ISO' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
qemu-system-x86_64: -drive file=/mediabots/WS2012R2.ISO: drive with bus=0, unit=0 (index=0) exists

I also got the message in green "SAVE BELOW GREEN COLORED COMMAND IN A SAFE LOCATION...", but couldn't connect via vnc!

Is there no way I can install windows on it, I really need your help if it's possible!!

Thank you.
 

outlive6

Newbie
Joined
Sep 28, 2019
Messages
1
Reaction score
0
Hey, I keep getting "Guest has not initialized the display (yet)" when connecting to VNC.

I'm using Scaleway as hosting and tryed in the GP1-S, GP1-M, GP1-L instances, all of them gave the same error.

Details.txt:
/usr/bin/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -show-cu$

Green command:
/usr/bin/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -show-cursor -m 31615M -localtime -enable-kvm -cpu host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,+nx -M pc -smp cores=8 -vga std -machine type=pc,accel=kvm -usb -device usb-tablet -k en-us -drive file=/disk.img,index=0,media=disk,format=raw -boot c -vnc :9 & disown %1

fdisk -l:
Disk /dev/vda: 279.4 GiB, 300000000000 bytes, 585937500 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 217FDD50-4437-4A58-8524-09728E4353CA

Device Start End Sectors Size Type
/dev/vda1 206848 585937466 585730619 279.3G Linux filesystem
/dev/vda15 2048 206847 204800 100M EFI System

Hope you can enlight me with something to work it out!

Best Regards
 

sohom

Supreme Member
Joined
May 26, 2013
Messages
1,315
Reaction score
607
Website
www.mediabots.net
Hi, peace
I just bought the "Start-3-S-SSD" from online.net, I tried your tutorial, but got this message:
Code:
WARNING: Image format was not specified for '/mediabots/WS2012R2.ISO' and probing guessed raw.
         Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted.
         Specify the 'raw' format explicitly to remove the restrictions.
qemu-system-x86_64: -drive file=/mediabots/WS2012R2.ISO: drive with bus=0, unit=0 (index=0) exists

I also got the message in green "SAVE BELOW GREEN COLORED COMMAND IN A SAFE LOCATION...", but couldn't connect via vnc!

Is there no way I can install windows on it, I really need your help if it's possible!!

Thank you.

warning is totally fine
It is not an error. So script should work fine.

About your VNC not connecting issue, there should be some other error
Send screenshot of the Putty window, so I can take a look
 
Last edited:

sohom

Supreme Member
Joined
May 26, 2013
Messages
1,315
Reaction score
607
Website
www.mediabots.net
Hey, I keep getting "Guest has not initialized the display (yet)" when connecting to VNC.

I'm using Scaleway as hosting and tryed in the GP1-S, GP1-M, GP1-L instances, all of them gave the same error.

Details.txt:
/usr/bin/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -show-cu$

Green command:
/usr/bin/qemu-system-x86_64 -net nic -net user,hostfwd=tcp::3389-:3389 -show-cursor -m 31615M -localtime -enable-kvm -cpu host,hv_relaxed,hv_spinlocks=0x1fff,hv_vapic,hv_time,+nx -M pc -smp cores=8 -vga std -machine type=pc,accel=kvm -usb -device usb-tablet -k en-us -drive file=/disk.img,index=0,media=disk,format=raw -boot c -vnc :9 & disown %1

fdisk -l:
Disk /dev/vda: 279.4 GiB, 300000000000 bytes, 585937500 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 217FDD50-4437-4A58-8524-09728E4353CA

Device Start End Sectors Size Type
/dev/vda1 206848 585937466 585730619 279.3G Linux filesystem
/dev/vda15 2048 206847 204800 100M EFI System

Hope you can enlight me with something to work it out!

Best Regards

General Purpose introduced by scaleway few months ago.
I would check, & let you know

Meanwhile , try with following Scaleway plans:-
Baremetal : C2S , C2M , C2L ;
Development : DEV1-M,DEV1-L,DEV1-XL

X86 64 bit CPUS

If there is any issue with above plans, open an issue here : https://github.com/mediabots/Linux-to-Windows-with-QEMU/issues

Thanks
 

thetoothfairy

Elite Member
Joined
Apr 24, 2016
Messages
2,121
Reaction score
537
I ran the first code. The output is zero. Can I still install this script? If not is there any otherway to install windows on my server? Thanks
 

kitkit85

Jr. VIP
Jr. VIP
Joined
Jun 19, 2019
Messages
157
Reaction score
39
exactly what i want to ask too .
what if virtualization return 0 ?
 

sohom

Supreme Member
Joined
May 26, 2013
Messages
1,315
Reaction score
607
Website
www.mediabots.net
I ran the first code. The output is zero. Can I still install this script? If not is there any otherway to install windows on my server? Thanks
how to proceed if virtualization is disabled?
exactly what i want to ask too .
what if virtualization return 0 ?


0 output means Virtualization disabled by the Hosting provider itself.
That means, your hosting provider dont allow you to create a VPS inside a VPS(nested VPS)
All you can do is, request your Hosting provider to enable it for you.
If he/she didn't, then move to some other hosting provider(before ordering a VPS, ask their support via Chat/Ticket, whether they are allowing Virtualization or not)

Another Solution is: buy a cheap Dedicated server and install Windows on it by following my these Tutorials:

 

askbhimani

Newbie
Joined
Feb 26, 2015
Messages
5
Reaction score
0
Hello Sir
How set Password for VNC in QEMU in this windows on linux method?
 
Last edited:

askbhimani

Newbie
Joined
Feb 26, 2015
Messages
5
Reaction score
0
Open Source Github Project/Repository URL :
https://github.com/mediabots/Linux-to-Windows-with-QEMU

A Shell Script for Auto installation of Windows Server into a Linux Server.

A Shell Script to Auto install Windows Server on your Linux System. [Right now, it supports 2012 R2 < evaluation/180 days trial > copy]

Script would use QEMU-KVM portable software for Virtualization purpose. Since QEMU is a portable s/w, so it can reside in temporary RAM.

Actually script is semi-automatic. All Linux commands part(such as downloading Windows ISO image, gathering system info, choosing disk/partition, managing RAM , attaching required windows s/w in CDROM) would be handled by script automatically.

And rest of the windows part(clicking, selecting, setting Administrator password ) need to be done manually by any Free VNC windows software.

After Windows Installation completed, you would find a Power Shell script under CD-ROM, called "EnableRDP.ps1". By running it you would be able to enable Remote Desktop on your Windows server, so after that you would be able to connect your Windows server through Windows "Remote Desktop Application" App :)

I also attached Firefox App on CD-ROM, install that, so you don't need to face "Internet Explorer" horrible setting experience!


Requirements

A SSH client such as Putty : https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

A VNC software such as RealVNC : https://www.realvnc.com/en/connect/download/vnc/

A VPS or Dedicated server with Ubuntu OS Installed.

At least 30GB Free disk space in your system.

Virtualization of your VPS or Server must be enabled. Run below coammnd :

Code:
echo $(egrep '^flags.*(vmx|svm)' /proc/cpuinfo | wc -l)

if output is greater than 0, then Virtualization is enabled :D

Either should have access of root user OR run with su (super user)

How to Run the Script

Just run below five commands one after another :
Code:
su

mkdir /media/script && mount -t tmpfs -o size=1m tmpfs /media/script

wget -P /media/script https://raw.githubusercontent.com/mediabots/Linux-to-Windows-with-QEMU/master/mediabots_Ubuntu-to-Windows.sh

chmod +x /media/script/*

/media/script/mediabots_Ubuntu-to-Windows.sh

Screen-shots step by step

1) Download Putty(SSH client) from here : https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
2) Run Putty.exe file and connect to your Linux Server IP address (with port 22)
lPVhvhm.png

Login with your Linux Server Credential.
3) Run the Script. [ Read -> "How to Run the Script" section of this topic ]
KGejlQu.png

4) If your Server/VPS RAM size > 5 GB
Script would ask , whether you would like to delete existing Linux OS or not
-> I opted for [No]
LFwowrx.png

Script has done its work
5) now Download & install VNC [ https://www.realvnc.com/en/connect/download/viewer/ ]
and open your VPS/Server IP with port 0
Tc6NAGt.png

in my case my VPS IP was 51.15.229.233
4) Now you would see, Windows installation is on the process
k2tLHAR.png

5) Click/Choose options which I highlighted
5m02t3j.png

mpixbrf.png

Choose "Windows Server 2012 R2 SE (with GUI)"
Qk8W93v.png

yllbhw7.png

PRydybd.png

eksRoWZ.png

KOdQxNn.png

Set password for user : Administrator
Create a 16 to 20 Character long strong password
VsEPiSI.png

dLJze9n.png

login to Windows Server with your password
v9zWnwj.png

tR6CXfk.png

Windows Server installed successfully :D
W7olVM3.png

Enable Remote Desktop through ebableRDP.ps1 power shell script
Also install Firefox for browsing
TXKbKTX.png

In case .ps1 script prompt like this
BT2bQOz.png

press Y and Enter
---
Job Done :)
Enjoy
-------------------------------------------------------

Demo Video


or

https://bit.ly/Linux-to-Windows

Disclaimer

For few cases, due to RAID configuration of the hard disk, if you had chosen to delete existing Linux OS & install Windows OS on entire hard disk. On your VNC , you might see, Windows installation failing.

If you are facing such issue; Exit from the script & Re-run it & in this time just opt for installing Windows OS without deleting Linux OS. And it would work :D

In case, portable QEMU-KVM app stopped/closed, your Widows-Server would not be accessible. To access it again, you require to run the QEMU-KVM app again with proper parameters.

Run below command :

Code:
cat /details.txt

Copy the Output of the above result and Paste it & press Enter button. It would run the QEMU-KVM again. So your Windows Server would be accessible again :D

If you required a reboot of your Windows Server, just reboot it from Windows Server reboot option. Don't reboot your server from Server Hosting Control-panel. Otherwise QEMU App would get stopped.

If you had opted for removing your old Linux OS, you would get Windows server with full HDD capacity. But RAM would not be full, because QEMU resides on RAM.

Updates

Right now, Script supporting Ubuntu Distro only.

But very soon I would add the support for all popular Linux Distros too.

So stay tuned.

--
Hope you guys like it.
If you are a developer, you are welcome to contribute in the project

Feel free to ask any question

Don't forget to share your thoughts

Thank you
Open Source Github Project/Repository URL :
https://github.com/mediabots/Linux-to-Windows-with-QEMU

A Shell Script for Auto installation of Windows Server into a Linux Server.

A Shell Script to Auto install Windows Server on your Linux System. [Right now, it supports 2012 R2 < evaluation/180 days trial > copy]

Script would use QEMU-KVM portable software for Virtualization purpose. Since QEMU is a portable s/w, so it can reside in temporary RAM.

Actually script is semi-automatic. All Linux commands part(such as downloading Windows ISO image, gathering system info, choosing disk/partition, managing RAM , attaching required windows s/w in CDROM) would be handled by script automatically.

And rest of the windows part(clicking, selecting, setting Administrator password ) need to be done manually by any Free VNC windows software.

After Windows Installation completed, you would find a Power Shell script under CD-ROM, called "EnableRDP.ps1". By running it you would be able to enable Remote Desktop on your Windows server, so after that you would be able to connect your Windows server through Windows "Remote Desktop Application" App :)

I also attached Firefox App on CD-ROM, install that, so you don't need to face "Internet Explorer" horrible setting experience!


Requirements

A SSH client such as Putty : https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html

A VNC software such as RealVNC : https://www.realvnc.com/en/connect/download/vnc/

A VPS or Dedicated server with Ubuntu OS Installed.

At least 30GB Free disk space in your system.

Virtualization of your VPS or Server must be enabled. Run below coammnd :

Code:
echo $(egrep '^flags.*(vmx|svm)' /proc/cpuinfo | wc -l)

if output is greater than 0, then Virtualization is enabled :D

Either should have access of root user OR run with su (super user)

How to Run the Script

Just run below five commands one after another :
Code:
su

mkdir /media/script && mount -t tmpfs -o size=1m tmpfs /media/script

wget -P /media/script https://raw.githubusercontent.com/mediabots/Linux-to-Windows-with-QEMU/master/mediabots_Ubuntu-to-Windows.sh

chmod +x /media/script/*

/media/script/mediabots_Ubuntu-to-Windows.sh

Screen-shots step by step

1) Download Putty(SSH client) from here : https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html
2) Run Putty.exe file and connect to your Linux Server IP address (with port 22)
lPVhvhm.png

Login with your Linux Server Credential.
3) Run the Script. [ Read -> "How to Run the Script" section of this topic ]
KGejlQu.png

4) If your Server/VPS RAM size > 5 GB
Script would ask , whether you would like to delete existing Linux OS or not
-> I opted for [No]
LFwowrx.png

Script has done its work
5) now Download & install VNC [ https://www.realvnc.com/en/connect/download/viewer/ ]
and open your VPS/Server IP with port 0
Tc6NAGt.png

in my case my VPS IP was 51.15.229.233
4) Now you would see, Windows installation is on the process
k2tLHAR.png

5) Click/Choose options which I highlighted
5m02t3j.png

mpixbrf.png

Choose "Windows Server 2012 R2 SE (with GUI)"
Qk8W93v.png

yllbhw7.png

PRydybd.png

eksRoWZ.png

KOdQxNn.png

Set password for user : Administrator
Create a 16 to 20 Character long strong password
VsEPiSI.png

dLJze9n.png

login to Windows Server with your password
v9zWnwj.png

tR6CXfk.png

Windows Server installed successfully :D
W7olVM3.png

Enable Remote Desktop through ebableRDP.ps1 power shell script
Also install Firefox for browsing
TXKbKTX.png

In case .ps1 script prompt like this
BT2bQOz.png

press Y and Enter
---
Job Done :)
Enjoy
-------------------------------------------------------

Demo Video


or

https://bit.ly/Linux-to-Windows

Disclaimer

For few cases, due to RAID configuration of the hard disk, if you had chosen to delete existing Linux OS & install Windows OS on entire hard disk. On your VNC , you might see, Windows installation failing.

If you are facing such issue; Exit from the script & Re-run it & in this time just opt for installing Windows OS without deleting Linux OS. And it would work :D

In case, portable QEMU-KVM app stopped/closed, your Widows-Server would not be accessible. To access it again, you require to run the QEMU-KVM app again with proper parameters.

Run below command :

Code:
cat /details.txt

Copy the Output of the above result and Paste it & press Enter button. It would run the QEMU-KVM again. So your Windows Server would be accessible again :D

If you required a reboot of your Windows Server, just reboot it from Windows Server reboot option. Don't reboot your server from Server Hosting Control-panel. Otherwise QEMU App would get stopped.

If you had opted for removing your old Linux OS, you would get Windows server with full HDD capacity. But RAM would not be full, because QEMU resides on RAM.

Updates

Right now, Script supporting Ubuntu Distro only.

But very soon I would add the support for all popular Linux Distros too.

So stay tuned.

--
Hope you guys like it.
If you are a developer, you are welcome to contribute in the project

Feel free to ask any question

Don't forget to share your thoughts

Thank you

Hello Sohom sir

How to set Password for VNC in QEMU for windows on linux method????
 

sohom

Supreme Member
Joined
May 26, 2013
Messages
1,315
Reaction score
607
Website
www.mediabots.net
Hello Sohom sir

How to set Password for VNC in QEMU for windows on linux method????


Sorry for the delay

No need to set password for VNC.

VNC required only for 1st time, during Windows Installation.
Once its done & you enabled Remote Desktop on it. After that you don't need VNC. Because you can access the server/VPS through Remote Desktop Application.

PS- How to set a password for Windows/Server is already shown in the video demonstartaion.

To omit VNC from starting , you need to remove "-vnc :9 " part from your command. (which used to stored under "details.txt" file of "/" directory)
 

askbhimani

Newbie
Joined
Feb 26, 2015
Messages
5
Reaction score
0
Sorry for the delay

No need to set password for VNC.

VNC required only for 1st time, during Windows Installation.
Once its done & you enabled Remote Desktop on it. After that you don't need VNC. Because you can access the server/VPS through Remote Desktop Application.

PS- How to set a password for Windows/Server is already shown in the video demonstartaion.

To omit VNC from starting , you need to remove "-vnc :9 " part from your command. (which used to stored under "details.txt" file of "/" directory)
But i want to set Password for vnc is this possible?
 

sohom

Supreme Member
Joined
May 26, 2013
Messages
1,315
Reaction score
607
Website
www.mediabots.net
But i want to set Password for vnc is this possible?
VNC is a protocol here, which help us to access a remote machine virtually, same like Remote Desktop.
The system itself has to be password protected, not the medium/connection.

Like in linux, if you want to access your machine via Putty( 22 port via tcp). Machine has to be password protected not the TCP.
All you can do, is blocking the port number of medium by firewall. VNC by default uses TCP port 5900
 

sohom

Supreme Member
Joined
May 26, 2013
Messages
1,315
Reaction score
607
Website
www.mediabots.net
But i want to set Password for vnc is this possible?
My be one way, it is possible
For that you have to install any VNC Server software on your VPS/Dedi
search on Google or Youtube with "install vnc server on windows" for more details.
 
Top