Ubuntu automatic logout whenever I execute exe files
- by KeepTrying
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.