Ubuntu Tricks

Unable to init server: Could not connect: Connection refused

sudo visudo then add this to the bottom:

Defaults env_keep=”XAUTHORIZATION XAUTHORITY TZ PS2 PS1 PATH LS_COLORS KRB5CCNAME HOSTNAME HOME DISPLAY COLORS”