-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,392
  • 12
  • 115
  • 163

1 Answers1

0

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

Kevin Bowen
  • 19,395
  • 55
  • 76
  • 81
psusi
  • 37,033
  • 2
  • 68
  • 106