Fedora Linux Support Community & Resources Center
  #1  
Old 16th June 2004, 09:17 AM
deepblue's Avatar
deepblue Offline
Registered User
 
Join Date: Jun 2004
Posts: 26
Remote GUI

Okay, i'm trying to accomplish something i would of thought easy enough, but obviously not. Ive got a standard installation of FC2 installed and running.

Okay, i currently have a Fedora Core 2 based server which runs 24/7. I want to be able to connect to it using something like VNC from college/work etc.

Now VNC can handle this with no issues, but what im lookin for is a more user orientated soloution.

I want my users to be able to connect to my server and get the same login prompt as i do. I.E. Ability to chose which window manager to chose etc.

Can i do this with something like X forwarding over SSH or rdesktop?

Thanks,

Deep Blue
Reply With Quote
  #2  
Old 16th June 2004, 09:55 AM
fjleal's Avatar
fjleal Offline
Registered User
 
Join Date: Feb 2004
Location: Portugal, Europe
Age: 43
Posts: 519
If you login using ssh, you can execute both CLI commands on the shell and graphical applications. Ssh will tunnel your graphical output from the server to the client machine, no special configuration needed.
__________________
"I'd crawl over an acre of 'Visual This++' and 'Integrated Development That' to get to gcc, Emacs, and gdb. Thank you."
-- Vance Petree, Virginia Power
Reply With Quote
  #3  
Old 16th June 2004, 11:08 AM
foolish's Avatar
foolish Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Aalesund, Norway
Age: 26
Posts: 1,888
If you want to log in and have a full desktop, use vnc. There's a guide at this forum on how to set it up, and a very good guide at fedoranews.org as well.
__________________
Sindre Pedersen Bjørdal || http://www.fedorasolved.org || Hardware Profile
- Please adhere to the FedoraForum Guidelines.
Reply With Quote
  #4  
Old 16th June 2004, 11:10 AM
dnar's Avatar
dnar Offline
Registered User
 
Join Date: Jun 2004
Location: /dev/null
Age: 50
Posts: 477
Quote:
Originally posted by fjleal
If you login using ssh, you can execute both CLI commands on the shell and graphical applications. Ssh will tunnel your graphical output from the server to the client machine, no special configuration needed.
[nod]although the machine you sit at is technically the server in X lingo.
__________________
Registered Linux User #212818. Ctl-Alt-What?
Reply With Quote
  #5  
Old 17th June 2004, 03:47 AM
deepblue's Avatar
deepblue Offline
Registered User
 
Join Date: Jun 2004
Posts: 26
Quote:
Originally posted by foolish
If you want to log in and have a full desktop, use vnc. There's a guide at this forum on how to set it up, and a very good guide at fedoranews.org as well.
As i wrote in my post, i don't want to use VNC as i need to be able to support 2 users at once.
Reply With Quote
  #6  
Old 17th June 2004, 03:57 AM
taylor65 Offline
Registered User
 
Join Date: Jan 2004
Posts: 806
Use Xwindows

If you're running FC2 (or any linux/unix version) on the client, use Xnest, it'll give you a login screen just like when you're at the console. If you're using Windows as a client, use some Xwindow software, like KeaX.

To allow clients to attach to your server, go into System Settings -> Login Screen. Change your default remote login screen to graphical, and change the XDMCP tab to enable XDMCP. And if you have a firewall running, you have to allow udp:177 and tcp:6030.
Reply With Quote
  #7  
Old 17th June 2004, 11:51 AM
deepblue's Avatar
deepblue Offline
Registered User
 
Join Date: Jun 2004
Posts: 26
Thanx a bunch! Will test this ASAP and let y'all know
Reply With Quote
  #8  
Old 17th June 2004, 11:38 PM
deepblue's Avatar
deepblue Offline
Registered User
 
Join Date: Jun 2004
Posts: 26
Okay, i can connect to the server using X-Win32 and it works exactly as required. The one problem i seem to have is, i cant access it out of my network.

In my routers config pages, ive set port 177UDP and 6030TCP to forward to 192.168.0.200 which is the servers IP, yet i get nothing when i try to connect to it?

Any ideas?
Reply With Quote
  #9  
Old 18th June 2004, 12:20 AM
Varkk Offline
Registered User
 
Join Date: Mar 2004
Location: New Zealand
Age: 34
Posts: 285
port 6000 tcp is X11
Reply With Quote
  #10  
Old 18th June 2004, 01:19 AM
taylor65 Offline
Registered User
 
Join Date: Jan 2004
Posts: 806
Need more ports opened

Glad to hear that worked for you.

192.168.0.0/16 is a non-routable address. You have to be doing NAT on this router. You may want to do some research on how to get X11 forwarding to work with NAT on your router. Also, you need to open up random high tcp ports from the client to the server for the return packets. In my first post I only mentioned what was needed for iptables config.

If your firewall won't work for this, another option is to tunnel it through ssh (tcp 22). If the NAT doesn't work for X11 forwarding directly, try using it via ssh if you're client supports it. Be sure to turn on ssh on the server.
Reply With Quote
  #11  
Old 18th June 2004, 05:31 PM
Varkk Offline
Registered User
 
Join Date: Mar 2004
Location: New Zealand
Age: 34
Posts: 285
Just a quick question slightly on this topic. How much bandwidth does X11 use for an application window, say xemacs?
Reply With Quote
  #12  
Old 19th June 2004, 04:57 PM
crackers's Avatar
crackers Offline
Retired Community Manager
 
Join Date: Feb 2004
Location: Seattle, WA, USA
Age: 56
Posts: 3,423
A butt-load, compared to more optimized solutions like VNC. Firstly, it's not a compressed format, so if you have a lot of screen updates going, you can get pretty hard. As a little test, I just opened a remote XTerm and whenever the screen updates, i see a bandwidth "bump" of about 3Kbps. I think you can use your imagination and see what running a full-out GUI would do...
Reply With Quote
  #13  
Old 1st August 2004, 12:56 PM
deepblue's Avatar
deepblue Offline
Registered User
 
Join Date: Jun 2004
Posts: 26
I had no issues using my server like this for 2 months now. Except for vids, the screen updates almost at normal speeds!
Reply With Quote
  #14  
Old 1st August 2004, 01:13 PM
kosmosik's Avatar
kosmosik Offline
Registered User
 
Join Date: Apr 2004
Location: Warsaw, Poland
Age: 32
Posts: 1,085
try X11 over SSH (slow)
ftp://ftp.wsisiz.edu.pl/pub/pc/pozyt...serwer/mix.zip
here you'll get free (as in beer) X server for Windows... there is also howto but in polish. generaly you can get it running by just looking at provided screenshots:
http://pomoc.wsisiz.edu.pl/ssh/xprog/

you can also try nomachine NX - it is very cool but it is comercial (server is commercial, clients are free) - it is very good.
http://www.nomachine.com/
Reply With Quote
Reply

Tags
gui, remote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I remote connect to my Linux Desktop from a remote computer? wonderweirdo Using Fedora 6 12th April 2009 05:27 AM
FC9 remote X11 S-L-O-W luke2walker Servers & Networking 2 31st July 2008 09:17 PM
how to set up remote x? tpcolson Using Fedora 13 2nd July 2005 02:31 PM
How to remote RH/FC3 from XP ezmonet Using Fedora 6 1st April 2005 12:21 AM


Current GMT-time: 14:37 (Friday, 24-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat