{"action":"created","issue":{"url":"https://api.github.com/repos/drtyhlpr/rpi2-gen-image/issues/10","labels_url":"https://api.github.com/repos/drtyhlpr/rpi2-gen-image/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/drtyhlpr/rpi2-gen-image/issues/10/comments","events_url":"https://api.github.com/repos/drtyhlpr/rpi2-gen-image/issues/10/events","html_url":"https://github.com/drtyhlpr/rpi2-gen-image/issues/10","id":124585415,"number":10,"title":"Detached screen terminals get terminated when you log out","user":{"login":"fangfufu","id":2323403,"avatar_url":"https://avatars.githubusercontent.com/u/2323403?v=3","gravatar_id":"","url":"https://api.github.com/users/fangfufu","html_url":"https://github.com/fangfufu","followers_url":"https://api.github.com/users/fangfufu/followers","following_url":"https://api.github.com/users/fangfufu/following{/other_user}","gists_url":"https://api.github.com/users/fangfufu/gists{/gist_id}","starred_url":"https://api.github.com/users/fangfufu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fangfufu/subscriptions","organizations_url":"https://api.github.com/users/fangfufu/orgs","repos_url":"https://api.github.com/users/fangfufu/repos","events_url":"https://api.github.com/users/fangfufu/events{/privacy}","received_events_url":"https://api.github.com/users/fangfufu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2016-01-02T11:02:51Z","updated_at":"2016-01-07T19:57:10Z","closed_at":null,"body":"GNU Screen works in a weird way in the image generated using your script - detached screen terminals get terminated when you log out. \r\n\r\nTo test this, you need to connect to your Raspberry Pi 2 via SSH, and then do the following: \r\n\r\n    $ ssh $IP_ADDRESS\r\n    $ screen\r\n    # type in ctrl +d to detach your screen session\r\n    $ screen -r\r\n    # re-attachment works correctly\r\n    # type in ctrl +d to detach your screen session\r\n    $ exit # we are logging out from \r\n    #let's log back in via SSH\r\n    ssh $IP_ADDRESS\r\n    $ screen -r\r\n    There is no screen to be resumed.\r\n\r\n\r\nI have no idea how to fix this, apologies if I haven't explained myself properly. I have never encountered this problem before, I have no idea what to type in to Google in order to search for solutions. \r\n\r\nThis is how I generated my image:\r\n\r\n    APT_SERVER=\"http.debian.net\" HOSTNAME=\"vanguard\" PASSWORD=\"afvzsdcx\" DEFLOCAL=\"en_GB.UTF-8\" TIMEZONE=\"Europe/London\" ENABLE_CONSOLE=true ENABLE_IPV6=true ENABLE_SSHD=true ENABLE_SOUND=false ENABLE_MINGPU=true ENABLE_DBUS=false ENABLE_XORG=false ENABLE_UBOOT=true ./rpi2-gen-image.sh\r\n\r\n\r\nI had to install dbus after generating the image by running:\r\n\r\n    sudo apt-get install dbus"},"comment":{"url":"https://api.github.com/repos/drtyhlpr/rpi2-gen-image/issues/comments/169789058","html_url":"https://github.com/drtyhlpr/rpi2-gen-image/issues/10#issuecomment-169789058","issue_url":"https://api.github.com/repos/drtyhlpr/rpi2-gen-image/issues/10","id":169789058,"user":{"login":"drtyhlpr","id":16102535,"avatar_url":"https://avatars.githubusercontent.com/u/16102535?v=3","gravatar_id":"","url":"https://api.github.com/users/drtyhlpr","html_url":"https://github.com/drtyhlpr","followers_url":"https://api.github.com/users/drtyhlpr/followers","following_url":"https://api.github.com/users/drtyhlpr/following{/other_user}","gists_url":"https://api.github.com/users/drtyhlpr/gists{/gist_id}","starred_url":"https://api.github.com/users/drtyhlpr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drtyhlpr/subscriptions","organizations_url":"https://api.github.com/users/drtyhlpr/orgs","repos_url":"https://api.github.com/users/drtyhlpr/repos","events_url":"https://api.github.com/users/drtyhlpr/events{/privacy}","received_events_url":"https://api.github.com/users/drtyhlpr/received_events","type":"User","site_admin":false},"created_at":"2016-01-07T19:57:10Z","updated_at":"2016-01-07T19:57:10Z","body":"thanks - but of course I do not want to offer a script without working screen and ping / which are very essential utilities :)\r\n\r\nI am happy you like it - I just created it to save people time / maybe bring some people back to smaller OS sizes (and finally to RIOT OS... hehe) / work on their project instead of messing with the bootstrapping etc."}}