Hi
Is it possible to install 2 X Server ?
Thank you
-------------------- -*- If Linux doesn't have the solution, you have the wrong problem -*-
Am Fr, den 30.07.2004 schrieb regatta um 10:02:
Is it possible to install 2 X Server ?
If you have to ask, no. for what should it be good?
If you mean to run two instances of the X server then see the answers of today's thread "How do I start a second X server".
Alexander
On Fri, 30 Jul 2004 22:32:33 +0200, Alexander Dalloz alexander.dalloz@uni-bielefeld.de wrote:
Am Fr, den 30.07.2004 schrieb regatta um 10:02:
Is it possible to install 2 X Server ?
If you have to ask, no. for what should it be good?
If you mean to run two instances of the X server then see the answers of today's thread "How do I start a second X server".
Alexander
-- Alexander Dalloz | Enger, Germany | GPG key 1024D/ED695653 1999-07-13 Fedora GNU/Linux Core 2 (Tettnang) kernel 2.6.6-1.435.2.3.ad.umlsmp Serendipity 22:31:17 up 4 days, 7:38, load average: 0.76, 0.40, 0.22
smarty pants!
Am Sa, den 31.07.2004 schrieb jeem machine um 0:37:
smarty pants!
Sorry, I don't get the joke. Is it one?
Alexander
On Fri, 2004-07-30 at 16:08, Alexander Dalloz wrote:
Am Sa, den 31.07.2004 schrieb jeem machine um 0:37:
smarty pants!
Sorry, I don't get the joke. Is it one?
--- American idiom would normally translate this into a slight acknowledgment of jealousy that you know so much and can easily show it. Probably not a joke, just a recognition of your knowledge.
Craig
Thak you all for the replys I don't want to run 2 X servers, I want to install 2 versions because some of my users want to use some libraries in the new version without losing the old one
On Fri, 30 Jul 2004 19:46:55 -0700, Craig White craigwhite@azapple.com wrote:
On Fri, 2004-07-30 at 16:08, Alexander Dalloz wrote:
Am Sa, den 31.07.2004 schrieb jeem machine um 0:37:
smarty pants!
Sorry, I don't get the joke. Is it one?
American idiom would normally translate this into a slight acknowledgment of jealousy that you know so much and can easily show it. Probably not a joke, just a recognition of your knowledge.
Craig
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
On Sat, Jul 31, 2004 at 06:51:10AM +0300, regatta wrote:
Reply-To: For users of Fedora Core releases fedora-list@redhat.com
Thak you all for the replys I don't want to run 2 X servers, I want to install 2 versions because some of my users want to use some libraries in the new version without losing the old one
...
smarty pants!
Sorry, I don't get the joke. Is it one?
Jokes in a multi language community can be fun. ;-)
Yes you can have a second environment for X. Developers do this all the time. For X this is not trivial and involves a number of layers that you have not been clear about. There will always be some hooks left in the source tree that make it possible.
to start... /usr/lib/X11 is linked to ../X11R6/lib/X11
There is no reason you cannot build and populate ../X11R6modA. Then fiddle with the ld link load paths and $PATH so your users can use what ever they want.
Since we are talking about nearly 4000 files (fonts, shared objects, programs, multi language support and more) this task is bigger than a bread box.
Since many library functions are controlled by 'ld', it is possible to set one or more environment variable to control dynamic linking or even set things at the link stage when the object is compiled. See the ld man page...
i.e. LD_RUN_PATH LD_LIBRARY_PATH
This trick of taking control of the link loader (ld) is commonly used to develop and test new library code (Fortran libs, Perl libs, c language, math libs, any .so ). You will see examples in the context of Java.
In my /usr/bin/java I see lines like:
elif [ "`echo $1 |cut -b1-2`" = "-D" ]; then if [ "`echo $1 |cut -b1-20`" = "-Djava.library.path=" ]; then export LD_LIBRARY_PATH=`echo $1 |cut -b21-`:$LD_LIBRARY_PATH
This is an education:
$ find /usr/X11R6/ -type f -print0 | xargs -0 grep PATH
The point is that depending on what your users are asking of you, it can be easy or just a pain.
Little of this demands root permissions with the possible exception of the server itself. "startx" could be hacked to have a clone called "newstartx". It can reset search paths and fun stuff as needed.
Are these remote users?
Yes they are a remote users
Do you know any how to document ?
On Thu, 5 Aug 2004 23:06:37 -0700, Nifty Hat Mitch mitch48@sbcglobal.net wrote:
On Sat, Jul 31, 2004 at 06:51:10AM +0300, regatta wrote:
Reply-To: For users of Fedora Core releases fedora-list@redhat.com
Thak you all for the replys I don't want to run 2 X servers, I want to install 2 versions because some of my users want to use some libraries in the new version without losing the old one
....
smarty pants!
Sorry, I don't get the joke. Is it one?
Jokes in a multi language community can be fun. ;-)
Yes you can have a second environment for X. Developers do this all the time. For X this is not trivial and involves a number of layers that you have not been clear about. There will always be some hooks left in the source tree that make it possible.
to start... /usr/lib/X11 is linked to ../X11R6/lib/X11
There is no reason you cannot build and populate ../X11R6modA. Then fiddle with the ld link load paths and $PATH so your users can use what ever they want.
Since we are talking about nearly 4000 files (fonts, shared objects, programs, multi language support and more) this task is bigger than a bread box.
Since many library functions are controlled by 'ld', it is possible to set one or more environment variable to control dynamic linking or even set things at the link stage when the object is compiled. See the ld man page...
i.e. LD_RUN_PATH LD_LIBRARY_PATH
This trick of taking control of the link loader (ld) is commonly used to develop and test new library code (Fortran libs, Perl libs, c language, math libs, any .so ). You will see examples in the context of Java.
In my /usr/bin/java I see lines like:
elif [ "`echo $1 |cut -b1-2`" = "-D" ]; then if [ "`echo $1 |cut -b1-20`" = "-Djava.library.path=" ]; then export LD_LIBRARY_PATH=`echo $1 |cut -b21-`:$LD_LIBRARY_PATH
This is an education:
$ find /usr/X11R6/ -type f -print0 | xargs -0 grep PATH
The point is that depending on what your users are asking of you, it can be easy or just a pain.
Little of this demands root permissions with the possible exception of the server itself. "startx" could be hacked to have a clone called "newstartx". It can reset search paths and fun stuff as needed.
Are these remote users?
-- T o m M i t c h e l l Just say no to 74LS73 in 2004
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
On Fri, Aug 06, 2004 at 12:05:09PM +0000, regatta wrote:
Yes they are a remote users Do you know any how to document ?
Since many library functions are controlled by 'ld', it is possible to set one or more environment variable to control dynamic linking or even set things at the link stage when the object is compiled. See the ld man page...
i.e. LD_RUN_PATH LD_LIBRARY_PATH
....
Are these remote users?
If they are remote then the library issues are simpler.
Can you be specific about what the users want? That way we can be more specific in the examples.
If you remotly login and run
strace -f -o /tmp/trace-xterm-remote xterm
You will see that about 33 of the 80+ files that are opened are X libraries. What library or function call do the users want updated? Other X applications will link to and open additional or different libraries.
The users are happy with a new application and when they try to run it in the server (Redhat 8) put the application request the library libXrandr.so.2 witch it doesn't included with Redhat 8 (but It's in Redhat Enterprise 3.0)
Any help :)
On Fri, 6 Aug 2004 13:30:31 -0700, Nifty Hat Mitch mitch48@sbcglobal.net wrote:
On Fri, Aug 06, 2004 at 12:05:09PM +0000, regatta wrote:
Yes they are a remote users Do you know any how to document ?
Since many library functions are controlled by 'ld', it is possible to set one or more environment variable to control dynamic linking or even set things at the link stage when the object is compiled. See the ld man page...
i.e. LD_RUN_PATH LD_LIBRARY_PATH
.....
Are these remote users?
If they are remote then the library issues are simpler.
Can you be specific about what the users want? That way we can be more specific in the examples.
If you remotly login and run
strace -f -o /tmp/trace-xterm-remote xterm
You will see that about 33 of the 80+ files that are opened are X libraries. What library or function call do the users want updated? Other X applications will link to and open additional or different libraries.
-- T o m M i t c h e l l Just say no to 74LS73 in 2004
-- fedora-list mailing list fedora-list@redhat.com To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
On Fri, Aug 06, 2004 at 08:56:52PM +0000, regatta wrote:
Date: Fri, 6 Aug 2004 20:56:52 +0000 From: regatta regatta@gmail.com To: For users of Fedora Core releases fedora-list@redhat.com Subject: Re: How to install 2 X Server Reply-To: For users of Fedora Core releases fedora-list@redhat.com
The users are happy with a new application and when they try to run it in the server (Redhat 8) put the application request the library libXrandr.so.2 witch it doesn't included with Redhat 8 (but It's in Redhat Enterprise 3.0)
Any help :)
I am running FC2. $ locate libXrandr /usr/X11R6/lib/libXrandr.so.2.0 /usr/X11R6/lib/libXrandr.so.2 /usr/X11R6/lib/libXrandr.a /usr/X11R6/lib/libXrandr.so
$ rpm -q --whatprovides /usr/X11R6/lib/libXrandr.so.2.0 xorg-x11-libs-6.7.0-5
Do you have xorg-x11-libs installed? Check with: $ rpm -qa | grep xorg-x11-libs or $ rpm -qa xorg-x11-libs
Given the dynamics of switching from XFree86 to X-org you might need to install all the xorg* packages. Doing this should correctly replace all the older libs. See the man pages for up2date or yum on how to wild card the install and show-orphans (up2date).
Good luck...
Yes they are a remote users
Do you know any how to document ?