Re: How to launch a second X server

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

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Guillaume Chazarain wrote:
| If I launch this X server using "xinit -- :1" in a terminal from
| a gnome environment brought by gdm, the new display shows up in a
| black screen where I can move the mouse. But nothing can access this
| server, even xinit gets:
|
| AUDIT: Wed Mar 31 21:37:11 2004: 11509 X: client 1 rejected from local
host
| Xlib: connection to ":1.0" refused by server
| Xlib: No protocol specified

Since XSESSION and DISPLAY are set, I'm not surprized you have trouble
starting a second Xserver for GNOME.
Running two GNOME sessions at once is problematic. You might want to use
KDE, WindowMaker, or somother windowmanager on the second display
instead. Search the archives for GNOME and VNC problems for more info.

| If I try "xinit -- :1" on the console, the display appears and I can
| use it but the initial xterm is on display :0 and "echo $DISPLAY" in
| it gives :0. I can then "DISPLAY=:1 xterm" to use this new display,
| but it's quite inconvenient.

That seams odd. xinit should set DISPLAY correctly. You might try a
custom xinitrc file (~/.xinitrc) that checks for 1st or 2nd xserver and
changes behavior. Or just a script that starts the server, sets DISPLAY,
starts a termional, and a window manager.

-Thomas

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (SunOS)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFAcxTs+mwggWqA1pQRAtRhAJ4xV+cxcR7Su2ahv+QP0QRsT0QxhgCgguJp
broUyl6QZIIFgzR8+eHeIxQ=
=oR07
-----END PGP SIGNATURE-----


_______________________________________________ xfree86-list mailing list xfree86-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/xfree86-list IRC: #xfree86 on irc.redhat.com

[Red Hat General]     [Red Hat Watch]     [Red Hat Development]     [Kernel Development]     [Yosemite Camping]

  Powered by Linux