Re: Is it possible to start X Windows in multiple V/C .

1997-12-29 Thread Martin Bialasinski
On Tue, 23 Dec 1997, Lazar Fleysher wrote:

 ~/startx -- :1
 
 _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
 _XSERVTransMakeAllCOTSServerListeners: server already running
 
 Fatal server error:
 Cannot establish any listening sockets - Make sure an X server isn't
 already running
 

Did you check that there isn't already a server on display :1 as suggested
by the error message?

ps -ax |grep /usr/X11R6/bin/X

Also there might be a stale lockfile due to a servercrash.

Check for /tmp/.X1-lock and /tmp/.X11-unix/X1= and delete them.

Ciao,
Martin




--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Is it possible to start X Windows in multiple V/C .

1997-12-23 Thread Lazar Fleysher

It does not work for me...
Could someone interpret the error message?

Thanks

ZORO

~/startx -- :1

_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running

Fatal server error:
Cannot establish any listening sockets - Make sure an X server isn't
already running

When reporting a problem related to a server crash, please send
the full server output, not just the last messages

_X11TransSocketUNIXConnect: Can't connect: errno = 2
_X11TransSocketUNIXConnect: Can't connect: errno = 2
_X11TransSocketUNIXConnect: Can't connect: errno = 2
_X11TransSocketUNIXConnect: Can't connect: errno = 2
_X11TransSocketUNIXConnect: Can't connect: errno = 2
_X11TransSocketUNIXConnect: Can't connect: errno = 2
giving up.
xinit:  No such file or directory (errno 2):  unable to connect to X
server
xinit:  No such process (errno 3):  Server error.
~/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Is it possible to start X Windows in multiple V/C .

1997-12-20 Thread Ralph Winslow

On 19-Dec-97 Heikki Vatiainen wrote:
Ralph Winslow [EMAIL PROTECTED] wrote:
 
 Yep, I'm absolutely certain - I entered:
 
 startx  --   :1
 
 the only spaces were between x and -- and between -- and :1
 three tokens, and I just re-tried to be absolutely certain.  Oops,
 this time I ran as root and voila, it worked!  So I tried it again as
 myself, and once again it failed, go figure!

That's, hmm, interesting :) About the only thing I can think of now is the 
/tmp directory permissions. Since it works as root and not as an ordinary 
user maybe the /tmp permissions are messed up.

It's also strange that the error message mentions display 0 even though you 
tell it to use display 1. Maybe for some strange reason you have startx in 
two different locations and the root user sees different startx than the 
non-root user. Command 'which startx' should tell where startx lives.

which startx as root says /usr/bin/X11/startx and as rjw says
/home/rjw/bin/startx. cat /home/rjw/bin/startx shows:

#!/bin/sh

/usr/bin/X11/startx -bpp 24

I forgot my $* on the end. I guess it won't be the last time I 
outsmart myself, but I'll hope so, anyway.

Also to correct myself; it's minus not slash :).


// Heikki



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

-
Ralph Winslow [EMAIL PROTECTED]
Mary bought a pair of skates
upon the ice to frisk
now wasn't that a crazy way
her sweet young *?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Is it possible to start X Windows in multiple V/C .

1997-12-19 Thread David Stern
On Fri, 19 Dec 1997 08:24:50 +0300, cs51wcs wrote:
 I'm wondering is it possible to start X-Windows in multiple virtual consoles 
 and if so how.  Thanks.

Hi Scott,

This worked for me (I tried other ways and this was the only way):

Ctrl-Alt-F2  (from within X, to get to VC2)  ..then login..

startx -- :1  (this starts a new x-server on VC8)

Ctrl-Alt-F7   (to get back to the original X-server on VC7)

**This was mostly a summary of what Ted Harding wrote on Nov. 25 .

-- 
David Stern

[EMAIL PROTECTED]
http://weber.u.washington.edu/~kotsya/



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Is it possible to start X Windows in multiple V/C .

1997-12-19 Thread Ralph Winslow

On 19-Dec-97 David Stern wrote:
On Fri, 19 Dec 1997 08:24:50 +0300, cs51wcs wrote:
 I'm wondering is it possible to start X-Windows in multiple virtual consoles
 and if so how.  Thanks.

Hi Scott,

This worked for me (I tried other ways and this was the only way):

Ctrl-Alt-F2  (from within X, to get to VC2)  ..then login..

This worked fine for me.

startx -- :1  (this starts a new x-server on VC8)

But this didn't:

Fatal server error:

Server already active for display 0:
If this server is no longer running, remove /tmp/.X0-lock
and start again.

When reporting ...

Ctrl-Alt-F7   (to get back to the original X-server on VC7)

**This was mostly a summary of what Ted Harding wrote on Nov. 25 .

-- 
David Stern

[EMAIL PROTECTED]
http://weber.u.washington.edu/~kotsya/



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

-
Ralph Winslow [EMAIL PROTECTED]
Mary bought a pair of skates
upon the ice to frisk
now wasn't that a crazy way
her sweet young *?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Is it possible to start X Windows in multiple V/C .

1997-12-19 Thread Heikki Vatiainen
Are you really, really sure you did not forget the space after those two 
slashes. I use the command almost every day and it works just fine. However, 
if if type

startx --:1
^^^-- note, no space after the second slash

I get the same error as you about X already being active for display 0.

The two slashes mean that there are no more arguments to the startx script 
and all the following arguments should be passed to the X server. In this 
case the X server is started as

X :1

and it starts on VC8.

// Heikki



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Is it possible to start X Windows in multiple V/C .

1997-12-19 Thread Ralph Winslow

On 19-Dec-97 Heikki Vatiainen wrote:
Are you really, really sure you did not forget the space after those two 
slashes. I use the command almost every day and it works just fine. However, 
if if type

Yep, I'm absolutely certain - I entered:

startx  --   :1

the only spaces were between x and -- and between -- and :1
three tokens, and I just re-tried to be absolutely certain.  Oops,
this time I ran as root and voila, it worked!  So I tried it again as
myself, and once again it failed, go figure!

startx --:1
^^^-- note, no space after the second slash

I get the same error as you about X already being active for display 0.

The two slashes mean that there are no more arguments to the startx script 
and all the following arguments should be passed to the X server. In this 
case the X server is started as

X :1

and it starts on VC8.

// Heikki



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

-
Ralph Winslow [EMAIL PROTECTED]
Mary bought a pair of skates
upon the ice to frisk
now wasn't that a crazy way
her sweet young *?


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: Is it possible to start X Windows in multiple V/C .

1997-12-19 Thread Heikki Vatiainen
Ralph Winslow [EMAIL PROTECTED] wrote:
 
 Yep, I'm absolutely certain - I entered:
 
 startx  --   :1
 
 the only spaces were between x and -- and between -- and :1
 three tokens, and I just re-tried to be absolutely certain.  Oops,
 this time I ran as root and voila, it worked!  So I tried it again as
 myself, and once again it failed, go figure!

That's, hmm, interesting :) About the only thing I can think of now is the 
/tmp directory permissions. Since it works as root and not as an ordinary 
user maybe the /tmp permissions are messed up.

It's also strange that the error message mentions display 0 even though you 
tell it to use display 1. Maybe for some strange reason you have startx in 
two different locations and the root user sees different startx than the 
non-root user. Command 'which startx' should tell where startx lives.

Also to correct myself; it's minus not slash :).

// Heikki



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .