LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-09-2003, 03:04 AM   #1
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 623

Rep: Reputation: 31
can't log in graphical environment


hi every body,
Finally I installed debian with redhat (and windows 98) in same machine,
so I can boot to any of the three system.
Now I have problem for loging to graphics with debian. with redhat No problem at all.
I have the graphical box interface, but when I put the username and passwd, It
restart with the same box interface. I can log with the text prompt, (Ctrl+F1, F6).

The more strange is if I log as a root with prompt text, and stop the X (level 3 ) , and
startx X, I log without problem. unfortunatly it refuse to startx as a normal user













hi everybody,
I finally installed redhat with debian in same machine.
My problem is I can log as text user , but not in a graphical part, the graphical box exists but when I put the username and password, the system tries to log but fails and
gives again the prompt box.
If I run level 2, and startx as root, it runs correctly
but as a normal user it doesn't run, it gives error:

couldn't load XKB
If there is an error in file why as root it runs it ??
my keyboard is french 105
this is my declaration
Identifier "Keyboard0"
Driver "keyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "fr"


than you for help
bela
 
Old 09-09-2003, 07:40 AM   #2
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
If it refuses to load as anything other than root then it sounds like the permissions on /dev/mem or the keyboard device is to blame (I don't know which device file the keyboard is, probably /dev/kbd). Make sure all users have read and write permissions.
 
Old 09-09-2003, 11:42 AM   #3
abd_bela
Member
 
Registered: Dec 2002
Location: algeria
Distribution: redhat 7.3, debian lenny
Posts: 623

Original Poster
Rep: Reputation: 31
hi nhs,
thanks for reply
there is no /dev/kbd at all, instead in the redhat partition, the device
keyboard exists in /dev/input of redhat but not in /dev/input of the
debian partition (how create it ).
all the dev in /dev/input belong to root with crw----------- permission
other thing /dev/kmem and /dev/mem belong to news group in redhat
but belong to kmem group ( the groups exist) in debian :
the permission are : crw-r----- for all.
thank you very much

bela
 
Old 09-12-2003, 07:43 AM   #4
nhs
Member
 
Registered: Aug 2003
Location: Edinburgh, Scotland
Distribution: Gentoo
Posts: 246

Rep: Reputation: 30
Try "chmod a+rw /dev/input/*" and "chmod a+rw /dev/mem". This may solve your problem.
 
  


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
Xterm to Graphical Environment: run what? JMCraig Linux - Newbie 3 01-24-2005 03:12 PM
Graphical environment doesn't load anymore xstealthrtx Linux - Newbie 3 11-23-2004 12:06 PM
graphical environment not working mouse46 Mandriva 11 08-09-2004 08:33 AM
Will my Graphical ENvironment not start automatticly? fedivh Slackware 19 08-08-2004 03:09 PM
Graphical Desktop Environment Gerardoj Linux - General 3 10-30-2003 07:00 PM

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

All times are GMT -5. The time now is 04:50 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