Ubuntu automatic logout whenever I execute exe files

Posted by KeepTrying on Ask Ubuntu See other posts from Ask Ubuntu or by KeepTrying
Published on 2012-03-29T08:16:31Z Indexed on 2012/03/30 5:42 UTC
Read the original article Hit count: 170

Filed under:

I have a problem. Here's the thing. There were 4 partitions in my hard drive:

  • One for ubuntu root folder
  • One for ubuntu home folder
  • One for general stuffs like music, movies...
  • And the last one for SWAP

To install Windows 7, I resized partitions and moving the order of partitions by using GParted. I moved all of the ext formatted partitions to the left, so that means the spare space would be at the right. And I formatted that spare space in NTFS and install windows 7.

After successfully installing windows 7, I used LiveUSB to fix grub. I installed Boot Repair and, with just one click, now I can dual boot ubuntu and windows 7.

But, the point, because of changing the order of partitions, especially the partition consisting of home folder, I couldn't log in the ubuntu. I used recovery mode and changed file /etc/passwd. Everything almost got back to normal except one thing. The windows apps that I installed via wine don't work anymore. I run them via accessing menu Applications/Wine/Programs but nothing loads. One more thing, when I double click on exe files to run them, ubuntu suddenly log outs.

Thank you for reading my post, it's quite long and my English is fairly poor. I'd appreciate for anyone who reads it.

© Ask Ubuntu or respective owner

Related posts about logout