Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]startx doesn't work for normal user
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Thu Jul 12, 2012 2:03 am    Post subject: [SOLVED]startx doesn't work for normal user Reply with quote

So, I can't start x as normal user then I su. The problem is, when I su, it starts x as root and I'm in my session as root. I tried to start a new session but all I got was a black screen with a white dash in the top left corner.

Also, I don't know how to leave the Desktop Environment. The guide says to Ctrl-Alt-Backspace but it doesn't work for me. When I do that, nothing happens. When I Ctrl-Alt-F1 it does leave the Desktop and flashes some words but doesn't give me a prompt.


Last edited by athena810 on Sun Aug 19, 2012 9:53 pm; edited 1 time in total
Back to top
View user's profile Send private message
Bzub
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2004
Posts: 89
Location: Belgium

PostPosted: Thu Jul 12, 2012 2:29 am    Post subject: Re: startx doesn't work for normal user Reply with quote

athena810 wrote:
So, I can't start x as normal user then I su. The problem is, when I su, it starts x as root and I'm in my session as root. I tried to start a new session but all I got was a black screen with a white dash in the top left corner.

Also, I don't know how to leave the Desktop Environment. The guide says to Ctrl-Alt-Backspace but it doesn't work for me. When I do that, nothing happens. When I Ctrl-Alt-F1 it does leave the Desktop and flashes some words but doesn't give me a prompt.


Hi,

* Did you make a ~/.xinitrc file?
* What Window Manager or Desktop Manager are you using?
* Is your user part of the video group?

As for you your leaving issues, Press Ctrl-Alt-F1, if you don't get a prompt your X is probably running so kill it with Ctrl-c. Or alternatively press Ctrl-Alt-F2 to get a prompt and kill your X.
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1473

PostPosted: Thu Jul 12, 2012 2:31 am    Post subject: Reply with quote

Ctrl-Alt-Backspace died a while ago. Now it only exists when you reconfigure it to. (Please don't ask me, I don't know how).

When you Ctrl-Alt-F1 back to your session (assuming you logged in to the first session) type ctr+c to kill xorg.

Now on to your problem: what does your user's .xinitrc file contain?

If you do not have xterm and twm installed, please do so. (emerge -av xterm twm) This should give an absolutely ugly, but hopefully working, environment. It will really just be a few terminals. To leave type "exit" in each one until the session closes.

Try startx again as a user and tell us what happened.

EDIT: Ahh.. I see I was beaten to the post.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Thu Jul 12, 2012 2:47 am    Post subject: Reply with quote

Hey,

I did make a ~/.xinitrc file and in it, i wrote
Code:
exec startkde

in it.


Is a Windows Manager like KDE, because I'm using KDE.

I didn't make my user part of any group except wheel.

I'll try leaving that way, thanks.
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Thu Jul 12, 2012 3:03 am    Post subject: Reply with quote

Add yourself to the video group

usermod -a -G video yourname
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
The Doctor
Veteran
Veteran


Joined: 27 Jul 2010
Posts: 1473

PostPosted: Thu Jul 12, 2012 3:13 am    Post subject: Reply with quote

You will need to add your user to video to get display, just like your user will need to be in audio if you want sound.

KDE is a desktop environment. That is a bigger structure than just a window manager, but it includes one, namely kwin. That should be fine eventually. For now, here is what I would do:

1) add my user to the video group. (gpasswd -a username video)

2) run X -retro. A useless black and white pattern with a movable cursor is success here.

3) try and run kde from the command line.

This should allow you to rule out a configuration problem with your drivers

One note about running X as root: it is very taboo. It opens all kinds of security holes. You should never do it.
_________________
First things first, but not necessarily in that order.
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Thu Jul 12, 2012 4:04 am    Post subject: Reply with quote

allright, I'll try it
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Thu Jul 12, 2012 4:39 am    Post subject: Reply with quote

x -retro doesn't exist...
Actually X -retro might...I'll try that.
anyway, I added athena to video and startx.

Still doesn't work :(

It says something abut xauthority files
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5575

PostPosted: Thu Jul 12, 2012 9:42 am    Post subject: Reply with quote

The option for the keyboard is 'terminate:ctrl_alt_bksp'.
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Thu Jul 12, 2012 11:26 am    Post subject: Reply with quote

VoidMage,
Thanks but even with this, the problem persists...startx does not work for normal user
Back to top
View user's profile Send private message
Bzub
Tux's lil' helper
Tux's lil' helper


Joined: 25 Dec 2004
Posts: 89
Location: Belgium

PostPosted: Thu Jul 12, 2012 12:52 pm    Post subject: Reply with quote

