Hot answers tagged x-server
Reset the user by moving everything in /home/faultyuser to a backup directory like this: mkdir /home/faultyuser/BACKUP mv /home/faultyuser/* /home/faultyuser/BACKUP mv /home/faultyuser/.* /home/faultyuser/BACKUP cp -v /etc/skel/.[a-z]* /home/faultyuser/ chown faultyuser:faultyuser /home/faultyuser/.* and try to login. When this works, move all you need ...
Most simple X11 applications just need you to set the environment variable DISPLAY, so just export DISPLAY=:0 before running the command may be enough.
Only top voted, non community-wiki answers of a minimum length are eligible