SUMMARY: Setting SunRay Screen Resolution Tobias Oetiker oetiker@ee.ethz.ch Fri, 29 Jun 2001 14:25:08 +0200 (MEST) * Previous message: Limiting the number of sessions by a single user * Next message: [SUMMARY] RE: Question on Packages * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] ------------------------------------------------------------------------ Folks, A few weeks ago I posted to the list, asking if anybody knew a how to set the screen resolution of a sunray from the command-line. I did not receive an answer then, but now I got one and some more interesting tidbits on sunrays. Enjoi. Note that this information is not official ! NAME sunray-faq - Interesting tidbits for SunRay users OVERVIEW SunRay is a graphical terminal from sun. This document lists interesting things we found while using these beasts. This Information refers to SunRay 1.2 and may not be accu­ rate for later or earlier releases. DESCRIPTION Magic Keystrokes Ethernet Number Press the three gray keys in the top right-hand corner of the keyboard, next to the crescent moon to see the last few digits of the SunRays Ethernet number. Kill XSession [Ctrl]+[Alt]+[Backspace] pressed twice kills the cur­ rent XSession. Reboot the SunRay [Ctrl]+[cresent moon (top right corner)] Power Cycles the SunRay. Stop Autologout When you use a Token card to be able to move your session between different SunRays, you may have noticed that your session can suddenly disappear while the token is not inserted in any SunRay. The reason for this is, that as soon as you pull the token from the SunRay utaction starts a 900 second wait period and then kills your session. This default can be changed to some other value by editing the /usr/dt/config/Xsetup file and raise the 900 seconds value to some more appropriate value. Information about the current SunRay With xprop -root |grep "_SUN" you can get some interesting information ... for example the IP number of _your current SunRay in the SUN_SUN­ RAY_CONN_INFO property. Setting Screen Resolution for non DDC Displays If you attach a non DDC enabled display to a SunRay, it assumes that the display wants a resolution of 1024x768. You can then use "utsettings" to change to resolution. If your screen can not display a resolution of 1024x768 you have a problem. Using the following procedure you can change the default resolution for a SunRay. Edit the /var/dhcp/dhcptab file and add the following sym­ bol: DispRes s Vendor=SUNW.NewT.SUNW,32,NUMBER,4,1 You can now use "DispRes="X in all the macro definitions of your dhcptab file. X is a value between 2 and 15 depending on the resolution you desire. X Width Height Hz ---------------------- 2 640 x 480 @ 85 3 800 x 600 @ 85 4 1024 x 768 @ 60 5 1024 x 768 @ 75 6 1152 x 900 @ 66 7 1152 x 900 @ 76 8 1280 x 1024 @ 60 9 1280 x 1024 @ 66 10 1280 x 1024 @ 75 11 1280 x 1024 @ 76 12 1280 x 1024 @ 85 13 1024 x 768 @ 85 14 640 x 480 @ 60 15 800 x 600 @ 60 If you wanted to change the default for all SunRays to 1280x1024@75 just add ":DispRes=10:" to the "SunRay-"I macro in your /var/dhcp/dhcptab. I is the name of the interface where the Sunrays are attached. You can also add macros targeted at specific SunRays by using their ethernet address as macro name: 01080020F95B1A m :DispRes=10: Note the 01 before the actual ethernet address. AUTHOR Tobias Oetiker HISTORY 2001-06-06 to Initial Version 2001-07-29 to Added Resolution DHCP Info -- ______ __ _ /_ __/_ / / (_) Oetiker, ETZ J97, ETH, 8092 Zurich, Switzerland / // _ \/ _ \/ / phoneto:+41(0)1-632-5286 faxto:+41(0)1-632-1517 /_/ \.__/_.__/_/ mailto:oetiker@ee.ethz.ch http://people.ee.ethz.ch/~oetiker ------------------------------------------------------------------------ * Previous message: Limiting the number of sessions by a single user * Next message: [SUMMARY] RE: Question on Packages * Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]