You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Debian 11升级Viber至18.2.0.2后出现xkbcommon启动错误

Viber 18.2.0.2 在 Debian 11 (bullseye) 中无法启动的解决方法

问题背景

Debian GNU/Linux 11(bullseye)系统中,原本正常运行的Viber 16.1.0.37升级至18.2.0.2后无法启动。通过官方页面下载viber.deb包执行标准安装流程无报错,但启动失败;新版本AppImage运行时也出现相同错误,仅旧版本16.1.0.37的AppImage可正常启动。

安装流程及输出

$ sudo dpkg -i viber.deb 
[sudo] password for tedy58: 
(Reading database ... 569896 files and directories currently installed.)
Preparing to unpack viber.deb ...
Unpacking viber (18.2.0.2) over (16.1.0.37) ...
Setting up viber (18.2.0.2) ...
Processing triggers for gnome-menus (3.36.0-1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for mailcap (3.69) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

启动报错信息

直接运行安装目录下的Viber:

$ /opt/viber/./Viber

输出日志:

qt.webenginecontext: 
GLImplementation: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.6
Using Default SG Backend: yes
Using Software Dynamic GL: no
Using Angle: no

Init Parameters:
allow-loopback-in-peer-connection  
application-name ViberPC 
autoplay-policy no-user-gesture-required 
browser-subprocess-path /opt/viber/libexec/QtWebEngineProcess 
create-default-gl-context  
disable-features DnsOverHttpsUpgrade,ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture,AudioServiceOutOfProcess 
disable-setuid-sandbox  
disable-speech-api  
enable-features NetworkServiceInProcess,TracingServiceInProcess,NetworkServiceInProcess 
enable-threaded-compositing  
enable-usermedia-screen-capture  
in-process-gpu  
use-gl desktop 

xkbcommon: ERROR: Couldn't process include statement for 'us(phonetic)'
xkbcommon: ERROR: Abandoning symbols file "(unnamed)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: Failed to compile keymap
[19745:19777:0207/163441.884845:FATAL:xkb_keyboard_layout_engine.cc(640)] Keymap file failed to load: us-phonetic
Trace/breakpoint trap

新版本AppImage运行错误:

$ ./viber18.2.0.2.AppImage

输出日志:

/run.sh: line 17: [: too many arguments
qt.webenginecontext: 

GLImplementation: desktop
Surface Type: OpenGL
Surface Profile: CompatibilityProfile
Surface Version: 4.6
Using Default SG Backend: yes
Using Software Dynamic GL: no
Using Angle: no

Init Parameters:
  *  allow-loopback-in-peer-connection
  *  application-name ViberPC 
  *  autoplay-policy no-user-gesture-required 
  *  browser-subprocess-path /tmp/.mount_viber1vJhu0i/libexec/QtWebEngineProcess 
  *  create-default-gl-context  
  *  disable-features DnsOverHttpsUpgrade,ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture,AudioServiceOutOfProcess 
  *  disable-setuid-sandbox  
  *  disable-speech-api  
  *  enable-features NetworkServiceInProcess,TracingServiceInProcess,NetworkServiceInProcess 
  *  enable-threaded-compositing  
  *  enable-usermedia-screen-capture  
  *  in-process-gpu  
  *  use-gl desktop 

xkbcommon: ERROR: Couldn't process include statement for 'us(phonetic)'
xkbcommon: ERROR: Abandoning symbols file "(unnamed)"
xkbcommon: ERROR: Failed to compile xkb_symbols
xkbcommon: ERROR: Failed to compile keymap
[24666:24702:0207/174947.609811:FATAL:xkb_keyboard_layout_engine.cc(640)] Keymap file failed to load: us-phonetic
../run.sh: line 80: 24666 Trace/breakpoint trap   ../Viber

解决方案

  • 打开系统的键盘布局设置
  • 将非英语布局(例如保加利亚语)调整为布局列表中的首位
  • 重新启动Viber即可解决该xkbcommon错误

内容的提问来源于stack exchange,提问作者tedy58

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.01 23:20:39