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. |
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.
|
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.. |
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.
|
@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. |
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.
|
All times are GMT -5. The time now is 06:09 PM. |