Unable to to see digital option in the settings.
HDA Intel
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
Unable to to see digital option in the settings.
HDA Intel
# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC662 rev1 Analog [ALC662 rev1 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
From googling that seems an oldish machine. Also no HDMI port (just display port). Are you sure it supports digital audio out?
Something disabled in the machine's BIOS?
Please run "dmesg | paste" and "lspci | paste" and share the URLs so we can see what video hardware is being used. There are a number of video card options for those boxes in addition to the onboard (VGA) device and it's not clear what is being used.