athena810 wrote:
x -retro doesn't exist...
Actually X -retro might...I'll try that.
anyway, I added athena to video and startx.

Still doesn't work :(

It says something abut xauthority files


Hi,

Could you post /var/log/Xorg.0.log or something more specific about that Xauthority problem.

Do you have the file ~/.Xauthority? If so delete it.
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Thu Jul 12, 2012 1:54 pm    Post subject: Reply with quote

Yeah, but it's really long.
Code:
[   507.415]
X.Org X Server 1.12.2
Release Date: 2012-05-29
[   507.415] X Protocol Version 11, Revision 0
[   507.415] Build Operating System: Linux 3.3.8-gentoo x86_64 Gentoo
[   507.415] Current Operating System: Linux localhost 3.3.8-gentoo #7 SMP Thu Jun 28 13:35:49 EDT 2012 x86_64
[   507.415] Kernel command line: root=/dev/sda6
[   507.415] Build Date: 09 July 2012  11:22:19PM
[   507.415] 
[   507.415] Current version of pixman: 0.26.0
[   507.415]    Before reporting problems, check http://wiki.x.org
      to make sure that you have the latest version.
[   507.415] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[   507.417] (==) Log file: "/var/log/Xorg.0.log", Time: Thu Jul 12 04:21:35 2012
[   507.506] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[   507.526] (==) No Layout section.  Using the first Screen section.
[   507.526] (==) No screen section available. Using defaults.
[   507.526] (**) |-->Screen "Default Screen Section" (0)
[   507.526] (**) |   |-->Monitor "<default monitor>"
[   507.541] (==) No monitor specified for screen "Default Screen Section".
  Using a default monitor configuration.
[   507.541] (==) Automatically adding devices
[   507.541] (==) Automatically enabling devices
[   507.588] (WW) The directory "/usr/share/fonts/TTF/" does not exist.
[   507.588]         Entry deleted from font path.
[   507.588] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
[   507.588]        Entry deleted from font path.
[   507.606] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/".
[   507.606]   Entry deleted from font path.
[   507.606]       (Run 'mkfontdir' on "/usr/share/fonts/75dpi/").
[   507.606] (==) FontPath set to:
       /usr/share/fonts/misc/,
 /usr/share/fonts/Type1/,
        /usr/share/fonts/100dpi/
[   507.606] (==) ModulePath set to "/usr/lib64/xorg/modules"
[   507.606] (II) The server relies on udev to provide the list of input devices.
  If no devices become available, reconfigure udev or disable AutoAddDevices.
