我想用最新版,但不相容於我的舊系統的 kdevelop ,所以試著放在 docker 中使用。
但不知為何總是無法啟動。
docker 中使用的是 debian buster,為了硬體加速,nv 驅動也裝了。
glxgears 、 konsole 都可以開,就 kdevelop 不行。
請問要如何使用呢?
------------------
docker 啟動指令是:
docker run -ti --rm
-e DISPLAY=$DISPLAY
-v /tmp/.X11-unix:/tmp/.X11-unix
--device /dev/snd
--net=host
--shm-size 2g
fdc
執行後的錯誤訊息如下:
$ kdevelop
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-sppmg'
kdevplatform.serialization: version-hint not found, seems to be an old version
kdevplatform.serialization: "The data-repository at /home/sppmg/.cache/kdevduchain/kdevelop-{999c931b-ece1-4542-82dc-9c2fdaf9d6d3} has to be cleared."
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-sppmg'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-sppmg'
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/man.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/man.so'
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
"Not connected to D-Bus server"
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
"Not connected to D-Bus server"
...... (重複好幾次)
Segmentation fault
--
但不知為何總是無法啟動。
docker 中使用的是 debian buster,為了硬體加速,nv 驅動也裝了。
glxgears 、 konsole 都可以開,就 kdevelop 不行。
請問要如何使用呢?
------------------
docker 啟動指令是:
docker run -ti --rm
-e DISPLAY=$DISPLAY
-v /tmp/.X11-unix:/tmp/.X11-unix
--device /dev/snd
--net=host
--shm-size 2g
fdc
執行後的錯誤訊息如下:
$ kdevelop
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-sppmg'
kdevplatform.serialization: version-hint not found, seems to be an old version
kdevplatform.serialization: "The data-repository at /home/sppmg/.cache/kdevduchain/kdevelop-{999c931b-ece1-4542-82dc-9c2fdaf9d6d3} has to be cleared."
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-sppmg'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-sppmg'
kdeinit5: Got EXEC_NEW '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/man.so' from launcher.
kdeinit5: preparing to launch '/usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/kio/man.so'
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
"Not connected to D-Bus server"
Failed enumerating UDisks2 objects: "org.freedesktop.DBus.Error.Disconnected"
"Not connected to D-Bus server"
...... (重複好幾次)
Segmentation fault
--
All Comments