Headless Exception on Code Server with Ipad Pro and Raspberry Pi #5252
-
I am using Code Server on my iPad with a Raspberry Pi and I am running a Java Project. I downloaded JDK onto my Raspberry Pi and when I run my program it says: "No X11 DISPLAY variable was set, but this program performed an operation which requires it." I am assuming it has something to do with me being on iPad. I would appreciate the help! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 4 replies
-
Have you tried enabling VNC and using that? Could help |
Beta Was this translation helpful? Give feedback.
-
How are you running code-server and accessing via your iPad? |
Beta Was this translation helpful? Give feedback.
-
Nvm, I fixed it, the program I was running was accidentally calling a different function with a JavaSwing GUI. The GUI was probably the reason for throwing the error since the iPad can't run the GUI for some reason. But now it works and I can run VSCode on my iPad! |
Beta Was this translation helpful? Give feedback.
-
I have connected pi to my ipad, now trying to install code server But I'm getting this error ! |
Beta Was this translation helpful? Give feedback.
Nvm, I fixed it, the program I was running was accidentally calling a different function with a JavaSwing GUI. The GUI was probably the reason for throwing the error since the iPad can't run the GUI for some reason. But now it works and I can run VSCode on my iPad!