[   507.606] (II) Loader magic: 0x7d5ae0
[   507.606] (II) Module ABI versions:
[   507.606]   X.Org ANSI C Emulation: 0.4
[   507.606]         X.Org Video Driver: 12.0
[   507.606]    X.Org XInput driver : 16.0
[   507.606]  X.Org Server Extension : 6.0
[   507.607] (--) PCI:*(0:0:2:0) 8086:0046:103c:1693 rev 2, Mem @ 0xb0000000/4194304, 0xa0000000/268435456, I/O @ 0x00004050/8
[   507.607] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[   507.607] (II) LoadModule: "extmod"
[   507.695] (II) Loading /usr/lib64/xorg/modules/extensions/libextmod.so
[   507.710] (II) Module extmod: vendor="X.Org Foundation"
[   507.710]   compiled for 1.12.2, module version = 1.0.0
[   507.710]         Module class: X.Org Server Extension
[   507.710]        ABI class: X.Org Server Extension, version 6.0
[   507.710] (II) Loading extension MIT-SCREEN-SAVER
[   507.710] (II) Loading extension XFree86-VidModeExtension
[   507.710] (II) Loading extension XFree86-DGA
[   507.710] (II) Loading extension DPMS
[   507.710] (II) Loading extension XVideo
[   507.710] (II) Loading extension XVideo-MotionCompensation
[   507.710] (II) Loading extension X-Resource
[   507.710] (II) LoadModule: "dbe"
[   507.710] (II) Loading /usr/lib64/xorg/modules/extensions/libdbe.so
[   507.721] (II) Module dbe: vendor="X.Org Foundation"
[   507.721]  compiled for 1.12.2, module version = 1.0.0
[   507.721]         Module class: X.Org Server Extension
[   507.721]        ABI class: X.Org Server Extension, version 6.0
[   507.721] (II) Loading extension DOUBLE-BUFFER
[   507.721] (II) LoadModule: "glx"
[   507.721] (II) Loading /usr/lib64/xorg/modules/extensions/libglx.so
[   507.744] (II) Module glx: vendor="X.Org Foundation"
[   507.744]     compiled for 1.12.2, module version = 1.0.0
[   507.744]         ABI class: X.Org Server Extension, version 6.0
[   507.744] (==) AIGLX enabled
[   507.744] (II) Loading extension GLX
[   507.744] (II) LoadModule: "record"
[   507.744] (II) Loading /usr/lib64/xorg/modules/extensions/librecord.so
[   507.755] (II) Module record: vendor="X.Org Foundation"
[   507.755]       compiled for 1.12.2, module version = 1.13.0
[   507.755]        Module class: X.Org Server Extension
[   507.755]        ABI class: X.Org Server Extension, version 6.0
[   507.755] (II) Loading extension RECORD
[   507.755] (II) LoadModule: "dri"
[   507.755] (II) Loading /usr/lib64/xorg/modules/extensions/libdri.so
[   507.817] (II) Module dri: vendor="X.Org Foundation"
[   507.817]    compiled for 1.12.2, module version = 1.0.0
[   507.817]         ABI class: X.Org Server Extension, version 6.0
[   507.817] (II) Loading extension XFree86-DRI
[   507.817] (II) LoadModule: "dri2"
[   507.817] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
[   507.819] (II) Module dri2: vendor="X.Org Foundation"
[   507.819]    compiled for 1.12.2, module version = 1.2.0
[   507.819]         ABI class: X.Org Server Extension, version 6.0
[   507.819] (II) Loading extension DRI2
[   507.819] (==) Matched intel as autoconfigured driver 0
[   507.819] (==) Matched vesa as autoconfigured driver 1
[   507.819] (==) Matched fbdev as autoconfigured driver 2
[   507.819] (==) Assigned the driver to the xf86ConfigLayout
[   507.819] (II) LoadModule: "intel"
[   507.861] (II) Loading /usr/lib64/xorg/modules/drivers/intel_drv.so
[   508.009] (II) Module intel: vendor="X.Org Foundation"
[   508.009]        compiled for 1.12.2, module version = 2.19.0
[   508.009]        Module class: X.Org Video Driver
[   508.009]    ABI class: X.Org Video Driver, version 12.0
[   508.009] (II) LoadModule: "vesa"
[   508.009] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[   508.035] (II) Module vesa: vendor="X.Org Foundation"
[   508.035]        compiled for 1.12.2, module version = 2.3.1
[   508.035]         Module class: X.Org Video Driver
[   508.035]    ABI class: X.Org Video Driver, version 12.0
[   508.035] (II) LoadModule: "fbdev"
[   508.035] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[   508.046] (II) Module fbdev: vendor="X.Org Foundation"
[   508.046]     compiled for 1.12.2, module version = 0.4.2
[   508.046]         ABI class: X.Org Video Driver, version 12.0
[   508.046] (II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
        i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 915G,
     E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
      965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
 4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
        Sandybridge Desktop (GT1), Sandybridge Desktop (GT2),
   Sandybridge Desktop (GT2+), Sandybridge Mobile (GT1),
   Sandybridge Mobile (GT2), Sandybridge Mobile (GT2+),
    Sandybridge Server, Ivybridge Mobile (GT1), Ivybridge Mobile (GT2),
     Ivybridge Desktop (GT1), Ivybridge Desktop (GT2), Ivybridge Server,
     Ivybridge Server (GT2)
[   508.046] (II) VESA: driver for VESA chipsets: vesa
[   508.046] (II) FBDEV: driver for framebuffer: fbdev
[   508.046] (--) using VT number 7

[   508.050] (WW) Falling back to old probe method for vesa
[   508.051] (WW) Falling back to old probe method for fbdev
[   508.051] (II) Loading sub module "fbdevhw"
[   508.051] (II) LoadModule: "fbdevhw"
[   508.136] (II) Loading /usr/lib64/xorg/modules/libfbdevhw.so
[   508.147] (II) Module fbdevhw: vendor="X.Org Foundation"
[   508.147]      compiled for 1.12.2, module version = 0.0.2
[   508.147]         ABI class: X.Org Video Driver, version 12.0
[   508.147] drmOpenDevice: node name is /dev/dri/card0
[   508.147] drmOpenDevice: open result is 8, (OK)
[   508.147] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[   508.147] drmOpenDevice: node name is /dev/dri/card0
[   508.147] drmOpenDevice: open result is 8, (OK)
[   508.147] drmOpenByBusid: drmOpenMinor returns 8
[   508.147] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[   508.147] (II) intel(0): Creating default Display subsection in Screen section
     "Default Screen Section" for depth/fbbpp 24/32
[   508.147] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[   508.147] (==) intel(0): RGB weight 888
[   508.147] (==) intel(0): Default visual is TrueColor
[   508.147] (II) intel(0): Integrated Graphics Chipset: Intel(R) Arrandale
[   508.147] (--) intel(0): Chipset: "Arrandale"
[   508.147] (**) intel(0): Relaxed fencing enabled
[   508.147] (**) intel(0): Wait on SwapBuffers? enabled
[   508.147] (**) intel(0): Triple buffering? enabled
[   508.147] (**) intel(0): Framebuffer tiled
[   508.147] (**) intel(0): Pixmaps tiled
[   508.147] (**) intel(0): 3D buffers tiled
[   508.147] (**) intel(0): SwapBuffers wait enabled
[   508.147] (==) intel(0): video overlay key set to 0x101fe
[   508.147] (II) intel(0): Output LVDS1 has no monitor section
[   508.148] (II) intel(0): found backlight control interface /sys/class/backlight/acpi_video0
[   508.148] (II) intel(0): Output VGA1 has no monitor section
[   508.171] (II) intel(0): Output HDMI1 has no monitor section
[   508.184] (II) intel(0): Output DP1 has no monitor section
[   508.184] (II) intel(0): EDID for output LVDS1
[   508.184] (II) intel(0): Manufacturer: LGD  Model: 2f2  Serial#: 0
[   508.184] (II) intel(0): Year: 2010  Week: 0
[   508.184] (II) intel(0): EDID Version: 1.3
[   508.184] (II) intel(0): Digital Display Input
[   508.184] (II) intel(0): Max Image Size [cm]: horiz.: 34  vert.: 19
[   508.184] (II) intel(0): Gamma: 2.20
[   508.184] (II) intel(0): No DPMS capabilities specified
[   508.184] (II) intel(0): Supported color encodings: RGB 4:4:4 YCrCb 4:4:4
[   508.184] (II) intel(0): First detailed timing is preferred mode
[   508.184] (II) intel(0): redX: 0.605 redY: 0.355   greenX: 0.329 greenY: 0.579
[   508.184] (II) intel(0): blueX: 0.150 blueY: 0.055   whiteX: 0.313 whiteY: 0.329
[   508.184] (II) intel(0): Manufacturer's mask: 0
[   508.184] (II) intel(0): Supported detailed timing:
[   508.184] (II) intel(0): clock: 69.3 MHz   Image Size:  344 x 194 mm
[   508.184] (II) intel(0): h_active: 1366  h_sync: 1402  h_sync_end 1442 h_blank_end 1480 h_border: 0
[   508.184] (II) intel(0): v_active: 768  v_sync: 771  v_sync_end 776 v_blanking: 780 v_border: 0
[   508.184] (II) intel(0):  LG Display
[   508.184] (II) intel(0):  LP156WH4-TLC1
[   508.184] (II) intel(0): EDID (in hex):
[   508.184] (II) intel(0):     00ffffffffffff0030e4f20200000000
[   508.184] (II) intel(0):     00140103802213780a05859b5b549426
[   508.184] (II) intel(0):     0e505400000001010101010101010101
[   508.184] (II) intel(0):     010101010101121b567250000c302428
[   508.184] (II) intel(0):     350058c2100000190000000000000000
[   508.184] (II) intel(0):     00000000000000000000000000fe004c
[   508.184] (II) intel(0):     4720446973706c61790a2020000000fe
[   508.184] (II) intel(0):     004c503135365748342d544c433100ff
[   508.184] (II) intel(0): EDID vendor "LGD", prod id 754
[   508.184] (II) intel(0): Printing DDC gathered Modelines:
[   508.184] (II) intel(0): Modeline "1366x768"x0.0   69.30  1366 1402 1442 1480  768 771 776 780 -hsync -vsync (46.8 kHz eP)
[   508.198] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[   508.198] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[   508.198] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[   508.198] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[   508.198] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
[   508.198] (II) intel(0): Not using default mode "640x512" (doublescan mode not supported)
[   508.198] (II) intel(0): Not using default mode "800x600" (doublescan mode not supported)
[   508.198] (II) intel(0): Not using default mode "896x672" (doublescan mode not supported)
[   508.198] (II) intel(0): Not using default mode "928x696" (doublescan mode not supported)
[   508.198] (II) intel(0): Not using default mode "960x720" (doublescan mode not supported)
[   508.198] (II) intel(0): Not using default mode "700x525" (doublescan mode not supported)
[   508.198] (II) intel(0): Not using default mode "1024x768" (doublescan mode not supported)
[   508.198] (II) intel(0): Printing probed modes for output LVDS1
[   508.198] (II) intel(0): Modeline "1366x768"x60.0   69.30  1366 1402 1442 1480  768 771 776 780 -hsync -vsync (46.8 kHz eP)
[   508.198] (II) intel(0): Modeline "1024x768"x60.0   65.00  1024 1048 1184 1344  768 771 777 806 -hsync -vsync (48.4 kHz d)
[   508.198] (II) intel(0): Modeline "800x600"x60.3   40.00  800 840 968 1056  600 601 605 628 +hsync +vsync (37.9 kHz d)
[   508.198] (II) intel(0): Modeline "800x600"x56.2   36.00  800 824 896 1024  600 601 603 625 +hsync +vsync (35.2 kHz d)
[   508.198] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[   508.198] (II) intel(0): EDID for output VGA1
[   508.221] (II) intel(0): EDID for output HDMI1
[   508.234] (II) intel(0): EDID for output DP1
[   508.234] (II) intel(0): Output LVDS1 connected
[   508.234] (II) intel(0): Output VGA1 disconnected
[   508.234] (II) intel(0): Output HDMI1 disconnected
[   508.234] (II) intel(0): Output DP1 disconnected
[   508.234] (II) intel(0): Using exact sizes for initial modes
[   508.234] (II) intel(0): Output LVDS1 using initial mode 1366x768
[   508.234] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[   508.234] (II) intel(0): Kernel page flipping support detected, enabling
[   508.234] (**) intel(0): Display dimensions: (340, 190) mm
[   508.234] (**) intel(0): DPI set to (102, 102)
[   508.234] (II) Loading sub module "fb"
[   508.234] (II) LoadModule: "fb"
[   508.234] (II) Loading /usr/lib64/xorg/modules/libfb.so
[   508.244] (II) Module fb: vendor="X.Org Foundation"
[   508.244]         compiled for 1.12.2, module version = 1.0.0
[   508.244]         ABI class: X.Org ANSI C Emulation, version 0.4
[   508.244] (II) Loading sub module "dri2"
[   508.244] (II) LoadModule: "dri2"
[   508.244] (II) Loading /usr/lib64/xorg/modules/extensions/libdri2.so
[   508.244] (II) Module dri2: vendor="X.Org Foundation"
[   508.244]        compiled for 1.12.2, module version = 1.2.0
[   508.244]         ABI class: X.Org Server Extension, version 6.0
[   508.244] (II) UnloadModule: "vesa"
[   508.244] (II) Unloading vesa
[   508.244] (II) UnloadModule: "fbdev"
[   508.244] (II) Unloading fbdev
[   508.244] (II) UnloadSubModule: "fbdevhw"
[   508.244] (II) Unloading fbdevhw
[   508.244] (==) Depth 24 pixmap format is 32 bpp
[   508.244] (II) intel(0): [DRI2] Setup complete
[   508.244] (II) intel(0): [DRI2]   DRI driver: i965
[   508.244] (II) intel(0): Allocated new frame buffer 1408x768 stride 5632, tiled
[   508.252] (II) UXA(0): Driver registered support for the following operations:
[   508.252] (II)         solid
[   508.252] (II)         copy
[   508.252] (II)         composite (RENDER acceleration)
[   508.252] (II)         put_image
[   508.252] (II)         get_image
[   508.252] (==) intel(0): Backing store disabled
[   508.252] (==) intel(0): Silken mouse enabled
[   508.252] (II) intel(0): Initializing HW Cursor
[   508.252] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[   508.253] (==) intel(0): DPMS enabled
[   508.253] (==) intel(0): Intel XvMC decoder enabled
[   508.253] (II) intel(0): Set up textured video
[   508.253] (II) intel(0): [XvMC] xvmc_vld driver initialized.
[   508.253] (II) intel(0): direct rendering: DRI2 Enabled
[   508.253] (==) intel(0): hotplug detection: "enabled"
[   508.317] (--) RandR disabled
[   508.317] (II) Initializing built-in extension Generic Event Extension
[   508.317] (II) Initializing built-in extension SHAPE
[   508.317] (II) Initializing built-in extension MIT-SHM
[   508.317] (II) Initializing built-in extension XInputExtension
[   508.317] (II) Initializing built-in extension XTEST
[   508.317] (II) Initializing built-in extension BIG-REQUESTS
[   508.317] (II) Initializing built-in extension SYNC
[   508.317] (II) Initializing built-in extension XKEYBOARD
[   508.317] (II) Initializing built-in extension XC-MISC
[   508.317] (II) Initializing built-in extension XINERAMA
[   508.317] (II) Initializing built-in extension XFIXES
[   508.317] (II) Initializing built-in extension RENDER
[   508.317] (II) Initializing built-in extension RANDR
[   508.317] (II) Initializing built-in extension COMPOSITE
[   508.317] (II) Initializing built-in extension DAMAGE
[   508.350] (EE) AIGLX error: dlopen of /usr/lib64/dri/i965_dri.so failed (/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such file or directory)
[   508.350] (EE) AIGLX: reverting to software rendering
[   508.350] (II) AIGLX: Screen 0 is not DRI capable
[   508.967] (II) AIGLX: Loaded and initialized swrast
[   508.967] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[   508.968] (II) intel(0): Setting screen physical size to 361 x 203
[   509.375] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[   509.375] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   509.375] (II) LoadModule: "evdev"
[   509.375] (II) Loading /usr/lib64/xorg/modules/input/evdev_drv.so
[   509.409] (II) Module evdev: vendor="X.Org Foundation"
[   509.409]      compiled for 1.12.2, module version = 2.7.0
[   509.409]         Module class: X.Org XInput Driver
[   509.409]   ABI class: X.Org XInput driver, version 16.0
[   509.409] (II) Using input driver 'evdev' for 'Power Button'
[   509.409] (**) Power Button: always reports core events
[   509.409] (**) evdev: Power Button: Device: "/dev/input/event2"
[   509.409] (--) evdev: Power Button: Vendor 0 Product 0x1
[   509.409] (--) evdev: Power Button: Found keys
[   509.409] (II) evdev: Power Button: Configuring as keyboard
[   509.409] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2/event2"
[   509.409] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[   509.409] (**) Option "xkb_rules" "evdev"
[   509.409] (**) Option "xkb_model" "evdev"
[   509.409] (**) Option "xkb_layout" "us"
[   509.431] (II) config/udev: Adding input device Video Bus (/dev/input/event3)
[   509.431] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[   509.431] (II) Using input driver 'evdev' for 'Video Bus'
[   509.431] (**) Video Bus: always reports core events
[   509.431] (**) evdev: Video Bus: Device: "/dev/input/event3"
[   509.431] (--) evdev: Video Bus: Vendor 0 Product 0x6
[   509.431] (--) evdev: Video Bus: Found keys
[   509.431] (II) evdev: Video Bus: Configuring as keyboard
[   509.431] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input3/event3"
[   509.431] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[   509.431] (**) Option "xkb_rules" "evdev"
[   509.431] (**) Option "xkb_model" "evdev"
[   509.431] (**) Option "xkb_layout" "us"
[   509.432] (II) config/udev: Adding input device Power Button (/dev/input/event1)
[   509.432] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[   509.432] (II) Using input driver 'evdev' for 'Power Button'
[   509.432] (**) Power Button: always reports core events
[   509.432] (**) evdev: Power Button: Device: "/dev/input/event1"
[   509.432] (--) evdev: Power Button: Vendor 0 Product 0x1
[   509.432] (--) evdev: Power Button: Found keys
[   509.432] (II) evdev: Power Button: Configuring as keyboard
[   509.432] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input1/event1"
[   509.432] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[   509.432] (**) Option "xkb_rules" "evdev"
[   509.432] (**) Option "xkb_model" "evdev"
[   509.432] (**) Option "xkb_layout" "us"
[   509.432] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[   509.432] (II) No input driver specified, ignoring this device.
[   509.432] (II) This device may have been added with another device file.
[   509.432] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event4)
[   509.432] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[   509.432] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[   509.433] (**) AT Translated Set 2 keyboard: always reports core events
[   509.433] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event4"
[   509.433] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[   509.433] (--) evdev: AT Translated Set 2 keyboard: Found keys
[   509.433] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[   509.433] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input4/event4"
[   509.433] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 9)
[   509.433] (**) Option "xkb_rules" "evdev"
[   509.433] (**) Option "xkb_model" "evdev"
[   509.433] (**) Option "xkb_layout" "us"
[   509.433] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event5)
[   509.433] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[   509.433] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[   509.433] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[   509.433] (II) LoadModule: "synaptics"
[   509.433] (II) Loading /usr/lib64/xorg/modules/input/synaptics_drv.so
[   509.447] (II) Module synaptics: vendor="X.Org Foundation"
[   509.447]        compiled for 1.12.2, module version = 1.6.2
[   509.447]         Module class: X.Org XInput Driver
[   509.447]   ABI class: X.Org XInput driver, version 16.0
[   509.447] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[   509.447] (**) SynPS/2 Synaptics TouchPad: always reports core events
[   509.447] (**) Option "Device" "/dev/input/event5"
[   509.476] (II) synaptics: SynPS/2 Synaptics TouchPad: ignoring touch events for semi-multitouch device
[   509.476] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5634
[   509.476] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4598
[   509.476] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[   509.476] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[   509.476] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right double triple
[   509.476] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[   509.476] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[   509.476] (**) SynPS/2 Synaptics TouchPad: always reports core events
[   509.492] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio4/input/input5/event5"
[   509.492] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 10)
[   509.492] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[   509.492] (**) synaptics: SynPS/2 Synaptics TouchPad: MaxSpeed is now 1.75
[   509.492] (**) synaptics: SynPS/2 Synaptics TouchPad: AccelFactor is now 0.038
[   509.492] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[   509.492] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[   509.492] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[   509.492] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[   509.492] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[   509.492] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[   509.492] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[   527.194] (II) intel(0): EDID vendor "LGD", prod id 754
[   527.194] (II) intel(0): Printing DDC gathered Modelines:
[   527.194] (II) intel(0): Modeline "1366x768"x0.0   69.30  1366 1402 1442 1480  768 771 776 780 -hsync -vsync (46.8 kHz eP)
[   556.870] (II) intel(0): EDID vendor "LGD", prod id 754
[   556.870] (II) intel(0): Printing DDC gathered Modelines:
[   556.870] (II) intel(0): Modeline "1366x768"x0.0   69.30  1366 1402 1442 1480  768 771 776 780 -hsync -vsync (46.8 kHz eP)


