LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 06-17-2009, 09:18 AM   #1
dsollen
Member
 
Registered: Jun 2009
Posts: 56

Rep: Reputation: 15
can't display graphics, display manager may not be setup


I'm hopeing you can help me with this. I've been tasked with transfering some software from I've developed from my linux laptop to a fresh linux install. The fresh install is going to be provided as an ISO to our customers, so we wanted it to be very minimalist with only the programs nessesary to run our software.

Anyways I finished installing everything and try to run my program but I get the complaint that I can't open display. In fact I am told that I can't open display for anything with grapics. I was running as root originally which a google search suggests can cause trouble, but when I su to a regular user I get the same problem.

and a list of things I've tried from google searches: When I try to run xhost +localhost (or any variant) I get the same complaint about opening display. if i do a xauth list localhost.localdomain is the only thing listed. I guess that I should add somethign here but I don't know how.

When I ran the redhat install I intentionally did not install gnome to keep the install as small as possible. I don't explicitly recall selecting any display manager to install, although I may have chosen the defualt for Redhat. It may be that I don't have a display manager installed at all. How would I even determine that?

Anyways any help would be appreciated. I've picked up a few things about linux but I'm still a bit of a newbie, always end up needing help from people smarter then me .

Thank you
 
Old 06-17-2009, 09:26 AM   #2
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
"Can't open display" usually means there's no X server running in the system.
Is the X server active in your situation?
 
Old 06-17-2009, 09:44 AM   #3
dsollen
Member
 
Registered: Jun 2009
Posts: 56

Original Poster
Rep: Reputation: 15
I'm actualy not certin. when I do a ps xserver isn't listed; but that is the case even when i run it on the machine i know has an xserver running so i'm guessing the process goes by a differnt name? XFS is running but i'm not certin that is the same thing.
 
Old 06-17-2009, 09:58 AM   #4
Uncle_Theodore
Member
 
Registered: Dec 2007
Location: Charleston WV, USA
Distribution: Slackware 12.2, Arch Linux Amd64
Posts: 896

Rep: Reputation: 60
XFS is the filesystem. The X server process will be listed in the output of
ps -e
as just X

You need to start the server before you can use graphics in applications.
 
Old 06-17-2009, 01:32 PM   #5
dsollen
Member
 
Registered: Jun 2009
Posts: 56

Original Poster
Rep: Reputation: 15
your right that was the problem. thank you for the help, I feel a bit stupid I couldn't figure that one out on my own .
 
Old 06-17-2009, 02:13 PM   #6
dsollen
Member
 
Registered: Jun 2009
Posts: 56

Original Poster
Rep: Reputation: 15
actually I still need to do more it seems. I can run startx and everything runs fine but I need everything automated. How do I ensure that the x server is running at startup? preferable with as little overhead as possible. I'm assuming that wouldn't be putting startx in the startup scripts

Also after running the program it turns out the GUI looks horrible, far worse then it does on my development machine. I'm assuming that is due to using XDM, so I suppose I need to use GDM after all. could you tell me what file I would have to modify to use GDM by default?

Thanks in advance
 
  


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
Graphics Display Issues Jamie-W Linux - Newbie 8 02-20-2009 03:02 PM
How can I display the weather info. (graphics)on a /dev/tty7 ? (no win.manager) frenchn00b Linux - General 29 10-15-2007 04:53 PM
Foxfire doesn't display graphics. gatdrydock Linux - Software 4 01-15-2006 05:26 PM
How to display graphics? edhan Linux - Newbie 4 06-12-2005 08:38 AM
graphics card and display suseuser Linux - Hardware 1 05-05-2004 02:36 PM


All times are GMT -5. The time now is 09:17 PM.

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