LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices



Reply
 
Search this Thread
Old 08-07-2006, 01:03 PM   #1
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Rep: Reputation: 30
Question Help setting up an X server and SSH on windows


I have slackware setup so I can SSHin using Putty... this works great for administrative stuff, but I'd id like to be able to get my KDE desktop over SSH using some sort of X-Server... I havent found any solid how-to's or tutorials that walk you through this... can anyone give me a hand please?
 
Old 08-07-2006, 01:34 PM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,032

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
The standard way is to run something like Exceed (pay) or CygWin/X (free) on your Windows box.

I would recommend looking at FreeNX however. It's a heck of a lot faster. Running X remotely is slow, and pretty much requires LAN speeds to be at all useable.

Free Windows client availabe from: http://www.nomachine.com/
Free Linux Server: http://freenx.berlios.de/
 
Old 08-07-2006, 01:39 PM   #3
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Original Poster
Rep: Reputation: 30
Ugh thats so disheartening since my work connection sucks

I did try cygwin but lemme tell you... that did nothing for me... I couldnt figure out a damn thing nor could i find much documentation that did a whole more than confuse me

all im really looking for a is a rich text editor...i dont mind using pico, but its a pain in the ass to develope with... moving code blocks, syntax hilighting and all that stuff... unless im oblivious to a good shell editor that is a little richer than the ones that come with slackware
 
Old 08-07-2006, 01:40 PM   #4
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
This is actually not a linux question, but...

There are no free X servers for Windows that I know of. You could try running X.org or Xfree86 under Cygwin, but my experience with that was less than ideal. The other alternatives are feeware: Excede from Hummingbird Software, X-Win32 (may be a newer name than that now). There are probably others. I have used Excede for years, and I found it to be a good package.

--- rod.
 
Old 08-07-2006, 01:46 PM   #5
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,396
Blog Entries: 2

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
Originally Posted by scrupul0us
Ugh thats so disheartening since my work connection sucks
all im really looking for a is a rich text editor...i dont mind using pico, but its a pain in the ass to develope with... moving code blocks, syntax hilighting and all that stuff... unless im oblivious to a good shell editor that is a little richer than the ones that come with slackware
I used to use Ultra-Edit on Windows, for editing Unix hosted files. I used the built-in FTP client for reading & writing, and it worked well for the purpose. I believe the modern version has SSH built in for the same purpose. I found the editor to be as full featured as any I've ever used.

--- rod.
 
Old 08-07-2006, 01:55 PM   #6
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,032

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
Quote:
Originally Posted by theNbomr
There are no free X servers for Windows that I know of.
CygWin/X is one.
 
Old 08-07-2006, 02:10 PM   #7
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by theNbomr
I used to use Ultra-Edit on Windows, for editing Unix hosted files. I used the built-in FTP client for reading & writing, and it worked well for the purpose. I believe the modern version has SSH built in for the same purpose. I found the editor to be as full featured as any I've ever used.

--- rod.
i love UE... ill have to see if FTP is running on my slackware box... oye... another project
 
Old 08-07-2006, 02:15 PM   #8
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,032

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
As I reread your original post, I can't tell exactly what your setup is. Are you running Slackware at home and want to edit files hosted on some Linux/Unix server at work via an Internet connection? I initially assumed you were running Windows at home and were trying to access a Slackware server at work (since you mentioned putty - why would you need that at home if you're running Slackware?)

If you are running Slackware at home, full featured editors you probably already have installed there are vi and emacs. If not, they should be easy to install. Both come with a rather steep learning curve and are not GUI-based. These would probably also be installed on your work target Linux/Unix server as well.

If you are running Slackware at home (please tell us specifically what your setup is), then rather than running X over the Internet (yeuch - SLOW!) you could use sshfs to mount your remote server to your home box (no setup on the server end - good!) and then do all your editing locally on your Slackware box.
 
Old 08-07-2006, 02:26 PM   #9
scrupul0us
Member
 
Registered: Jan 2006
Location: Albany, NY
Distribution: CentOS 6.3
Posts: 159

Original Poster
Rep: Reputation: 30
@ Home:

Slackware 10.2 Server
--desktop shared internally to my workstations IP only
--htdocs shared with samba to one user on my workstation

Windows XP SP2 workstation
--use desktop via RealVNC
--use PuTTY for CLI access
--htdocs edited over local network

@ Work
I currently use PuTTY to remote home to make any changes to stuff but would like a better remote editing environment... I'll have to look into the FTP server and set my router up accordingly and then use UE32 from work... unless there is a better solution
 
Old 08-07-2006, 02:37 PM   #10
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,582

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
an other option you have is to install VIM on the windows box, install winSCP on the windows box and do things that way.

winSCP is a GUI scp tool for windows that looks and acts a lot like cuteFTP. so no need to run the risk of opening up FTP when you can stay behind the more secure ssh/scp for moving files back and forth between linux and windows.

then once you have the file moved, just edit it with vim and send it back.

as long as the files are not HUGE you should be ok.
 
Old 08-07-2006, 02:38 PM   #11
lleb
Senior Member
 
Registered: Dec 2005
Location: Florida
Distribution: CentOS/Fedora
Posts: 2,582

Rep: Reputation: 480Reputation: 480Reputation: 480Reputation: 480Reputation: 480
i just use vim via ssh though *grins*, but im no coder and only do limited html work.
 
Old 08-07-2006, 02:41 PM   #12
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD
Posts: 2,032

Rep: Reputation: 309Reputation: 309Reputation: 309Reputation: 309
You didn't say what you're running at work. Is that a Windows box?

Also, when you "remote home" are you remoting into your Slackware box, or do you need to remote to your Windows box too?

I would recommend against setting up an ftp server at home. ftp is not secure or encrypted. If you can very tightly setup a firewall or router at home to limit access to this ftp server to ONLY your computer at work - MAYBE. But it's best to never go back to the old unsecure protocols - telnet, ftp, any of the "R" commands (rlogin, rsh, rcp), etc. Setting up an ftp server accessible over the general Internet is akin to bending over to pick up your dropped soap bar in the prison shower room. You never want to put yourself in that unprotected position!
 
Old 08-07-2006, 03:13 PM   #13
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Moved: This thread is more suitable in General (as it's really a Windows question) and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply


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
help for setting up X server to use ssh parv Fedora 7 02-25-2008 10:51 AM
Problems setting Permissions for my SSH server nativeone Fedora 1 05-05-2006 07:07 PM
help with setting up login to server remotely using ssh LAdProg2005 Linux - Software 2 10-05-2005 02:05 PM
Setting up a SSH server Rob2105 Linux - Networking 8 03-17-2004 09:45 AM
Setting up an SSH server alany Linux - General 6 11-29-2002 07:49 PM


All times are GMT -5. The time now is 03:47 PM.

Main Menu
Advertisement
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