I can't find an xauthority. I dunno where it would be. Do you think if I chomd 777 that it will allow reg user to startx?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5575

PostPosted: Thu Jul 12, 2012 3:35 pm    Post subject: Reply with quote

Well, various pastebins exist...

Though there's an interesting error (likely unrelated directly to this problem):
(EE) AIGLX error: dlopen of /usr/lib64/dri/i965_dri.so failed (/usr/lib64/dri/i965_dri.so: cannot open shared object file: No such file or directory)

Tell me: 'emerge -1pv mesa libdrm' ?
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Fri Jul 13, 2012 3:40 pm    Post subject: Reply with quote

--- Invalid atom in /etc/portage/package.use: dev-libs/libxm12-2.8.0_rc1


But otherwise so far no errors

Here's the last section
Code:

Switching to xorg-x11 OpenGL interface... done
 * USE="bindist" was not set. Potentially patent encumbered code was
 * enabled. Please see patents.txt for an explanation.

 * Messages for package media-libs/mesa-8.0.3:

 * USE="bindist" was not set. Potentially patent encumbered code was
 * enabled. Please see patents.txt for an explanation.
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

 * IMPORTANT: config file '/etc/modprobe.d/blacklist.conf' needs updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

 * IMPORTANT: 5 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5575

PostPosted: Fri Jul 13, 2012 4:38 pm    Post subject: Reply with quote

