Public bug reported:

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:

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

a...@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.

** Affects: gdm (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Tk Applications don't work over XDMCP
https://bugs.launchpad.net/bugs/582900
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to