updated hack XRDP for session
This commit is contained in:
@ -948,6 +948,10 @@ init_wineprefix () {
|
||||
|
||||
# хак для XRDP сессии
|
||||
if [[ $DISPLAY == *:10.0 ]] ; then
|
||||
if ! lspci | grep -i nvidia > /dev/null ; then
|
||||
export MESA_GL_VERSION_OVERRIDE="3.3"
|
||||
export MESA_GLSL_VERSION_OVERRIDE="330"
|
||||
fi
|
||||
print_warning "Обнаружена сессия XRDP, настраиваем реестр:"
|
||||
get_and_set_reg_file --add 'Software\Wine\X11 Driver' 'UseXRandR' 'REG_SZ' "N" "user"
|
||||
get_and_set_reg_file --add 'Software\Wine\X11 Driver' 'UseXVidMode' 'REG_SZ' "N" "user"
|
||||
|
Reference in New Issue
Block a user