{"action":"created","issue":{"url":"https://api.github.com/repos/reds-heig/logisim-evolution/issues/166","repository_url":"https://api.github.com/repos/reds-heig/logisim-evolution","labels_url":"https://api.github.com/repos/reds-heig/logisim-evolution/issues/166/labels{/name}","comments_url":"https://api.github.com/repos/reds-heig/logisim-evolution/issues/166/comments","events_url":"https://api.github.com/repos/reds-heig/logisim-evolution/issues/166/events","html_url":"https://github.com/reds-heig/logisim-evolution/issues/166","id":340869441,"node_id":"MDU6SXNzdWUzNDA4Njk0NDE=","number":166,"title":"[Issue] Exception in thread \"main\" java.awt.HeadlessException when sshed on a remote server","user":{"login":"ThaumicMekanism","id":17736421,"node_id":"MDQ6VXNlcjE3NzM2NDIx","avatar_url":"https://avatars3.githubusercontent.com/u/17736421?v=4","gravatar_id":"","url":"https://api.github.com/users/ThaumicMekanism","html_url":"https://github.com/ThaumicMekanism","followers_url":"https://api.github.com/users/ThaumicMekanism/followers","following_url":"https://api.github.com/users/ThaumicMekanism/following{/other_user}","gists_url":"https://api.github.com/users/ThaumicMekanism/gists{/gist_id}","starred_url":"https://api.github.com/users/ThaumicMekanism/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ThaumicMekanism/subscriptions","organizations_url":"https://api.github.com/users/ThaumicMekanism/orgs","repos_url":"https://api.github.com/users/ThaumicMekanism/repos","events_url":"https://api.github.com/users/ThaumicMekanism/events{/privacy}","received_events_url":"https://api.github.com/users/ThaumicMekanism/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-13T03:32:38Z","updated_at":"2018-07-13T15:30:31Z","closed_at":null,"author_association":"NONE","body":"Hello, I am having this error when I try to run logisim evolution on a remote server in tty table mode:\r\n\r\n> Exception in thread \"main\" java.awt.HeadlessException:\r\n> No X11 DISPLAY variable was set, but this program performed an operation which requires it.\r\n>         at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)\r\n>         at java.awt.Window.<init>(Window.java:536)\r\n>         at java.awt.Frame.<init>(Frame.java:420)\r\n>         at java.awt.Frame.<init>(Frame.java:385)\r\n>         at javax.swing.SwingUtilities$SharedOwnerFrame.<init>(SwingUtilities.java:1758)\r\n>         at javax.swing.SwingUtilities.getSharedOwnerFrame(SwingUtilities.java:1833)\r\n>         at javax.swing.JOptionPane.getRootFrame(JOptionPane.java:1696)\r\n>         at javax.swing.JOptionPane.showOptionDialog(JOptionPane.java:863)\r\n>         at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:666)\r\n>         at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:637)\r\n>         at javax.swing.JOptionPane.showMessageDialog(JOptionPane.java:608)\r\n>         at com.cburch.logisim.Main.main(Unknown Source)\r\n\r\nWe have tried to forward the display but our server does not allow for it and no one has access to doing that. I had then tried older versions of logisim evolution (since it did work on the original logisim) and discovered that the latest version I could get it to work with was 2.13.10 and it does NOT work with 2.13.14. (Note: I had tried to compile the version in between them but was having compilation issues and did not want to spend too much time doing that). Do you have any idea what changed to make it so that tty table is now requiring the graphical interface to load? Like was this intentional or is this just a mistake?\r\n\r\nThanks, Hopefully, you can take a look at this quickly since we want to use this with a project but are having issues where students cannot test their projects because of this issue. (They need to test on the remote server but they still build it on their local machine)"},"comment":{"url":"https://api.github.com/repos/reds-heig/logisim-evolution/issues/comments/404868090","html_url":"https://github.com/reds-heig/logisim-evolution/issues/166#issuecomment-404868090","issue_url":"https://api.github.com/repos/reds-heig/logisim-evolution/issues/166","id":404868090,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNDg2ODA5MA==","user":{"login":"maehne","id":1174243,"node_id":"MDQ6VXNlcjExNzQyNDM=","avatar_url":"https://avatars1.githubusercontent.com/u/1174243?v=4","gravatar_id":"","url":"https://api.github.com/users/maehne","html_url":"https://github.com/maehne","followers_url":"https://api.github.com/users/maehne/followers","following_url":"https://api.github.com/users/maehne/following{/other_user}","gists_url":"https://api.github.com/users/maehne/gists{/gist_id}","starred_url":"https://api.github.com/users/maehne/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maehne/subscriptions","organizations_url":"https://api.github.com/users/maehne/orgs","repos_url":"https://api.github.com/users/maehne/repos","events_url":"https://api.github.com/users/maehne/events{/privacy}","received_events_url":"https://api.github.com/users/maehne/received_events","type":"User","site_admin":false},"created_at":"2018-07-13T15:30:31Z","updated_at":"2018-07-13T15:30:31Z","author_association":"CONTRIBUTOR","body":"> We have tried to forward the display but our server does not allow for it and no one has access to doing that.\r\n\r\nJust to make sure: You tried to connect to the server via ```ssh -X <server>``` and ```ssh -Y <server``` to forward the display? Sometimes SSH servers only accept one of the two variants.\r\n\r\nVersion 2.13.14 was released in December 2015. Have you tried with the lates released version of logisim-evolution, i.e., version [2.14.6](https://github.com/reds-heig/logisim-evolution/releases)?\r\n\r\nI am not familiar enough with the source to make a good guess, why the tty table mode has stopped working when no DISPLAY variable is present. Hopefully, someone of the main developers can have a look at it, but they might be well occupied with tasks linked to the end of the spring term."}}
{"actor":{"display_login":"maehne"}}