Feisty: x_mode does it works?

Philipp Hanselmann philipp at schoolnet.na
Mon Sep 10 19:13:56 BST 2007


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






More information about the edubuntu-users mailing list