Author Topic: Running X Over The Network  (Read 9733 times)

clofland

  • Full Member
  • ***
  • Posts: 245
    • View Profile
    • http://www.lofland.net/
Running X Over The Network
« Reply #15 on: March 31, 2006, 05:24:21 pm »
At one time, I think on RC11, I was able to run, I THINK, openbox, remotely. I'm not sure what I ran, but the result was that I got the entire window manager onto my local machine from the Z. Looked similar to VNC, but worked a lot better. However, on beta2, I just get a lot of errors when I try to run openbox redirected to another machine.

Am I crazy? I know I did it, but I'm not really sure how. It wasn't VNC, it was x.
[span style=\'font-size:14pt;line-height:100%\']C-760 pdaXrom 1.1.0beta3[/span]
- Sandisk UltraII 1GB SD card - Socket LP CF LAN card - Socket LP CF WLAN card - Socket CF Bluetooth Card Rev H -

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Running X Over The Network
« Reply #16 on: March 31, 2006, 07:52:11 pm »
Quote
At one time, I think on RC11, I was able to run, I THINK, openbox, remotely. I'm not sure what I ran, but the result was that I got the entire window manager onto my local machine from the Z. Looked similar to VNC, but worked a lot better. However, on beta2, I just get a lot of errors when I try to run openbox redirected to another machine.

Am I crazy? I know I did it, but I'm not really sure how. It wasn't VNC, it was x.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121314\"][{POST_SNAPBACK}][/a][/div]

you probably had to remove the "-nolisten tcp" argument from startx or it wasnt there in the rc before.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Running X Over The Network
« Reply #17 on: April 05, 2006, 01:18:39 pm »
Quote
you' are right on windows, free there is xdeep32 tutorial here:
http://www.it.uu.se/datordrift/faq/hemarbete/xdeep32

and cygwin xserver, note that with cygwin ssh -X is broken, but you can use ssh -Y
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121002\"][{POST_SNAPBACK}][/a][/div]
I just tried Xdeep. Wow. Sure works well, thanks. Using SSH gives me piece of mind over VNC and RD. Took 5 Min to get up and running (that's the way it should be).
I used ReflectionX back in the Redhat 7 or 8 erra, and it worked well but I couldn't afford to buy it.

Now I can use KO/Pi (installed on my Zaurus) on my Windows Laptop. Nice!
It's a nice answer to the sync problem, in case anyone is looking for a solution still.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Running X Over The Network
« Reply #18 on: April 07, 2006, 03:59:36 pm »
hmmm... from playing around with it a bit more there seems to be a problem with KOrganizer. The first time I create a calendar entry or ToDo it works fine, but everytime after that (untill I restart the xdeep server) I can't type any text. I can paste into the filed, but typing a key doens't seem to register.  I can go back to the main KO window and the keyboard works there. Strange. GPE-Calendar, and other applicaitons don't seem to suffer the same problems so maybe the issue is with the microkde libs.
Ideas, anyone?
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Running X Over The Network
« Reply #19 on: April 07, 2006, 04:41:55 pm »
Quote
hmmm... from playing around with it a bit more there seems to be a problem with KOrganizer. The first time I create a calendar entry or ToDo it works fine, but everytime after that (untill I restart the xdeep server) I can't type any text. I can paste into the filed, but typing a key doens't seem to register.  I can go back to the main KO window and the keyboard works there. Strange. GPE-Calendar, and other applicaitons don't seem to suffer the same problems so maybe the issue is with the microkde libs.
Ideas, anyone?[div align=\"right\"][a href=\"index.php?act=findpost&pid=122262\"][{POST_SNAPBACK}][/a][/div]
All I can confirm is that I haven't experienced any problems with gpe-calendar, gpe-contacts, sylpheed, dillo or gpe-gallery (the apps I've actually tried so far). Unfortunately we don't have the pi-sync apps available in OZ/GPE yet.
GROG!

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
Running X Over The Network
« Reply #20 on: April 07, 2006, 06:17:18 pm »
Quote
hmmm... from playing around with it a bit more there seems to be a problem with KOrganizer. The first time I create a calendar entry or ToDo it works fine, but everytime after that (untill I restart the xdeep server) I can't type any text. I can paste into the filed, but typing a key doens't seem to register.  I can go back to the main KO window and the keyboard works there. Strange. GPE-Calendar, and other applicaitons don't seem to suffer the same problems so maybe the issue is with the microkde libs.
Ideas, anyone?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122262\"][{POST_SNAPBACK}][/a][/div]
Are you using the ssh -Y option? I found that a lot of things didn't work until I enabled that. The gpe apps were about the only things that did work to start with, so I think maybe they're a little more forgiving...
SL6000-L, RC12

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Running X Over The Network
« Reply #21 on: April 07, 2006, 08:03:55 pm »
Thanks for the tip, but I'm using putty to do ssh in Windows. I've enabled X11 forwarding in PuTTY, so I think I've done what you're suggesting. The mystery continues.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Running X Over The Network
« Reply #22 on: April 10, 2006, 04:55:27 pm »
Quote
Zaurus:
-set a password for root

- Edit /etc/ssh/sshd_config:
X11Forwarding: yes

on the pc running X:
- ssh -X root@zaurusip

then launch xterm dillo or whatever
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120995\"][{POST_SNAPBACK}][/a][/div]

Just started trying out OZ/GPE.
There's no /etc/ssh/sshd_config in OZ/GPE.
Any ideas?
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Running X Over The Network
« Reply #23 on: April 11, 2006, 01:40:03 am »
Quote
Just started trying out OZ/GPE.
There's no /etc/ssh/sshd_config in OZ/GPE.
Any ideas?

Oz uses dropbear and not openssh (pdaxrom will also come with dropbear with the next release)
I think ssh -X is suppose to work out of the box.

(search for dropbear in the OZ forums)
SLC-860 cacko / senao wifi

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Running X Over The Network
« Reply #24 on: April 11, 2006, 10:47:42 am »
Quote
Quote
Just started trying out OZ/GPE.There's no /etc/ssh/sshd_config in OZ/GPE.
Any ideas?

Oz uses dropbear and not openssh (pdaxrom will also come with dropbear with the next release)
I think ssh -X is suppose to work out of the box.

(search for dropbear in the OZ forums)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=122591\"][{POST_SNAPBACK}][/a][/div]
Or you could install openssh if you'd prefer (it's in the feeds).
GROG!

Lumune

  • Newbie
  • *
  • Posts: 34
    • View Profile
Running X Over The Network
« Reply #25 on: April 12, 2006, 11:15:47 pm »
Quote
Zaurus:
-set a password for root

- Edit /etc/ssh/sshd_config:
X11Forwarding: yes

on the pc running X:
- ssh -X root@zaurusip

then launch xterm dillo or whatever
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120995\"][{POST_SNAPBACK}][/a][/div]

I have followed ur instructions, I could ssh into Z, but when I tried to run dillo I got the following error:

Code: [Select]
# dillo&
[1] 488
#
Gtk-WARNING **: cannot open display:

[1]+  Exit 1                  dillo
#

I am running this on X11 on my mac
any ideas what cause this?

thx~

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Running X Over The Network
« Reply #26 on: April 13, 2006, 06:51:44 am »
Quote
Quote
Zaurus:
-set a password for root

- Edit /etc/ssh/sshd_config:
X11Forwarding: yes

on the pc running X:
- ssh -X root@zaurusip

then launch xterm dillo or whatever
[div align=\"right\"][a href=\"index.php?act=findpost&pid=120995\"][{POST_SNAPBACK}][/a][/div]
I have followed ur instructions, I could ssh into Z, but when I tried to run dillo I got the following error:

Code: [Select]
# dillo&
[1] 488
#
Gtk-WARNING **: cannot open display:

[1]+  Exit 1                  dillo
#

I am running this on X11 on my mac
any ideas what cause this?[div align=\"right\"][a href=\"index.php?act=findpost&pid=122942\"][{POST_SNAPBACK}][/a][/div]
It's the same thing I noticed. You have to set your DISPLAY variable to point to your pc, as in 'export DISPLAY=192.168.129.1:0' (if that's your pc's ip) before running the command.

I wrote myself a script to set it when I needed it. Put it in your path & just use it to run your program 'xpc dillo'. HTH

NB: this works with openssh installed. I'm not sure if it works with dropbear (as is default in the OZ images, don't know about what you use in pdaxrom).

Code: [Select]
#!/bin/sh
# xpc
# Runs the given command on the pc's X display

if [ $# -eq 0 ]; then
    echo "Usage: ${0##*/} command [args]"
    exit 1
fi

CMD=$@

if [ -n "$SSH_CONNECTION" ]; then
    set -- $SSH_CONNECTION
else
    echo cannot determine host connection >&2
    exit 1
fi

export DISPLAY=${1}:0

($CMD 2>&1 | grep -Ev "^$|WARNING") &

exit 0
« Last Edit: April 13, 2006, 06:52:46 am by grog »
GROG!

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Running X Over The Network
« Reply #27 on: April 13, 2006, 12:50:27 pm »
Quote
I think ssh -X is suppose to work out of the box.

[div align=\"right\"][a href=\"index.php?act=findpost&pid=122591\"][{POST_SNAPBACK}][/a][/div]

You are correct. It does work out of the box in OZ.
Thanks.
« Last Edit: April 13, 2006, 12:51:00 pm by Antikx »
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Running X Over The Network
« Reply #28 on: April 13, 2006, 06:03:57 pm »
anyone have xdm running on beta1?  I'm having no luck, just err 97
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf