LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-07-2006, 10:42 AM   #1
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Rep: Reputation: 30
trouble with loading Window manager


Ok now i have a problem with loaded any window manager! the gnome loging manager works but then why i try to loging with user to gnome it brings me to a gray screen and nothing happens no error message no nothing? Im not sure what to do....I figured it might be a problem with sumthing i updated with swaret but im unsure. The most recent packages i updated are coreutils-5.94, bash-3.1, xfoprogs-2.7.11, clisp-2.38. But i dont really think they would do anything to this? Gnome failsafe works fine? Im not sure where to start....i searched logs and logs and found nothing to do with why gnome isent loading?

Some1 please help!!!


Matt
 
Old 03-07-2006, 10:50 AM   #2
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
I've seen something like this happen with an incompatible video driver. I'm assuming Gnome-failsafe reverts to the vesa driver, which is why it would be working. I agree the packages you upgraded via swaret shouldn't affect wm functionality.
 
Old 03-08-2006, 07:31 PM   #3
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Ok i know they tell you never to do this...however gnome works fine with root? You think sumhow when i was downloading programs for my burner i messed sumthing up or maybe got a virus? im kinda confused im not sure whats going on? when i booted up my kernel today i gota weird message ill copy it here with hopes sumone knows whats wrong here?

ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