:roll: I wasn't asking for you to reemerge it, at least not yet.
That was a question about the set of useflags on those packages.

Also, the part about pastebin was a strong suggestion.
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Fri Jul 13, 2012 5:12 pm    Post subject: Reply with quote

I didn't get what you were saying about pastebin. You said that various pastebins exist.

(Sorry, I'm dumb)

So, I should add bindist to my use flags?
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5575

PostPosted: Fri Jul 13, 2012 6:03 pm    Post subject: Reply with quote

'bindist' is irrelevant here.
'pastebin' meant "find a pastebin of your choice and put the whole log there".
Again, I not asking you to reemerge those libs yet, just to post the output with '-1pv'.

OT: this forum could use a smiley for :sigh:, 'eyeroll' sometimes doesn't quite fit.
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Fri Jul 13, 2012 6:51 pm    Post subject: Reply with quote

oh, crap, this sounds really dumb but i'm assuming typing 'emerge -1pv mesa libdrm' won't get me the log...in that case, i dunno how to get to the log
https://gist.github.com/3106632
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 5575

PostPosted: Fri Jul 13, 2012 7:25 pm    Post subject: Reply with quote

OK, there seems to be a thing or two.
First, while IIRC nothing major uses that yet, set libkms on libdrm anyway.
Second, if I'm reading your log correctly, you should add i965 to VIDEO_CARDS in your make.conf.
After that, rebuild both mesa and libdrm (just make sure first you set it correctly) and pastebin new xorg log.
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Sun Jul 15, 2012 1:06 pm    Post subject: Reply with quote

Sorry, I couldn't reply faster. I've been busy.

Anyway, could you dumb things down to n00b language?

How do I set libkms on libdrm? Do i do this in the kernel configuration?
How exactly do i rebuild mesa and libdrm?

Thanks

EDIT--I googled and google has no idea what your talking about
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Sun Jul 15, 2012 9:07 pm    Post subject: Reply with quote

athena810 wrote:

How do I set libkms on libdrm? Do i do this in the kernel configuration?
How exactly do i rebuild mesa and libdrm?

Thanks

EDIT--I googled and google has no idea what your talking about

Make sure you add i915 to VIDEO_CARDS in /etc/make.conf then

Code:
echo "x11-libs/libdrm libkms" >> /etc/portage/package.use

emerge -uavDN @world


UPDATE - MISTAKE ABOVE Add i965 to VIDEO_CARDS :oops:
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Wed Jul 18, 2012 4:58 am    Post subject: Reply with quote

So the good news is, it did finally kinda work. What happened was, when I startx in normal user, I still got a lot of messages that said something about xauthority timing out.

So when the GUI finally appeared, it showed 3 white boxes. This happened to me before when I first ran it as root but I was able to fix it by making a file called ~/.xinitrc and putting 'exec startkde' in it (without single quotes). Anyway, I made a file called ~/.xinitrc and typed exec startkde in it. However, when I try to save it, I couldn't because there was already another file that had the same name. I tried to overwrite the old one, but it said permission denied.

Should I change permissions for ~/.xinitrc?


Also, on a side note,
When I startup, it always waits for dhcpcd to start up and its kinda annoying because it takes forever and always times out. My wireless networking doesnt start automatically at start up. I need to /etc/init.d/net.wlan0 start to start networking for wireless. Is there a way where I can disable dhcpcd to start in the beginning or start wireless at startup?


Also, after I boot to my Gentoo partiiton, there's always a bunch of words that flash and then the screen blacks out. The backlight pretty much just dims until the screen is black. I can normally just fix this by hitting F3 which controls the brightness. However, this is a bit annoying and I was wondering if there was a way to get the backlight to stay on. [/code]
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Wed Jul 18, 2012 5:01 am    Post subject: Reply with quote

BTW, if this helps, I pasted a copy of /var/log/Xorg.0.log
http://bpaste.net/show/35545/
Back to top
View user's profile Send private message
BillWho
Veteran
Veteran


Joined: 03 Mar 2012
Posts: 1600
Location: US

PostPosted: Wed Jul 18, 2012 5:16 am    Post subject: Reply with quote

athena810,

Code:
echo "exec startkde" > ~/.xinitrc

will overwrite the file
Quote:
Should I change permissions for ~/.xinitrc?

You can if root owns it in your home - you'll have to do it a root user.
_________________
Good luck :wink:

Since installing gentoo, my life has become one long emerge :)
Back to top
View user's profile Send private message
athena810
Apprentice
Apprentice


