Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
12-03-2011, 01:24 PM
|
#1
|
|
Member
Registered: Nov 2011
Location: Bucharest, Romania
Distribution: Slackware
Posts: 141
Rep:
|
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.
|
|
|
|
12-03-2011, 01:29 PM
|
#2
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
Last edited by jschiwal; 12-03-2011 at 01:31 PM.
|
|
|
1 members found this post helpful.
|
12-03-2011, 02:20 PM
|
#3
|
|
Member
Registered: Nov 2011
Location: Bucharest, Romania
Distribution: Slackware
Posts: 141
Original Poster
Rep:
|
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?
Last edited by mitusf; 12-03-2011 at 02:52 PM.
|
|
|
|
12-03-2011, 09:03 PM
|
#4
|
|
Senior Member
Registered: Jul 2011
Distribution: Slackware64-14.0, LFS-7.3, FreeBSD 9.1
Posts: 1,174
|
PuTTY will work with both graphical and command-line based configurations.
|
|
|
1 members found this post helpful.
|
12-03-2011, 09:47 PM
|
#5
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
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.
Last edited by jschiwal; 12-03-2011 at 09:51 PM.
|
|
|
1 members found this post helpful.
|
12-04-2011, 09:14 AM
|
#6
|
|
Member
Registered: Nov 2011
Location: Bucharest, Romania
Distribution: Slackware
Posts: 141
Original Poster
Rep:
|
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?
|
|
|
|
12-04-2011, 09:49 AM
|
#7
|
|
Member
Registered: Dec 2005
Distribution: Slackware -current, 14.0
Posts: 971
Rep: 
|
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,
|
|
|
1 members found this post helpful.
|
12-05-2011, 06:09 AM
|
#8
|
|
Member
Registered: Nov 2011
Location: Bucharest, Romania
Distribution: Slackware
Posts: 141
Original Poster
Rep:
|
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.
|
|
|
|
12-05-2011, 11:22 AM
|
#9
|
|
LQ Newbie
Registered: Feb 2007
Location: Horsham, PA
Distribution: Slackware 12.2, 14, Current
Posts: 18
Rep:
|
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
|
|
|
1 members found this post helpful.
|
12-05-2011, 01:08 PM
|
#10
|
|
Member
Registered: Nov 2011
Location: Bucharest, Romania
Distribution: Slackware
Posts: 141
Original Poster
Rep:
|
Thanks exeunt.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:55 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|