Feisty: x_mode does it works?

David Van Assche dvanassche at gmail.com
Tue Sep 11 15:33:52 BST 2007


Hi Philip,
  I ran into a similar problem, as in my school the computers are
practically all on widescreens, which are not detected correctly with the
auto X thin client setup. I too, tried to use the X_MODE variable in
lts.conf without too much luck. I asked on the #edubuntu channel and was
informed that these variables are not yet supported. There is a work around
though, the XF86CONFIG=/location/to/myownxorg.conf does work, and allows you
to set within it the specific details of each computer that way. I have
tried this only for [default] so I'm not sure if this will work for each
[mac:address:here] setup.

Kind Regards,
David Van Assche

On 9/10/07, Philipp Hanselmann <philipp at schoolnet.na> wrote:
>
> Hi
>
> I our computer lab with refurbished thin clients we have different sorts
> of CRT screen. Mostly they have sizes between 15 and 17''.
> Now we have some 17'' screen which get auto detected with a resolution
> of 1600x1200 during the thin client start.
>
> Like I know from previous ltsp versions, the resolution modes can be
> defined in /opt/ltsp/i368/etc/lts.conf, like this:
>
> X_MODE_1="1024x768"
> X_MODE_2="800x600"
>
> I did this but without any success up to know. I checked the client
> boots script /opt/ltsp/i386/etc/init.d/ltsp-client-setup witch is doing
> the graphical setup, and found the following lines inside:
>
> <snip>
> X_MODE=$( echo "$X_MODE_0 $X_MODE_1 $X_MODE_2" | sed -r 's/ +/, /g;s/,
> *$//g')
> if [ -n "$X_MODE" ]; then
>     preseed $xserver_package/config/display/modes "$X_MODE"
> fi
> </snip>
>
> So it looks like this is supported by Feisty!
>
> I also tried directly from the client (CRTL-ALT-F1) this command:
>
> echo 'set  xserver-xorg/config/display/modes 800x600' |
> debconf-communicate xserver-xorg
>
> With the hope that after a restart of X11 (CRTL-ALT-BACKSPACE), the
> client will choose 800x600 as his resolution, but I only got this error
> message:
>
> debconf: DbDriver "config" could not write
> /var/cache/debconf/config.dat-new: Read-only filesystem
>
>
> Addistionaly I tried the same on the server:
>
> 1.) chroot /opt/ltsp/i368
> 2.) echo 'set  xserver-xorg/config/display/modes 800x600' |
> debconf-communicate xserver-xorg
>
> This time without an error message. I figured out that I get applied in
> /opt/ltsp/i386/var/cache/debconf/config.dat.
>
> But still there is no effect on the client screen after a reboot.
>
> The only thing, what was helping is this manually way, which must be
> done after reboot ;-(.
>
> 1.) login  on the client as root (CTRL-ALT-F1)
> 2.) edit with vi /etc/X11/xorg.conf
> 3.) delete all not needed modes
> 4.) restart the X11 screen (CRTL-ALT-BACKSPACE)
>
> May somebody can  assist here?
>
> Philipp
>
>
> But
>
> --
> SchoolNet NA - Youth Empowerment through Information and Communication
> Technology
>
> SchoolNet Namibia provides sustainable, low cost technology solutions and
> internet access, as well as technical support, training services and rich
> educational content to schools, community-based educational organisations,
> and educational practitioners throughout Namibia.
>
> www.schoolnet.na
>
>
>
>
> --
> edubuntu-users mailing list
> edubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/edubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/edubuntu-users/attachments/20070911/03fc825d/attachment.htm 


More information about the edubuntu-users mailing list