AccessGrid.org

Additional hints

Additional hints for your Access Grid

Additional hints for your Access Grid

This section of the guide has useful hints and tips that may be useful to you for your Access Grid configuration.

Changing default login to KDE

You may wish to change the “type” of session you wish to run. All the CQU Access Grids use the “KDE” desktop, which is just a perference. To change your desktop to KDE, or any other session, youcan simply be achieve by:

  1. Before logging into the computer, or re-logging into the machine, click on the “Session” text.

  2. Click on the preferred session type and then click on the “Change Session” Button

  3. log on a normal (By entering username and password)

  4. A pop-up window should appear, asking if you wish to make the session your default. Click on the “Make Default” button.

  5. Your session default should now be changed.

Screensaver

Change your screensaver so that it only comes on after 3-4 hours. It is more convenient, such that there will be no need to move the mouse to reset the screen saver. The following instructions are for the KDE desktop. To change the delay of your screensaver, right click on your desktop and click “Configure Desktop”. From here click on screensaver and in the setting set the “After” option to your preferred period of time in minutes.

Autostart AGServiceManager.py (Multi-node Only) (Anonymous Certificate Only)

To run the access grid on a multi-node setup you must manually run AGServiceManager.py every time. If you are using an anonymous certificate you can have this process run automatically every time you log in. To do this create a shell script which contains “AGServiceManager.py &”. To do this open Terminal and change to the /.kde/Autostart/ directory. Now type “vi AGServiceManager.sh”. Now go into insert mode and type “AGServiceManager.py &”. Save and exit. You now need to change the permissions of the file so that it will execute. To do this, in Terminal, type “chmod 755 AGServiceManager.sh”. Now whenever you log in AGServiceManager.py should start.

Changing the panel size

If you have not already done so you should change your desktop so that it is not displaying the panel across all of your display devices. To do this right click on the panel at the bottom of the screen and click “Configure Panel”. In the length box in the middle of the screen you can move the slider bar so that the panel only occupies space you monitor. Set this slider bar to 50%, click “Apply” and see what happens. If you need to, you can adjust the setting more or less.

Storing and Restoring Aslamixer Settings

After you get the sound working for your Access Grid configuration you should save the Alsamixer settings. To do this up a terminal session. Once you are sure the settings are correct, quit alsamixer and type "/sbin/alsactl -f sound.state store". This will store the changes you have made in the file “~/sound.state”.

If someone changes your aslamixer settings or you restart your computer, you may lose any unsaved alsamixer changes, you can simply restore these saved setting by issuing the command “/sbin/alsactl -f sound.state restore”.

If you don’t want to have to type this every time you restart your computer, you can make a script to run alsactl restore when you login. To do this, load up Terminal and go to your home directory and go to directory “/.kde/Autostart/”. Create a file called “alsarestore.sh”, edit it and place this line in the file “/sbin/alsactl -f sound.state restore”. Save and exit. You will now need to change permissions so that it will run when you login. To do this type “chmod 755 alsarestore.sh”. Now whenever you login your alsamixer settings will be restored.

You may wish to place a link to the running of alsactl restore on the desktop to so that you can restore the sound settings at any time.

Killing the AG Processes

Sometimes you may want to kill your Venue Client, pun intended. From our experience if the Venue Client has been running for an extended period of time it may not shut down properly. It may also be because it has frozen or you accidentally clicked something you shouldn’t have. This section will show you how to create a kill script for shutting down the Venue Client, you will however still have to close the VIC and RAT windows.

Open Terminal and type “vi agkill.sh”. This will open the file with the vi editor. Go into insert mode and type this:

#!/bin/sh

TARGETS="VideoConsumerService VideoProducerService VideoService AudioService rat-4 VenueClient"

for target in $TARGETS
do
for p in `ps -ef | grep ${target} | grep -v grep | awk '{ print $2 }'`
do
kill -KILL $p
done
done

Save and exit. Now we need to change the permissions on this script so that it can be executed. To do this type “chmod 755 agkill.sh”. You have now created a script for killing the Venue Client. You may wish to add a shortcut to this on your desktop.

Setting up Desktop Sharing

Enabling Desktop Sharing is quite valuable as it can allow other people to remotely take control of your computer. This is useful as it can allow people more experience that yourself to access your desktop and work the computer themselves. For example if you are having trouble setting up your Venue Client you could have someone else remotely connect and show you how to do it or have someone remotely start-up the AccessGrid remotely.

To allow Desktop Sharing, click on the Red Hat menu and select “Control Center”.

Now click on the “Internet & Network” and then select “Desktop Sharing”.

fc5install-additional

 

You can now configure Desktop Sharing. You should select the following options.

  • Allow uninvited connections. Enabling this allows people to connect without you having to manually invite them to each session.

  • Announce service on the network. Enabling this causes the system to display a message whenever someone takes connects to the machine.

  • Confirm uninvited connection before accepting. By unselecting this option, the user can automatically bring up the desktop, without any intervention from the machine you are trying to connect to.

  • Allow uninvited connections to control the desktop. Enabling this allows an uninvited user to control you desktop. Without this option enabled a remote user can only see what is happening, they can’t actually affect anything.

  • Input a password. Enabling this ensures that only people who know your password can access your computer.

  • Click on the "Apply" button and Desktop Sharing has now been enabled.

login or register to post comments