-   Slackware (
-   -   Remote X Windows system on Windows XP client computer (

mitusf 12-03-2011 01: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 01: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 02: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 09:03 PM

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

jschiwal 12-03-2011 09: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 09: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 09: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) :


mitusf 12-05-2011 06:09 AM

Hello again! I have tried the following command.

~$ ssh -X -l tri
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

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 11:22 AM

Free X Windows Server for Windows

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:
The filename is xdp40Full.exe.



mitusf 12-05-2011 01:08 PM

Thanks exeunt.

All times are GMT -5. The time now is 07:08 PM.