[plug] apologies, real n00b question.

Timothy White weirdit at gmail.com
Thu Dec 8 16:53:47 WST 2005

> How the heck do I start another instance of startx - I used to know, but
> I've gone absolutely blank?

If you really have to start another X session with startx, you want
the following:
startx -- :1

But I would recommend first trying to find out what the problem is.

Are you trying to start db2fs as the user currently running X?
Try opening an Xterm, and running xclock, if that works, and db2fs
doesn't work from the same Xterm, then starting another X session
isn't going to help.

If your trying to start db2fs as another user, then that is your
problem. (Does it for instance have a suid bit on the executable?
Hence running as a different user?)

Try (warning, this can open your xsession up to security problems)
xhost +hostname
This should allow anyone on that host to start things in that
xsession. (also try xhost + and xhost +localhost to see if
maybe that helps.)
(Do all the xhost commands, from a terminal within the xsession).

If you are trying to connect to a remote X session, then you need to
enable TCP listening. In GDM there is an option, DisallowTCP and
setting this to false is what you'll need.

But in general. Aslong as your Xauth file is correct, and xclock can
work from a xterminal inside your xsession, then there is no reason
why just running db2fs from that terminal, won't work.

But if it really does need it's own desktop, read back for instructions.

Linux Counter user #273956

More information about the plug mailing list