[X2go-user] x2go thinclient - custom xorg.conf

Stefan lists at nosolution.doesntexist.org
Tue May 24 23:56:56 CEST 2011



Am Dienstag, 24. Mai 2011 schrieb siziwi:
> Hi,
> Have you ever thought about / looked at thinstation
> (http://www.thinstation.org/)? As far as I know, it is possible to load
> different configurations, settings and drivers for different machines
> booting on PXE (for sure, you can "filter" by IP- and MAC-address). This
> mechanism may possibly adapted to your system.
> Maybe I have misunderstood you and this info is obsolete...
> Kind regards
> Simon

Hi,

yes I tried thinstation a while ago but only the live-cd. And my experiences 
with hardware detection where not the best (e.g. monitor resolution). Maybe 
it improved in the last time. But thinstation doesn't provide a x2go-client. 
Does it?

cheers
Stefan

> Stefan schrieb:
> > Hi Neil,
> >
> > thanks for answering. This is indeed a option. Since I got very good
> > experiences with the live-helper tools from debian
> > (http://live.debian.net/), this would be a possibility to create the
> > live-cd-image even easier and more reproducable.
> >
> > Bevor I've seen the x2gothinclient-environment I was already thinking to
> > make a pxe-bootable live-image with x2go-fullscreen-client this way.
> >
> > It's also available for ubuntu - but I've never tried. It shouldn't be
> > more difficult than with pure debian
> > (http://packages.ubuntu.com/de/hardy/live-helper).
> >
> > But if possible I would prefer a generic debian solution.
> >
> > So far I see x possibilities
> >
> > 1. hacking the x2gothinclientd script
> > 2. building live-cd image (ubuntu)
> > 3. setting up a special thinclient changeroot for each client which needs
> > special configuration (with hard-links for all unchanged files) and
> > booting with mac-specific pxe
> >
> > Since I've got already the custom xorg.conf for the clients which behave
> > not like they should, I'll start with 1.
> >
> > For second way it would be great to use the live-helper script and to
> > publish all configuration in the wiki. I'll do, if I find the time.
> >
> > The first way quick and dirty without changing the x2gothinclientd:
> >
> > I created a script
> > /etc/init.d/x2go_xorg_custom
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> > #!/bin/bash
> > # Workaround for custom xorg.conf
> > # tests if custom xorg.conf for mac-address exists.
> > # if yes copy to /ramdrive/tmp
> > # if no the default xorg.conf.default kopiert
> > # ein symbolixher Link /etc/X11/xorg.conf verweist auf diese Datei
> >
> > # make shure having always the same output of ifconfig:
> > export LANG=C
> >
> > # getting Mac-Address for the eth0 -> has to be adjusted if the interface
> > # isn't always eth0
> > xorg_file="xorg.conf.$(/sbin/ifconfig eth0|grep HWaddr | awk '{print
> > $5}')"
> >
> > # tests if a custom xorg.conf.MACADRESS exists
> >
> > if test -e /etc/X11/$xorg_file; then
> >   echo $xorg_file;
> >   else
> >   xorg_file="xorg.conf.default"
> > #  echo $xorg_file
> > fi
> >
> > # copiing the specific xorg.conf to ramdrive
> > cp /etc/X11/$xorg_file /ramdrive/tmp/xorg.conf
> >
> > exit 0
> > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >
> > in the changeroot I made a link from the xorg.conf to the new one
> > and add a starting-script before the x2gothinclientd
> >
> >   chroot /opt/x2gothinclient
> >   ln -s /ramdrive/tmp/xorg.conf /etc/X11/xorg.conf
> >   ln -s /etc/init.d/x2go_custom_xorg /etc/rc2.d/S19x2go_custom_xorg
> >
> >
> > Thanks a lot.
> > Stefan
> >
> > Am Dienstag, 24. Mai 2011 schrieb Neil Hunt:
> >> Stefan,
> >>
> >> I tried long and hard to get the xorg.conf file to work with my monitors
> >> to no avail. Debian simply did not have the intelligence to detect
> >> various monitor configurations and I finally had to unfortunately give
> >> up.
> >>
> >> Probably not the answer you want, however I can say that we went a
> >> different route and it's worked just fine: we decided to create a custom
> >> Ubuntu Live CD image and boot to that via PXE. Ubuntu picks up virtually
> >> any monitor settings and audio works great as well over PXE. I created a
> >> custom kiosk mode so a user boots up right to a full-screen x2go client,
> >> just as the x2go-thinclient package did. The two links I used were
> >>
> >> https://help.ubuntu.com/community/LiveCDCustomization
> >>
> >> and for setting up the kiosk mode, I used this description (made for NX,
> >> but just replace the NX settings with the x2go_gtk client and all worked
> >> fine). http://blog.nistu.de/A_kiosk_setup_with_nxclient.html
> >>
> >> Let me know if you have any questions.
> >>
> >> Neil
> >>
> >>> ------------------------------
> >>>
> >>> Message: 2
> >>> Date: Tue, 24 May 2011 00:59:55 +0200
> >>> From: "Stefan" <lists at nosolution.doesntexist.org>
> >>> To: x2go-user at lists.berlios.de
> >>> Subject: Re: [X2go-user] x2go thinclient - custom xorg.conf
> >>> Message-ID: <201105240059.56128.lists at nosolution.doesntexist.org>
> >>> Content-Type: text/plain;  charset="iso-8859-1"
> >>>
> >>> Am Montag, 23. Mai 2011 schrieb Stefan:
> >>>> Hi all,
> >>>>
> >>>> I installed recently x2go-one and the thinclient-netboot-environment.
> >>>> So far all works fine. (Sound and printing not yet tested).
> >>>>
> >>>> At the same network we have also a ltsp installation but I think to
> >>>
> >>> replace
> >>>
> >>>> ist step by step with x2go mainly because of spee issues.
> >>>>
> >>>> One of the main questions I have ist if it's possible to offer custom
> >>>> xorg.conf to the clients which boot via pxe.
> >>>>
> >>>> Some of our monitors are not correctly recognized by the x-server an
> >>>> need
> >>>
> >>> a
> >>>
> >>>> special xorg.conf.
> >>>>
> >>>> In the ltsp changeroot there is the possibility to offer something
> >>>> like xorg.conf.00:00:00:00:00 with mac-address as a suffix.
> >>>
> >>> I've confused this: is not in ltsp but in the pxe configuration ;-)
> >>> In ltsp you define the specifics for each host in the lts.conf
> >>> but maybe the client mac is still a good starting point.
> >>>
> >>> Stefan
> >>>
> >>>
> >>> ------------------------------
> >>>
> >>> _______________________________________________
> >>> X2go-user mailing list
> >>> X2go-user at lists.berlios.de
> >>> https://lists.berlios.de/mailman/listinfo/x2go-user
> >>>
> >>>
> >>> End of X2go-user Digest, Vol 9, Issue 13
> >>> ****************************************
> >
> > _______________________________________________
> > X2go-user mailing list
> > X2go-user at lists.berlios.de
> > https://lists.berlios.de/mailman/listinfo/x2go-user



More information about the x2go-user mailing list