I am on a Windows PC and tried connecting to AWS running Ubuntu. I tried opening a file using gedit, was unsuccessful. Someone suggested MobaExtreme. Then I had to install gksudo in the server and tried gedit in the MobaExtreme shell and this solved the problem.
What I am really wondering is:
- Why couldn't I open gedit in the first place(This involved discussion about using ssh -X, and something regarding display not set)
- What does gksudo establish? (Can you elaborate on 'Owner is not the root'? I have no understanding of this concept).
Edit: Suggested merge answer only part of the question. I can accept the merge but I feel I'll not know other parts which I am curious about!