I'm having exactly the same issue that Kevin has in here: https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/928125/ccs-msp430f5529-error-trying-to-build-ccs-projects-using-the-eclipse-cli
Do you know how can I solve it? I'm running CCS12 on a ubuntu 20.04 machine.
The command used is:
$HOME/ti/ccs1210/ccs/eclipse/eclipse -noSplash -data #$HOME/builds/${{github.job}} -application com.ti.ccstudio.apps.projectBuild #-ccs.projects "tahoe-bootloader" -ccs.configuration F28075_FLASH
The response obtained is:
Unable to init server: Could not connect: Connection refused Unable to init server: Could not connect: Connection refused Eclipse: Cannot open display: Eclipse: An error has occurred. See the log file /home/runner/ti/ccs1210/ccs/eclipse/configuration/1670616310106.log.
2022-12-09T20:05:11.8944107Z /home/runner/ti/ccs1210/ccs/eclipse/configuration/1670616310106.log 2022-12-09T20:05:11.8944584Z !SESSION 2022-12-09 20:05:09.968 ----------------------------------------------- 2022-12-09T20:05:11.8944969Z eclipse.buildId=4.23.0.I20220308-0310 2022-12-09T20:05:11.8945223Z java.version=11.0.13 2022-12-09T20:05:11.8945467Z java.vendor=Eclipse Adoptium 2022-12-09T20:05:11.8945758Z BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en 2022-12-09T20:05:11.8946099Z Framework arguments: -data 2022-12-09T20:05:11.8946481Z Command-line arguments: -os linux -ws gtk -arch x86_64 -data 2022-12-09T20:05:11.8946746Z 2022-12-09T20:05:11.8946965Z !ENTRY org.eclipse.osgi 4 0 2022-12-09 20:05:11.665 2022-12-09T20:05:11.8947241Z !MESSAGE Application error 2022-12-09T20:05:11.8947469Z !STACK 1 2022-12-09T20:05:11.8947780Z org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed] 2022-12-09T20:05:11.8948128Z at org.eclipse.swt.SWT.error(SWT.java:4944) 2022-12-09T20:05:11.8948554Z at org.eclipse.swt.widgets.Display.createDisplay(Display.java:1167) 2022-12-09T20:05:11.8949024Z at org.eclipse.swt.widgets.Display.create(Display.java:1091) 2022-12-09T20:05:11.8949404Z at org.eclipse.swt.graphics.Device.<init>(Device.java:168) 2022-12-09T20:05:11.8949828Z at org.eclipse.swt.widgets.Display.<init>(Display.java:643) 2022-12-09T20:05:11.8950205Z at org.eclipse.swt.widgets.Display.<init>(Display.java:634) 2022-12-09T20:05:11.8950630Z at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:742) 2022-12-09T20:05:11.8951085Z at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:168) 2022-12-09T20:05:11.8951634Z at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:182) 2022-12-09T20:05:11.8952256Z at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:125) 2022-12-09T20:05:11.8952824Z at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203) 2022-12-09T20:05:11.8953474Z at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136) 2022-12-09T20:05:11.8954179Z at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104) 2022-12-09T20:05:11.8954767Z at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) 2022-12-09T20:05:11.8955287Z at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255) 2022-12-09T20:05:11.8955882Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 2022-12-09T20:05:11.8956392Z at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 2022-12-09T20:05:11.8956930Z at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 2022-12-09T20:05:11.8957393Z at java.base/java.lang.reflect.Method.invoke(Unknown Source) 2022-12-09T20:05:11.8957813Z at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659) 2022-12-09T20:05:11.8958253Z at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596) 2022-12-09T20:05:11.8958653Z at org.eclipse.equinox.launcher.Main.run(Main.java:1467) 2022-12-09T20:05:11.8959049Z at org.eclipse.equinox.launcher.Main.main(Main.java:1440) 2022-12-09T20:05:11.8959268Z