Sunday, February 25, 2007

Add Third Monitor and Restart dtlogin (XVR-1000/XVR-1200)

Per the customer's request, we added a third monitor. To accommodate the third frame buffer (XVR-1000) request, it involved modifying the /etc/dt/config/Xservers configuration file and then restarting dtlogin.

If the /etc/dt directory does not exist, you may want to copy it to /etc.
#cp -pr /usr/dt /etc
#vi /etc/dt/config/Xservers
:0 local /usr/openwin/bin/X -dev /dev/fbs/jfb0a defclass TrueColor defdepth 24 -dev /dev/fbs/jfb0b defclass Truecolor defdepth 24 -dev /dev/fbs/gfb0 defclass TrueColor defdepth 24 right
:wq! (saves and quits vi)

Here's the restart. By the way, I executed these commands from a remote machine.

#cd /etc/init.d
#./dtlogin start


#cd /etc/rc2.d
#./S99dtlogin start

The S99 script is linked to dtlogin.



No comments: