Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Desktop / X-Windows > startx not working.

Forgot Password?
 Linux Desktop / X-Windows   Anything X. Gnome, KDE, remote desktop's, XGames etc.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-29-2007   #1 (permalink)
Just Joined!
 
Join Date: Nov 2007
Posts: 5
startx not working.

I have a web server on which I want to run a graphical program (that can also be made to do things from the command line). So I understand I need to run startx first to allow this. Problem is it keeps giving the errors below. I think the problem line is the on about no being able to find the config file. But I am not sure where this is supposed to go or what goes in it. Here is the results I get from running startx

xauth: creating new authority file /root/.serverauth.13514
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.9-42.0.10.ELsmp i686 Red Hat, Inc.
Current Operating System: Linux air321.startdedicated.com 2.6.18-8.1.14.el5 #1 SMP Thu Sep 27 18:58:54 EDT 2007 i686
Build Date: 09 April 2007
Build ID: xorg-x11-server 1.1.1-48.13.0.1.el5
Before reporting problems, check X.Org Wiki - Home
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Thu Nov 29 17:35:46 2007
(EE) Unable to locate/open config file
New driver is "savage"
(==) Using default built-in configuration (55 lines)
(EE) Failed to load module "savage" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) Failed to load module "vga" (module does not exist, 0)
(WW) VESA(0): Failed to set up write-combining range (0xd8400000,0x2f0000)
(WW) VESA(0): Failed to set up write-combining range (0xd8000000,0x6f0000)
(EE) AIGLX: Screen 0 is not DRI capable
Could not init font path element unix/:7100, removing from list!
localuser:root being added to access control list
No profile for user 'root' found

waiting for X server to shut down FreeFontPath: FPE "built-ins" refcount is 2, should be 1; fixing.
Codefisher is offline  



Reply With Quote
Old 11-29-2007   #2 (permalink)
Linux Engineer
 
RobinVossen's Avatar
 
Join Date: Aug 2007
Location: The Netherlands
Posts: 1,381
Send a message via ICQ to RobinVossen Send a message via MSN to RobinVossen
You have to recompile your kernel and add:
Code:
(EE) Failed to load module "savage" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) Failed to load module "vga" (module does not exist, 0)
Some Modules
__________________
My webpage: codeinject.org
New Users, please read this..
Google first, then ask..
RobinVossen is offline   Reply With Quote
Old 11-29-2007   #3 (permalink)
Just Joined!
 
Join Date: Nov 2007
Posts: 5
can you recommend a good tutorial on how to do that on a remote machine?
Codefisher is offline   Reply With Quote
Old 11-29-2007   #4 (permalink)
Linux Engineer
 
RobinVossen's Avatar
 
Join Date: Aug 2007
Location: The Netherlands
Posts: 1,381
Send a message via ICQ to RobinVossen Send a message via MSN to RobinVossen
Well, the normal thing should work if you use SSH
You know you dont have to install kde or something if you want Graphical
If you just install your Graphical program on the box.

You can connect to it using:
ssh -2 -c blowfish -X name@domain

to tunnel X
__________________
My webpage: codeinject.org
New Users, please read this..
Google first, then ask..
RobinVossen is offline   Reply With Quote
Old 11-29-2007   #5 (permalink)
Just Joined!
 
Join Date: Nov 2007
Posts: 5
I know that GROHE (not installed) is not needed. Just startx I am told.

I never complied a kernel before. So suppose I will just Google it.
Codefisher is offline   Reply With Quote
Old 11-29-2007   #6 (permalink)
Linux Engineer
 
RobinVossen's Avatar
 
Join Date: Aug 2007
Location: The Netherlands
Posts: 1,381
Send a message via ICQ to RobinVossen Send a message via MSN to RobinVossen
You dont need startx.
You will need X11 librarys but you dont need startx.

As long as you run X11 on the PC that you run the ssh tunnel from.
Compiling a kernel is really easy.
Get the kernel source.
and do "make && makeconfig"
then you make it
Then you'll copy the bzImage to the boot.

Well, but you wont need that.
you can just do that with SSH X11 tunneling
__________________
My webpage: codeinject.org
New Users, please read this..
Google first, then ask..
RobinVossen is offline   Reply With Quote
Old 11-29-2007   #7 (permalink)
Just Joined!
 
Join Date: Nov 2007
Posts: 5
But I don't think SSH tunnelling or what ever it is is what I want. Ultimately I want to control the graphical program from the command line using some form of scripting. That it is a graphical program at all is turning out to be a bit of a nuisance. It will be loosely linked to the back end of a web site I am working on, and will process some data.
Codefisher is offline   Reply With Quote
Old 11-29-2007   #8 (permalink)
Just Joined!
 
Join Date: Nov 2007
Posts: 5
I think I found the solution in a program called Xvfb that creates a virtual graphical environment.

Thanks for you help anyway.
Codefisher is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 07:56 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1