Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
startx fails
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
brianthecompguy
n00b
n00b


Joined: 05 Feb 2012
Posts: 7
Location: Texas

PostPosted: Sun Feb 05, 2012 9:27 pm    Post subject: startx fails Reply with quote

I am relatively new to Gentoo and have just installed Xorg and KDE.

Currently, when using the startx command, I receive the following:

...
(EE)Logitech USB Receiver: failed to initialize for relative axes.
(EE)Query no Synaptics: 6003C8
(EE)SynPS/2 Synaptics TouchPad Unable to query/initialize Synaptics hardware.
(EE)PreInit returned 11 for "SynPS/2 Synaptics TouchPad"
/etc/X11/xinit/xinitrc: line 59: twm: command not found
/etc/X11/xinit/xinitrc: line 60: xclock: command not found
/etc/X11/xinit/xinitrc: line 61: xterm: command not found
/etc/X11/xinit/xinitrc: line 63: exec: exterm: command not found
/etc/X11/xinit/xinitrc: line 62: xterm: command not found
xinit: connection to X server lost

waiting for X server to shut down Server terminated successfully (0). Closing log file.

I have looked at a lot of the postings about configuring x/kde and have been unsuccessful in fixing any of these errors.
What can I do to get a graphic interface working?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Sun Feb 05, 2012 9:31 pm    Post subject: Reply with quote

brianthecompguy,

Welcome to Gentoo

It looks like Xorg started OK then quit because it found nothing to do.
You missed the testing steps in the Xorg guide.

Code:
emerge twm xterm xclock -1
now try startx again.

When that works you are ready to try to start KDE
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
brianthecompguy
n00b
n00b


Joined: 05 Feb 2012
Posts: 7
Location: Texas

PostPosted: Sun Feb 05, 2012 9:41 pm    Post subject: Reply with quote

Great!
That seems to have done something at least...

Now when I use start x, I get an interface with 3 white boxes similar to terminal windows.
Seeming as I have installed and configured KDE with http://www.gentoo.org/proj/en/desktop/kde/kde4-guide.xml, I figured that this would look very different.
Thinking something was wrong, I typed exit in one of the boxes which brought me back into the original environment.

Now, the above listing states:
...
waiting for X server to shut down XIO: fatal IO error 104 (Connection reset by peer) on X server ":0"
xterm: fatal IO error 11 (Resource temporarily unavailable) or KillClient on X server ":0"

...
Segmentation fault at address 0x10

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

...
Server terminated with error (1). Closing log file.

What else did I miss?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Sun Feb 05, 2012 10:19 pm    Post subject: Reply with quote

brianthecompguy,

What you describe is Xorg doing its defualt thing, starting the twm window manager, three xterms (which are indeed consoles) and xclock.

This may not be 100% correct as I'm a gnome user. Make a file called ~/.xinitrc and put a signle line in there
Code:
exec startkde

Now when you do startx, it should start KDE, not twm.

Do not run any GUI as root, so that ~/.xinitrc file needs to be created when you are a normal user.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
brianthecompguy
n00b
n00b


Joined: 05 Feb 2012
Posts: 7
Location: Texas

PostPosted: Sun Feb 05, 2012 11:16 pm    Post subject: Reply with quote

Excellent, it worked!

On to configuring everything else!
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Mon Sep 03, 2012 6:09 pm    Post subject: Reply with quote

I am having the same problem and in my case i have systems without twm, xterm and xclock without any problems.

In this case i tried removing the last lines that pull the applications.

Code:
#!/bin/sh

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/Xresources
sysmodmap=/etc/X11/xinit/Xmodmap

# merge in defaults and keymaps

if [ -f $sysresources ]; then







    xrdb -merge $sysresources

fi

if [ -f $sysmodmap ]; then
    xmodmap $sysmodmap
fi

if [ -f "$userresources" ]; then







    xrdb -merge "$userresources"

fi

if [ -f "$usermodmap" ]; then
    xmodmap "$usermodmap"
fi

# start some nice programs


