Talk:Coding on the xo: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
==XTEST extension error==
I've done the install with yum, (so fantastic that I can yum from the xo!)
I've done the install with yum, (so fantastic that I can yum from the xo!)
but in terminal if I try
but in terminal if I try
Line 12: Line 13:
::FATAL: synergyc.cpp,343: cannot open secondary screen: unable to open screen
::FATAL: synergyc.cpp,343: cannot open secondary screen: unable to open screen
:If anyone knows how to fix, it would be greatly appreciated (and should perhaps be mentioned in the article).
:If anyone knows how to fix, it would be greatly appreciated (and should perhaps be mentioned in the article).


:I discovered how to fix this. The problem is that the XTEST extension is disabled by default on the OLPC (as a security precaution, since it can be used to hijack the mouse/keyboard). Enabling XTEST is quite easy. Edit the "xorg.conf" file:
::su
::nano /etc/X11/xorg.conf
:Find the section marked "Extensions". You'll notice a line that says
::Option "XTEST" "Disable"
:Just comment-out the line by placing a # at the begging, so that the section looks like:
:: Section "Extensions"
::: #Option "XTEST" "Disable" # Mostly a debugging tool
::: #Option "SECURITY" "Disable" # CRASH!
::: Option "XC-APPGROUP" "Disable"
::: Option "XINERAMA" "Disable"
:: EndSection
:Save the file (Ctrl+O), exit the text editor (Ctrl+X) and on the next reboot, XTEST should be loaded and synergy should work.

Revision as of 04:39, 12 January 2008

XTEST extension error

I've done the install with yum, (so fantastic that I can yum from the xo!) but in terminal if I try

 $ synergyc -n xo -f 192.168.2.12

I get "XTEST extension not available", and "cannot open secondary screen: unable to open screen"

is there a better way (or place) to start the client?

I'm having the same problem. When I run "synergyc" on the XO, I get the error:
DEBUG: CXWindowsScreen.cpp,840: XOpenDisplay(":0")
ERROR: CXWindowsScreen.cpp,851: XTEST extension not available
FATAL: synergyc.cpp,343: cannot open secondary screen: unable to open screen
If anyone knows how to fix, it would be greatly appreciated (and should perhaps be mentioned in the article).


I discovered how to fix this. The problem is that the XTEST extension is disabled by default on the OLPC (as a security precaution, since it can be used to hijack the mouse/keyboard). Enabling XTEST is quite easy. Edit the "xorg.conf" file:
su
nano /etc/X11/xorg.conf
Find the section marked "Extensions". You'll notice a line that says
Option "XTEST" "Disable"
Just comment-out the line by placing a # at the begging, so that the section looks like:
Section "Extensions"
#Option "XTEST" "Disable" # Mostly a debugging tool
#Option "SECURITY" "Disable" # CRASH!
Option "XC-APPGROUP" "Disable"
Option "XINERAMA" "Disable"
EndSection
Save the file (Ctrl+O), exit the text editor (Ctrl+X) and on the next reboot, XTEST should be loaded and synergy should work.