Commodore OS Vision 2 in Hyper-V
-
- Posts: 12
- pinterest Kuchnie na Wymiar Warszawa
- Joined: Wed Dec 04, 2024 3:47 pm
- Contact:
Commodore OS Vision 2 in Hyper-V
Apparently, I somehow missed the release of the new version of Commodore OS Vision! Version 2 was released back in December 2023, but I apparently missed it. I've been hoping someone would take up the project again from when it ended back when CommodoreUSA closed business. Luckily for fans of the OS, it's back.
Anyways, maybe this will help someone else with running Commodore OS Vision 2 in a VM using Microsoft's Hyper-V.
Here is a screenshot of my Hyper-V settings used to successfully run the ISO and install Commodore OS Vision 2:
Of note is in Security disable Secure boot and number of processors changed from default to 2. I also disabled Checkpoints as a personal preference.
Installing Commodore OS Vision 2 was pretty straight-forward. Download the ISO file from here. Create a blank HDD (mine was 25GB). Mount the ISO file in the VM, then boot the VM. It boots from the ISO, then start and run the Installer in Commodore OS Vision.
Happy computing.
Anyways, maybe this will help someone else with running Commodore OS Vision 2 in a VM using Microsoft's Hyper-V.
Here is a screenshot of my Hyper-V settings used to successfully run the ISO and install Commodore OS Vision 2:
Of note is in Security disable Secure boot and number of processors changed from default to 2. I also disabled Checkpoints as a personal preference.
Installing Commodore OS Vision 2 was pretty straight-forward. Download the ISO file from here. Create a blank HDD (mine was 25GB). Mount the ISO file in the VM, then boot the VM. It boots from the ISO, then start and run the Installer in Commodore OS Vision.
Happy computing.
Please visit my Computer blog: https://davidf215.blogspot.com/
Re: Commodore OS Vision 2 in Hyper-V
Did you get the glowing window border graphics and 3D effects of Compiz/Emerald?
Commodore OS creator. Site Admin. Owns: C64, C128D(Sidekick64), A500, A1000(piStorm), C64x(i7)
Re: Commodore OS Vision 2 in Hyper-V
Not exactly sure what that refers to. But in the VM it was doing 3D animation of the default screen saver, the 3D effect of clicking on the other virtual desktops, and the window effects when a window is clicked and dragged. Here are some more screenshots:
I do have a short video clip of the 3D effects of the Hyper-V VM posted on this page:
https://davidf215.blogspot.com/2024/12/ ... per-v.html
Please let me know if what you referring to is something else.
Please visit my Computer blog: https://davidf215.blogspot.com/
Re: Commodore OS Vision 2 in Hyper-V
Thanks. It looks like it is running great!!!
Commodore OS creator. Site Admin. Owns: C64, C128D(Sidekick64), A500, A1000(piStorm), C64x(i7)
Re: Commodore OS Vision 2 in Hyper-V
The sound is not working, is anyone having the same problem.
-
- Posts: 3
- Joined: Fri Nov 15, 2024 11:34 am
- Contact:
Re: Commodore OS Vision 2 in Hyper-V
A good question, but more info would be useful. OS, hardware, Hyper-V version etc. are all things that could assist in trouble-shooting.
Cheers.
Cheers.
Re: Commodore OS Vision 2 in Hyper-V
Well I did a little research and it seems Hyper-V does not really support sound.
I am running the latest version of Windows 11 (26100.2605) And Hyper-V 10.0.26100.1882
So was just wondering if anyone got it to work.
I am running the latest version of Windows 11 (26100.2605) And Hyper-V 10.0.26100.1882
So was just wondering if anyone got it to work.
Re: Commodore OS Vision 2 in Hyper-V
Hello everyone,
I'm running Commodore OS in Hyper-V with Sound in Extended Session Mode.
I also have a Demonstration Video but I don't know where I can upload it to the Forum.
If you are interested, I can post a short step-by-step guide to setting up the Remote Connection with Sound here.
greetings from Germany
I'm running Commodore OS in Hyper-V with Sound in Extended Session Mode.
I also have a Demonstration Video but I don't know where I can upload it to the Forum.
If you are interested, I can post a short step-by-step guide to setting up the Remote Connection with Sound here.
greetings from Germany
Re: Commodore OS Vision 2 in Hyper-V
That would be awesome.
If you want to make a video it could be hosted on Youtube easily enough.
If you want to make a video it could be hosted on Youtube easily enough.
Commodore OS creator. Site Admin. Owns: C64, C128D(Sidekick64), A500, A1000(piStorm), C64x(i7)
Re: Commodore OS Vision 2 in Hyper-V
Step by step instructions for Hyper-V to get sound via an Advanced Session Mode
1. create a new virtual machine with Hyper-V / I assume that everyone here knows how to create a virtual computer in Hyper-V
but check in advance whether extended session mode is switched on in Hyper-V settings
- Select Hyper-V settings
- Under Server, select Enhanced session mode policy
- Select the Allow enhanced session mode check box
- Under User, select Enhanced session mode
- Select the Allow enhanced session mode check box
- Click Ok
2. after setting up the virtual computer start Microsoft Powershell as admin
execute the command with the virtual computer name (here CommodoreOS) in Powershell
Set-VM -VMName "CommodoreOS" -EnhancedSessionTransportType HvSocket
3. connect and start the virtual computer (CommodoreOS) <- my virtual computer name
start installation with the default parameters i use the ISO CommodoreOS-20231213.iso
the restart after the creation takes a while until then -> black-screen.
back in the OS I leave everything at the basic settings such as User = Commodore and Password = C=
4. Settings and updates :
- Call up the command line interface from the bar below
- First update and upgrade everything before we continue , execute commands:
sudo apt-get update
sudo apt-get upgrade
when upgrading, answer everything with Y , upgrading takes a while
- the upgrade is finished we restart the virtual computer
5. Setp remote desktop / call up the command line interface from the bar below and execute commands:
sudo apt-get install xrdp xorgxrdp
sudo adduser xrdp ssl-cert
sudo ufw allow 3389/tcp
sed -i_orig -e 's/port=3389/port=vsock:\/\/-1:3389/g' /etc/xrdp/xrdp.ini
sed -i_orig -e 's/security_layer=negotiate/security_layer=rdp/g' /etc/xrdp/xrdp.ini
sed -i_orig -e 's/crypt_level=high/crypt_level=none/g' /etc/xrdp/xrdp.ini
sed -i_orig -e 's/bitmap_compression=true/bitmap_compression=false/g' /etc/xrdp/xrdp.ini
sed -i_orig -e 's/autologin-user=Commodore/#autologin-user=Commodore/g' /etc/lightdm/lightdm.conf
sed -i_orig -e 's/autologin-user-timeout=0/#autologin-user-timeout=0/g' /etc/lightdm/lightdm.conf
is finished , restart the virtual computer
Hyper-V should now recognize the remote and we can log in via xrdp. ( User = Commodore and Password = C= )
but for now without sound
6. Sound setup
back in the os call up the command line interface from the bar below and execute commands:
sudo apt-get install libltdl-dev libpulse-dev libtool
cd Downloads
git clone https://github.com/neutrinolabs/pulseau ... e-xrdp.git
cd pulseaudio-module-xrdp
./scripts/install_pulseaudio_sources_apt_wrapper.src
-> that takes a while
If the script has run successfully it will show you the exact path
from PULSE_DIR !! this will be important to know later ,
for us it is: PULSE_DIR=/home/Commodore/pulseaudio.src
then continue with:
./bootstrap
./configure PULSE_DIR=/home/Commodore/pulseaudio.src
make
sudo make install
ls $(pkg-config --variable=modlibexecdir libpulse) | grep 'xrdp'
If everything is correct , reboot and log in remotely
(if the extended session message does not pop up, click on the extended session icon above)
and we hear SOUND.
Hope that wasn't too difficult and it worked without any problems
1. create a new virtual machine with Hyper-V / I assume that everyone here knows how to create a virtual computer in Hyper-V
but check in advance whether extended session mode is switched on in Hyper-V settings
- Select Hyper-V settings
- Under Server, select Enhanced session mode policy
- Select the Allow enhanced session mode check box
- Under User, select Enhanced session mode
- Select the Allow enhanced session mode check box
- Click Ok
2. after setting up the virtual computer start Microsoft Powershell as admin
execute the command with the virtual computer name (here CommodoreOS) in Powershell
Set-VM -VMName "CommodoreOS" -EnhancedSessionTransportType HvSocket
3. connect and start the virtual computer (CommodoreOS) <- my virtual computer name
start installation with the default parameters i use the ISO CommodoreOS-20231213.iso
the restart after the creation takes a while until then -> black-screen.
back in the OS I leave everything at the basic settings such as User = Commodore and Password = C=
4. Settings and updates :
- Call up the command line interface from the bar below
- First update and upgrade everything before we continue , execute commands:
sudo apt-get update
sudo apt-get upgrade
when upgrading, answer everything with Y , upgrading takes a while
- the upgrade is finished we restart the virtual computer
5. Setp remote desktop / call up the command line interface from the bar below and execute commands:
sudo apt-get install xrdp xorgxrdp
sudo adduser xrdp ssl-cert
sudo ufw allow 3389/tcp
sed -i_orig -e 's/port=3389/port=vsock:\/\/-1:3389/g' /etc/xrdp/xrdp.ini
sed -i_orig -e 's/security_layer=negotiate/security_layer=rdp/g' /etc/xrdp/xrdp.ini
sed -i_orig -e 's/crypt_level=high/crypt_level=none/g' /etc/xrdp/xrdp.ini
sed -i_orig -e 's/bitmap_compression=true/bitmap_compression=false/g' /etc/xrdp/xrdp.ini
sed -i_orig -e 's/autologin-user=Commodore/#autologin-user=Commodore/g' /etc/lightdm/lightdm.conf
sed -i_orig -e 's/autologin-user-timeout=0/#autologin-user-timeout=0/g' /etc/lightdm/lightdm.conf
is finished , restart the virtual computer
Hyper-V should now recognize the remote and we can log in via xrdp. ( User = Commodore and Password = C= )
but for now without sound
6. Sound setup
back in the os call up the command line interface from the bar below and execute commands:
sudo apt-get install libltdl-dev libpulse-dev libtool
cd Downloads
git clone https://github.com/neutrinolabs/pulseau ... e-xrdp.git
cd pulseaudio-module-xrdp
./scripts/install_pulseaudio_sources_apt_wrapper.src
-> that takes a while
If the script has run successfully it will show you the exact path
from PULSE_DIR !! this will be important to know later ,
for us it is: PULSE_DIR=/home/Commodore/pulseaudio.src
then continue with:
./bootstrap
./configure PULSE_DIR=/home/Commodore/pulseaudio.src
make
sudo make install
ls $(pkg-config --variable=modlibexecdir libpulse) | grep 'xrdp'
If everything is correct , reboot and log in remotely
(if the extended session message does not pop up, click on the extended session icon above)
and we hear SOUND.
Hope that wasn't too difficult and it worked without any problems
Who is online
Users browsing this forum: No registered users and 0 guests