How to debug a Kiosk Chrome application running on a Chromebox?

后端 未结 3 1723
栀梦
栀梦 2020-12-14 19:10

A Chrome Kiosk application that I wrote has a problem only when running in Kiosk mode on a Chromebox. When staring the application manually after I log into the Chromebox it

3条回答
  •  萌比男神i
    2020-12-14 19:48

    In the hopes of saving other a bit of time in the future, I found that you do not need to ssh in as the chronos user when attempting to debug an app that is running in kiosk mode.

    In fact, I found that I was unable to ssh in as the chronos user while the device was running an app in unmanaged kiosk mode at all, however, I could while logged in to the OS.

    Instead I had to ssh in as the root user. I was then able to setup the tunnel as documented by Reilly Grant and connect to the remote debugger via localhost:9222.

    This means that the only change you need to make to Reilly Grant's instructions are in Step 5 change ssh -L9222:127.0.0.1:9222 chronos@ to ssh -L9222:127.0.0.1:9222 root@

提交回复
热议问题