LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-02-2010, 04:59 PM   #1
fdelval
Member
 
Registered: Feb 2010
Posts: 107

Rep: Reputation: 15
alternatives for SSH?


Hello,

My debian server nas no GUI at all, and it can only be accesed by shh.
Lately, i have discover X11 forwarding, and its great, i can see my app's, but it only works over a LAN, otherwise, is too slow

FreeNX needs gnome..

what else could i use to connect it?
 
Old 12-02-2010, 05:08 PM   #2
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
VNC and varieties (there should be x11vnc for current display or vnc4server for virtual displays), but it require X. By the way, first you wrote that server has no GUI at all, and then that you see your apps with X11, which is true? I suppose you have installed Xorg.

Last edited by eSelix; 12-02-2010 at 05:09 PM.
 
Old 12-02-2010, 05:13 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by eSelix View Post
VNC and varieties (there should be x11vnc for current display or vnc4server for virtual displays), but it require X. By the way, first you wrote that server has no GUI at all, and then that you see your apps with X11, which is true? I suppose you have installed Xorg.
You don't need to have xorg installed for X11-forwarding, as far as I know.
 
Old 12-02-2010, 05:13 PM   #4
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 281Reputation: 281Reputation: 281
What about the NX server/client/node from NoMachine? I just glanced at the website but couldn't determine dependencies...

Otherwise, I've used VNC on occasion with mixed results.
 
Old 12-02-2010, 06:10 PM   #5
dmbreakey
LQ Newbie
 
Registered: Nov 2010
Location: Colorado Springs, CO (USA)
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
Here's a weird one; try 'xrdp'. This sets up an RDP-compatible X-Server, which you can log into using any standard Remote Desktop Connection client (ie: the Windows RDP client, or 'rdesktop' on Linux).

Just found out about this yesterday.

While I don't generally like promoting MS solutions, I find that RDP, in general, just works more smoothly than VNC.
 
Old 12-02-2010, 07:21 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Might as well take a peek at 2X.com 's stuff.
 
Old 12-03-2010, 02:54 AM   #7
fdelval
Member
 
Registered: Feb 2010
Posts: 107

Original Poster
Rep: Reputation: 15
Hello all,

What is great about X over SSH is that my server has -> NO X SERVER INSTALLED, NOR DESKTOP, nothing <-
But i can see graphically any app from any other LAN computer.

Thats the greatness of x over ssh, BUT it turns to be very slow outside the lan.



I googled your alternatives, and all of them seems to require at least x.server and a minimal window manager like fluxbox (VNC), or the complete gnome/kde desktop (freeNX, xrdp)


I guess there is nothing like X over SSH...
 
Old 12-03-2010, 05:22 PM   #8
fdelval
Member
 
Registered: Feb 2010
Posts: 107

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by dmbreakey View Post
Here's a weird one; try 'xrdp'. This sets up an RDP-compatible X-Server, which you can log into using any standard Remote Desktop Connection client (ie: the Windows RDP client, or 'rdesktop' on Linux).

Just found out about this yesterday.

While I don't generally like promoting MS solutions, I find that RDP, in general, just works more smoothly than VNC.


i found that xrdp needs thightvnc in order to work, can you confirm?


also, i dont understand the relationship between VNC " :0 " and the displays...

does :1 means that i connect to the tty:1 running startx?
 
Old 12-04-2010, 11:37 AM   #9
dmbreakey
LQ Newbie
 
Registered: Nov 2010
Location: Colorado Springs, CO (USA)
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
Question

You know; I'm not certain.

I think that 'xrdp' itself does not require VNC, but it can function as a bridge between VNC and RDP. So it could just be that the package maintainer chose to link it that way, meaning the package has a dependency on it.

However, the documentation I've read doesn't seem to be particularly clear on that, or maybe I'm just being dense, so don't rely on what I'm saying as gospel
 
Old 12-04-2010, 11:55 AM   #10
dmbreakey
LQ Newbie
 
Registered: Nov 2010
Location: Colorado Springs, CO (USA)
Distribution: Ubuntu
Posts: 6

Rep: Reputation: 0
Quote:
Originally Posted by fdelval View Post
Hello all,

What is great about X over SSH is that my server has -> NO X SERVER INSTALLED, NOR DESKTOP, nothing <-
But i can see graphically any app from any other LAN computer.

Thats the greatness of x over ssh, BUT it turns to be very slow outside the lan.
Ah; performance. Have you enabled SSH compression? If not, that will make quite a substantial difference; purely LAN performance will still be better though, esp. if your LAN->WAN bridge is narrow.

Alternatively, you might consider OpenVPN; not as flexible as SSH in some respects (you can't just set up ad-hoc connections, like you can with SSH but--unlike SSH--OpenVPN can tunnel anything--SSH can only tunnel TCP connections). Also, compression is generally enabled by default.

As for the server, an X-server must be installed on the system that wishes to host the display; otherwise, you couldn't have a display. There's just no way around this, currently.

Chances are you have an X-server installed on your server (due to package dependencies, if nothing else); you just don't have it enabled (which is a perfectly acceptable way of doing things, especially if you never intend to run a local display--my server is set up the same way).
 
  


Reply



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
C++ Alternatives MTK358 Programming 44 12-09-2009 11:29 AM
Alternatives for SSH and SCP Kajensmann Linux - General 3 11-28-2008 12:18 PM
ssh-agent, ssh-add and ssh-keygen AND CVS raylpc Linux - General 2 11-19-2008 02:50 AM
Passwordless SSH with SSH commercial server and open ssh cereal83 Linux - General 7 04-18-2006 12:34 PM
Alternatives to x? ampex189 Linux - Software 9 03-22-2005 01:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:36 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
Open Source Consulting | Domain Registration