From: Mark H. <mar...@xs...> - 2003-10-10 19:15:41
|
Hi, I've been using backstreet ruby for a while now, and it works great for me, and also the new 2.6 patch works better than anything I've tried before. I've got 2 X sessions working fine in parallel using different layouts in XF86config. I start them using "startx -- :<screen> -layout <name>" and that works fine. However, since all this is working properly for some time now, I would really like to get the xdm sessions to work, but I'm still experiencing problems with that. I have the following content in /etc/X11/xdm/Xservers: (and the same in the kdm config) # $Xorg: Xserv.ws.cpp,v 1.3 2000/08/17 19:54:17 cpqbld Exp $ # # Xservers file, workstation prototype # # This file should contain an entry to start the server on the # local display; if you have more than one display (not screen), # you can add entries to the list (one per line). If you also # have some X terminals connected which do not support XDMCP, # you can add them here as well. Each X terminal line should # look like: # XTerminalName:0 foreign # #:0 local /usr/X11R6/bin/X :0 local /usr/X11R6/bin/XFree86-head1 -layout head1 vt7 :1 local /usr/X11R6/bin/XFree86-head2 -layout head2 vt17 However, when I start xdm, what happens is that X is started on the second screen, but no login prompt appears. I think the problem is xdm related, since if I remove the :1 line, it starts on the first screen, and the login prompt does appear. Does anyone here have a clue what I'm doing wrong? (I'm using the Gentoo distribution available at www.gentoo.org) Kind regards, Mark. |
From: Svetoslav S. <sv...@gm...> - 2003-10-10 20:17:55
|
> Hi, > > > I've been using backstreet ruby for a while now, and it works > great for me, and also the new 2.6 patch works better than > anything I've tried before. > > I've got 2 X sessions working fine in parallel using different > layouts in XF86config. I start them using "startx -- :<screen> -layout > <name>" > and that works fine. > > However, since all this is working properly for some time now, > I would really like to get the xdm sessions to work, but I'm still > experiencing problems with that. > > I have the following content in /etc/X11/xdm/Xservers: > (and the same in the kdm config) > > # $Xorg: Xserv.ws.cpp,v 1.3 2000/08/17 19:54:17 cpqbld Exp $ > # > # Xservers file, workstation prototype > # > # This file should contain an entry to start the server on the > # local display; if you have more than one display (not screen), > # you can add entries to the list (one per line). If you also > # have some X terminals connected which do not support XDMCP, > # you can add them here as well. Each X terminal line should > # look like: > # XTerminalName:0 foreign > # > #:0 local /usr/X11R6/bin/X > :0 local /usr/X11R6/bin/XFree86-head1 -layout head1 vt7 > :1 local /usr/X11R6/bin/XFree86-head2 -layout head2 vt17 have you tried ? : :0 local /usr/X11R6/bin/XFree86-head1 :0 -layout head1 vt7 :1 local /usr/X11R6/bin/XFree86-head2 :1 -layout head2 vt17 does it work with kdm ? anything in the log files ( kdm/xdm/XFree ) > However, when I start xdm, what happens is that X is started > on the second screen, but no login prompt appears. I think the > problem is xdm related, since if I remove the :1 line, it starts > on the first screen, and the login prompt does appear. may be send me a tar of /etc/X11/xdm & kdm config file > Does anyone here have a clue what I'm doing wrong? > (I'm using the Gentoo distribution available at www.gentoo.org) never played with it :( but i already play with too much :( :-) (using mandrake, plaing with redhat, debian, suse) best, svetljo PS. gdm is the preffered display manager :-) -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ |
From: Mark H. <mar...@xs...> - 2003-10-11 11:07:16
|
On Friday 10 October 2003 22:17, Svetoslav Slavtchev wrote: > > I have the following content in /etc/X11/xdm/Xservers: > > (and the same in the kdm config) > > > > # $Xorg: Xserv.ws.cpp,v 1.3 2000/08/17 19:54:17 cpqbld Exp $ > > # > > #:0 local /usr/X11R6/bin/X > > > > :0 local /usr/X11R6/bin/XFree86-head1 -layout head1 vt7 > > :1 local /usr/X11R6/bin/XFree86-head2 -layout head2 vt17 > > have you tried ? : > :0 local /usr/X11R6/bin/XFree86-head1 :0 -layout head1 vt7 > :1 local /usr/X11R6/bin/XFree86-head2 :1 -layout head2 vt17 Thanks, that did the trick :-) > does it work with kdm ? No, it did not, but now it does :-) > PS. > gdm is the preffered display manager :-) Ok, should give it a try sometime then eh? Thanks for the help, and keep up the good work. Ruby (and backstreet ruby) are looking good! Mark. |
From: Svetoslav S. <sv...@gm...> - 2003-10-11 15:22:37
|
> On Friday 10 October 2003 22:17, Svetoslav Slavtchev wrote: > > > I have the following content in /etc/X11/xdm/Xservers: > > > (and the same in the kdm config) > > > > > > # $Xorg: Xserv.ws.cpp,v 1.3 2000/08/17 19:54:17 cpqbld Exp $ > > > # > > > #:0 local /usr/X11R6/bin/X > > > > > > :0 local /usr/X11R6/bin/XFree86-head1 -layout head1 vt7 > > > :1 local /usr/X11R6/bin/XFree86-head2 -layout head2 vt17 > > > > have you tried ? : > > :0 local /usr/X11R6/bin/XFree86-head1 :0 -layout head1 vt7 > > :1 local /usr/X11R6/bin/XFree86-head2 :1 -layout head2 vt17 > Thanks, that did the trick :-) > > > does it work with kdm ? > No, it did not, but now it does :-) > > > PS. > > gdm is the preffered display manager :-) > Ok, should give it a try sometime then eh? > > Thanks for the help, and keep up the good work. > Ruby (and backstreet ruby) are looking good! happy that i could help :-) have you read my howto, any special Gentoo comments/ differencies ? by any chance Gentoo packages of modified XFree ? best, svetljo -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ |
From: Mark H. <mar...@xs...> - 2003-10-12 00:00:52
|
On Saturday 11 October 2003 17:22, Svetoslav Slavtchev wrote: > have you read my howto, > any special Gentoo comments/ differencies ? Hmm, haven't looked at it from that point of view yet :-) I'll give it another read, and send back my findings. > > by any chance Gentoo packages of modified XFree ? Modified X server binary for Gentoo (based on 4.3.0-r2 package) can be found here (2Mb): http://hoth.xs4all.nl/~hurenkam/linuxconsole/XFree86-prefid I also created a package (62Mb), but haven't tested it, I just took the binary before I packaged it: http://hoth.xs4all.nl/~hurenkam/linuxconsole/xfree-4.3.0-r2.tbz2 Beware, I have a slow uplink (~15kb/s), so if I can put it elsewhere that would be nice :-) Mark. |
From: Svetoslav S. <sv...@gm...> - 2003-10-12 08:20:19
|
> On Saturday 11 October 2003 17:22, Svetoslav Slavtchev wrote: > > have you read my howto, > > any special Gentoo comments/ differencies ? > Hmm, haven't looked at it from that point of view yet :-) > I'll give it another read, and send back my findings. Thanks :-) i also sarted to add info about ruby-2.6 so any comments in this direction are pretty wellcome too :) http://varna.demon.co.uk/~svetlio/ruby-contrib/how-to/XFree_local_multi-user-HOWTO/ > > > > by any chance Gentoo packages of modified XFree ? > Modified X server binary for Gentoo (based on 4.3.0-r2 package) > can be found here (2Mb): > http://hoth.xs4all.nl/~hurenkam/linuxconsole/XFree86-prefid this could probably go to Aivils web site :-) + available to those that haven't read the howto + available from 5 mirrors (in Latvia,Germany, UK ,USA please send me also Gentoo version, gcc & glibc version and i'll write to Aivils or you can also write him > I also created a package (62Mb), but haven't tested it, I just > took the binary before I packaged it: > http://hoth.xs4all.nl/~hurenkam/linuxconsole/xfree-4.3.0-r2.tbz2 > > Beware, I have a slow uplink (~15kb/s), so if I can put it elsewhere > that would be nice :-) it's a source right? i was afraid of that( that was the only thing that poped in my head when you mentioned gentoo) the problem is that i also don't have much web space and it's not a very fast link :( have you worked with rpm? can't you prepare a package similar to my XFree source rpm's my src rpms look like: - we need a compiled XFree tree in the rpm build directory - we link the XF tree to a new durectory (lndir -silent -ignorelinks) - patch the new directory, cd to xc/programs/Xserver && make - then install only the additional modified binary do you think you can make similar package under gentoo? best, svetljo -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ |
From: Mark H. <mar...@xs...> - 2003-10-15 18:31:52
|
Hi Svetljo, I've been reading your howto again (also because I want to tweak more on my system now, like the arts deamon, and I've installed gdm, which looks great on Gentoo b.t.w. :-), here are my findings: In section 1.1: kernel 2.4 & 2.5 patches are mentioned, perhaps you can add reference to 2.6 patches as well? In section 4.4.: Under Backstreet Ruby, each console is represented by 8 tty's: VGA: tty0 to tty7 DUMB1: tty8 to tty15 DUMB2: tty16 to tty23 I think this is outdated, if I understand correctly, it should now read: current console: tty0 VGA: tty0 to tty16 DUMB0: tty17 DUMB1: tty18 etc. (at least on my 2.6 system I'm using tty7 & tty17 as consoles) In section 6.1 you can add: Gentoo uses: /etc/X11/XF86Config /etc/X11/xdm/Xservers for xdm /usr/kde/<kde version>/share/config/kdm/Xservers for kdm And in section 6.2: Gentoo uses: /etc/X11/XF86Config /etc/X11/gdm/gdm.conf for gdm I'll get back to you when I've got my artsd & input agent running ;-) > > Modified X server binary for Gentoo (based on 4.3.0-r2 package) > > can be found here (2Mb): > > http://hoth.xs4all.nl/~hurenkam/linuxconsole/XFree86-prefid > > this could probably go to Aivils web site :-) > + available to those that haven't read the howto > + available from 5 mirrors (in Latvia,Germany, UK ,USA > > please send me also Gentoo version, gcc & glibc version > and i'll write to Aivils or you can also write him I'm running Gentoo-1.4rc1, but I keep it up-to-date, which means it's comparable to what you can download/install right now. gcc version 3.2.3 (Gentoo package gcc-3.2.3-r1) glibc version 2.3.2 (Gentoo package glibc-2.3.2-r2) > > I also created a package (62Mb), but haven't tested it, I just > > took the binary before I packaged it: > > http://hoth.xs4all.nl/~hurenkam/linuxconsole/xfree-4.3.0-r2.tbz2 > > > > Beware, I have a slow uplink (~15kb/s), so if I can put it elsewhere > > that would be nice :-) > > it's a source right? > i was afraid of that( that was the only thing that poped in my head when > you mentioned gentoo) > the problem is that i also don't have much web space and it's not a very > fast link :( No, it is not source, it's a binary package (like normal .rpm), but packaged for Gentoo ebuild system. If I have some time to play around, I'll see if I can get a modified ebuild script put together so that people can build their own XFree using the gentoo ebuild command. (That's a rather new area for me, so it may take a while before I figure it out :-( ) > have you worked with rpm? can't you prepare a package similar to my XFree > source rpm's > my src rpms look like: > - we need a compiled XFree tree in the rpm build directory > - we link the XF tree to a new durectory (lndir -silent -ignorelinks) > - patch the new directory, cd to xc/programs/Xserver && make > - then install only the additional modified binary Sounds pretty much like what I did on my Gentoo system... :-) > do you think you can make similar package under gentoo? I'll try the ebuild first (that's gentoo native after all :-), if I can't get it to work, I'll try the rpm approach (which is just as new to me :-( ). Regards, Mark. |
From: Svetoslav S. <sv...@gm...> - 2003-10-15 20:27:47
|
Hi Mark, > I've been reading your howto again (also because I want to > tweak more on my system now, like the arts deamon, and > I've installed gdm, which looks great on Gentoo b.t.w. :-), > here are my findings: first a question :-) you were reading the stable version of the howto, right ?-) ( haven't i asked you to check the unstable one :-) http://varna.demon.co.uk/~svetlio/ruby-contrib/how-to/XFree_local_multi-user-HOWTO/ ) > > In section 1.1: > kernel 2.4 & 2.5 patches are mentioned, perhaps you can add > reference to 2.6 patches as well? > i think i already did , but you probably see both 2.5 & 2.6 (in wich case i refer to ruby-2.6) i probably have to remove all 2.5 stuff, but 2.6 is not yet official > In section 4.4.: > Under Backstreet Ruby, each console is represented by 8 tty's: > VGA: tty0 to tty7 > DUMB1: tty8 to tty15 > DUMB2: tty16 to tty23 > > I think this is outdated, if I understand correctly, it should now > read: > current console: tty0 > VGA: tty0 to tty16 > DUMB0: tty17 > DUMB1: tty18 > etc. > > (at least on my 2.6 system I'm using tty7 & tty17 as consoles) > i think it's done, but i might have missed smth -- please recheck (the unstable howto -- link above) > In section 6.1 you can add: > > Gentoo uses: > /etc/X11/XF86Config > And in section 6.2: > > Gentoo uses: > /etc/X11/XF86Config i'll add only these, cause i mention only differencies :-) > I'll get back to you when I've got my artsd & input agent running ;-) > > > > > > Modified X server binary for Gentoo (based on 4.3.0-r2 package) > > > can be found here (2Mb): > > > http://hoth.xs4all.nl/~hurenkam/linuxconsole/XFree86-prefid > > > > this could probably go to Aivils web site :-) > > + available to those that haven't read the howto > > + available from 5 mirrors (in Latvia,Germany, UK ,USA > > > > please send me also Gentoo version, gcc & glibc version > > and i'll write to Aivils or you can also write him > I'm running Gentoo-1.4rc1, but I keep it up-to-date, which > means it's comparable to what you can download/install > right now. > > gcc version 3.2.3 (Gentoo package gcc-3.2.3-r1) > glibc version 2.3.2 (Gentoo package glibc-2.3.2-r2) > > > > I also created a package (62Mb), but haven't tested it, I just > > > took the binary before I packaged it: > > > http://hoth.xs4all.nl/~hurenkam/linuxconsole/xfree-4.3.0-r2.tbz2 > > > > > > Beware, I have a slow uplink (~15kb/s), so if I can put it elsewhere > > > that would be nice :-) > > > > it's a source right? > > i was afraid of that( that was the only thing that poped in my head when > > you mentioned gentoo) > > the problem is that i also don't have much web space and it's not a very > > fast link :( > No, it is not source, it's a binary package (like normal .rpm), but > packaged > for Gentoo ebuild system. > If I have some time to play around, I'll see if I can get a modified > ebuild > script put together so that people can build their own XFree using the > gentoo ebuild command. (That's a rather new area for me, so it may > take a while before I figure it out :-( ) > > > have you worked with rpm? can't you prepare a package similar to my > XFree > > source rpm's > > my src rpms look like: > > - we need a compiled XFree tree in the rpm build directory > > - we link the XF tree to a new durectory (lndir -silent -ignorelinks) > > - patch the new directory, cd to xc/programs/Xserver && make > > - then install only the additional modified binary > Sounds pretty much like what I did on my Gentoo system... :-) > > > do you think you can make similar package under gentoo? > I'll try the ebuild first (that's gentoo native after all :-), if I can't > get > it to work, I'll try the rpm approach (which is just as new to me :-( ). thanks for your help :-) svetljo -- NEU FÜR ALLE - GMX MediaCenter - für Fotos, Musik, Dateien... Fotoalbum, File Sharing, MMS, Multimedia-Gruß, GMX FotoService Jetzt kostenlos anmelden unter http://www.gmx.net +++ GMX - die erste Adresse für Mail, Message, More! +++ |