multiple X sessions problem

1997-12-05 Thread E Papantoniou
(this is a repost)
Hi all,

my problem is that I cannot run more than one X server at the same time.
When I am logged in as a user one and run startx on display :0.0, I do
Ctrl-Alt-F2, log in as a user two and type startx -- :1.0
The second X server attempts to start (the gray default background appears)
and gets stuck at that point. Going back to the Ctrl-Alt-F2 screen the
erron message is :

AUDIT ...(time and date)... 2144 X:client 1 rejected from local host
Xlib: connection to :1.0 refused by server
Xlib: Client is not authorised to connect to server

Does anybody know what can be done?

I am using kernel 2.0.31, with the following X configuration:

XFree86 Version 3.3 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: Jun  2 1997
Operating System: Linux 2.0.21 i486 [ELF] 
Configured drivers:
  S3: accelerated server for S3 graphics adaptors (Patchlevel 0)
  newmmio, mmio_928, s3_generic

Thanks in advance

Manos


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


multiple X sessions problem

1997-12-04 Thread E Papantoniou
Hi all,

my problem is that I cannot run more than one X server at the same time.
When I am logged in as a user one and run startx on display :0.0, I do
Ctrl-Alt-F2, log in as a user two and type startx -- :1.0
The second X server attempts to start (the gray default background appears)
and gets stuck at that point. Going back to the Ctrl-Alt-F2 screen the
erron message is :

AUDIT ...(time and date)... 2144 X:client 1 rejected from local host
Xlib: connection to :1.0 refused by server
Xlib: Client is not authorised to connect to server

Does anybody know what can be done?

I am using kernel 2.0.31, with the following X configuration:

XFree86 Version 3.3 / X Window System
(protocol Version 11, revision 0, vendor release 6300)
Release Date: Jun  2 1997
Operating System: Linux 2.0.21 i486 [ELF] 
Configured drivers:
  S3: accelerated server for S3 graphics adaptors (Patchlevel 0)
  newmmio, mmio_928, s3_generic

Thanks for reading

Manos


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


thanks (was Re: multiple X sessions)

1997-11-26 Thread E Papantoniou
thanks a lot!!! I tried it and it works

On Tue, 25 Nov 1997, Ettore Aldrovandi wrote:

 E Papantoniou wrote:
 - 
 - Hi,
 - 
 - when I am logged in as a user and I run X windows, I press Ctrl-Alt-F2
 - and as expected a new terminal comes up. Then I log in as a different user
 - and I type startx. I get some errors:
 - 
 
 Hi, you have to open another display. Try this:
 
 startx -- /usr/X11R6/bin/X :1
 
 Besides, you can also login as yourself, and maybe to use a
 different color depth, like
 
 starx -- /usr/X11R6/bin/X :1 -bpp 16
 
 Have fun
 
 Ettore
 -- 
 Ettore Aldrovandi
 Department of Mathematics // [EMAIL PROTECTED]
 SUNY at Stony Brook   // ph.: [+]1 516 632 8271   
 Stony Brook, NY 11794-3651, USA   // fax: [+]1 516 632 7631
 


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


thanks (was RE: multiple X sessions)

1997-11-26 Thread E Papantoniou
I tried the second option and works :-) thanks to everybody that replied

Manos

On Tue, 25 Nov 1997, Ted Harding wrote:

 On 25-Nov-97 E Papantoniou wrote:
  Hi,
  
  when I am logged in as a user and I run X windows, I press Ctrl-Alt-F2
  and as expected a new terminal comes up. Then I log in as a different user
  and I type startx. I get some errors:
  
  Fatal server error
  Server is already active for display 0
  If this server is no longer running, remove /tmp/.X0-lock and start again
  
  Xlib: connection to :0.0 refused by server
  Xlib: Invalid MIT-MAGIC-COOKIE-1 key
  giving up
  xinit: unable to connect to X server
  xinit: no such process (errno 3): Server error
  
  does anybody know how to correct this?
 
 You don't correct it: it is correct already. You cannot run 2 X sessions on 
 the
 same display (:0.0 in your case).**
 
 If you need to, you can start an independent X session on a different display
 (say :1.0; if your first was on VT7 then the next will be on VT8), but 
 probably
 you only need to get xterm windows owned by a different user opened on the X
 display you already have.
 
 To do this, all you need to do is, say, Ctrl-Alt-F2, login as the new user,
 and then, from this terminal, do xterm [options] -display :0.0 .
 
 Then (Alt-F7) switch back to the X display and you will have a new xterm owned
 as a logged-in window by the user newly logged in on VT2. From this xterm, the
 new user can start up any applications all of which will be owned by him. 
 (This
 user may then log out from VT2, provided the  was used).
 
 In this way, any number of users can have their own user-owned windows on a
 single X display, just as if each user had started up X -- with the difference
 that the X background, or root window, and the window manager, will be owned
 by the user who originally started X, so that all applications started up by
 clicking on root-window menus or on button-bars will again be owned by the
 original user.
 
 If you don't want that, and you do need to start an independent X session on
 display :1.0, then do something like
 
 startx -- :1 [other server options e.g. -bpp 16] 
 
 and you will then have 2 X displays, and you switch between them with
 Ctrl-Alt-F7, Ctrl-Alt-F8
 
 However, the switch is always cumbersome and the previous approach is usually
 preferable, provided it is sufficient.
 
 Hope this helps.
 Ted.
 
 ** Actually, while this is a correct statement, you CAN run startx  as a 
 new
 user provided your xinitrc and wmrc are set up in a certain way: the attempt 
 to
 start a new X session will fail, for the reason given, likewise for the WM, 
 but
 you can persuade the applications which the WM would have started up to be
 started up on behalf of the new user, and they will overlay the old ones; but
 this is a perverse way to achieve the multi-user in one X result,
 
 
 E-Mail: Ted Harding [EMAIL PROTECTED]
 Date: 25-Nov-97   Time: 17:55:44
 
 


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


hostname problem

1997-11-25 Thread E Papantoniou
Hi all, 

I am having the following problem with the hostname: 

when I login as a normal user I get the message: 

hostname: you must be root to change the host name 

I suspect that I might have messed up with files or permissions without 
realising it, but I don't know 
where to start looking...any ideas? 

thanks in advance 

Manos 


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


multiple X sessions

1997-11-25 Thread E Papantoniou
Hi,

when I am logged in as a user and I run X windows, I press Ctrl-Alt-F2
and as expected a new terminal comes up. Then I log in as a different user
and I type startx. I get some errors:

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

Xlib: connection to :0.0 refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
giving up
xinit: unable to connect to X server
xinit: no such process (errno 3): Server error

does anybody know how to correct this?


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


multiple X sessions (continued)

1997-11-25 Thread E Papantoniou
to add to my previous msg:

when I try to get back to the first X session with Ctrl-Alt-F1 I get another
error msg:

AUDIT: X: client 11 rejected from local host Auth name MIT-MAGIC-COOKIE-1 ID: -1

any ideas what does this mean?

thanks in advance

Manos


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


how to reduce colors used by netscape?

1997-11-19 Thread E Papantoniou
Hi all,

I am using a program that requires several colors available to operate
ptoperly. For example, if netscape is open and I use the other program,
whenever I enter its window with the mouse pointer, all the colors outside
that window change.

I have read that to correct the problem I must reduce the colors used by
netscape...does anybody know in which file are these defined?

thanks

Manos


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