#185 XDarwin fails to start with tset

Causes Crash
open
Rootless (76)
5
2002-05-09
2002-05-08
Anonymous
No

I installed the latest (4.2.0) on my dual 450Mhz G4.
I had the alias put in the dock. When I click on the
"big X" I get the prompt for full screen or rootless. I
click rootless and there is a flicker, and then X is
not running (No triangle below the dock icon).

Starting from the terminal gives the message:
"Must use -quartz when starting". Using the -quartz
option results in x running, but there is no way to
produce any xterms etc.

I am running OSX 10.1.4 btw.

Discussion

  • Logged In: YES
    user_id=133579

    You need to check the console log to see what the problem is. Something went awry in your installation/setup. Using the Console utility, post everything that shows up in the console from the time you start XDarwin by clicking on the XDarwin dock icon and when it quits. This will help us diagnose your problem.

    You can also post the log of what appears in your terminal window when you start with "startx -- -quartz". If some basic X clients are not starting in this case, it often indicates your .xinitrc file is broken.

     
  • Logged In: NO

    Note. starting from the terminal with startx -- -quartz
    now works. Yes, the .xinitrc file was wrong due to my
    fault. But the startup stil does not work. Here is the
    console report:

    Mac OS X Version 10.1.4 (Build 5Q125)
    2002-05-09 11:09:26.688 XDarwin[303]
    XDarwin 1.1

    XFree86 Version 4.2.0 / X Window System
    (protocol Version 11, revision 0, vendor release 6600)
    Release Date: 18 January 2002
    If the server is older than 6-12 months, or if your
    hardware is
    newer than the above date, look for a newer version
    before
    reporting problems. (See http://www.XFree86.Org/
    FAQ)
    Operating System: Darwin
    Using keymapping provided in /System/Library/
    Keyboards/USA.keymapping.
    Warning: no access to tty (Inappropriate ioctl for
    device).
    Thus no job control in this shell.
    Display mode: Rootless Quartz
    Screen 0 added: 1600x1003 @ (0,21)
    Screen 0 placed at X11 coordinate (0,0).
    Terminal type? [vt100] tset: unknown terminal type '/
    Applications/XDarwin.app/Contents/Resources/
    startXClients' :0 /usr/X11R6/bin
    Terminal type?
    stty: TIOCGETD: Operation not supported
    stty: TIOCGETD: Operation not supported
    Quitting XDarwin...

     
    • assigned_to: nobody --> torrey
    • summary: Rootless Startup problems --> XDarwin fails to start with tset
     
  • Logged In: YES
    user_id=133579

    XDarwin does not play well with tset. If you have tset in your shell startup scripts, XDarwin will not start from the Finder. If you generally want to use tset, you can work around this by checking if the TERM environment variable is set to "unknown" and if so skipping the tset. (XDarwin sets TERM to unknown.) I've changed the bug title to reflect the underlying problem here.

     
  • Logged In: NO

    I removed tset from my .login file, and it works now!
    Thanks very much for the help. Now all need is to get a
    "real" scrollbar working on Xterm..