title: Is there any way to display GUI on a different device when using x11?
body: <p>I was wondering if there is any way to display a GUI on my Raspberry Pi instead of my computer when I ssh into it from my computer with x11? I've tried reading documentation but haven't found anything. If you could offer any help that would be awesome! Thanks!</p>
  <p>This is my code btw.</p>
  <pre><code>from tkinter import * 
  import tkinter as tk
  
  window = tk.Tk()
  window.geometry(&quot;400x200&quot;)
  
  Font_tuple = (&quot;Comic Sans MS&quot;, 15, &quot;bold&quot;)
  e = tk.Entry(window, justify = 'center')
  e.configure(bg='white', font = Font_tuple)
  window.configure(bg='black')
  e.place(x = 325,
          y = 400,
          width = 900, 
          height = 40)
  e.pack
  
  width= window.winfo_screenwidth()
  height= window.winfo_screenheight()
  window.geometry(&quot;%dx%d&quot; % (width, height))
  window.title(&quot;Escape Fond du Lac&quot;)
  
  while True:
      textcommand = input('Enter Your Text: ')
      e.delete(0, END)
      file2write=open(&quot;hinttext.txt&quot;,'w')
      file2write.write(str(textcommand))
      file2write.close()
  
      file = open(&quot;hinttext.txt&quot;, 'r')
  
      content = file.read()
  
      e.insert(0,content)
      
      
  window.mainloop()
  </code></pre>