-1

when i run tuxcut,i see this message i try this command and not run tuxcut

user@server:~$ xhost +localhost
su -
Defaults env_keep=DISPLAY
xhost +localhost &
xhost +SI:localuser:root &
gksudo "lxterminal --command "nano /etc/default/grub""

how i solve this issue?

dessert
  • 39,982

1 Answers1

0

Use su without the dash. That will keep the XAUTHORITY environment variable intact.

Kevin Bowen
  • 19,615
  • 55
  • 79
  • 83
psusi
  • 37,551