Notices


Reply
Thread Tools
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#11
Originally Posted by benny1967 View Post
EDIT: I remember someone saying that with this setup, you can press "F4" on the desktop to activate the application menu. Never tried it.
Yep, that worked, thanks. I've figured out how to run apps as user with the same quirks, I'll edit my post. I'll try and find a solution to your problem as well.
 
Posts: 384 | Thanked: 90 times | Joined on Mar 2008
#12
This deb works fine for me in diablo http://mike.saunby.googlepages.com/x....3-1_armel.deb didn't need any red pill modes or dpkg. Works just like it did under chinook.
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#13
Originally Posted by benny1967 View Post
May I add once again that I think it's a shame the tablets never got plain, simple X-forwarding right. I'm not talking about "ssh -X", but about typing "export DISPLAY=10.0.0.143:0.0" right in the N800's terminal and the starting whatever application you want so it gets displayed at 10.0.0.143. If at least this would work... but no.
Figured it out! (Note, this is insecure, hence using ssh is a better idea but if you want to do it this way )

Note, I did this on Ubuntu which uses gdm , I don't know what distro you use.

1. Go to System > Administration > Login Window (I use gdm)
2. Click the Security tab.
3. Untick "Deny TCP connections to Xserver" (either way, you need to make sure X is started without -nolisten tcp)
4. Close it and restart the X-Server.
5. Now, open a terminal on the computer and type this:
sudo xhost +<N800's ip>
6. On the tablet, do this at the terminal:
$ DISPLAY="<computer's ip>:0.0" <name of application>

This still has the same visual problems as the ssh method though :/

I'll set up XDMCP now *grin*.

Last edited by qwerty12; 2008-09-03 at 09:21.
 
benny1967's Avatar
Posts: 3,790 | Thanked: 5,718 times | Joined on Mar 2006 @ Vienna, Austria
#14
Need to try this; bad thing is it might be Friday before I'm home again...

Originally Posted by qwerty12 View Post
I'll set up XDMCP now *grin*.

That's basically what I'd expect from a GNU/Linux based device: start the tablet, get GDM or something like this, each person who uses the tablet can have its own user, ...

... and of course be able to login from my desktop's display manager via XDMCP.

I'm sure Nokia will be adding this to the next minor update to OS2008. Right?
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#15
Originally Posted by benny1967 View Post
Need to try this; bad thing is it might be Friday before I'm home again...




That's basically what I'd expect from a GNU/Linux based device: start the tablet, get GDM or something like this, each person who uses the tablet can have its own user, ...

... and of course be able to login from my desktop's display manager via XDMCP.

I'm sure Nokia will be adding this to the next minor update to OS2008. Right?
Heh, I ain't touching XDMCP again. Nokia didn't disable it in the X-Server but when I enable -broadcast, it suddenly wants keys. I tried my best to make them but it isn't happening.

Thankfully, I dump my rootfs using mtd-utils so a full restore isn't far away now .
 
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#16
Yikes! I'm sorry to hear you'll be doing a restore, qwerty12.

By the way, It is really straightforward to get vanilla Linux X-Forwarding via Debian chroot, of course. Just shut down the maemo sshd and start the Debian sshd, and then start the window manager of your choice over the network...

Here's XFCE4, running on my tablet, displaying on my Windows laptop via Cygwin-X. It's quite the Frankenstein monster of window decorations.

__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!

Last edited by qole; 2008-09-03 at 16:58.
 

