LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-27-2014, 05:10 AM   #1
Aniz
LQ Newbie
 
Registered: Feb 2014
Posts: 2

Rep: Reputation: Disabled
startx doen't get into GUI in BLFS


I am unable to get gui when i run startx in BLFS..

While running startx it exits with below error.Can anyone help me..


root [ /var/log ]# startx
xauth: file /root/.serverauth.1729 does not exist


X.Org X Server 1.14.3
Release Date: 2013-09-12
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.10.10 x86_64
Current Operating System: Linux ubuntulfs 3.10.10 #1 SMP Thu Feb 27 12:13:54 IST 2014 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10.10-lfs-7.4 root=/dev/sda4 ro
Build Date: 27 February 2014 12:33:39PM

Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
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.1.log", Time: Thu Feb 27 16:38:05 2014
(==) Using default built-in configuration (39 lines)
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
xinit: connection to X server lost

waiting for X server to shut down error setting MTRR (base = 0xd0000000, size = 0x007b0000, type = 1) Invalid argument (22)
(EE) Server terminated successfully (0). Closing log file.
 
Old 02-27-2014, 09:51 PM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
Not sure what is going on there, but you are running X as root. Running applications on Linux as root is discouraged and often not supported. Try to run X as a user.
 
Old 02-28-2014, 01:36 AM   #3
Aniz
LQ Newbie
 
Registered: Feb 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Hai Emerson,

Thanks for your response.Every package I have installed is within root only.. Doesnt startx work if it is run with root priviliges..
 
Old 02-28-2014, 06:04 PM   #4
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,661

Rep: Reputation: Disabled
I do not know, I've never ran X as root, this is the second most stupidest thing to do (first is using a computer as root). You install apps as root, yes, but then you use these apps as a user. This is the UNIX way. There is no point doing LFS and ignoring [security] basics.
 
Old 02-28-2014, 07:09 PM   #5
Spect73
Member
 
Registered: Aug 2013
Distribution: Slackware 14.1
Posts: 128

Rep: Reputation: Disabled
@Aniz,
It might be better to have a moderator move this thread to the 'Linux From Scratch' formum. Building X is a non-trival task and you will find that someone familar with BLFS to be in a better position to answer your questions about what is wrong with your build. It has been several years since I did a BLFS X build and I'm not familar with the current requirements.

To ask that the thread be moved, just click on the 'report post' button at the bottom of your initial post. That brings up a template where you can type in the request and the reason.

Good luck. Once you get it built and running you'll find it to have been a road worthwhile taking.
 
Old 03-03-2014, 07:38 AM   #6
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,883
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
I believe I've run X11 as root. It's run as part of an embedded system by an /etc/init.d script. I needed it to run the X server so that the UI program we have would be able to load; it can't work via the framebuffer. That all is done via start up scripts so that the product boots directly into our UI.
 
  


Reply



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
Unable to get GUI in my BLFS system Dinesh Raja Linux From Scratch 30 06-20-2013 10:37 PM
[SOLVED] BLFS problem running startx phoenixfusion Linux From Scratch 5 07-15-2012 05:15 AM
starting BLFS in GUI mode by default mohit.jain Linux From Scratch 3 11-29-2006 04:45 AM
blfs xfree startx error alexastro Linux From Scratch 3 08-15-2004 03:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:11 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration