![]() |
2009-11-23
, 12:00
|
|
Posts: 415 |
Thanked: 182 times |
Joined on Nov 2007
@ Leeds UK
|
#2
|
The Following User Says Thank You to deadmalc For This Useful Post: | ||
![]() |
2009-11-28
, 08:53
|
Posts: 1 |
Thanked: 0 times |
Joined on Nov 2009
|
#3
|
[root@localhost ~]# Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac &
[1] 3458
[root@localhost ~]# record: RECORD extension enabled at configure time.
record: This extension is known to be broken, disabling extension now..
record: http://bugs.freedesktop.org/show_bug.cgi?id=20500
Ignoring device from HAL.
(EE) config/hal: NewInputDeviceRequest failed (2)
Ignoring device from HAL.
(EE) config/hal: NewInputDeviceRequest failed (2)
Ignoring device from HAL.
(EE) config/hal: NewInputDeviceRequest failed (2)
Ignoring device from HAL.
(EE) config/hal: NewInputDeviceRequest failed (2)
Ignoring device from HAL.
(EE) config/hal: NewInputDeviceRequest failed (2)
Ignoring device from HAL.
(EE) config/hal: NewInputDeviceRequest failed (2)
Ignoring device from HAL.
(EE) config/hal: NewInputDeviceRequest failed (2)
Ignoring device from HAL.
(EE) config/hal: NewInputDeviceRequest failed (2)
Ignoring device from HAL.
(EE) config/hal: NewInputDeviceRequest failed (2)
^C^C
[root@localhost ~]# XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0"
after 41 requests (41 known processed) with 0 events remaining.
![]() |
2009-12-01
, 01:41
|
Posts: 176 |
Thanked: 262 times |
Joined on Nov 2009
@ Texas, USA
|
#4
|
![]() |
2009-12-01
, 01:47
|
|
Posts: 445 |
Thanked: 572 times |
Joined on Oct 2009
@ Oxford
|
#5
|
![]() |
2009-12-04
, 20:23
|
Posts: 355 |
Thanked: 566 times |
Joined on Nov 2009
@ Redstone Canyon, Colorado
|
#6
|
which: no dpkg in (/usr/bin:/bin) dpkg tool in path... no E: This script requires dpkg to install .deb files. V [17:19:35 04.12.2009]: Installer execution failed V [17:19:35 04.12.2009]: ----- Begin logging exception ----- Traceback (most recent call last): File "./maemo-sdk-install-wizard_5.0.py", line 2705, in run task() File "./maemo-sdk-install-wizard_5.0.py", line 2318, in __taskInstallScratchbox raise Exception("Installer execution failed") Exception: Installer execution failed V [17:19:35 04.12.2009]: ----- End logging exception ----- V [17:19:35 04.12.2009]: Executor set exit status to (status_error)
![]() |
2009-12-04
, 20:32
|
Posts: 355 |
Thanked: 566 times |
Joined on Nov 2009
@ Redstone Canyon, Colorado
|
#7
|
--- maemo-sdk-install-wizard_5.0.py.orig 2009-11-16 08:16:39.000000000 -0300 +++ maemo-sdk-install-wizard_5.0.py 2009-12-04 17:29:00.905719892 -0300 @@ -2308,7 +2308,7 @@ tries = 2 while (True): try: - exec_cmd(sb_installer_fn + opt) + exec_cmd(sb_installer_fn + opt + "-s " + SB_PATH) except: tries -= 1 if tries: @@ -2348,7 +2348,7 @@ # do the installation thing - cmd = "%s -d -m %s" % (sdk_installer_fn, self.__sdk_inst_m_opt_arg) + cmd = "%s -d -m %s -s %s" % (sdk_installer_fn, self.__sdk_inst_m_opt_arg, SB_PATH) if self.__targets_exist: if self.__remove_targets:
The Following User Says Thank You to jebba For This Useful Post: | ||
![]() |
2009-12-04
, 23:25
|
Posts: 355 |
Thanked: 566 times |
Joined on Nov 2009
@ Redstone Canyon, Colorado
|
#8
|
![]() |
2009-12-04
, 23:27
|
Posts: 355 |
Thanked: 566 times |
Joined on Nov 2009
@ Redstone Canyon, Colorado
|
#9
|
newgrp sbox /scratchbox/login
af-sb-init.sh
![]() |
2009-12-05
, 02:30
|
Posts: 176 |
Thanked: 262 times |
Joined on Nov 2009
@ Texas, USA
|
#10
|
The Following User Says Thank You to mooninite For This Useful Post: | ||
$ yum install Xephyr
since the installer is not able to do so for other distributions than Ubuntu and debian.
In the file maemo-sdk-install-wizard_5.0.py you can change line 129 to
SB_PATH="/opt/scratchbox"
change line 2311 to:
exec_cmd(sb_installer_fn + opt + "-s " + SB_PATH)
change line 2351 to:
cmd = "%s -d -m %s -s %s" % (sdk_installer_fn, self.__sdk_inst_m_opt_arg, SB_PATH)
this includes the Scratchbox path during the command invocation. You can then install the SDK by running the script. It will handle the download of PyQT and sip itself.
After the install you can start Xephyr. However you can not use the -kb option:
$ Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac &
The first start of af-sb-init.sh failed for me with a coredump and several segmentation faults. try to close the scratchbox environment and try again. The result: http://picasaweb.google.com/lh/photo...PVlzul5UjAaSqg
Greets!
Note: I haven't tried it with SELinux as enforcing since I currently run my workstation as permissive.
Last edited by gbraad; 2009-11-22 at 23:18.