Joined: 23 Jun 2012
Posts: 176

PostPosted: Sun Jul 22, 2012 2:46 pm    Post subject: Reply with quote

I tried to change permissions. In root I chmod 755 ~/.xinitrc
However, in user when I tried to nano ~/.xinitrc, it came up as a new file. I'm so utterly confused. I tried to overwrite the current ~/.xinitrc but then it permission denied me. Then I chmod 777 ~/.xinitrc in root and went back to reg user and again tried to overwrite. It gave me a permission denied again. So does chmod just decided to not work for me or did I again, not add reg user to a group that I was suppose to add?

startx for user athena still gives me
Code:

xauth: timeout in locking authority file // .serverauth.2435
xauth: timeout in locking authority file // .Xauthority
xauth: timeout in locking authority file // .Xauthority
xauth: timeout in locking authority file //.Xauthority
xauth: timeout in locking authority file //.Xauthority

{blah etc not important}

Unable to create //.dbus
Unable to create //.dbus/session-bus
xinit: Connection to X server lost

{}blah again

xauth: timeout in locking authority file //.Xauthority.



And despite changing permissions for ~/.xinitrc, I still get the three white boxes.

//.xinitrc is not a file...so now what? Im so confused, how come I dont see this file but if I try to nano it in root i see exec startkde but if I nano it in reg user i get a new file? Idk what to do.


Also, anyone have answers to these?
Quote:
Also, on a side note,
When I startup, it always waits for dhcpcd to start up and its kinda annoying because it takes forever and always times out. My wireless networking doesnt start automatically at start up. I need to /etc/init.d/net.wlan0 start to start networking for wireless. Is there a way where I can disable dhcpcd to start in the beginning or start wireless at startup?


Also, after I boot to my Gentoo partiiton, there's always a bunch of words that flash and then the screen blacks out. The backlight pretty much just dims until the screen is black. I can normally just fix this by hitting F3 which controls the brightness. However, this is a bit annoying and I was wondering if there was a way to get the backlight to stay on.


My DNS Server is also FUBAR Windows...so it seems but strangely enough it seems to be working fine in Gentoo. So I'm not even sure if its a DNS problem..anyway, this is probably not the place to ask but you all seem to be pretty tech savvy in everything so...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum