Hi friends,
(My English isn't good, but let's go!)
I understand that Santos wanted LTSP to automatically determine the
resolution, but I preffer doing like the following way when I configure
the LTSP manually...
I am using this format in lts.conf:
*****************************************************
(...)
[s154pc04]
XF86CONFIG_FILE =3D XF86Config-FILE-EXAMPLE
XSERVER =3D XF86_SVGA
USE_XFS =3D N
LOCAL_APPS =3D N
LOCAL_DEVICE_01 =3D /dev/fd0:floppy
RUNLEVEL =3D 5
(...)
*****************************************************
Then.. First I suggest you look:
/opt/ltsp/i386/etc/screen.d/startx
You need to search the lines:
*****************************************************
(...)
if [ ! -z "${XF86CONFIG_FILE}" ]; then
reg_info XF86CONFIG_FILE
#
# If XF86CONFIG_FILE is defined in the lts.conf file, then
# it points to an XF86Config file that is pre-made for a workstation
#
if [ -f /etc/${XF86CONFIG_FILE} ]; then
cp /etc/${XF86CONFIG_FILE} ${XFCFG}
else
echo
echo "Error! - ${XF86CONFIG_FILE} - File not found!"
echo
fi
else
#
# Build the XF86Config file from entries in the lts.conf file
# If it starts with 'XF86_', then we use XFree86 3.3.6. Otherwise,
# we use XFree86 4.x
#
case ${XSERVER} in
XF86_*) /etc/build_x3_cfg ${XSERVER} >${XFCFG}
(...)
*****************************************************
The code below indicates where LTSP's client searches the 'XF86CONFIG_FILE'
defined in /opt/ltsp/i386/etc/lts.conf.
*****************************************************
"if [ -f /etc/${XF86CONFIG_FILE} ]; then
cp /etc/${XF86CONFIG_FILE} ${XFCFG}"
*****************************************************
Then you need to create and to configure the
/opt/ltsp/i386/etc/XF86Config-FILE-EXAMPLE for your specific WS.
In XF86Config-FILE-EXAMPLE:
# Monitor Specifications
Section "Monitor"
Identifier "Generic Monitor"
# 14/15" Monitor frequency
HorizSync 28-40
VertRefresh 43-90
# 17" Monitor frequency
#HorizSync 30-70
#VertRefresh 50-150
Option "DPMS"
EndSection
# Screen Specifications
Section "Screen"
Identifier "Default Screen"
Device "Cirrus Logic"
Monitor "Generic Monitor"
DefaultDepth 16
SubSection "Display"
Depth 16
# The 1280x1024 mode only work in 17" Monitor...
Modes "1280x1024" "1024x768" "800x600"
EndSubSection
EndSection
I hope have helped...
--=20
|> Amadeu Jr. :: Estudante de Ci=EAncia da Computa=E7=E3o - UFBa
Representante no DCE - DACOMP - www.dacomp.im.ufba.br
Membro do GAVRI-IM - www.gavri.im.ufba.br
Volunt=E1rio no Projeto i-MIRA - www.imira.dcc.ufba.br
|> Mensagem :: "A desobedi=EAncia =E9 uma virtude necess=E1ria =E0 criativi=
dade"
On Sun, Dec 05, 2004 at 10:55:31PM +0000, Santos wrote:
> norbert wrote:
>=20
> >[EMAIL PROTECTED] wrote:
> >
> >>On Sun, 5 Dec 2004, norbert wrote:
> >>
> >>=20
> >>
> >>>Hi,
> >>>
> >>>Correct me if I'm wrong but in the /opt/ltsp/i386/etc/lts.conf there's=
a
> >>>section where you can define parameters per ws
> >>>
> >>>i.e.
> >>>[ws002]
> >>> XSERVER =3D XF86_S3 # specific video driver
> >>> LOCAL_APPS =3D N
> >>> USE_NFS_SWAP =3D N
> >>> SWAPFILE_SIZE =3D 64m
> >>> X_MODE_0 =3D 800x600 # different resolutions
> >>>
> >>>The WS must also be defined in the /etc/dhcpd.conf file i.e
> >>>
> >>>host ws002 {
> >>> hardware ethernet 00:D0:09:30:6A:1C;
> >>> fixed-address 192.168.0.2;
> >>> filename "/lts/vmlinuz.ltsp";
> >>> option option-128 e4:45:74:68:00:00;
> >>> option option-129 "NIC=3Dne";
> >>> }
> >>>
> >>>Then the system will "know" what specific WS you are attributing=20
> >>>different
> >>>characteristics.
> >>> =20
> >>>
> >>
> >>
> >>Yes, but that is what Santos was trying to avoid. He didn't want to go
> >>through the trouble of setting up the resolution of each monitor. He
> >>wanted LTSP to automatically determine the resolution based on the size
> >>of the monitor. Unfortunately, we don't have any way of knowing what
> >>is plugged in.
> >>
> >>Jim.
> >>=20
> >>
> >Hi Jim,
> >
> >hmmm run Knoppix ... :-P
> >
> >norbert
>=20
>=20
> Wow! Thanks for the fast replies :)
>=20
> When i install Fedora or Centos, it almost always auto-detect the
> correct monitor. Does Anaconda have any special hack or something to do
> that?
>=20
> To Norbert, yeah i was trying to avoid that :) BTW i find easier, to use
> mac addresses than to use hostnames, that way you don't have to
> configure the dhcp server.
>=20
>=20
> Thanks for the replies,
>=20
> Santos
>=20
>=20
>=20
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from real users.
> Discover which products truly live up to the hype. Start reading now.=20
> http://productguide.itmanagersjournal.com/
> _____________________________________________________________________
> Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
> https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
> For additional LTSP help, try #ltsp channel on irc.freenode.net
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_____________________________________________________________________
Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto:
https://lists.sourceforge.net/lists/listinfo/ltsp-discuss
For additional LTSP help, try #ltsp channel on irc.freenode.net