LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   xinit command (https://www.linuxquestions.org/questions/linux-software-2/xinit-command-192040/)

ftgow 06-10-2004 03:26 PM

xinit command
 
I have a couple applications that I need to run in a seperate X session.

To test out the xinit command, I run xinit xterm -- :1

A new X session opens up on vt08 and I can switch in and out of it, but xterm does not load up, neither does any program I try. All I get is a big X cursor and a black screen. I can move hte cursor.

What am I doing wrong? I did not modify xf86conig for any screen or layout, settings, as I dont know what the hell im doing inthere.

PLease help me.

Tinkster 06-10-2004 04:31 PM

If you terminate the session you'll probably find something like:
Quote:

xterm: bad command line option "xterm"

usage: xterm [-/+132] [-C] [-Sccn] [-T string] [-/+ah] [-/+ai] [-/+aw]
[-b number] [-/+bc] [-bcf milliseconds] [-bcn milliseconds] [-bd color]
in the output ...

To me that indicates that either xterm or, more likely, xinit in this
version is stuffed as it appears to hand xterm as a parameter to itself.


If you just want X with a xterm without any wm-decorations you can
create a file

~/.xserverrc
X :1

and then run
xinit -- :1
which will give you exactly that.



Cheers,
Tink

ftgow 06-10-2004 05:01 PM

I get this as output


This is a pre-release version of XFree86, and is not supported in any
way. Bugs may be reported to XFree86@XFree86.Org and patches submitted
to fixes@XFree86.Org. Before reporting bugs in pre-release versions,
please check the latest version in the XFree86 CVS repository
(http://www.XFree86.Org/cvs).

XFree86 Version 4.3.0.1
Release Date: 15 August 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.5-gentoo-r1 i686 [ELF]
Build Date: 08 June 2004
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.1.log", Time: Thu Jun 10 17:59:25 2004
(==) Using config file: "/etc/X11/XF86Config"
Using vt 8
(II) Initializing extension GLX
AUDIT: Thu Jun 10 17:59:27 2004: 9100 X: client 1 rejected from local host
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified


waiting for X server to begin accepting connections .
AUDIT: Thu Jun 10 17:59:29 2004: 9100 X: client 1 rejected from local host
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified

..
AUDIT: Thu Jun 10 17:59:31 2004: 9100 X: client 1 rejected from local host
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified

..
giving up.
xinit: No such file or directory (errno 2): unable to connect to X server
xinit: No such process (errno 3): Server error.
ftgow@trioptimum ftgow $


All times are GMT -5. The time now is 09:44 AM.