Remote X Windows system on Windows XP client computer
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
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.
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.
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?
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.
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?
~$ 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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.