The Following User Says Thank You to qole For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#17
Originally Posted by qole View Post
Yikes! I'm sorry to hear you'll be doing a restore, qwerty12.
Heh, thank you, but it's no problems . I made the backup in advance as I was playing with upstart as a replacement for init. But this is a *proper* backup , the tablet's equivalent of norton ghost you could say . It's the entire contents of my / put into one jffs2 file. All I did was copy the rootfs.jffs2 file from my MMC card to the computer and run flasher -f -r rootfs.jffs2 and the tablet was instantly restored to back to the state it was previously in; in about 5 minutes.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
qole's Avatar
Moderator | Posts: 7,109 | Thanked: 8,820 times | Joined on Oct 2007 @ Vancouver, BC, Canada
#18
Originally Posted by qwerty12 View Post
It's the entire contents of my / put into one jffs2 file. All I did was copy the rootfs.jffs2 file from my MMC card to the computer and run flasher -f -r rootfs.jffs2 and the tablet was instantly restored to back to the state it was previously in; in about 5 minutes.
Wow, that's very cool. Please post instructions on making the rootfs.jffs2 file, if you haven't already. Start a new thread, I'm hijacking this one enough already.
__________________
qole.org --- twitter --- Easy Debian wiki page
Please don't send me a private message, post to the appropriate thread.
Thank you all for your donations!
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#19
Originally Posted by qole View Post
Wow, that's very cool. Please post instructions on making the rootfs.jffs2 file, if you haven't already. Start a new thread, I'm hijacking this one enough already.
Fanoush documents it here: http://www.internettablettalk.com/fo...8&postcount=31

I didn't have an mmc boot so I enabled rd mode(to stop dsme from doing a reboot) and done it using a custom initfs with statically compiled mtd-utils + g_serial

I didn't run sumtool after making my rootfs.jffs2 file, don't think that is needed.

As soon as I set up an MMC boot, I'll put it on the wiki (crediting fanoush of course)

Last edited by qwerty12; 2008-09-03 at 19:52.
 

The Following User Says Thank You to qwerty12 For This Useful Post:
Posts: 2 | Thanked: 2 times | Joined on Mar 2009
#20
Originally Posted by qwerty12 View Post


Ok, got forwarding X application to work with some serious quirks (maybe Qole could help, I know he did brilliantly with kbrowser.).

1. Edit /etc/init.d/x-server and remove the "-nolisten tcp" from the args line. (Be careful, messing up this file can cause the tablet not to boot)
2. Reboot.
3. Ensure X11Forwarding is turned on in /etc/ssh/sshd_config.
4. Install xauth. http://qwerty12.maemobox.org/xauth_1.0.2-2_armel.deb
5. ssh -X root@urtablet'sip
6. Run a program.

Bugs:
Theming, menus is messed up.

Crap, heh, just realised you don't want this . I'll leave it here for those that do

How to forward as user:
ssh -X root@tabletip (this is so that the .Xauthority gets created)
cp /root/.Xauthority /home/user
su - user
chown user:users /home/user/.Xauthority
export DISPLAY=localhost:10.0
export XAUTHORITY=/home/user/.Xauthority

Here's xbase-clients for those that need it out of curiosity.
http://qwerty12.maemobox.org/xbase-c...s1-2_armel.deb

I removed stuff that would not compile (needed gl libs etc). I would not recommend installing this but instead using dpkg -x and moving binaries that you need and that do not already exist.
I am getting an error while trying to install Xauth:


Code:
Nokia-N800-43-7:~# dpkg -i xauth_1.0.2-2_armel.deb
(Reading database ... 18597 files and directories currently installed.)
Preparing to replace xauth 1:1.0.2-2 (using xauth_1.0.2-2_armel.deb) ...
Unpacking replacement xauth ...
dpkg: dependency problems prevent configuration of xauth:
 xauth depends on libxmuu1; however:
  Package libxmuu1 is not installed.
dpkg: error processing xauth (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 xauth
I extracted xbase-clients_7.1.ds1-2_armel.deb but there is no file named after libxmuu1.

Any idea?

Code:
Nokia-N800-43-7:~# uname -a
Linux Nokia-N800-43-7 2.6.21-omap1 #2 Tue Oct 14 11:25:25 EEST 2008 armv6l unknown
 

The Following User Says Thank You to davidonlaptop For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 10:07.