Автор Тема: xrdp openbox yandex-browser-stable  (Прочитано 292 раз)

Оффлайн al_tux

  • Начинающий
  • *
  • Сообщений: 14
xrdp openbox yandex-browser-stable
« : 02.12.2022 14:09:39 »
Сервер на виртуальной машине, дисплей виртуальный от proxmox(Видеокарта: По умолчанию, памяти: 256мб)
Хочу настроить браузер через X11 forwarding. При первом запуске через xrdp запускается предварительная настройка профиля и все.
Авторизация пользователя доменная.
Установил ffmpeg через apt-get install ffmpeg-plugin-browser

[u.user@pc ~]$ yandex-browser-stable
Found ffmpeg: /usr/lib64/ffmpeg-plugin-browser/libffmpeg.so
avcodec: 3876708
avformat: 3874148
avutil: 3743332
Ffmpeg version is OK! Let's use it.
[10793:10793:1202/141813.823560:ERROR:isolated_origin_util.cc(74)] Ignoring port number in isolated origin: chrome://custo
[10793:10793:1202/141813.823709:ERROR:child_process_security_policy_impl.cc(2010)] Invalid isolated origin:
[10853:7:1202/141813.945614:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[10848:10848:1202/141814.096631:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[10793:10880:1202/141814.209028:ERROR:cprocsp_api.cc(609)] Failed to load library /opt/cprocsp/lib/amd64/libcapi20.so: /opt/cprocsp/lib/amd64/libcapi20.so: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога
[10793:10896:1202/141814.239848:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[10793:10896:1202/141814.241876:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[10793:10896:1202/141814.242101:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[10901:13:1202/141814.305110:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[10851:10866:1202/141814.337944:ERROR:cprocsp_api.cc(609)] Failed to load library /opt/cprocsp/lib/amd64/libcapi20.so: /opt/cprocsp/lib/amd64/libcapi20.so: невозможно открыть разделяемый объектный файл: Нет такого файла или каталога
[10919:20:1202/141814.445581:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[10943:31:1202/141814.558145:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[10892:10892:1202/141814.715020:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[10985:10985:1202/141814.831924:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
[11038:43:1202/141815.073298:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11041:44:1202/141815.096716:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11048:49:1202/141815.121957:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11052:51:1202/141815.137112:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11055:52:1202/141815.173345:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11066:61:1202/141815.218485:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11078:71:1202/141815.276723:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11086:77:1202/141815.327157:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11095:84:1202/141815.400212:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11108:95:1202/141815.494271:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11115:100:1202/141815.580779:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11119:102:1202/141815.593249:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11131:112:1202/141815.682347:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11134:113:1202/141815.702430:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11145:122:1202/141815.765655:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11154:129:1202/141815.856132:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11157:130:1202/141815.868574:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11169:140:1202/141815.949902:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11172:141:1202/141815.965057:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11175:142:1202/141815.979765:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11182:147:1202/141816.018108:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11199:162:1202/141816.099683:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11203:164:1202/141816.122488:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11210:169:1202/141816.172381:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11223:180:1202/141816.248071:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11227:182:1202/141816.272946:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11230:183:1202/141816.307970:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11235:186:1202/141816.328142:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
xdg-settings: $BROWSER is set and can't be changed with xdg-settings
[1202/141849.462643:WARNING:minidump_to_upload_parameters.cc(32)] duplicate key guid, discarding value 6f8b4f39cd3745e0bc2fceee745e0cee
[1202/142013.866379:ERROR:http_transport_libcurl.cc(470)] curl_easy_perform: Timeout was reached (28)
[1202/142013.866428:ERROR:rt_monitoring.cc(366)] Monitor`s response is an error or empty, response =
[1202/142013.866483:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[1202/142013.866494:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[1202/142013.869762:ERROR:directory_reader_posix.cc(42)] opendir /home/domain/u.user/.config/yandex-browser/Crash Reports/attachments/a375f9f3-3cea-4450-8fe7-16570283ae5f: No such file or directory (2)
[1202/142013.871479:WARNING:minidump_to_upload_parameters.cc(32)] duplicate key guid, discarding value 6f8b4f39cd3745e0bc2fceee745e0cee
Ошибка сегментирования
[u.user@pc ~]$

Второй запуск
[u.user@pc ~]$  yandex-browser-stable
Found ffmpeg: /usr/lib64/ffmpeg-plugin-browser/libffmpeg.so
avcodec: 3876708
avformat: 3874148
avutil: 3743332
Ffmpeg version is OK! Let's use it.
[11284:11284:1202/142340.299971:ERROR:isolated_origin_util.cc(74)] Ignoring port number in isolated origin: chrome://custo
[11284:11284:1202/142340.300097:ERROR:child_process_security_policy_impl.cc(2010)] Invalid isolated origin:
[11335:7:1202/142340.522102:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[11330:11330:1202/142340.835031:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[1202/142340.962997:WARNING:minidump_to_upload_parameters.cc(32)] duplicate key guid, discarding value 6f8b4f39cd3745e0bc2fceee745e0cee
[1202/142505.369529:ERROR:http_transport_libcurl.cc(470)] curl_easy_perform: Timeout was reached (28)
[1202/142505.369580:ERROR:rt_monitoring.cc(366)] Monitor`s response is an error or empty, response =
[1202/142505.369630:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[1202/142505.369640:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
Ошибка сегментирования
[u.user@pc ~]$


Запуск через X11 forwarding. Запустился, Нужные политики прописались.
[u.user@pc2 ~]$ ssh -Y u.user@pc yandex-browser-stable
u.user@pc's password:
Found ffmpeg: /usr/lib64/ffmpeg-plugin-browser/libffmpeg.so
avcodec: 3876708
avformat: 3874148
avutil: 3743332
Ffmpeg version is OK! Let's use it.
[11607:11607:1202/143627.725101:ERROR:isolated_origin_util.cc(74)] Ignoring port number in isolated origin: chrome://custo
[11607:11607:1202/143627.725160:ERROR:child_process_security_policy_impl.cc(2010)] Invalid isolated origin:
[11660:7:1202/143627.852211:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[11655:11655:1202/143627.945030:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[11607:11646:1202/143628.142870:ERROR:cprocsp_api.cc(609)] Failed to load library /opt/cprocsp/lib/amd64/libcapi20.so: /opt/cprocsp/lib/amd64/libcapi20.so: cannot open shared object file: No such file or directory
[11703:12:1202/143628.179085:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11717:19:1202/143628.209820:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11607:11753:1202/143628.287646:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[11607:11753:1202/143628.288579:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.GetDisplayDevice: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[11607:11753:1202/143628.289071:ERROR:object_proxy.cc(623)] Failed to call method: org.freedesktop.UPower.EnumerateDevices: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
[11607:11607:1202/143628.292828:ERROR:variations_service.cc(451)] Failed to get abt sae-cookie
[11658:11671:1202/143628.294258:ERROR:cprocsp_api.cc(609)] Failed to load library /opt/cprocsp/lib/amd64/libcapi20.so: /opt/cprocsp/lib/amd64/libcapi20.so: cannot open shared object file: No such file or directory
[11766:34:1202/143628.348654:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11785:42:1202/143628.425178:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[11692:11692:1202/143628.571932:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[11703:26:1202/143628.752034:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[11717:29:1202/143628.767113:ERROR:command_buffer_proxy_impl.cc(128)] ContextResult::kTransientFailure: Failed to send GpuControl.CreateCommandBuffer.
[11607:11637:1202/143628.794413:ERROR:component_verifier.cc(100)] Could not read /usr/lib64/yandex/browser/video_translation/video_translation_urls
[11607:11637:1202/143628.795954:ERROR:component_verifier.cc(100)] Could not read /usr/lib64/yandex/browser/video_translation/video_translation_urls
[11607:11637:1202/143628.797545:ERROR:component_verifier.cc(100)] Could not read /usr/lib64/yandex/browser/video_translation/video_translation_urls
[11607:11646:1202/143628.798978:ERROR:component_verifier.cc(100)] Could not read /usr/lib64/yandex/browser/video_translation/video_translation_urls
[11908:48:1202/143630.085534:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12044:58:1202/143631.736165:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12064:64:1202/143631.796396:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12072:65:1202/143631.809755:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12080:66:1202/143631.820850:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12102:76:1202/143631.856379:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12124:86:1202/143631.892637:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12148:93:1202/143631.946689:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12166:98:1202/143631.985306:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12174:100:1202/143631.997027:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12196:111:1202/143632.035198:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12202:112:1202/143632.051683:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12207:113:1202/143632.060536:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12650:129:1202/143648.107648:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12653:130:1202/143648.111452:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12668:143:1202/143649.350035:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[11607:11607:1202/143649.573341:ERROR:interface_endpoint_client.cc(689)] Message 0 rejected by interface blink.mojom.WidgetHost
[11607:11607:1202/143658.242847:ERROR:wallpaper_store_service_impl.cc(4332)] Failed to download dark mode wallpaper
[12683:155:1202/143659.337891:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12854:167:1202/143716.474592:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12887:182:1202/143717.334456:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12895:188:1202/143723.132530:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[12912:203:1202/143725.141957:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13081:213:1202/143729.444579:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13089:219:1202/143731.470615:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13097:225:1202/143733.670384:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13105:231:1202/143735.796137:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13113:237:1202/143737.948789:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13121:243:1202/143738.163953:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13129:249:1202/143738.219389:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13137:255:1202/143738.285442:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13145:261:1202/143738.339948:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13153:267:1202/143738.443833:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13161:273:1202/143738.528122:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13169:279:1202/143738.560292:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13176:284:1202/143738.592833:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13184:290:1202/143738.989173:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13192:296:1202/143739.454377:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13200:302:1202/143739.947971:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13208:308:1202/143740.490207:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13215:313:1202/143741.073884:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13234:323:1202/143818.583470:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13250:337:1202/143821.925067:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)


Второй запуск через X11 forwarding. Не запустился.
[u.user@pc2 ~]$  ssh -Y u.user@pc yandex-browser-stable
u.user@pc's password:
Found ffmpeg: /usr/lib64/ffmpeg-plugin-browser/libffmpeg.so
avcodec: 3876708
avformat: 3874148
avutil: 3743332
Ffmpeg version is OK! Let's use it.
[13339:13339:1202/144200.956525:ERROR:isolated_origin_util.cc(74)] Ignoring port number in isolated origin: chrome://custo
[13339:13339:1202/144200.956587:ERROR:child_process_security_policy_impl.cc(2010)] Invalid isolated origin:
[13392:7:1202/144201.148571:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[13339:13369:1202/144201.458490:ERROR:cprocsp_api.cc(609)] Failed to load library /opt/cprocsp/lib/amd64/libcapi20.so: /opt/cprocsp/lib/amd64/libcapi20.so: cannot open shared object file: No such file or directory
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[13387:13387:1202/144201.634503:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
[1202/144201.723322:WARNING:minidump_to_upload_parameters.cc(32)] duplicate key guid, discarding value 6f8b4f39cd3745e0bc2fceee745e0cee
[1202/144326.131489:ERROR:http_transport_libcurl.cc(470)] curl_easy_perform: Timeout was reached (28)
[1202/144326.131538:ERROR:rt_monitoring.cc(366)] Monitor`s response is an error or empty, response =
[1202/144326.131590:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq: No such file or directory (2)
[1202/144326.131600:ERROR:file_io_posix.cc(144)] open /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq: No such file or directory (2)
[u.user@pc2 ~]$

Помогите решить почему после первого раза через X11 forwarding, в последущем не запускается.
« Последнее редактирование: 02.12.2022 14:16:02 от al_tux »

Оффлайн al_tux

  • Начинающий
  • *
  • Сообщений: 14
Re: xrdp openbox yandex-browser-stable
« Ответ #1 : 02.12.2022 14:25:23 »
В политике указал

<------>//Задать URL домашней страницы
<---->    "HomepageLocation": "https://ya.ru",

Комментировал стало запускаться.


В консоли, интересуют ошибки. Как убрать?

[15234:71:1202/152137.854660:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[15296:77:1202/152138.088483:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[15880:83:1202/152143.191109:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)
[15894:95:1202/152143.597544:ERROR:process_iterator_linux.cc(68)] opendir /proc: Permission denied (13)




Оффлайн al_tux

  • Начинающий
  • *
  • Сообщений: 14
Re: xrdp openbox yandex-browser-stable
« Ответ #2 : 02.12.2022 15:05:27 »
Если из политик удалить любую настройку, то запуститься разово после также не запускается. При удалении всего файла политик запускается нормально.

Оффлайн al_tux

  • Начинающий
  • *
  • Сообщений: 14
Re: xrdp openbox yandex-browser-stable
« Ответ #3 : 02.12.2022 15:10:17 »
Файл политик, убираю все комментарии, также не работает.

{
//Запретить создание скриншотов в браузере.
    "DisableScreenshots": true,
//Передавать Referer URL при запросе фавиконки сайта.
    "RefererEnabledOnFaviconRequests": false,
//Доступность режима Инкогнито, Режим Инкогнито отключен.
    "IncognitoModeAvailability": 1,

//Запускать вкладки в отдельных процессах
    "SitePerProcess": true,

//Разрешить файлы cookie для всех сайтов.
//Файлы cookie будут удалены после окончания сеанса работы с браузером.
    "DefaultCookiesSetting": 4,


//Включить или отключить возможность изменения закладок
    "EditBookmarksEnabled": false,
//Включить или отключить панель закладок.
    "BookmarkBarEnabled": true,
//Отключить кнопки инструментов на боковой панели
    "DeniedFluteBrowserButtons": ["history", "bookmarks", "notes", "music", "bell", "tab_manager", "portal_login", "screenshot"],
//Отображать боковую панель, Боковая панель скрыта.
    "SidePanelMode": 2,

//Разрешить определять местоположение по умолчанию, запрещено отслеживать местоположение.
    "DefaultGeolocationSetting": 2,

//Отключить поддержку Яндекс ID
    "YandexDisableID": true,

//Задать URL домашней страницы
    "HomepageLocation": "https://ya.ru",

//Отключить Алису
    "YandexAliceMsgDisable": true,

//Запускать вкладки в отдельных процессах
    "SitePerProcess": true,


//Пользователи не могут включить синхронизацию или изменить ее.
    "SyncDisabled": true,
//Настроить автоматическое удаление пользовательских данных
    "BrowsingDataLifetime": [
{
    "time_to_live_in_hours": 24, //Удалять через 24 часа
    "data_types": ["browsing_history", "download_history", "cookies_and_other_site_data", "cached_images_and_files", ]
},
{
    "time_to_live_in_hours": 12, //Удалять через 12 часов
    "data_types": ["password_signin", "autofill", "hosted_app_data", "site_settings", ]
}
    ],


//Задать папку для загрузок
    "DownloadDirectory": "/home/domain/${user_name}/download/",


//Разрешить доступ к списку URL.
//     "URLAllowlist": [
// "example.com",
// "https://server:8080/path",
// "file://*"
//     ],


//Блокировка доступа к списку URL.
    "URLBlocklist": [
// "://policy/", //Групповые политики
"://settings/", //Настройки Браузера
"://tune", //Дополнения
"://passwords-settings/", //Настройки паролей
"://passwords/", //Пароли
"://personal/", //Общая страница личных данных
"://passport.yandex.ru" //Авторизация с ya
    ],


//Прокси
    "ProxySettings": {
"ProxyMode": "fixed_servers",
"ProxyServer": "proxy1.local:8080",
// "ProxyBypassList": "https://www.example1.com,https://www.example2.com,https://internalsite/"
    },


//Задать управляемые закладки.
"ManagedBookmarks": [
//     {"toplevel_name": "corp"},
    {"name": "yandex", "url": "ya.ru"},
    {"name": "gos", "url": "gosuslugi.ru"},
//     {"name": "Моя организация", "children": [
// {"name": "Новости", "url": "news.my-org-site.ru"},
// {"name": "Отдел кадров", "url": "hr.my-org-site.ru"}
// ]
//     },
],


//Установка расширений в закрытом контуре
    "ExtensionSettings": {
"*": {
    "installation_mode": "blocked",
    "blocked_install_message": "Custom error message."
}
//adblockPlus
// "cfhdojbkjhnklbpkdaibdccddilifddb": {
//     "installation_mode": "normal_installed",
// "update_url": "https://example.com/update_url",
// "allowed_permissions": ["downloads"],
// "runtime_blocked_hosts": ["*://*.example.com"],
// "runtime_allowed_hosts": ["*://good.example.com"]
// },
//Adguard
// "bgnkhhnnamicmpeenaelnjfhikgbkllg": {
//     "installation_mode": "normal_installed",
// "update_url": "https://example.com/update_url",
// "allowed_permissions": ["downloads"],
// "runtime_blocked_hosts": ["*://*.example.com"],
// "runtime_allowed_hosts": ["*://good.example.com"]
// },
    },

}

Оффлайн al_tux

  • Начинающий
  • *
  • Сообщений: 14
Re: xrdp openbox yandex-browser-stable
« Ответ #4 : 05.12.2022 16:30:07 »
Вся проблема была в модуле "DeniedFluteBrowserButtons" незнаю почему но с ним не запускается.

Настройка HomepageLocation запускается работает(когда нет вкладок запускает ya.ru), но на странице browser://policy показывает ошибку.
"HomepageLocation": "https://ya.ru",

Вот с такими политиками запускается.
{
    //Запретить создание скриншотов в браузере.
"DisableScreenshots": true,
    //Передавать Referer URL при запросе фавиконки сайта.
"RefererEnabledOnFaviconRequests": true,
    //Доступность режима Инкогнито, Режим Инкогнито отключен.
"IncognitoModeAvailability": 1,
    //Запускать вкладки в отдельных процессах
"SitePerProcess": true,


    //Отключить поддержку Яндекс ID
"YandexDisableID": true,


    //Задать URL домашней страницы
"HomepageLocation": "https://ya.ru",


    //Разрешить файлы cookie для всех сайтов.
    //Файлы cookie будут удалены после окончания сеанса работы с браузером.
"DefaultCookiesSetting": 4,


    //Отключить кнопки инструментов на боковой панели
// "DeniedFluteBrowserButtons": ["history", "bookmarks", "notes", "music", "bell", "tab_manager", "portal_login", "screenshot"],
    //Отображать боковую панель, Боковая панель скрыта.
"SidePanelMode": 2,


    //Задать папку для загрузок
"DownloadDirectory": "/home/domain/${user_name}/download/",



    //Разрешить определять местоположение по умолчанию, запрещено отслеживать местоположение.
"DefaultGeolocationSetting": 2,


    //Пользователи не могут включить синхронизацию или изменить ее.
"SyncDisabled": true,
    //Настроить автоматическое удаление пользовательских данных
"BrowsingDataLifetime": [
    {
"time_to_live_in_hours": 24, //Удалять через 24 часа
"data_types": ["browsing_history", "download_history", "cookies_and_other_site_data", "cached_images_and_files", ]
    },
    {
"time_to_live_in_hours": 12, //Удалять через 12 часов
"data_types": ["password_signin", "autofill", "hosted_app_data", "site_settings", ]
    }
],


    //Включить или отключить возможность изменения закладок
"EditBookmarksEnabled": false,
    //Включить или отключить панель закладок.
"BookmarkBarEnabled": true,
    //Задать управляемые закладки.
"ManagedBookmarks": [
    {"toplevel_name": "corp"},
//     {"name": "policy", "url": "browser://policy/"},
    {"name": "ya", "url": "ya.ru/"},
],


    //Блокировка доступа к списку URL.
"URLBlocklist": [
    "://policy/", //Групповые политики
    "://settings/", //Настройки Браузера
    "://tune", //Дополнения
    "://passwords-settings/", //Настройки паролей
    "://passwords/", //Пароли
    "://personal/", //Общая страница личных данных
    "://passport.yandex.ru" //Авторизация с ya
],


    //Прокси
"ProxySettings": {
    "ProxyMode": "fixed_servers",
    "ProxyServer": "proxy1.local:8080",
//     "ProxyBypassList": "https://www.example1.com,https://www.example2.com,https://internalsite/"
},

//Основная ветка
}
« Последнее редактирование: 05.12.2022 16:32:37 от al_tux »