{"action":"created","issue":{"url":"https://api.github.com/repos/t-oster/VisiCut/issues/41","labels_url":"https://api.github.com/repos/t-oster/VisiCut/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/t-oster/VisiCut/issues/41/comments","events_url":"https://api.github.com/repos/t-oster/VisiCut/issues/41/events","html_url":"https://github.com/t-oster/VisiCut/issues/41","id":8335265,"number":41,"title":"SingleInstance vs. multiple X display","user":{"login":"mgmax","id":1520891,"avatar_url":"https://avatars.githubusercontent.com/u/1520891?v=3","gravatar_id":"","url":"https://api.github.com/users/mgmax","html_url":"https://github.com/mgmax","followers_url":"https://api.github.com/users/mgmax/followers","following_url":"https://api.github.com/users/mgmax/following{/other_user}","gists_url":"https://api.github.com/users/mgmax/gists{/gist_id}","starred_url":"https://api.github.com/users/mgmax/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgmax/subscriptions","organizations_url":"https://api.github.com/users/mgmax/orgs","repos_url":"https://api.github.com/users/mgmax/repos","events_url":"https://api.github.com/users/mgmax/events{/privacy}","received_events_url":"https://api.github.com/users/mgmax/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2012-11-13T20:42:16Z","updated_at":"2015-12-21T16:40:53Z","closed_at":"2012-11-14T08:19:45Z","body":"Hi,\r\n\r\nplease only do singleInstance once per X11 $DISPLAY.\r\n\r\nmax@max-thinkpad:~$ ssh -X localhost 'echo $DISPLAY; visicut' &\r\nlocalhost:10.0\r\n(visicut starts normally)\r\n\r\n(while first session is running:)\r\nmax@max-thinkpad:~$ ssh -X localhost 'echo $DISPLAY; visicut'\r\nlocalhost:11.0\r\n(visicut exits immediately because it notices the other instance)\r\n\r\nThis needs changes in the single-instance java code and in the inkscape plugin. Ugly workaround: Just convert the display string to some number (10.0 -> 100) and add this to the port number?\r\n\r\nThanks\r\n\r\nMax"},"comment":{"url":"https://api.github.com/repos/t-oster/VisiCut/issues/comments/166354164","html_url":"https://github.com/t-oster/VisiCut/issues/41#issuecomment-166354164","issue_url":"https://api.github.com/repos/t-oster/VisiCut/issues/41","id":166354164,"user":{"login":"t-oster","id":1052720,"avatar_url":"https://avatars.githubusercontent.com/u/1052720?v=3","gravatar_id":"","url":"https://api.github.com/users/t-oster","html_url":"https://github.com/t-oster","followers_url":"https://api.github.com/users/t-oster/followers","following_url":"https://api.github.com/users/t-oster/following{/other_user}","gists_url":"https://api.github.com/users/t-oster/gists{/gist_id}","starred_url":"https://api.github.com/users/t-oster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-oster/subscriptions","organizations_url":"https://api.github.com/users/t-oster/orgs","repos_url":"https://api.github.com/users/t-oster/repos","events_url":"https://api.github.com/users/t-oster/events{/privacy}","received_events_url":"https://api.github.com/users/t-oster/received_events","type":"User","site_admin":false},"created_at":"2015-12-21T16:40:53Z","updated_at":"2015-12-21T16:40:53Z","body":"(also in my opinion if two users are working on the same machine they should use different user accounts). But still, just call VisiCut with differnt singleinstance paramters as often as you like"}}