LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Remote X Windows system on Windows XP client computer (http://www.linuxquestions.org/questions/slackware-14/remote-x-windows-system-on-windows-xp-client-computer-916939/)

mitusf 12-03-2011 02:24 PM

Remote X Windows system on Windows XP client computer
 
How can i start XWindows and specially KDE remotely on a XP client computer over Internet? The host uses Slackware 13.37. What programs do i need and what configurations needs to be done? I assume that i need putty ssh client an a xserver for Windows like X-Ming, i read it somewhere. But is it possible to obtain a visual interface like KDE, with all the functions available, or i get only an xterm from which i start X programs, but no menus or something similar? Thank you in advance.

jschiwal 12-03-2011 02:29 PM

One option is to install Cygwin/X. ssh into the remote system, and start kde.

You could also use "ssh -X user@host 'program'" and have just a window for the program displayed. One advantage, is you can have different programs displayed from different remote computers. Also, less bandwidth is used because only a single window needs to be refreshed. Another advantage is running a bash terminal locally on the XP. I do this at work. Tools such as sed save me hours, being able to generate scripts, instead of working graphically.

mitusf 12-03-2011 03:20 PM

Thanks. Two more questions. You mentioned a ssh program that seems to be a console type one, not a graphical one like putty, for Windows. Can i do the same things you said with putty? And, if you would like, please mention what Windows ssh client you had referred to? 'startx' would simply start kde (if set as default X desktop manager), in the ssh client?

ReaperX7 12-03-2011 10:03 PM

PuTTY will work with both graphical and command-line based configurations.

jschiwal 12-03-2011 10:47 PM

Cygwin/X has the same ssh client that you use in Linux.
You use it the same way, as well as scp and sftp.
You can create a key pair, save the public key on the servers ~/.ssh/authorized_keys file.


You can also cut and paste an openssh compatible public key from putty's genkey program, but if you have Cygwin/X, you don't need putty. If you use putty, you will need to install an X server to view programs remotely.

mitusf 12-04-2011 10:14 AM

Thank you for the response. Now, i question myself about the possibility of doing the same thing (connecting remotely and starting x) from a slackware linux box. is it enough to "ssh -X user@host" and "startx"? Does it work this way?

mrclisdue 12-04-2011 10:49 AM

Not to murky the waters, but you can use xdmcp over ssh; there are various how-to's, eg (tho' not slack specific) :

http://knol.google.com/k/dirk-h-schu...ee0ik2900p/16#

cheers,

mitusf 12-05-2011 07:09 AM

Hello again! I have tried the following command.

~$ ssh -X -l tri 127.0.0.1
Enter passphrase for key '/home/tri/.ssh/id_rsa':
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
Warning: No xauth data; using fake authentication data for X11 forwarding.
X11 forwarding request failed on channel 0
Last login: Mon Dec 5 13:10:40 2011 from localhost
Linux 2.6.37.6-smp.

I wonder what's all about the warnings? I wonder if i'll encounter a similar problem, with X11 forwarding, when trying to connect and startx with Cygwin/X from XP as discussed before.

I would appreciate an eventual response to clarify this. Thank you.

Exeunt 12-05-2011 12:22 PM

Free X Windows Server for Windows
 
Hi,

There is a free x server, xdeep, which runs on windows and is pretty
easy to configure. It is abandonware and the documentation can be
found by googling xdeep. I have used this in the past with Windows
2000 and I'm sure it would work on XP.

It can be downloaded here:
http://www.caslab.queensu.ca/LabHelp/XServer/
The filename is xdp40Full.exe.

Regards,

exeunt

mitusf 12-05-2011 02:08 PM

Thanks exeunt.


All times are GMT -5. The time now is 02:48 AM.