===================================================================
Unable to handle kernel NULL pointer dereference at virtual address 0000001c
printing eip:
c018cea8
*pde = 00000000
Oops: 0000 [#1]
Modules linked in: lp ipv6 uhci_hcd ehci_hcd parport_pc parport pcspkr ali_agp shpchp ohci_hcd es1371 ac97_codec snd_ens1371 gameport snd_rawmidi snd_seq_device snd_ac97_codec snd_pcm snd_timer snd soundcore snd_page_alloc snd_ac97_bus i2c_ali15x3 i2c_ali1535 nvidiafb i2c_algo_bit i2c_core pcmcia firmware_class yenta_socket rsrc_nonstatic pcmcia_core tulip agpgart psmouse
CPU: 0
EIP: 0060:[<c018cea8>] Not tainted VLI
EFLAGS: 00010286 (2.6.15)
EIP is at sprintf_block_head+0x4/0x27
eax: 00000000 ebx: d334bdb8 ecx: 00000000 edx: 00000001
esi: c04fba19 edi: c04fba1d ebp: c04fba00 esp: d334bd74
ds: 007b es: 007b ss: 0068
Process updatedb (pid: 5597, threadinfo=d334a000 task=deca0050)
Stack: c018d0dd c04fb61e 00000000 c04fb61e 0000007a 00000001 ffffffff 00000010
c6c6c018 ffffffff c018d1e2 c03fd110 d334bdb0 c018d444 c03fd110 01ec0003
00000000 c73d6518 c03fd0ca c73d6518 ffffffff ffffffff c73d6518 00000000
Call Trace:
[<c018d0dd>] prepare_error_buf+0x105/0x16e
[<c018d1e2>] reiserfs_printk+0xe/0x1c
[<c018d444>] print_leaf+0x5b/0x188
[<c018d790>] print_block+0x2c/0x6f
[<c017c201>] search_by_entry_key+0x14e/0x239
[<c018593a>] reiserfs_readdir+0xc7/0x4f3
[<c0120713>] in_group_p+0x33/0x5c
[<c01a0f3c>] __reiserfs_permission+0x1b0/0x1eb
[<c01a0f8a>] reiserfs_permission+0x13/0x17
[<c014e4a8>] permission+0xa8/0xaf
[<c02c6ff8>] __copy_to_user_ll+0x56/0x60
[<c02c709a>] copy_to_user+0x38/0x42
[<c014b71c>] cp_new_stat64+0xe8/0xf8
[<c0120713>] in_group_p+0x33/0x5c
[<c02b3786>] capable+0x16/0x30
[<c015283f>] vfs_readdir+0x5b/0x81
[<c0152943>] filldir+0x0/0x95
[<c0152a3b>] sys_getdents+0x63/0xa2
[<c0152943>] filldir+0x0/0x95
[<c0102a39>] syscall_call+0x7/0xb
Code: 0f 4d c3 c6 04 04 00 ff 72 28 ff 72 24 8d 44 24 08 50 68 ce ce 3f c0 ff 74 24 40 e8 1b 95 13 00 83 c4 34 5b 5e 5f c3 8b 44 24 08 <8b> 50 1c 0f b7 42 04 50 0f b7 42 02 50 0f b7 02 50 68 dd ce 3f


I've never seen this before!!! I know that before i went into my kernel and removed a few modules i didnt need i remeber sum1 saying that you can go to make oldconfig and do make after your done and after will work? But i booted a few times after that and this sure as heck didnt show up?

Matt
 
Old 03-08-2006, 09:43 PM   #4
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
That's a kernel crash. Probably an incompatible or incorrect device driver, although I can't tell which one(s). If you removed some items from your kernel config you need to put something back.

As for the original X problem my next suggestion is, since it worked with root but not the user, read and compare the contents of /root/.dmrc and /home/<username>/.dmrc. They should both read

[Desktop]
session=gnome

Then .xinitrc for both should have a line that reads

gnome-session

Good luck!
 
Old 03-09-2006, 01:08 PM   #5
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Ok root and my user both have the .dmrc file. But they both dont have the .xinitrc? whats that for could that be causing me all the trouble? roots working perfectly? better than user ever did? I tried making another user and it still has the same trouble? as my user? Anyways know what i should do?

Thank guys for your help so far!!


Matt
 
Old 03-09-2006, 02:31 PM   #6
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
.dmrc is a resource file for the desktop manager(gdm). It tells the manager the last used window manager logged into by the user. In this case 'gnome'.

.xinitrc is used by the startx script to autostart programs and to tell xinit the command to launch the desired window manager when X starts. In this case 'gnome-session' - the command that actually starts Gnome.

A missing .xinitrc usually doesn't cause problems, xinit will just revert to a global shared file. An empty .xinitrc will cause problems because xinit will try to use something that has nothing in it. But this doesn't seem to be the case. For a new user to have the same problem, and looking back at the details of your original post, I think the next place to look is the Xorg (or XFree86) conf file at the graphics driver and any modules that are getting loaded. Also check the permissions of the Gnome files with ls -l, maybe gnome-session itself. The users are lacking permission to something required for the windows manager to load.

To narrow the problem you can:
1. If you have other window managers installed try one of them.
2. Try creating a .xinitrc as descibed earlier, exit out of X to the console if necessary, and as the user run startx. .xinitrc should be owned by the user and executable.

I hope some of this helps.
 
Old 03-09-2006, 04:23 PM   #7
Alien_Hominid
Senior Member
 
Registered: Oct 2005
Location: Lithuania
Distribution: Hybrid
Posts: 2,247

Rep: Reputation: 53
Check that your /etc/X11/xinit/xinitrc.gnome looks like this:
Code:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/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

# This nag screen isn't going to save anybody.
export NAUTILUS_OK_TO_RUN_AS_ROOT=1

# Start the window manager:
exec gnome-session
As well remember, if you recompiled the kernel, you should recompile your nvidia driver.
 
Old 03-10-2006, 10:20 AM   #8
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Thank-you guys for the replys!! Alien_Hominid i have that file and it looks exactly the same as yours!

dracolich Thanks for the explation! ill try making that file n making sure its readable and exec for users! ill tell you what happens thanks alot!!

Matt
 
Old 03-26-2006, 12:57 PM   #9
matt3333
Member
 
Registered: Dec 2002
Location: Winnipeg, Manitoba, Canada
Distribution: Slackware
Posts: 371

Original Poster
Rep: Reputation: 30
Sorry guys i've been really busy....but i know whats wrong with booting in as the user. I now get a error saying my .xinitrc file is not readable or exec for user it then goes on to say make sure you change the permissions on this file....I checked out this file and it has the permissions 644 and its owned by user? Im not sure what to do i tried to delete the file and remake it with those permissions? Can someone maybe check there permissions on and tell me what they have? I dunno what to do i get this error everytime i try to log on as any user now?

Thanks

Matt
 
Old 03-26-2006, 06:48 PM   #10
dracolich
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274

Rep: Reputation: 63
Mine is 755 owned by username:root. 644 is not executable at all, rw by the owner and read-only to everyone else.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
What's the best X-Window System window manager in your opinion? t3gah Linux - Software 9 12-16-2006 11:10 PM
changing desktop manager and window manager Tux Red Hat 4 04-04-2006 02:56 PM
want a new window manager JROCK1980 Linux - Software 10 03-16-2004 09:35 AM
window manager porous Linux - Newbie 6 10-16-2003 07:54 AM
Help with Window Manager cool_coolioin Linux - General 2 07-23-2002 03:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 11:29 PM.

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