Fedora Linux Support Community & Resources Center
  #1  
Old 17th September 2010, 05:16 AM
kalasend Offline
Registered User
 
Join Date: Sep 2010
Posts: 1
windows_xp_2003chrome
Question Installing X system/apps on headless server

Hi all,

Background:
I need some help regarding install X server/apps on a headless(ie. no monitor, no graphic device) server. The server is in fact a virtual one by Amazon EC2. So there's no monitor nor any graphics hardware. Fedora server (6, i believe) is pre-packaged.

The problem is that I want to be running a server app with a GUI. The app won't start without the GUI (and I probably need to tweak a few things through its GUI too).

I plan on setting up very very bare minimal X on the server and then uses NX for remote access. Can somebody shed some light here?

Simply put, my questions are:
1) What would be the minimal list of package i need to install?
2) Where can I find docs about installing and setting up NX? I could only find very fragmented/outdated docs about it.....


Thanks a lot!
B
Reply With Quote
  #2  
Old 20th September 2010, 07:15 PM
droidhacker Offline
Registered User
 
Join Date: Oct 2009
Posts: 827
linuxfedorafirefox
Re: Installing X system/apps on headless server

Forget NX... use VNC.
Also forget FC6 -- it is out of date... by **YEARS**.
Take your pick of F13 or CentOS5 or RHEL6beta. Your choice depends on what you want to accomplish with it.

Xorg can be configured to run headless, set your video driver to vesa and manually set your sync and refresh rates. Throw your vnc stuff into the xorg.conf along with that, and you'll have remote access.

Warning though: vnc isn't an "all-in-one" solution. It is built on the unix philosophy: do one thing well. In other words, it'll interface with your X server, but there is NO SECURITY, so tunnel your VNC through SSH to add in the required security.

Now regarding the minimum required packages... that depends on the software you're trying to run. You're obviously going to need to install the "X Window System" (group --- yum groupinstall "X Window System"). It'll be pretty bare bones X with just that, so add in whatever other packages you need.
Reply With Quote
  #3  
Old 2nd October 2010, 09:34 AM
Vector Offline
Banned
 
Join Date: Jul 2006
Location: Transgression
Age: 34
Posts: 1,183
linuxfedorafirefox
Re: Installing X system/apps on headless server

I never got this working completely, but i got it damned close. Here's my old thread on it:

http://forums.fedoraforum.org/showthread.php?t=235497
Reply With Quote
  #4  
Old 2nd October 2010, 05:56 PM
kyryder
Guest
 
Posts: n/a
linuxfirefox
Re: Installing X system/apps on headless server

There is always Xnest. Probably not the best solution, but works in a pinch.

Code:
startx -- /usr/bin/Xnest :4
Ky
Reply With Quote
  #5  
Old 2nd October 2010, 07:27 PM
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,343
linuxfedorafirefox
Re: Installing X system/apps on headless server

Anything wrong with using the virtual frame buffer?

yum install xorg-x11-server-Xvfb

Google will kick up lots of examples and don't overlook X forwarding through SSH.
Reply With Quote
  #6  
Old 2nd October 2010, 09:39 PM
Vector Offline
Banned
 
Join Date: Jul 2006
Location: Transgression
Age: 34
Posts: 1,183
linuxfedorafirefox
Re: Installing X system/apps on headless server

Quote:
Originally Posted by beaker_ View Post
Anything wrong with using the virtual frame buffer?

yum install xorg-x11-server-Xvfb

Google will kick up lots of examples and don't overlook X forwarding through SSH.

http://forums.fedoraforum.org/showthread.php?t=235497

Didn't work for me. But you're right, google does have quite a few references. The problem is, i've never seen an example that works from end to end.
Reply With Quote
  #7  
Old 4th October 2010, 01:09 AM
beaker_ Offline
Registered User
 
Join Date: Nov 2008
Location: Canada
Posts: 2,343
linuxopera
Re: Installing X system/apps on headless server

Sorry, I don't know why it didn't work for your server but did for you desktop. I can't speak to dependencies as I'm lazy and normally install a blanket-like image, complete with gnome & X. However you could try the usual suspects like nomodeset, an empty or trimmed xorg.conf, and maybe add Option "AutoAddDevices" "False". Good Luck.
Reply With Quote
Reply

Tags
headless, installing, server, system or apps

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 to install fedora on a headless system sanjay_ankur Installation, Upgrades and Live Media 8 6th September 2010 07:53 PM
Headless Server glennzo Hardware & Laptops 21 15th September 2008 04:49 PM
[FEDORA 8] gnome on a headless system toopie Using Fedora 0 19th April 2008 08:07 PM
Headless Media Server slycker Linux Chat 0 16th November 2007 12:57 AM


Current GMT-time: 18:16 (Friday, 25-07-2014)

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