SRSS on Ubuntu - Tips and Tricks

From Sun Ray User Group Wiki

Jump to: navigation, search

Contents

Tips and Tricks

The following is a list of certain tips and tricks that one may use. However, they are not mandatory to get SRSS running on Ubuntu:

update the MANPATH

To make sure users are able to access the manual pages of SRSS go and add them globally in /etc/manpath.config

MANDATORY_MANPATH       /opt/SUNWut/share/man
MANDATORY_MANPATH       /opt/SUNWuttsc/share/man
MANDATORY_MANPATH       /opt/SUNWkio/share/man

add the SRSS tools to the general user PATH

To make the SRSS tools (e.g. utxconfig) available to all users, make sure to add the following pathes to your /etc/environment file:

/opt/SUNWut/bin:/opt/SUNWuttsc/bin:/opt/SUNWut/sbin

useful GNOME default settings

There are some usefull GNOME default setting you might want to apply globally for all users:

  • (Ubuntu 9.10): make GDM looking a bit nicer for servers:
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool \
            --set "/apps/gdm/simple-greeter/disable_user_list" "true"
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string \
            --set "/apps/gdm/simple-greeter/banner_message_text" "<YOUR BANNER TEXT>"
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool \
            --set "/apps/gdm/simple-greeter/banner_message_enable" "true"
  • system wide GNOME settings:
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool \
            --set "/apps/gnome-power-manager/can_hibernate" "false"
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool \
            --set "/apps/gnome-power-manager/can_suspend" "false"
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool \
            --set "/apps/gnome-screensaver/logout_enabled" "true"
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type int \
            --set "/apps/gnome-screensaver/logout_delay" "0"
  • SUNray specific settings (reducing bandwith, etc):
gconftool-2 --direct  --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string \
            --set "/desktop/gnome/background/picture_options" "none"
gconftool-2 --direct  --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string \
            --set "/apps/gnome-screensaver/mode" "blank-only"
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool \
            --set "/apps/gnome-screensaver/lock_enabled" "true"
gconftool-2 --direct --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type bool \
            --set "/apps/gnome-screensaver/idle_activation_enabled" "true"
  • only necessary on SRSS < 4.2:
gconftool-2 --direct  --config-source  xml:readwrite:/etc/gconf/gconf.xml.defaults --type bool \
            --set "/apps/gnome-terminal/profiles/Default/no_aa_without_render" "false"
  • enable the SUN keyboard:
gconftool-2 --direct  --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string \
            --set "/apps/gnome_settings_daemon/keybindings/help" "Help"
gconftool-2 --direct  --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string \
            --set "/apps/gnome_settings_daemon/keybindings/screensaver" "SunPowerSwitch"
gconftool-2 --direct  --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string \
            --set "/apps/gnome_settings_daemon/keybindings/search" "F19"
gconftool-2 --direct  --config-source xml:readwrite:/etc/gconf/gconf.xml.mandatory --type string \
            --set "/apps/gnome_settings_daemon/keybindings/home" "F17"

restore fast-user-switch-applet functionality in GNOME

In case you are upgrading to an Ubuntu system 9.10 and you have used the fast-user-switch-applet functionality you will notice a warning on the missing applet as soon as you log in. However, there is an easy way to restore that kind of functionality by installing the following packages in Ubuntu 9.10:

sudo aptitude install indicator-applet-session

switch to new firmware

In case a new firmware is released or you want to use the GUI firmware for your DTUs you can use the following command to signal the SRSS to install the very latest firmware in the /tftpboot directory:

sudo /opt/SUNWut/sbin/utfwadm -A -a -N all -f /opt/SUNWut/lib/firmware_gui

disable the buggy 'utmhscreen'

In case you are running a multihead session it might be necessary or wanted to disable the 'utmhscreen' tool which automatically pops up to select a screen. However, as soon as this tool is manually close it is still carried around as a Zombie process normally. To prevent that you can permanently disable that tool by simply removing the executable rights for it:

sudo chmod a-x /opt/SUNWut/lib/utmhscreen
Personal tools