PDA

View Full Version : [ubuntu] Commands not working after switching to GDM



prismctg
August 30th, 2014, 03:55 AM
I am using Ubuntu 14.04 , recently I switched from LDM to GDM . Now some of commands are not working ... here is an example :


sudo -i -u postgres
postgres@prism:~$ createuser
No protocol specified
xprop: unable to open display ':0'
createuser: creation of new role failed: ERROR: role "postgres" already exists
No protocol specified
xprop: unable to open display ':0'