Skip to content

Commit 3dd6ba5

Browse files
committed
Pulseaudio and mic fixes
1 parent 22b8835 commit 3dd6ba5

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM debian:bookworm
22

33
COPY tcfiles/debian.sources /etc/apt/sources.list.d/debian.sources
44

5-
RUN apt update && apt install sudo curl freerdp2-x11 yad fvwm xterm xinit light mingetty polkitd net-tools iw wpasupplicant systemd-resolved enca nano udiskie mc mtr cups firmware-linux firmware-linux-nonfree firmware-iwlwifi firmware-realtek firmware-atheros firmware-brcm80211 firmware-b43-installer open-vm-tools ffmpeg pipewire-audio pamixer -y
5+
RUN apt update && apt install sudo curl freerdp2-x11 yad fvwm xterm xinit light mingetty polkitd net-tools iw wpasupplicant systemd-resolved enca nano udiskie mc mtr cups firmware-linux firmware-linux-nonfree firmware-iwlwifi firmware-realtek firmware-atheros firmware-brcm80211 firmware-b43-installer open-vm-tools ffmpeg pulseaudio pamixer -y
66
COPY tcfiles/thinclient /usr/bin/thinclient
77
COPY tcfiles/set-hostname /usr/bin/set-hostname
88
COPY tcfiles/firstboot /usr/bin/firstboot
@@ -27,7 +27,9 @@ COPY tcfiles/dhcp.network /etc/systemd/network/dhcp.network
2727

2828
COPY tcfiles/xorg.conf /etc/X11/xorg.conf.d/thinclient.conf
2929

30-
COPY tcfiles/pipewire-pulse.conf /etc/pipewire/pipewire-pulse.conf.d/thinclient.conf
30+
#This line is for pipewire, because pipewire has limited mic support its currently replaced with pulseaudio
31+
#Pulseaudio has the auto switch behavior by default
32+
#COPY tcfiles/pipewire-pulse.conf /etc/pipewire/pipewire-pulse.conf.d/thinclient.conf
3133

3234
RUN useradd -ms /bin/bash thinclient -G video,audio,netdev,render,cdrom,plugdev
3335

UFTC Thin Client Troubleshooting.docx

199 Bytes
Binary file not shown.

tcfiles/thinclient

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ fi
227227

228228
echo "Start of session" > session.log
229229
if [ "$server" != "citrix" ];then
230-
bash -c "WLOG_APPENDER=file WLOG_FILEAPPENDER_OUTPUT_FILE_NAME=session.log WLOG_FILEAPPENDER_OUTPUT_FILE_PATH=. xfreerdp $rdp_destination /d:$domain /u:$username /p:$password /multimon +multitouch /cert-ignore /f /network:auto /sound:rate:44100,channel:2 /microphone /dynamic-resolution /usb:auto +drives +auto-reconnect +multitransport +gfx-progressive $param" # Somehow this only works when wrapped in bash otherwise it cant understand the positional argument
230+
bash -c "WLOG_APPENDER=file WLOG_FILEAPPENDER_OUTPUT_FILE_NAME=session.log WLOG_FILEAPPENDER_OUTPUT_FILE_PATH=. xfreerdp $rdp_destination /d:$domain /u:$username /p:$password /multimon +multitouch /cert-ignore /f /network:auto /sound:rate:44100,channel:2 /dynamic-resolution /usb:auto +drives +auto-reconnect +multitransport +gfx-progressive $param" # Somehow this only works when wrapped in bash otherwise it cant understand the positional argument
231231
fi
232232

233233
if ! grep -F "BY_USER" session.log;then

0 commit comments

Comments
 (0)