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

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Running X Over The Network
« on: March 30, 2006, 12:42:42 am »
The other day I came across a post from someone saying how they were using a PC to run the their Zaurus Xwindows. I think I know what they are doing, becasue I think I have done it a few times in the past when playing around. But I was wondering if someone could post a short tutorial.
Is it as simple as starting X windows on a PC and point it to the Zaurus IP address?
I hope I'm making sense. Kinda tired right now.
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 #1 on: March 30, 2006, 12:53:17 am »
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
SLC-860 cacko / senao wifi

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Running X Over The Network
« Reply #2 on: March 30, 2006, 01:25:55 am »
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]

The above assumes you are using Linux/Solaris/BSD on your PC
If you are running Windoze, then you would need to install an X server such as Reflection X first.

Alternatively, you can install x11vnc on the Zaurus and use any vnc client such as tightvnc and access the X desktop from the PC
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

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Running X Over The Network
« Reply #3 on: March 30, 2006, 01:31:41 am »
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
SLC-860 cacko / senao wifi

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Running X Over The Network
« Reply #4 on: March 30, 2006, 04:01:05 am »
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]

-Y enables Trusted forwarding and more control over specific X server features. You may find in any case that certain applications require -Y to run remote due to the features that they try to use of the X server unless you can specifically allow the X SECURITY extension of your X server to provide those features over ssh.

-Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

grog

  • Hero Member
  • *****
  • Posts: 692
    • View Profile
    • http://
Running X Over The Network
« Reply #5 on: March 30, 2006, 07:05:39 am »
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]
Good tutorial. So I now have my putty term open, but do I get an app to show up on my windows desktop? Do I need to set the DISPLAY to something other than 0:0? thks
GROG!

pgas

  • Hero Member
  • *****
  • Posts: 1097
    • View Profile
    • http://
Running X Over The Network
« Reply #6 on: March 30, 2006, 07:16:49 am »
normally you just have to launch it
SLC-860 cacko / senao wifi

anunakin

  • Sr. Member
  • ****
  • Posts: 340
    • View Profile
    • http://vivaphp.net
Running X Over The Network
« Reply #7 on: March 30, 2006, 08:15:05 am »
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]

With cygwin, you can have a Linux Enviroment on Windows with Xfree, SSH, KDE and more more more.... GCC
[img]http://www.vivaphp.net/imagens/rev2.jpg\" border=\"0\" class=\"linked-sig-image\" /]
Anunakin (Marcus Fazzi)

Nokia N900 32GB + microSD 2GB
Nokia N810 w/ microSD 8GB
Nokia 5310 XpressMusic w/ microSD 1GB
HP48GX->Psion Sienna->Palm m130->Tungsten T->Zaurus SL-5500->C3000->C3100 ALL SOLD

My FEED(On Line AGAIN!!!)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Running X Over The Network
« Reply #8 on: March 30, 2006, 08:15:35 am »
Awesome, this is a nice little X server.. I have been looking for a free one for Windows for a while.... have even got my Zaurus providing xdmcp login now
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Running X Over The Network
« Reply #9 on: March 30, 2006, 08:57:40 am »
And now I have putty and X/Deep-32 available on my moinmoin personal wiki that I run on my Zaurus... convinent way of carrying it around to install on Windows machines
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
Running X Over The Network
« Reply #10 on: March 30, 2006, 09:45:49 am »
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]
That's exactly what I was looking for. Thanks pgas!
The Windows info is good too. Thanks everyone.
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 #11 on: March 30, 2006, 10:36:31 am »
Answered my own question. For me I had to set my DISPLAY to point to the the host machine. So if I'm logging in via usb from my 'doze box, that would be 192.168.129.1:0.

btw, xdeep32 is a really nice, simple to use X server & a great newbie setup page. Thanks for those
GROG!

anunakin

  • Sr. Member
  • ****
  • Posts: 340
    • View Profile
    • http://vivaphp.net
Running X Over The Network
« Reply #12 on: March 30, 2006, 11:25:55 am »
Quote
Awesome, this is a nice little X server.. I have been looking for a free one for Windows for a while.... have even got my Zaurus providing xdmcp login now
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121048\"][{POST_SNAPBACK}][/a][/div]

For this works you go need xdm running on Z, and configured to accepts conections... but dont have xdm for ARM, and dont needs!
[img]http://www.vivaphp.net/imagens/rev2.jpg\" border=\"0\" class=\"linked-sig-image\" /]
Anunakin (Marcus Fazzi)

Nokia N900 32GB + microSD 2GB
Nokia N810 w/ microSD 8GB
Nokia 5310 XpressMusic w/ microSD 1GB
HP48GX->Psion Sienna->Palm m130->Tungsten T->Zaurus SL-5500->C3000->C3100 ALL SOLD

My FEED(On Line AGAIN!!!)

iamasmith

  • Hero Member
  • *****
  • Posts: 1248
    • View Profile
Running X Over The Network
« Reply #13 on: March 30, 2006, 12:10:50 pm »
Quote
Quote
Awesome, this is a nice little X server.. I have been looking for a free one for Windows for a while.... have even got my Zaurus providing xdmcp login now
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121048\"][{POST_SNAPBACK}][/a][/div]

For this works you go need xdm running on Z, and configured to accepts conections... but dont have xdm for ARM, and dont needs!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=121073\"][{POST_SNAPBACK}][/a][/div]

I was actually saying that I have already got it going... since OpenBSD on the Zaurus is the same as the other architectures I just disabled the local server, enabled xdmcp client support and start xdm with -udpPort 177 and hey presto I can login using xdmcp from X/deep-32

-Andy
OpenBSD 4.2 -current on full 4Gb of SL-C3000
Microdrive replaced with 4Gb SanDisk Extreme III card

Armagon

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • http://
Running X Over The Network
« Reply #14 on: March 30, 2006, 01:14:56 pm »
Excellent!

I don't suppose I could get a volunteer to summarize this information for the wiki?

Armagon
Sharp Zaurus SL-C1000 -- 2 GB SD Card -- Zippy Slim Mini Keyboard -- Loving pdaXii13!