As it says here:
https://help.ubuntu.com/community/RootSudo
"NEVER use sudo to start graphical programs."
What you should have used is
gksudo gedit fstab
Note: For Kubuntu it's kdesu.
** Changed in: Ubuntu
Status: Unconfirmed => Rejected
--
Sudo exposes the password on screen if you use "&"
https://bugs.launchpad.net/bugs/107020
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs