Did you know LQ has a Linux Hardware Compatibility List?
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 12-08-2005, 02:20 AM   #1
LQ Newbie
Registered: Nov 2005
Posts: 26

Rep: Reputation: 0
Kde over Putty - SSH

I have succesfuly conected to my Slackware linux from my other computer with Windows xp on (I used Putty).
Now I wanna know, how can I start KDE (startx) over Putty, I tries with 'startx' but no luck.
Old 12-08-2005, 02:55 AM   #2
LQ Newbie
Registered: Dec 2005
Posts: 15

Rep: Reputation: 0
Are you trying to boot kde remotely on your windows machine? If so you will need cygwin to pull that off.

Or are you wanting to boot kde locally on your linux machine? If so the first command you should try is "init 5"

Last edited by xvalentinex; 12-08-2005 at 02:57 AM.
Old 12-08-2005, 03:02 AM   #3
LQ Newbie
Registered: Nov 2005
Posts: 26

Original Poster
Rep: Reputation: 0
I'm trying to boot it remotly.
So, cygwin is a windows based program for Kde?
Old 12-08-2005, 03:13 AM   #4
LQ Newbie
Registered: Dec 2005
Posts: 15

Rep: Reputation: 0
cygwin is sort of a windows based linux, lol

Install it with all the X11 software. Then when all done run "xinit" that will start an x window with xterm.

Then run "ssh -Y user@ip_address" (The -Y is important as it enables X11 forwarding)

Then run "startkde"

If all goes as planned you should see the kde boot splash and then finally KDE.

EDIT: Perhaps there is a way to get KDE booted using putty. This is the way I do it and it works very well.

Last edited by xvalentinex; 12-08-2005 at 03:21 AM.
Old 12-08-2005, 03:45 AM   #5
Registered: Mar 2004
Location: Meersburg (GER)
Distribution: Cygwin,RH 7.2 7.3, SuSe 6.4 8.2 9.1,TinyLinux, Debian Sarge, Knoppix 3.*, Knoppicilin, Knoppix STD
Posts: 191

Rep: Reputation: 30
Basically what he is trying to say is that you need a X server on your Windows machine.
This can be either the one cygwin offers

or some commercial product.

I never heard that -Y is the option for X-forwarding.

The command you want to use from CLI is
ssh -CX ip
if you plan on using it regularly and work over this connection
have a look at freeNX and the NXclient (client freely available at
Old 12-08-2005, 04:19 AM   #6
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
iirc, puTTY is a text-only tunneler. No x-windows.
Old 12-08-2005, 03:28 PM   #7
Senior Member
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 49
Originally Posted by Black187
Now I wanna know, how can I start KDE (startx) over Putty, I tries with 'startx' but no luck.
I've always had a bad experience with starting desktop environments over SSH X forwarding. Because all the desktop environment is forwarded to your local X server, it may conflict with the desktop environment or window manager already running locally. (Especially the time when I was using KDE in Linux and I SSH'ed to another computer and ran 'startkde'; didn't turn out so well ). Another way to get a remote "desktop" that is probably more efficient and flexible is VNC. Do you know about it?

Originally Posted by Gibsonist
I never heard that -Y is the option for X-forwarding.
For all the versions of OpenSSH beginning with 3.8 (that means all recent Linux systems within the last two years or so, including current packages in Cygwin), the -X option was changed to be untrusted forwarding, so that some X apps no longer work. The -Y option preserves the original (trusted) -X forwarding functionality. (see this).

Originally Posted by Poetics
iirc, puTTY is a text-only tunneler. No x-windows.
No, Putty does has an option to forward X (Connection -> SSH -> X11 -> Enable X11 Forwarding), like all standard SSH clients; but you still need an X server for it to forward it to. The free X servers for Windows are mainly Cygwin/X, the X server in Cygwin, and Xming, essentially the same thing but without needing Cygwin.

Last edited by spooon; 12-08-2005 at 03:45 PM.


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
Accessing pc with putty (ssh) Wozl Linux - Networking 1 10-10-2005 03:44 PM
esound over ssh / putty? oldweasel Linux - Networking 6 05-27-2004 02:05 PM
putty SSH connection deWin Linux - Newbie 3 03-26-2004 09:47 AM
SSH using putty rkemp Linux - Networking 3 03-06-2004 05:04 PM
ssh and using putty from the client ashley75 Linux - General 12 09-11-2003 01:21 PM

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

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