[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#169019: startx fails to start x from console



On Wed, Nov 13, 2002 at 05:18:32PM -0800, David Lawyer wrote:
> Package: xbase-clients
> Version: 4.2.1-3
> 
> When I type startx at the console, it creates an X window with an x in
> the center but it only lasts for about 1 second.  I then get back to the
> text interface with "waiting for X server to shut down".  Now if I snoop
> with: startx 2&> me
> I find that me contains the error message:
> /usr/X11R6/bin/xterm: bad command line option "2"

Well, there are a couple of problems here:

A) your session might be exiting because you have an empty .xsession or
.xinitrc or something
B) you are confusing yourself with the error, if you're using a shell
that parses redirection operators the same way mine does, then you're
passing the argument "2" to the default X client just like the startx
manpage says, because, you have mistyped:

startx > me 2>&1

or, for some shells:

startx >& me

> However, if I type startx from a dumb terminal connected to a serial
> port, then X starts OK and loads the icewm which seems to work.

I can't think of a good explanation for this.

> Some more info:  My video chip is Cirrus clgd5428 and it uses XFree86
> Version 3.3.6a.  The message says it's for Linux 2.4.13 but I run
> 2.4.19.  Message says it's for i686 but I have a 486: i386.  However,
> everything seems OK if I start it from a dumb terminal.  I saw a message
> on the internet from someone else who had this problem some time ago and
> I think they also had a Cirrus video chip.

I guess it's possible that the VT switching logic in xserver-svga is
broken for that chipset.

-- 
G. Branden Robinson                |          You live and learn.
Debian GNU/Linux                   |          Or you don't live long.
branden@debian.org                 |          -- Robert Heinlein
http://people.debian.org/~branden/ |

Attachment: pgpoJQRRgwb42.pgp
Description: PGP signature


Reply to: