LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 12-03-2011, 01:24 PM   #1
mitusf
Member
 
Registered: Nov 2011
Location: Bucharest, Romania
Distribution: Slackware
Posts: 141

Rep: Reputation: 2
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.
 
Old 12-03-2011, 01:29 PM   #2
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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.
Old 12-03-2011, 02:20 PM   #3
mitusf
Member
 
Registered: Nov 2011
Location: Bucharest, Romania
Distribution: Slackware
Posts: 141

Original Poster
Rep: Reputation: 2
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.
 
Old 12-03-2011, 09:03 PM   #4
ReaperX7
Senior Member
 
Registered: Jul 2011
Distribution: LFS-SVN, FreeBSD 10.0, CRUX 3.1
Posts: 3,013
Blog Entries: 15

Rep: Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760Reputation: 760
PuTTY will work with both graphical and command-line based configurations.
 
1 members found this post helpful.
Old 12-03-2011, 09:47 PM   #5
jschiwal
Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654Reputation: 654
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.
Old 12-04-2011, 09:14 AM   #6
mitusf
Member
 
Registered: Nov 2011
Location: Bucharest, Romania
Distribution: Slackware
Posts: 141

Original Poster
Rep: Reputation: 2
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?
 
Old 12-04-2011, 09:49 AM   #7
mrclisdue
Senior Member
 
Registered: Dec 2005
Distribution: Slackware -current, 14.1
Posts: 1,038

Rep: Reputation: 162Reputation: 162
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.
Old 12-05-2011, 06:09 AM   #8
mitusf
Member
 
Registered: Nov 2011
Location: Bucharest, Romania
Distribution: Slackware
Posts: 141

Original Poster
Rep: Reputation: 2
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.
 
Old 12-05-2011, 11:22 AM   #9
Exeunt
LQ Newbie
 
Registered: Feb 2007
Location: Horsham, PA
Distribution: Slackware 12.2, 14, Current
Posts: 18

Rep: Reputation: 1
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.
Old 12-05-2011, 01:08 PM   #10
mitusf
Member
 
Registered: Nov 2011
Location: Bucharest, Romania
Distribution: Slackware
Posts: 141

Original Poster
Rep: Reputation: 2
Thanks exeunt.
 
  


Reply

Tags
kde, putty, remote desktop, xming, xwindows


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Do anyone knows how to remote Windows Computer in Linux Terminal? tailinlinux Linux - Newbie 2 08-19-2011 03:03 AM
How to setup remote control on Ubuntu 9 for use of windows client ? rowe Linux - Newbie 1 09-15-2009 03:42 PM
Remote Administrator Tool with Linux client and Windows Server WarlockofVirgo Linux - Security 3 04-19-2007 09:27 PM
Linux remote client to Windows XP LabMonkies Linux - Software 2 06-13-2005 01:42 PM
remote desktop on any windows computer andy753421 Linux - Networking 5 09-01-2004 04:02 PM


All times are GMT -5. The time now is 08:42 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration