← Back to team overview

desktop-packages team mailing list archive

[Bug 582900] Re: Tk Applications don't work over XDMCP

 

[Expired for gdm (Ubuntu) because there has been no activity for 60
days.]

** Changed in: gdm (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gdm in Ubuntu.
https://bugs.launchpad.net/bugs/582900

Title:
  Tk Applications don't work over XDMCP

Status in “gdm” package in Ubuntu:
  Expired

Bug description:
  Binary package hint: gdm

  Applications that require Tk support do not work if logged into a
  machine through XDMCP. They do work if logged directly into the
  machine.  A simple example is idle, the python shell. This is what
  happens if logged into a machine via XDMCP:

  --------------------

  anze@wilde: ~ $ idle
  Traceback (most recent call last):
    File "/usr/bin/idle", line 5, in <module>
      main()
    File "/usr/lib/python2.6/idlelib/PyShell.py", line 1386, in main
      root = Tk(className="Idle")
    File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 1646, in __init__
      self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
  _tkinter.TclError: Can't find a usable tk.tcl in the following directories: 
      /usr/share/tcltk/tcl8.5/tk8.5 /usr/lib/tk8.5 /usr/local/lib/tcltk/tk8.5 /usr/local/share/tcltk/tk8.5 /usr/lib/tcltk/tk8.5 /usr/share/tcltk/tk8.5 /lib/tk8.5 /usr/library

  /usr/share/tcltk/tk8.5/tk.tcl: can't access "::tk::Priv.::ffff:192.168.22.1:1": parent namespace doesn't exist
  can't access "::tk::Priv.::ffff:192.168.22.1:1": parent namespace doesn't exist
      while executing
  "upvar #0 ::tk::Priv.::ffff:192.168.22.1:1 ::tk::Priv"
      ("uplevel" body line 1)
      invoked from within
  "uplevel #0 upvar #0 ::tk::Priv.$disp ::tk::Priv"
      (procedure "tk::ScreenChanged" line 9)
      invoked from within
  "tk::ScreenChanged [winfo screen .]"
      (file "/usr/share/tcltk/tk8.5/tk.tcl" line 290)
      invoked from within
  "source /usr/share/tcltk/tk8.5/tk.tcl"
      ("uplevel" body line 1)
      invoked from within
  "uplevel #0 [list source $file]"

  
  This probably means that tk wasn't installed properly.

  ----------------------------

  Last sentence still belongs to the output. Tk is installed properly as
  it works if in a straight X session.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdm/+bug/582900/+subscriptions