if [ -n "`/etc/X11/chooser.sh`" ]; then
   command="`/etc/X11/chooser.sh`"
else
   failsafe="yes"
fi

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
   for f in /etc/X11/xinit/xinitrc.d/* ; do
      [ -x "$f" ] && . "$f"
   done
   unset f
fi

#if [ -n "$failsafe" ]; then
#   twm &
#   xclock -geometry 50x50-1+1 &
#   xterm -geometry 80x50+494+51 &
#   xterm -geometry 80x20+494-0 &
#   exec aterm -geometry 80x66+0+0 -name login
#else
#   exec $command
#fi


And X does not start. It also does not output any errors.

Code:
# startx
hostname: Host name lookup failure
xauth:  file /root/.serverauth.2061 does not exist


X.Org X Server 1.12.2
Release Date: 2012-05-29
X Protocol Version 11, Revision 0
Build Operating System: Linux 3.5.2 i686 Gentoo
Current Operating System: Linux wmv 3.5.2 #1 SMP Fri Aug 24 18:12:30 EDT 2012 i686
Kernel command line: root=/dev/sda1
Build Date: 02 September 2012  08:03:19PM
 
Current version of pixman: 0.26.0
        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.0.log", Time: Mon Sep  3 14:44:20 2012
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
xinit: connection to X server lost

waiting for X server to shut down Server terminated successfully (0). Closing log file.


Code:
[165110.990]
X.Org X Server 1.12.2
Release Date: 2012-05-29
[165110.991] X Protocol Version 11, Revision 0
[165110.991] Build Operating System: Linux 3.5.2 i686 Gentoo
[165110.992] Current Operating System: Linux wmv 3.5.2 #1 SMP Fri Aug 24 18:12:30 EDT 2012 i686
[165110.992] Kernel command line: root=/dev/sda1
[165110.993] Build Date: 02 September 2012  08:03:19PM
[165110.994] 
[165110.994] Current version of pixman: 0.26.0
[165110.996]    Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
[165110.996] Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[165111.000] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Sep  3 14:44:20 2012
[165111.001] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[165111.002] (==) No Layout section.  Using the first Screen section.
[165111.002] (==) No screen section available. Using defaults.
[165111.002] (**) |-->Screen "Default Screen Section" (0)
[165111.002] (**) |   |-->Monitor "<default monitor>"
[165111.003] (==) No monitor specified for screen "Default Screen Section".
   Using a default monitor configuration.
[165111.003] (==) Automatically adding devices
[165111.003] (==) Automatically enabling devices
[165111.003] (==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF/,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/100dpi/,
   /usr/share/fonts/75dpi/
[165111.003] (==) ModulePath set to "/usr/lib/xorg/modules"
[165111.003] (II) The server relies on udev to provide the list of input devices.
   If no devices become available, reconfigure udev or disable AutoAddDevices.
[165111.003] (II) Loader magic: 0x81fc580
[165111.003] (II) Module ABI versions:
[165111.003]    X.Org ANSI C Emulation: 0.4
[165111.003]    X.Org Video Driver: 12.0
[165111.003]    X.Org XInput driver : 16.0
[165111.003]    X.Org Server Extension : 6.0
[165111.005] (--) PCI:*(0:0:2:0) 8086:2592:1043:82d9 rev 4, Mem @ 0xf7f00000/524288, 0xd0000000/268435456, 0xf7ec0000/262144, I/O @ 0x0000ec00/8
[165111.005] (--) PCI: (0:0:2:1) 8086:2792:1043:82d9 rev 4, Mem @ 0xf7f80000/524288
[165111.009] (II) Open ACPI successful (/var/run/acpid.socket)
[165111.009] (II) LoadModule: "extmod"
[165111.010] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[165111.010] (II) Module extmod: vendor="X.Org Foundation"
[165111.010]    compiled for 1.12.2, module version = 1.0.0
[165111.010]    Module class: X.Org Server Extension
[165111.010]    ABI class: X.Org Server Extension, version 6.0
[165111.010] (II) Loading extension MIT-SCREEN-SAVER
[165111.010] (II) Loading extension XFree86-VidModeExtension
[165111.010] (II) Loading extension XFree86-DGA
[165111.010] (II) Loading extension DPMS
[165111.010] (II) Loading extension XVideo
[165111.010] (II) Loading extension XVideo-MotionCompensation
[165111.010] (II) Loading extension X-Resource
[165111.011] (II) LoadModule: "dbe"
[165111.011] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[165111.011] (II) Module dbe: vendor="X.Org Foundation"
[165111.011]    compiled for 1.12.2, module version = 1.0.0
[165111.011]    Module class: X.Org Server Extension
[165111.011]    ABI class: X.Org Server Extension, version 6.0
[165111.011] (II) Loading extension DOUBLE-BUFFER
[165111.012] (II) LoadModule: "glx"
[165111.012] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[165111.012] (II) Module glx: vendor="X.Org Foundation"
[165111.012]    compiled for 1.12.2, module version = 1.0.0
[165111.012]    ABI class: X.Org Server Extension, version 6.0
[165111.016] (==) AIGLX enabled
[165111.016] (II) Loading extension GLX
[165111.016] (II) LoadModule: "record"
[165111.016] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[165111.017] (II) Module record: vendor="X.Org Foundation"
[165111.017]    compiled for 1.12.2, module version = 1.13.0
[165111.017]    Module class: X.Org Server Extension
[165111.017]    ABI class: X.Org Server Extension, version 6.0
[165111.017] (II) Loading extension RECORD
[165111.017] (II) LoadModule: "dri"
[165111.017] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[165111.018] (II) Module dri: vendor="X.Org Foundation"
[165111.018]    compiled for 1.12.2, module version = 1.0.0
[165111.018]    ABI class: X.Org Server Extension, version 6.0
[165111.018] (II) Loading extension XFree86-DRI
[165111.018] (II) LoadModule: "dri2"
[165111.019] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[165111.019] (II) Module dri2: vendor="X.Org Foundation"
[165111.019]    compiled for 1.12.2, module version = 1.2.0
[165111.019]    ABI class: X.Org Server Extension, version 6.0
[165111.019] (II) Loading extension DRI2
[165111.019] (==) Matched intel as autoconfigured driver 0
[165111.019] (==) Matched vesa as autoconfigured driver 1
[165111.019] (==) Matched fbdev as autoconfigured driver 2
[165111.019] (==) Assigned the driver to the xf86ConfigLayout
[165111.019] (II) LoadModule: "intel"
[165111.022] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[165111.023] (II) Module intel: vendor="X.Org Foundation"
[165111.023]    compiled for 1.12.2, module version = 2.19.0
[165111.023]    Module class: X.Org Video Driver
[165111.023]    ABI class: X.Org Video Driver, version 12.0
[165111.023] (II) LoadModule: "vesa"
[165111.024] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[165111.024] (II) Module vesa: vendor="X.Org Foundation"
[165111.024]    compiled for 1.12.2, module version = 2.3.1
[165111.024]    Module class: X.Org Video Driver
[165111.024]    ABI class: X.Org Video Driver, version 12.0
[165111.024] (II) LoadModule: "fbdev"
[165111.024] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[165111.025] (II) Module fbdev: vendor="X.Org Foundation"
[165111.025]    compiled for 1.12.2, module version = 0.4.2
[165111.025]    ABI class: X.Org Video Driver, version 12.0
[165111.025] (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)
[165111.026] (II) VESA: driver for VESA chipsets: vesa
[165111.026] (II) FBDEV: driver for framebuffer: fbdev
[165111.026] (--) using VT number 7

[165111.036] (WW) Falling back to old probe method for vesa
[165111.036] (WW) Falling back to old probe method for fbdev
[165111.036] (II) Loading sub module "fbdevhw"
[165111.036] (II) LoadModule: "fbdevhw"
[165111.037] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[165111.037] (II) Module fbdevhw: vendor="X.Org Foundation"
[165111.037]    compiled for 1.12.2, module version = 0.0.2
[165111.037]    ABI class: X.Org Video Driver, version 12.0
[165111.037] drmOpenDevice: node name is /dev/dri/card0
[165111.038] drmOpenDevice: open result is 9, (OK)
[165111.038] drmOpenByBusid: Searching for BusID pci:0000:00:02.0
[165111.038] drmOpenDevice: node name is /dev/dri/card0
[165111.038] drmOpenDevice: open result is 9, (OK)
[165111.038] drmOpenByBusid: drmOpenMinor returns 9
[165111.038] drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0
[165111.038] (II) intel(0): Creating default Display subsection in Screen section
   "Default Screen Section" for depth/fbbpp 24/32
[165111.038] (==) intel(0): Depth 24, (--) framebuffer bpp 32
[165111.038] (==) intel(0): RGB weight 888
[165111.038] (==) intel(0): Default visual is TrueColor
[165111.038] (II) intel(0): Integrated Graphics Chipset: Intel(R) 915GM
[165111.038] (--) intel(0): Chipset: "915GM"
[165111.038] (**) intel(0): Relaxed fencing disabled
[165111.039] (**) intel(0): Wait on SwapBuffers? enabled
[165111.039] (**) intel(0): Triple buffering? enabled
[165111.039] (**) intel(0): Framebuffer tiled
[165111.039] (**) intel(0): Pixmaps tiled
[165111.039] (**) intel(0): 3D buffers tiled
[165111.039] (**) intel(0): SwapBuffers wait enabled
[165111.039] (==) intel(0): video overlay key set to 0x101fe
[165111.039] (II) intel(0): Output LVDS1 has no monitor section
[165111.039] (II) intel(0): found backlight control interface /sys/class/backlight/intel_backlight
[165111.223] (II) intel(0): Output VGA1 has no monitor section
[165111.560] (II) intel(0): Output TV1 has no monitor section
[165111.561] (II) intel(0): EDID for output LVDS1
[165111.561] (II) intel(0): Not using default mode "320x240" (doublescan mode not supported)
[165111.561] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[165111.561] (II) intel(0): Not using default mode "400x300" (doublescan mode not supported)
[165111.561] (II) intel(0): Not using default mode "512x384" (doublescan mode not supported)
[165111.561] (II) intel(0): Not using default mode "640x480" (doublescan mode not supported)
[165111.561] (II) intel(0): Printing probed modes for output LVDS1
[165111.561] (II) intel(0): Modeline "800x480"x57.6   30.72  800 840 968 1056  480 481 484 505 (29.1 kHz P)
[165111.562] (II) intel(0): Modeline "640x480"x59.9   25.18  640 656 752 800  480 490 492 525 -hsync -vsync (31.5 kHz d)
[165111.746] (II) intel(0): EDID for output VGA1
[165112.083] (II) intel(0): EDID for output TV1
[165112.084] (II) intel(0): Output LVDS1 connected
[165112.084] (II) intel(0): Output VGA1 disconnected
[165112.084] (II) intel(0): Output TV1 disconnected
[165112.084] (II) intel(0): Using exact sizes for initial modes
[165112.084] (II) intel(0): Output LVDS1 using initial mode 800x480
[165112.084] (II) intel(0): Using default gamma of (1.0, 1.0, 1.0) unless otherwise stated.
[165112.084] (II) intel(0): Kernel page flipping support detected, enabling
[165112.084] (==) intel(0): DPI set to (96, 96)
[165112.084] (II) Loading sub module "fb"
[165112.084] (II) LoadModule: "fb"
[165112.085] (II) Loading /usr/lib/xorg/modules/libfb.so
[165112.085] (II) Module fb: vendor="X.Org Foundation"
[165112.085]    compiled for 1.12.2, module version = 1.0.0
[165112.085]    ABI class: X.Org ANSI C Emulation, version 0.4
[165112.085] (II) Loading sub module "dri2"
[165112.085] (II) LoadModule: "dri2"
[165112.086] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[165112.086] (II) Module dri2: vendor="X.Org Foundation"
[165112.086]    compiled for 1.12.2, module version = 1.2.0
[165112.086]    ABI class: X.Org Server Extension, version 6.0
[165112.086] (II) UnloadModule: "vesa"
[165112.086] (II) Unloading vesa
[165112.086] (II) UnloadModule: "fbdev"
[165112.086] (II) Unloading fbdev
[165112.086] (II) UnloadSubModule: "fbdevhw"
[165112.086] (II) Unloading fbdevhw
[165112.086] (==) Depth 24 pixmap format is 32 bpp
[165112.087] (II) intel(0): [DRI2] Setup complete
[165112.087] (II) intel(0): [DRI2]   DRI driver: i915
[165112.087] (II) intel(0): Allocated new frame buffer 832x480 stride 4096, tiled
[165112.087] (II) UXA(0): Driver registered support for the following operations:
[165112.087] (II)         solid
[165112.087] (II)         copy
[165112.087] (II)         composite (RENDER acceleration)
[165112.087] (II)         put_image
[165112.087] (II)         get_image
[165112.087] (==) intel(0): Backing store disabled
[165112.087] (==) intel(0): Silken mouse enabled
[165112.087] (II) intel(0): Initializing HW Cursor
[165112.087] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[165112.090] (==) intel(0): DPMS enabled
[165112.090] (==) intel(0): Intel XvMC decoder disabled
[165112.090] (II) intel(0): Set up textured video
[165112.090] (II) intel(0): Set up overlay video
[165112.090] (II) intel(0): direct rendering: DRI2 Enabled
[165112.090] (==) intel(0): hotplug detection: "enabled"
[165112.115] (--) RandR disabled
[165112.115] (II) Initializing built-in extension Generic Event Extension
[165112.115] (II) Initializing built-in extension SHAPE
[165112.115] (II) Initializing built-in extension MIT-SHM
[165112.115] (II) Initializing built-in extension XInputExtension
[165112.115] (II) Initializing built-in extension XTEST
[165112.115] (II) Initializing built-in extension BIG-REQUESTS
[165112.115] (II) Initializing built-in extension SYNC
[165112.115] (II) Initializing built-in extension XKEYBOARD
[165112.115] (II) Initializing built-in extension XC-MISC
[165112.115] (II) Initializing built-in extension XINERAMA
[165112.115] (II) Initializing built-in extension XFIXES
[165112.115] (II) Initializing built-in extension RENDER
[165112.115] (II) Initializing built-in extension RANDR
[165112.115] (II) Initializing built-in extension COMPOSITE
[165112.115] (II) Initializing built-in extension DAMAGE
[165112.161] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[165112.161] (II) AIGLX: enabled GLX_INTEL_swap_event
[165112.161] (II) AIGLX: enabled GLX_SGI_swap_control and GLX_MESA_swap_control
[165112.161] (II) AIGLX: GLX_EXT_texture_from_pixmap backed by buffer objects
[165112.162] (II) AIGLX: Loaded and initialized i915
[165112.162] (II) GLX: Initialized DRI2 GL provider for screen 0
[165112.164] (II) intel(0): Setting screen physical size to 211 x 127
[165112.288] (II) config/udev: Adding input device Power Button (/dev/input/event3)
[165112.288] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[165112.288] (II) LoadModule: "evdev"
[165112.288] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[165112.289] (II) Module evdev: vendor="X.Org Foundation"
[165112.289]    compiled for 1.12.2, module version = 2.7.0
[165112.289]    Module class: X.Org XInput Driver
[165112.289]    ABI class: X.Org XInput driver, version 16.0
[165112.289] (II) Using input driver 'evdev' for 'Power Button'
[165112.289] (**) Power Button: always reports core events
[165112.289] (**) evdev: Power Button: Device: "/dev/input/event3"
[165112.289] (--) evdev: Power Button: Vendor 0 Product 0x1
[165112.290] (--) evdev: Power Button: Found keys
[165112.290] (II) evdev: Power Button: Configuring as keyboard
[165112.290] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input3/event3"
[165112.290] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
[165112.290] (**) Option "xkb_rules" "evdev"
[165112.290] (**) Option "xkb_model" "evdev"
[165112.290] (**) Option "xkb_layout" "us"
[165112.380] (II) config/udev: Adding input device Video Bus (/dev/input/event4)
[165112.380] (**) Video Bus: Applying InputClass "evdev keyboard catchall"
[165112.380] (II) Using input driver 'evdev' for 'Video Bus'
[165112.380] (**) Video Bus: always reports core events
[165112.380] (**) evdev: Video Bus: Device: "/dev/input/event4"
[165112.380] (--) evdev: Video Bus: Vendor 0 Product 0x6
[165112.380] (--) evdev: Video Bus: Found keys
[165112.380] (II) evdev: Video Bus: Configuring as keyboard
[165112.380] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0A08:00/LNXVIDEO:00/input/input4/event4"
[165112.381] (II) XINPUT: Adding extended input device "Video Bus" (type: KEYBOARD, id 7)
[165112.381] (**) Option "xkb_rules" "evdev"
[165112.381] (**) Option "xkb_model" "evdev"
[165112.381] (**) Option "xkb_layout" "us"
[165112.383] (II) config/udev: Adding input device Power Button (/dev/input/event2)
[165112.383] (**) Power Button: Applying InputClass "evdev keyboard catchall"
[165112.383] (II) Using input driver 'evdev' for 'Power Button'
[165112.383] (**) Power Button: always reports core events
[165112.383] (**) evdev: Power Button: Device: "/dev/input/event2"
[165112.383] (--) evdev: Power Button: Vendor 0 Product 0x1
[165112.383] (--) evdev: Power Button: Found keys
[165112.383] (II) evdev: Power Button: Configuring as keyboard
[165112.383] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0C:00/input/input2/event2"
[165112.383] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 8)
[165112.383] (**) Option "xkb_rules" "evdev"
[165112.383] (**) Option "xkb_model" "evdev"
[165112.383] (**) Option "xkb_layout" "us"
[165112.386] (II) config/udev: Adding input device Lid Switch (/dev/input/event0)
[165112.386] (II) No input driver specified, ignoring this device.
[165112.386] (II) This device may have been added with another device file.
[165112.387] (II) config/udev: Adding input device Sleep Button (/dev/input/event1)
[165112.387] (**) Sleep Button: Applying InputClass "evdev keyboard catchall"
[165112.387] (II) Using input driver 'evdev' for 'Sleep Button'
[165112.387] (**) Sleep Button: always reports core events
[165112.387] (**) evdev: Sleep Button: Device: "/dev/input/event1"
[165112.387] (--) evdev: Sleep Button: Vendor 0 Product 0x3
[165112.387] (--) evdev: Sleep Button: Found keys
[165112.387] (II) evdev: Sleep Button: Configuring as keyboard
[165112.387] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input1/event1"
[165112.387] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD, id 9)
[165112.387] (**) Option "xkb_rules" "evdev"
[165112.387] (**) Option "xkb_model" "evdev"
[165112.387] (**) Option "xkb_layout" "us"
[165112.389] (II) config/udev: Adding input device UVC Camera (eb1a:2761) (/dev/input/event6)
[165112.390] (**) UVC Camera (eb1a:2761): Applying InputClass "evdev keyboard catchall"
[165112.390] (II) Using input driver 'evdev' for 'UVC Camera (eb1a:2761)'
[165112.390] (**) UVC Camera (eb1a:2761): always reports core events
[165112.390] (**) evdev: UVC Camera (eb1a:2761): Device: "/dev/input/event6"
[165112.390] (--) evdev: UVC Camera (eb1a:2761): Vendor 0xeb1a Product 0x2761
[165112.390] (--) evdev: UVC Camera (eb1a:2761): Found keys
[165112.390] (II) evdev: UVC Camera (eb1a:2761): Configuring as keyboard
[165112.390] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.7/usb1/1-8/1-8:1.0/input/input6/event6"
[165112.390] (II) XINPUT: Adding extended input device "UVC Camera (eb1a:2761)" (type: KEYBOARD, id 10)
[165112.390] (**) Option "xkb_rules" "evdev"
[165112.390] (**) Option "xkb_model" "evdev"
[165112.390] (**) Option "xkb_layout" "us"
[165112.392] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event5)
[165112.392] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
[165112.393] (II) Using input driver 'evdev' for 'AT Translated Set 2 keyboard'
[165112.393] (**) AT Translated Set 2 keyboard: always reports core events
[165112.393] (**) evdev: AT Translated Set 2 keyboard: Device: "/dev/input/event5"
[165112.393] (--) evdev: AT Translated Set 2 keyboard: Vendor 0x1 Product 0x1
[165112.393] (--) evdev: AT Translated Set 2 keyboard: Found keys
[165112.393] (II) evdev: AT Translated Set 2 keyboard: Configuring as keyboard
[165112.393] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio0/input/input5/event5"
[165112.393] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD, id 11)
[165112.393] (**) Option "xkb_rules" "evdev"
[165112.393] (**) Option "xkb_model" "evdev"
[165112.393] (**) Option "xkb_layout" "us"
[165112.395] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/event7)
[165112.395] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "evdev touchpad catchall"
[165112.395] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "touchpad catchall"
[165112.395] (**) SynPS/2 Synaptics TouchPad: Applying InputClass "Default clickpad buttons"
[165112.395] (II) LoadModule: "synaptics"
[165112.396] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[165112.396] (II) Module synaptics: vendor="X.Org Foundation"
[165112.396]    compiled for 1.12.2, module version = 1.6.2
[165112.396]    Module class: X.Org XInput Driver
[165112.396]    ABI class: X.Org XInput driver, version 16.0
[165112.396] (II) Using input driver 'synaptics' for 'SynPS/2 Synaptics TouchPad'
[165112.396] (**) SynPS/2 Synaptics TouchPad: always reports core events
[165112.397] (**) Option "Device" "/dev/input/event7"
[165112.397] (--) synaptics: SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472
[165112.397] (--) synaptics: SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448
[165112.397] (--) synaptics: SynPS/2 Synaptics TouchPad: pressure range 0 - 255
[165112.397] (--) synaptics: SynPS/2 Synaptics TouchPad: finger width range 0 - 15
[165112.397] (--) synaptics: SynPS/2 Synaptics TouchPad: buttons: left right
[165112.397] (--) synaptics: SynPS/2 Synaptics TouchPad: Vendor 0x2 Product 0x7
[165112.397] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[165112.397] (**) SynPS/2 Synaptics TouchPad: always reports core events
[165112.397] (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input7/event7"
[165112.397] (II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD, id 12)
[165112.398] (**) synaptics: SynPS/2 Synaptics TouchPad: (accel) MinSpeed is now constant deceleration 2.5
[165112.398] (**) synaptics: SynPS/2 Synaptics TouchPad: MaxSpeed is now 1.75
[165112.398] (**) synaptics: SynPS/2 Synaptics TouchPad: AccelFactor is now 0.040
[165112.398] (**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1
[165112.399] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration profile 1
[165112.399] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration factor: 2.000
[165112.399] (**) SynPS/2 Synaptics TouchPad: (accel) acceleration threshold: 4
[165112.399] (--) synaptics: SynPS/2 Synaptics TouchPad: touchpad found
[165112.400] (II) config/udev: Adding input device SynPS/2 Synaptics TouchPad (/dev/input/mouse0)
[165112.400] (**) SynPS/2 Synaptics TouchPad: Ignoring device from InputClass "touchpad ignore duplicates"
[165112.487] (II) evdev: Power Button: Close
[165112.488] (II) UnloadModule: "evdev"
[165112.488] (II) evdev: Video Bus: Close
[165112.488] (II) UnloadModule: "evdev"
[165112.488] (II) evdev: Power Button: Close
[165112.488] (II) UnloadModule: "evdev"
[165112.488] (II) evdev: Sleep Button: Close
[165112.488] (II) UnloadModule: "evdev"
[165112.488] (II) evdev: UVC Camera (eb1a:2761): Close
[165112.488] (II) UnloadModule: "evdev"
[165112.488] (II) evdev: AT Translated Set 2 keyboard: Close
[165112.489] (II) UnloadModule: "evdev"
[165112.489] (II) UnloadModule: "synaptics"
[165112.509] Server terminated successfully (0). Closing log file.


Could it be related to the localhost lookup failure ?
Bottom line is that i also don't want to install extra apps that i do not use.
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Mon Sep 03, 2012 6:25 pm    Post subject: Reply with quote

HeXiLeD,

The idea of
Code:
emerge -1 twm xclock xterm
is to install something simple that works but without polluting your world file. Thats what -1 or --oneshot does.
Packages installed this way, and any dependencies thy pull in will be removed by the next --depclean, so no need to keep the packages you don't want.

Your Xorg log looks like a normal start and shutdown as it found nothing to do.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
HeXiLeD
Veteran
Veteran


Joined: 20 Aug 2005
Posts: 1159
Location: Online

PostPosted: Tue Sep 04, 2012 10:44 pm    Post subject: Reply with quote

Solution is all here :
http://www.gentoo.org/doc/en/xorg-config.xml.

I had forgotten /etc/env.d/90xsession. I remember when this configuration was introduced to replace the old option.

Quote:
Using startx

Now try startx to start up your X server. startx is a script that executes an X session; that is, it starts the X server and some graphical applications on top of it. It decides which applications to run using the following logic:

If a file named .xinitrc exists in the home directory, it will execute the commands listed there.
Otherwise, it will read the value of the XSESSION variable and will execute one of the sessions available in /etc/X11/Sessions/ accordingly. You can set the value of XSESSION in /etc/env.d/90xsession to make it a default for all the users on the system. For example, as root, run echo XSESSION="Xfce4" > /etc/env.d/90xsession. This will create the 90xsession file and set the default X session to Xfce. Remember to run env-update after changing 90xsession.


It's been a while since i setup an X and i know that configuration files have changed. However i cant remember what i am missing here.

Code:
# cat /etc/env.d/90xsession
XSESSION="fluxbox"


However for some weird reason env-update did not made it work. Reboot solved it.

This problem is SOLVED
_________________
Do you hear the sound of inevitability?
With age, comes great grumpiness and that, was 20 years ago...

CertFP: becbbd161d5a5c31de3c45171b77bf710911db29 / d985d21f89fe2977b593c4d381a1a86802e62990d9328d893db76d59f9935244
Back to top
View user's profile Send private message
windex
n00b
n00b


Joined: 09 Dec 2012
Posts: 70

PostPosted: Wed May 28, 2014 9:11 pm    Post subject: Reply with quote

NeddySeagoon wrote:
HeXiLeD,

The idea of
Code:
emerge -1 twm xclock xterm
is to install something simple that works but without polluting your world file. Thats what -1 or --oneshot does.
Packages installed this way, and any dependencies thy pull in will be removed by the next --depclean, so no need to keep the packages you don't want.

Your Xorg log looks like a normal start and shutdown as it found nothing to do.


This ended up helping me to solve a related problem, thanks!
Back to top
View user's profile Send private message
toohandy
n00b
n00b


Joined: 22 Oct 2015
Posts: 1

PostPosted: Fri Oct 23, 2015 4:43 am    Post subject: Reply with quote

@NeddySeagoon: Thanks for the solution you supplied to the OP (I somehow missed the instructions to install those 3 files too).

The solution of course worked like a charm, I can now startx & Openbox now (after the .xinitrc thing).

I'm now looking forward to setting up the rest of the system & getting familiar with the Gentoo way.

Thanks again,

handy
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
Page 1 of 1

 
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