{"action":"created","issue":{"url":"https://api.github.com/repos/dnschneid/crouton/issues/2623","repository_url":"https://api.github.com/repos/dnschneid/crouton","labels_url":"https://api.github.com/repos/dnschneid/crouton/issues/2623/labels{/name}","comments_url":"https://api.github.com/repos/dnschneid/crouton/issues/2623/comments","events_url":"https://api.github.com/repos/dnschneid/crouton/issues/2623/events","html_url":"https://github.com/dnschneid/crouton/issues/2623","id":159848994,"number":2623,"title":"autostart scripts generates wrong command ?","user":{"login":"pebauer68","id":19895004,"avatar_url":"https://avatars.githubusercontent.com/u/19895004?v=3","gravatar_id":"","url":"https://api.github.com/users/pebauer68","html_url":"https://github.com/pebauer68","followers_url":"https://api.github.com/users/pebauer68/followers","following_url":"https://api.github.com/users/pebauer68/following{/other_user}","gists_url":"https://api.github.com/users/pebauer68/gists{/gist_id}","starred_url":"https://api.github.com/users/pebauer68/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pebauer68/subscriptions","organizations_url":"https://api.github.com/users/pebauer68/orgs","repos_url":"https://api.github.com/users/pebauer68/repos","events_url":"https://api.github.com/users/pebauer68/events{/privacy}","received_events_url":"https://api.github.com/users/pebauer68/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-12T21:33:06Z","updated_at":"2016-06-13T18:29:19Z","closed_at":null,"body":"I am running xenial on Asus C100 with xiwi, Chrome 51 beta.\r\ncrouton manul start works fine, but the autostart command parsing fails ?\r\n\r\nAutostart configured accroding to:\r\nhttps://github.com/dnschneid/crouton/wiki/Autostart-crouton-chroot-at-ChromeOS-startup\r\n\r\nThe Autosart script has a bug ?\r\nIs the passed command wrong, or is it missing a parameter ?\r\noutput in /var/log/message:\r\nlocalhost bin # sudo /usr/local/bin/enter-chroot -c /usr/local/chroots -n xenial -X xiwi xfce4-terminal\r\nEntering /mnt/stateful_partition/crouton/chroots/xenial...\r\n(xfce4-terminal:749): Gtk-WARNING **: cannot open display:\r\nUnmounting /mnt/stateful_partition/crouton/chroots/xenial...\r\nSending SIGTERM to processes under /mnt/stateful_partition/crouton/chroots/xenial...\r\n\r\nThis would work (tested via ssh login):\r\nlocalhost bin # sudo /usr/local/bin/enter-chroot xiwi xfce4-terminal\r\n\r\nBest Regards,\r\nPeter\r\npebauer68@gmail.com"},"comment":{"url":"https://api.github.com/repos/dnschneid/crouton/issues/comments/225667637","html_url":"https://github.com/dnschneid/crouton/issues/2623#issuecomment-225667637","issue_url":"https://api.github.com/repos/dnschneid/crouton/issues/2623","id":225667637,"user":{"login":"pebauer68","id":19895004,"avatar_url":"https://avatars.githubusercontent.com/u/19895004?v=3","gravatar_id":"","url":"https://api.github.com/users/pebauer68","html_url":"https://github.com/pebauer68","followers_url":"https://api.github.com/users/pebauer68/followers","following_url":"https://api.github.com/users/pebauer68/following{/other_user}","gists_url":"https://api.github.com/users/pebauer68/gists{/gist_id}","starred_url":"https://api.github.com/users/pebauer68/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pebauer68/subscriptions","organizations_url":"https://api.github.com/users/pebauer68/orgs","repos_url":"https://api.github.com/users/pebauer68/repos","events_url":"https://api.github.com/users/pebauer68/events{/privacy}","received_events_url":"https://api.github.com/users/pebauer68/received_events","type":"User","site_admin":false},"created_at":"2016-06-13T18:29:19Z","updated_at":"2016-06-13T18:29:19Z","body":"Thank you for your help:\r\nThe \"-X\" Parameter ist too much for my configuration, it comes from your file crouton.conf located here:\r\nhttps://gist.githubusercontent.com/DennisLfromGA/6443733/raw/c24908947576ad0687ac5006427fc48a51bc774c/crouton.conf\r\n\r\nI changed lines 207 in crouton conf and now it works:\r\nplease check line 207: \r\ncase $XMETHOD in\r\n    xorg|xiwi|xephyr)\r\n      XMARG=\"$XMETHOD\"      /*this works for me\r\n\r\nyour original file:\r\ncase $XMETHOD in\r\n    xorg|xiwi|xephyr)\r\n      XMARG=\"-X $XMETHOD\"       /*this gives me wrong/unknown parameter error\r\n\r\ncrouton.init:\r\nCHROOT=xenial\r\nSTART_DE=startxiwi\r\nCHROOT_APP=xfce4-terminal\r\n\r\nBest Regards,\r\nPeter\r\nhttp://www.bitkistl.com"}}
{"actor":{"display_login":"pebauer68"}}