Rdesktop

From OLPC
Revision as of 03:25, 16 September 2008 by Bhamail (talk | contribs) (→‎Running)
Jump to navigation Jump to search


Pencil.png NOTE: The contents of this page are not set in stone, and are subject to change!

This page is a draft in active flux ...
Please leave suggestions on the talk page.

Pencil.png
This command is run in the standard Linux environment via the Terminal Activity. The GUI will probably not integrate comfortably with the XO Laptop's Sugar environment. Your user experience may vary considerably depending on the established environment and the other programs running on the laptop, may need re-installation after an OS Update. See the Linux software category for other commands.


Description

XO Laptop offers rdesktop. (remote desktop manager ?)


Installation

(Already pre-installed)

Running

From Terminal activity.

$ rdesktop

or for full screen

$ rdesktop -g1200x900


To enable audio, include "-r sound:local" on the command line:

$ rdesktop <hostname>[:port] -r sound:local

If you get no sound, and an error like:

/dev/dsp: No such file or directory

you may need to load the oss module, using this command in the terminal (as root):

# /sbin/modprobe snd-pcm-oss

According to this (http://lists.laptop.org/pipermail/devel/2008-January/010015.html), snd-pcm-oss is available on joyride-1550.

(TODO: How best to ensure snd-pcm-oss is automatically loaded?) Steps below taken from: http://lists.laptop.org/pipermail/devel/2008-August/018109.html To always load the snd-pcm-oss during boot, follow the steps below (as root):

First (recommended):

Make a backup copy of you existing olpc-1.modules file:

# cp /etc/sysconfig/modules/olpc-1.modules /etc/sysconfig/modules/olpc-1.modules.bak

Edit the list of modules to load, adding the snd-pcm-oss module to the end of the list.

# vi /etc/sysconfig/modules/olpc-1.modules

Original:

module_list="i8042 i2c-dev...ldes-olpc"

New:

module_list="i8042 i2c-dev...ldes-olpc snd-pcm-oss"


Second (not recommended):

NOTE: The approach below of using a new oss.modules file resulted in choppy audio on my machine, I think due to the order in which the oss module was loaded (ie: not after all others).

Create the file:

# vi /etc/sysconfig/modules/oss.modules

and add the line:

modprobe snd-pcm-oss

Finally, make the file executable via:

# chmod +x /etc/sysconfig/modules/oss.modules

Notes

References

See also