I burn a customized recovery image onto a sdcard that gives me ssh and adb access over wifi. I mount the sdcard and successfully get into the Linux Distro image.
I enter these commands over adb on the device and x11 will not show up. I've already installed the drivers into the linux distro.
startx -- tty01 -sharevts -novtswitch
while true; do echo 1 > /sys/class/graphics/fb0/epd_refresh; sleep 2; done & xterm
It throws error saying display is not set. I try to set display with
set DISPLAY: 0 or
set DISPLAY: 1 or
set DISPLAY :tty01
Fatal server error: Can't read lock file /tmp/.X0-lock
Please consult the The X.Org Foundation support at http://wiki.x.org for help. ddxSigGiveUp: Closing log
giving up. xinit: Stale NFS file handle (errno 116): unable to connect to X server xinit: No such process (errno 3): Server error.
Here are some links of instructions that I followed.
Some information has been deleted as it was no longer needed and the problem has been fixed, but startx is still being difficult to launch.
I have managed to get one step closer by running fsck.ext2 -fyc /sdcard/ubuntu.img while running the aforementioned startx command these errors popped up.
What should I do now with this information?
Here, I try to find the device files for the screen. I look into graphics and fb0 is beyond my knowledge. (NOTE THIS IS THE ANDROID's DEVICE DIRECTORY)