Linux forum

Question

How can I export gui display from a headless server?

by MuleHeadJoe / March 1, 2012 2:34 AM PST

I'm working on a project on a linux (ubuntu) server hosted in then cloud. The server is "headless" ... has no attached display.

I'm trying to install some software that is gui-based and export the display to my workstation.

I access the server via ssh from a terminal window on my Ubuntu workstation at home.

I've installed Java and X11 (openjdk 6 and xorg) on the server, but I when I try to install the other software (soapui) I keep getting errors about unable to find display.

It appears that even tho I installed X, it isn't running ... I tried to start the Xserver with 'xinit' but got errors about 'no screens found'.

Any suggestions or tips about getting xserver running and exporting the display to my workstation would be most appreciated.

TIA

Answer This Ask For Clarification
Discussion is locked
You are posting a reply to: How can I export gui display from a headless server?
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: How can I export gui display from a headless server?
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Clarification Request
Just checking. Did you research Xserver on headless?
by R. Proffitt Forum moderator / March 1, 2012 2:39 AM PST
Collapse -
Xvfb is installed, but don't understand how to use it
by MuleHeadJoe / March 7, 2012 12:18 AM PST

Thanks for the link, Rob, it was helpful push in the right direction. The search eventually led me to 'xvfb' -- virtual frame buffer; a virtual display. So I installed & ran xvfb, and now some gui programs (for example, Firefox) can run on the server. They think they are displaying the gui, but it is actually going to a virtual display which is in effect the bit bucket.

I cannot see what is happening, cannot tell what the programs are doing since all output is disappearing into thin air. Now I just need to figure out how to see what is being displayed in the virtual frame buffer Silly

Popular Forums
icon
Computer Help 47,885 discussions
icon
Computer Newbies 10,322 discussions
icon
iPhones, iPods, & iPads 3,188 discussions
icon
Security 30,333 discussions
icon
TVs & Home Theaters 20,177 discussions
icon
HDTV Picture Setting 1,932 discussions
icon
Phones 15,713 discussions
icon
Windows 7 6,210 discussions
icon
Networking & Wireless 14,510 discussions

Big stars on small screens

Smosh tells CNET what it took to make it big online

Internet sensations Ian Hecox and Anthony Padilla discuss how YouTube has changed and why among all their goals, "real TV" isn't an ambition.