Jump to...
redirecting...

Log for Ubuntu 台灣社群

https://packages.ubuntu.com/bionic/amd64/libssl1.0.0/download
我好像是從這邊拉 .deb 硬裝上去的 (
[sticker](media:AAMCBQADHQI9GfldAAEBJTVg09gdEExPVTKvcecaKsi6geOgDgACMQADLQWvJCk2kKlDgUWyGbDaa3QAAwEAB20AA_0aAAIfBA@telegram)
我也有硬裝上去,
docker 的錯誤嗎?
chchang@hqdc039:~/git/personal-income-tax-docker$ ./run.sh
+ sudo /etc/init.d/pcscd stop
Stopping pcscd (via systemctl): pcscd.serviceWarning: Stopping pcscd.service, but it can still be activated by:
  pcscd.socket
.
+ sudo systemctl stop pcscd
Warning: Stopping pcscd.service, but it can still be activated by:
  pcscd.socket
+ sudo systemctl stop pcscd.socket
+ sudo killall scdaemon
scdaemon:找不到任何行程
+ xhost +localhost
localhost being added to access control list
+ xdg-user-dir DOWNLOAD
+ docker run -ti --rm -e XMODIFIERS=@im=fcitx -e LANGUAGE=zh_TW:zh_HK:en_US:en -e LC_ALL=en_US.UTF-8 -e LANG=zh_TW.UTF-8 -e LC_CTYPE= -e DISPLAY=:1 --privileged -v /dev/bus/usb:/dev/bus/usb -v /home/chchang/Downloads:/home/firefox/Downloads -v /tmp/.X11-unix:/tmp/.X11-unix --shm-size 256m chihchun/personal-income-tax:latest
+ sudo pcscd -d -f
+ + teesudo /tmp/pcscd.log /usr/local/share/NHIICC/mLNHIICC

+ cd /usr/local/HiPKILocalSignServerApp
+ ./start.sh
/usr/local/HiPKILocalSignServerApp/HiPKILocalSignServer
00000000 pcscdaemon.c:347:main() pcscd set to foreground with debug send to stdout
00000278 configfile.l:285:DBGetReaderListDir() Parsing conf directory: /etc/reader.conf.d
00000018 configfile.l:322:DBGetReaderListDir() Skipping non regular file: ..
00000003 configfile.l:322:DBGetReaderListDir() Skipping non regular file: .
00000003 configfile.l:361:DBGetReaderList() Parsing conf file: /etc/reader.conf.d/libccidtwin
00000067 pcscdaemon.c:662:main() pcsc-lite 1.8.23 daemon ready.
+ firefox --profile /home/firefox/.mozilla/firefox/default https://github.com/chihchun/personal-income-tax-docker/blob/master/README.md https://emask.taiwan.gov.tw/msk/index.jsp https://efile.tax.nat.gov.tw/irxw/index.jsp https://iccert.nhi.gov.tw:7777 https://cloudicweb.nhi.gov.tw/cloudic/system/SMC/webtesting/SampleY.aspx
00003310 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/003/001
00000244 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0003, path: /dev/bus/usb/004/001
00000221 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000128 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/001/001
00000128 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/001/002
00000131 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x0A12, PID: 0x0001, path: /dev/bus/usb/001/004
00000127 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x0A12, PID: 0x0001, path: /dev/bus/usb/001/004
00000126 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/001/002
00000256 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000102 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x1D6B, PID: 0x0002, path: /dev/bus/usb/002/001
00000110 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/002/002
00000117 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x0483, PID: 0x5710, path: /dev/bus/usb/002/003
00000113 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x0483, PID: 0x5710, path: /dev/bus/usb/002/003
00000140 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/002/002
00000218 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x0461, PID: 0x4DE2, path: /dev/bus/usb/002/004
00000126 hotplug_libudev.c:297:get_driver() Looking for a driver for VID: 0x8087, PID: 0x0024, path: /dev/bus/usb/002/002
No protocol specified
Unable to init server: Could not connect: Connection refused
Error: cannot open display: :1
自問自答一下
修改 run.sh 把 xhost +localhost 改成 xhost + 就可以啟動了
想问一下,用./ 来启动一个bash,如何让其后台执行不占用终端