How can I transfer my cygwin install to another computer and avoid the resource unavailable error?












0















I have a fresh cygwin 64 bit installation that I created using Cygwin's setup process (setup_x64.exe with --no-admin). Part of the packages I've installed are 'xfce4', 'openbox' and 'fbpanel'. My goal was to customize the menu a bit and prepare it for use by other folks on my team. Having done that, I created a 7zip of the 'C:cygwin64' directory. This is something I've had success with previously and yes, I've used the rebaseall -v command.



However, with this most recent image, I'm unable to avoid the dreaded 'Resource temporarily unavailable' error when launching a process from the 'fbpanel' when using openbox. When using xfce4, the X window server starts to come up but the xfce4-panel never shows icons and chews up a ton of cpu.



For those that may ask why not use the setup command on each computer, unfortunately, other members of the team don't have the same access. Additionally, I want the customizations I've made to stick around without a rather complicated set of procedures.



How I made my starting cygwin image:




  1. Ran cygwin setup_x64.exe --no-admin

  2. picked the packages I wanted including xfce4, openbox, fbpanel, xterm, ...

  3. created my customizations and copied them to /etc/skel

  4. created cygwin64.7z by 7zipping the c:cygwin64 directory


Things I've tried:




  1. /bin/rebaseall -v

  2. reran the postinstall scripts in /etc/postinstall/*

  3. reran the cygwin setup and picked to reinstall a package I already had.


thanks!










share|improve this question























  • When in the sequence did you run rebaseall ? Before or after using the archive to copy everything to another machine?

    – Ben Voigt
    Jan 1 at 23:04











  • After. The way I've been testing the situation is: create the zip archive. Rename c:cygwin64 to c:cygwin64_keep, unzip the archive to c:cygwin64, using dash run rebaseall, startopenbox, which also autostarts fbpanel, inside the panel click on my "term" shortcut. See error.

    – Rick
    Jan 2 at 1:33











  • If you're trying it right back on the same computer, you probably have some type of special file or file permission that isn't preserved by the 7z software.

    – Ben Voigt
    Jan 2 at 1:45











  • I wrote a script to capture the before image permissions which I'll apply to the after image once unzipped. I still need to test it. In my image there were over 90000 files so the script will take a rather long time to run. I wonder if there is a better option that 7zip to create the archive such it it retains the permissions as part of the archive.

    – Rick
    Jan 3 at 0:27











  • Once cygwin is up and running, cpio would probably work well... a pure windows copy can be done using robocopy, not sure about an archive. Probably with the backup program. Or robocopy into a mounted VHD...

    – Ben Voigt
    Jan 3 at 4:57
















0















I have a fresh cygwin 64 bit installation that I created using Cygwin's setup process (setup_x64.exe with --no-admin). Part of the packages I've installed are 'xfce4', 'openbox' and 'fbpanel'. My goal was to customize the menu a bit and prepare it for use by other folks on my team. Having done that, I created a 7zip of the 'C:cygwin64' directory. This is something I've had success with previously and yes, I've used the rebaseall -v command.



However, with this most recent image, I'm unable to avoid the dreaded 'Resource temporarily unavailable' error when launching a process from the 'fbpanel' when using openbox. When using xfce4, the X window server starts to come up but the xfce4-panel never shows icons and chews up a ton of cpu.



For those that may ask why not use the setup command on each computer, unfortunately, other members of the team don't have the same access. Additionally, I want the customizations I've made to stick around without a rather complicated set of procedures.



How I made my starting cygwin image:




  1. Ran cygwin setup_x64.exe --no-admin

  2. picked the packages I wanted including xfce4, openbox, fbpanel, xterm, ...

  3. created my customizations and copied them to /etc/skel

  4. created cygwin64.7z by 7zipping the c:cygwin64 directory


Things I've tried:




  1. /bin/rebaseall -v

  2. reran the postinstall scripts in /etc/postinstall/*

  3. reran the cygwin setup and picked to reinstall a package I already had.


thanks!










share|improve this question























  • When in the sequence did you run rebaseall ? Before or after using the archive to copy everything to another machine?

    – Ben Voigt
    Jan 1 at 23:04











  • After. The way I've been testing the situation is: create the zip archive. Rename c:cygwin64 to c:cygwin64_keep, unzip the archive to c:cygwin64, using dash run rebaseall, startopenbox, which also autostarts fbpanel, inside the panel click on my "term" shortcut. See error.

    – Rick
    Jan 2 at 1:33











  • If you're trying it right back on the same computer, you probably have some type of special file or file permission that isn't preserved by the 7z software.

    – Ben Voigt
    Jan 2 at 1:45











  • I wrote a script to capture the before image permissions which I'll apply to the after image once unzipped. I still need to test it. In my image there were over 90000 files so the script will take a rather long time to run. I wonder if there is a better option that 7zip to create the archive such it it retains the permissions as part of the archive.

    – Rick
    Jan 3 at 0:27











  • Once cygwin is up and running, cpio would probably work well... a pure windows copy can be done using robocopy, not sure about an archive. Probably with the backup program. Or robocopy into a mounted VHD...

    – Ben Voigt
    Jan 3 at 4:57














0












0








0








I have a fresh cygwin 64 bit installation that I created using Cygwin's setup process (setup_x64.exe with --no-admin). Part of the packages I've installed are 'xfce4', 'openbox' and 'fbpanel'. My goal was to customize the menu a bit and prepare it for use by other folks on my team. Having done that, I created a 7zip of the 'C:cygwin64' directory. This is something I've had success with previously and yes, I've used the rebaseall -v command.



However, with this most recent image, I'm unable to avoid the dreaded 'Resource temporarily unavailable' error when launching a process from the 'fbpanel' when using openbox. When using xfce4, the X window server starts to come up but the xfce4-panel never shows icons and chews up a ton of cpu.



For those that may ask why not use the setup command on each computer, unfortunately, other members of the team don't have the same access. Additionally, I want the customizations I've made to stick around without a rather complicated set of procedures.



How I made my starting cygwin image:




  1. Ran cygwin setup_x64.exe --no-admin

  2. picked the packages I wanted including xfce4, openbox, fbpanel, xterm, ...

  3. created my customizations and copied them to /etc/skel

  4. created cygwin64.7z by 7zipping the c:cygwin64 directory


Things I've tried:




  1. /bin/rebaseall -v

  2. reran the postinstall scripts in /etc/postinstall/*

  3. reran the cygwin setup and picked to reinstall a package I already had.


thanks!










share|improve this question














I have a fresh cygwin 64 bit installation that I created using Cygwin's setup process (setup_x64.exe with --no-admin). Part of the packages I've installed are 'xfce4', 'openbox' and 'fbpanel'. My goal was to customize the menu a bit and prepare it for use by other folks on my team. Having done that, I created a 7zip of the 'C:cygwin64' directory. This is something I've had success with previously and yes, I've used the rebaseall -v command.



However, with this most recent image, I'm unable to avoid the dreaded 'Resource temporarily unavailable' error when launching a process from the 'fbpanel' when using openbox. When using xfce4, the X window server starts to come up but the xfce4-panel never shows icons and chews up a ton of cpu.



For those that may ask why not use the setup command on each computer, unfortunately, other members of the team don't have the same access. Additionally, I want the customizations I've made to stick around without a rather complicated set of procedures.



How I made my starting cygwin image:




  1. Ran cygwin setup_x64.exe --no-admin

  2. picked the packages I wanted including xfce4, openbox, fbpanel, xterm, ...

  3. created my customizations and copied them to /etc/skel

  4. created cygwin64.7z by 7zipping the c:cygwin64 directory


Things I've tried:




  1. /bin/rebaseall -v

  2. reran the postinstall scripts in /etc/postinstall/*

  3. reran the cygwin setup and picked to reinstall a package I already had.


thanks!







cygwin






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 1 at 22:38









RickRick

11




11













  • When in the sequence did you run rebaseall ? Before or after using the archive to copy everything to another machine?

    – Ben Voigt
    Jan 1 at 23:04











  • After. The way I've been testing the situation is: create the zip archive. Rename c:cygwin64 to c:cygwin64_keep, unzip the archive to c:cygwin64, using dash run rebaseall, startopenbox, which also autostarts fbpanel, inside the panel click on my "term" shortcut. See error.

    – Rick
    Jan 2 at 1:33











  • If you're trying it right back on the same computer, you probably have some type of special file or file permission that isn't preserved by the 7z software.

    – Ben Voigt
    Jan 2 at 1:45











  • I wrote a script to capture the before image permissions which I'll apply to the after image once unzipped. I still need to test it. In my image there were over 90000 files so the script will take a rather long time to run. I wonder if there is a better option that 7zip to create the archive such it it retains the permissions as part of the archive.

    – Rick
    Jan 3 at 0:27











  • Once cygwin is up and running, cpio would probably work well... a pure windows copy can be done using robocopy, not sure about an archive. Probably with the backup program. Or robocopy into a mounted VHD...

    – Ben Voigt
    Jan 3 at 4:57



















  • When in the sequence did you run rebaseall ? Before or after using the archive to copy everything to another machine?

    – Ben Voigt
    Jan 1 at 23:04











  • After. The way I've been testing the situation is: create the zip archive. Rename c:cygwin64 to c:cygwin64_keep, unzip the archive to c:cygwin64, using dash run rebaseall, startopenbox, which also autostarts fbpanel, inside the panel click on my "term" shortcut. See error.

    – Rick
    Jan 2 at 1:33











  • If you're trying it right back on the same computer, you probably have some type of special file or file permission that isn't preserved by the 7z software.

    – Ben Voigt
    Jan 2 at 1:45











  • I wrote a script to capture the before image permissions which I'll apply to the after image once unzipped. I still need to test it. In my image there were over 90000 files so the script will take a rather long time to run. I wonder if there is a better option that 7zip to create the archive such it it retains the permissions as part of the archive.

    – Rick
    Jan 3 at 0:27











  • Once cygwin is up and running, cpio would probably work well... a pure windows copy can be done using robocopy, not sure about an archive. Probably with the backup program. Or robocopy into a mounted VHD...

    – Ben Voigt
    Jan 3 at 4:57

















When in the sequence did you run rebaseall ? Before or after using the archive to copy everything to another machine?

– Ben Voigt
Jan 1 at 23:04





When in the sequence did you run rebaseall ? Before or after using the archive to copy everything to another machine?

– Ben Voigt
Jan 1 at 23:04













After. The way I've been testing the situation is: create the zip archive. Rename c:cygwin64 to c:cygwin64_keep, unzip the archive to c:cygwin64, using dash run rebaseall, startopenbox, which also autostarts fbpanel, inside the panel click on my "term" shortcut. See error.

– Rick
Jan 2 at 1:33





After. The way I've been testing the situation is: create the zip archive. Rename c:cygwin64 to c:cygwin64_keep, unzip the archive to c:cygwin64, using dash run rebaseall, startopenbox, which also autostarts fbpanel, inside the panel click on my "term" shortcut. See error.

– Rick
Jan 2 at 1:33













If you're trying it right back on the same computer, you probably have some type of special file or file permission that isn't preserved by the 7z software.

– Ben Voigt
Jan 2 at 1:45





If you're trying it right back on the same computer, you probably have some type of special file or file permission that isn't preserved by the 7z software.

– Ben Voigt
Jan 2 at 1:45













I wrote a script to capture the before image permissions which I'll apply to the after image once unzipped. I still need to test it. In my image there were over 90000 files so the script will take a rather long time to run. I wonder if there is a better option that 7zip to create the archive such it it retains the permissions as part of the archive.

– Rick
Jan 3 at 0:27





I wrote a script to capture the before image permissions which I'll apply to the after image once unzipped. I still need to test it. In my image there were over 90000 files so the script will take a rather long time to run. I wonder if there is a better option that 7zip to create the archive such it it retains the permissions as part of the archive.

– Rick
Jan 3 at 0:27













Once cygwin is up and running, cpio would probably work well... a pure windows copy can be done using robocopy, not sure about an archive. Probably with the backup program. Or robocopy into a mounted VHD...

– Ben Voigt
Jan 3 at 4:57





Once cygwin is up and running, cpio would probably work well... a pure windows copy can be done using robocopy, not sure about an archive. Probably with the backup program. Or robocopy into a mounted VHD...

– Ben Voigt
Jan 3 at 4:57












0






active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53999493%2fhow-can-i-transfer-my-cygwin-install-to-another-computer-and-avoid-the-resource%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53999493%2fhow-can-i-transfer-my-cygwin-install-to-another-computer-and-avoid-the-resource%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

'app-layout' is not a known element: how to share Component with different Modules

android studio warns about leanback feature tag usage required on manifest while using Unity exported app?

WPF add header to Image with URL pettitions [duplicate]