OESF Portables Forum
Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: enodr on May 15, 2006, 02:54:19 pm
-
Here is my mini Opie-X11 howto if you can't wait for a proper ipk. The benefits of this method is that X11 will only start on demand, and not automatically at startup (thus saving memory when not needed). Also it features a minimal X11 install, not the full GPE environment (this saving memory one more time).
Please give feedbacks as this howto was written after I have set up everything. This means I may have forgotten some dependencies.
---------------------------
OPIE-X11
---------------------------
Enable X11 feeds in /etc/ipkg.conf
ipkg install xserver-kdrive-fbdev
ipkg install xserver-common
ipkg install xbase-clients
ipkg install libcairo1
ipkg install gpe-session-scripts
ipkg remove -force-depends gpe-dm
ipkg remove -force-depends gpe-login
Copy the files from the zip file at the good location and chmod 755 where needed
/usr/bin/start-x11 && chmod 755
/usr/bin/goto-opie && && chmod 755
/usr/share/application/opie.desktop
/usr/share/application/quit.desktop
Optional: if you have font problems, edit /etc/X11/Xserver and remove dpi=200 on your model
Todo:
- fix the screen power off under X11
- find a nice OPIE startx icon!
- make an ipk of this and test it
-
very nifty, I look forward to trying it out tomorrow. My hope is to get OO.o running under Opie, with as minimal additions as necessary. This might be the route ...
-- wylbur.
-
so this would be an equivallent of a rootless mode?
-
so this would be an equivallent of a rootless mode?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127233\"][{POST_SNAPBACK}][/a][/div]
No, it starts the X11 server on another virtual terminal, ie fullscreen. But it lets you switch between x11 and opie with one click (or even a keyboard shorcut if you configure it).
-
so this would be an equivallent of a rootless mode?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127233\"][{POST_SNAPBACK}][/a][/div]
No, it starts the X11 server on another virtual terminal, ie fullscreen. But it lets you switch between x11 and opie with one click (or even a keyboard shorcut if you configure it).
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127235\"][{POST_SNAPBACK}][/a][/div]
Hi there, thanks for the info. I like the concept you are proposing, so thought I'd try it out...
However (I'm very new to all of this) so need further info... I'm using a C3200 with OPIE 3.5.4.1, followed your mini-howto, and also installed gnumeric to test the setup, but I'm a bit stuck:
If I try running gnumeric from the (OPIE) console I get "Gtk-Warning **: cannot open display:", if I run start-x11 from the OPIE console which starts X in VT3, nothing else happens, and I cannot switch back to other VTs (eg Ctrl-Alt-2), unless I kill X (Ctrl-Alt-BS).
I think my problem is lack of knowledge here; can anyone fill the gaps? I'm just getting to the point where I might become dangerous !!
Thanks in advance.
M
-
Here is my mini Opie-X11 howto if you can't wait for a proper ipk. The benefits of this method is that X11 will only start on demand, and not automatically at startup (thus saving memory when not needed). Also it features a minimal X11 install, not the full GPE environment (this saving memory one more time).
Please give feedbacks as this howto was written after I have set up everything. This means I may have forgotten some dependencies.
---------------------------
OPIE-X11
---------------------------
Enable X11 feeds in /etc/ipkg.conf
ipkg install xserver-kdrive-fbdev
ipkg install xserver-common
ipkg install xbase-clients
ipkg install libcairo1
ipkg install gpe-session-scripts
ipkg remove -force-depends gpe-dm
ipkg remove -force-depends gpe-login
Copy the files from the zip file at the good location and chmod 755 where needed
/usr/bin/start-x11 && chmod 755
/usr/bin/goto-opie && && chmod 755
/usr/share/application/opie.desktop
/usr/share/application/quit.desktop
Optional: if you have font problems, edit /etc/X11/Xserver and remove dpi=200 on your model
Todo:
- fix the screen power off under X11
- find a nice OPIE startx icon!
- make an ipk of this and test it
[div align=\"right\"][a href=\"index.php?act=findpost&pid=127163\"][{POST_SNAPBACK}][/a][/div]
Hello,
I have followed your instructions on my C3100.
After running your your "start-x11" script I get a black screen, with a cursor marker (x mark).
The cursor marker works: I can drag it with my pen.
Nothing else is visible, and my only way out is a reboot.
Would you have any ideas to what is happening?
Thank you...
-
Same thing happning on my 5500 .
ssh-ing in and then chvt lets me switch between opie and X though , however on the X side of things all I get is a black screen and the X nothing else
runing wpa_gui from the command line gave me a clue it errored with "wpa_gui: cannot connect to X server"
on further nosing around I found no apps can conect to the Xserver this is as far as I have got though
root@David-PDA:~# echo $DISPLAY
:0.0
root@David-PDA:~# wpa_gui
wpa_gui: cannot connect to X server
root@David-PDA:~# //etc/X11/Xinit
Can't open display (null)
run-parts: /etc/X11/Xinit.d/01xrandr exited with return code 1: Success
xmodmap: unable to open display ''
run-parts: /etc/X11/Xinit.d/12keymap exited with return code 1: Success
DISPLAY is not set, aborting...
xset: unable to open display ""
xset: unable to open display ""
run-parts: /etc/X11/Xinit.d/55xScreenSaver exited with return code 1: Success
xrdb: Can't open display ''
run-parts: /etc/X11/Xinit.d/60xXDefaults exited with return code 1: Success
root@David-PDA:~#
this may be that I am missing some peice of setup for X beyond just the DISPLAY var
all the wihle on the Z there is just the blank screen with the X
hope this helps I am not sure where to go form here most of my linux expernce is on the Z under opie.
-
Welll I got some time to play with X last evening. I found that it is working after all X apps dont just pick there display automagicly they need to be told by AppYouWantToRun -display :display.screen so when I did
wpa_gui -display :0.0
It worked , sort of the font is huge so I only see the upper left corner of the window.
GadgetGuy try from a termnal or added to the end of your Start-X11 scriprt
//usr/bin/matchbox-desktop -display :0.0
or whatever window manager for x that you like matchbox happens to be the one that is installed by default, if you add it to Start-X11 you can leave of the -display :0.0 it knows as long as its inside the script.
This gave me two questions 1st where to add
export DISPLAY=:0.0
so my X apps know where to display when I start them
and 2nd how do I get a smaller font installed and tell my apps to use it so I can see them?
endor thanks for a easy way to have X on my Z I have wanted to learn it for a long time but usualy didnt have a linux box when I had time to play except the Z.
-
Thank you for the advice.
I followed the Wiki (with some differences), and have now a complete Opie / GPE system...
-
Hello,
I have followed your instructions on my C3100.
After running your your "start-x11" script I get a black screen, with a cursor marker (x mark).
The cursor marker works: I can drag it with my pen.
Nothing else is visible, and my only way out is a reboot.
Would you have any ideas to what is happening?
Thank you...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134845\"][{POST_SNAPBACK}][/a][/div]
I'm facing the same problem can any one advice...?
It seems that X has started running, but no application was launched
thx
-
First off, thanks!
Any update on this? I am having similar problems. The enviroment loads, I see the desktop, but the folders don't seem to be populated. I got out of x11 and checked the folders and everything seems to be correct. How do we make the programs point in the direction of the x11 enviro?
--fish
-
First off, thanks!
Any update on this? I am having similar problems. The enviroment loads, I see the desktop, but the folders don't seem to be populated. I got out of x11 and checked the folders and everything seems to be correct. How do we make the programs point in the direction of the x11 enviro?
--fish
[div align=\"right\"][a href=\"index.php?act=findpost&pid=138582\"][{POST_SNAPBACK}][/a][/div]
I will install the latest OZ before the end of the week, so I will make an update to this howto. From the feedbacks it seems this is only a problem with the VT screen switching. I keep you informed through this thread.
-
Hello,
I have followed your instructions on my C3100.
After running your your "start-x11" script I get a black screen, with a cursor marker (x mark).
The cursor marker works: I can drag it with my pen.
Nothing else is visible, and my only way out is a reboot.
Would you have any ideas to what is happening?
Thank you...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134845\"][{POST_SNAPBACK}][/a][/div]
I'm facing the same problem can any one advice...?
It seems that X has started running, but no application was launched
thx
[div align=\"right\"][a href=\"index.php?act=findpost&pid=138315\"][{POST_SNAPBACK}][/a][/div]
Ok, I have checked. The start-x11 script is missing one line:
after /etc/X11/Xinit
add /etc/X11/Xsession
I will post an updated .zip file with all the files and a shorcut with icon to launch X11 from OPIE.
-
Hello,
I have followed your instructions on my C3100.
After running your your "start-x11" script I get a black screen, with a cursor marker (x mark).
The cursor marker works: I can drag it with my pen.
Nothing else is visible, and my only way out is a reboot.
Would you have any ideas to what is happening?
Thank you...
[div align=\"right\"][a href=\"index.php?act=findpost&pid=134845\"][{POST_SNAPBACK}][/a][/div]
I'm facing the same problem can any one advice...?
It seems that X has started running, but no application was launched
thx
[div align=\"right\"][a href=\"index.php?act=findpost&pid=138315\"][{POST_SNAPBACK}][/a][/div]
Ok, I have checked. The start-x11 script is missing one line:
after /etc/X11/Xinit
add /etc/X11/Xsession
I will post an updated .zip file with all the files and a shorcut with icon to launch X11 from OPIE.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=138844\"][{POST_SNAPBACK}][/a][/div]
Would you happen to have that updated .zip file anywhere around? I had thought the current one was the updated and fell into that black screen trap like the others.
By the way, I made the changes to the start-x11 script and I still fell into that black screen. Is there something else missing that I should know?
-
Hey all,
Did anyone ever get this working or come-up with an alternative that gives a "light" X environment under OPIE?
Mc