OESF Portables Forum
Everything Else => General Support and Discussion => Zaurus General Forums => Archived Forums => Security and Networking => Topic started by: evowan on May 29, 2004, 10:50:46 am
-
Hi,
Is there a way to get to use the Z as a remote X session server? I\'ve got X/Qt on my Z (though it\'s problematic), but what would be good is if I can use something like eXceed on my desktop PC and have the Z serve up X applications. I know an option is VNC, but that\'s limited to displaying the Z\'s display and is quite slow.
Anyone help?
-
Hi,
Is there a way to get to use the Z as a remote X session server? I\'ve got X/Qt on my Z (though it\'s problematic), but what would be good is if I can use something like eXceed on my desktop PC and have the Z serve up X applications. I know an option is VNC, but that\'s limited to displaying the Z\'s display and is quite slow.
Anyone help?
I wasn\'t familiar with the X/Qt project, but it sounds like what you want to do is possible. However you have to remember that most of the apps (on the stock Sharp ROM) are Qt based, not X. So you wouldn\'t be able to remote display those apps.
Still it is worth playing around with. I\'ll have to download X/Qt onto my SL-6000 and give it a try.
Craig...
-
My ignorance may be showing, but would installing a qtopia desktop on your windows machine work?
-
Is there a way to get to use the Z as a remote X session server? I\'ve got X/Qt on my Z (though it\'s problematic), but what would be good is if I can use something like eXceed on my desktop PC and have the Z serve up X applications. I know an option is VNC, but that\'s limited to displaying the Z\'s display and is quite slow.
What problems are you having with X/qt? I switched to .8 from .9 and all my problems with screen fonts, perltk, etc... have gone away. I use Cacko 1.21 as well on my c860. I think the only difference from .8 to .9 was the support for screen rotation.
You asked about serving up X applications (not Qt). X is client/server, from Windows you need to run the equivalent of \"xhost +\" to allow any remote machine to connect to your X server, if you are concerned about security use \"xhost zaurusname\". Then ssh into your Z and type export DISPLAY=windowshostname:0, then all X apps will appear on Windows. I have not used Exceed for a long time but is does have something like xhost. (BTW this is true for the reverse, if you want to run external X apps to the Z).
I just tested with Cygwin/X (Like Exceed, but free) and it works just fine.
E.g.
Install Cygwin/X
Open Cygwin/X xterm
type:
xhost zaurus
ssh -l root zaurus
export DISPLAY=windowsmachine:0
xterm
Now I have an xterm on my windows box, but it came from the Z.
Any application will work. I have run ethereal, xterm, xchat, perl/tk apps, etc... no problem.
VNC is an option as well. I am not sure what VNC exists that allows the entire Z display to be controlled like PC Anywhere (If there is one, I\'d like to see it). But I do know that if all you want is X, the get qtopia-X.
After you install qtopia-x type:
Xvnc :n -geometry WxH -fp /home/QtPalmtop/lib/X11/fonts/misc -co /usr/lib/vnc/rgb &
Where n is ]0 and W and H are any size screen you want.
E.g.
Xvnc :20 -geometry 600x600 -fp /home/QtPalmtop/lib/X11/fonts/misc -co /usr/lib/vnc/rgb &
Next type in the same Zaurus session that started Xvnc:
export DISPLAY=:20
xterm &
Then start up VNC client on windows and point to zaurus:20, in the example above I get an 600x600 screen with an xterm. In the xterm I type fluxbox & and now I nave a window manager.
Xvnc --help will show other options.
You will probably want to create a script to do all of that, plus have it add all the Xqt fonts in your font path. -depth 16 is good--makes fluxbox look better.
I prefer VNC, it is persistent, I can disconnect and reconnect and loose nothing. However it does have more overhead, because I am running an X server and a window manager on the Z. If you just export your DISPLAY to another and run X apps there is no need to run Xvnc or Xqt, just get the apps and libs.
-
xhost?
-
I just tested with Cygwin/X (Like Exceed, but free) and it works just fine.
E.g.
Install Cygwin/X
Open Cygwin/X xterm
type:
xhost zaurus
ssh -l root zaurus
export DISPLAY=windowsmachine:0
xterm
Thanks, got it working!