LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 12-27-2012, 11:04 AM   #1
shams
Member
 
Registered: Jan 2004
Posts: 396

Rep: Reputation: 30
cannot start the x as user?


I have debian wheezy, last time the gnome desktop hangup i use the alt+ctrl+f2, login to the console and reboot the system, after that gdm3 fail to bring up the gnome3 login screen, there is message of error and asking to logout and try again, then i login to the console as user and run the command "startx" to start the x but faild, then i login to cosole as root and run the command "start x" and X started successfully, i deleted the previous user and added again then the "startx" failed :
Quote:
$ startx

X.Org X Server 1.12.4
Release Date: 2012-08-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-5-amd64 i686 Debian
Current Operating System: Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.32-1 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-686-pae root=UUID=14ffc0a4-ccef-420f-bc4b-21d5e1a94337 ro quiet
Build Date: 29 November 2012 08:52:43PM
xorg-server 2:1.12.4-4 (Julien Cristau <jcristau@debian.org>)
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.1.log", Time: Thu Dec 27 21:44:45 2012
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
resize called 1280 1024
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Warning: Compat map for group 2 redefined
> Using new definition
> Warning: Compat map for group 3 redefined
> Using new definition
> Warning: Compat map for group 4 redefined
> Using new definition
Errors from xkbcomp are not fatal to the X server
xinit: connection to X server lost

waiting for X server to shut down Server terminated successfully (0). Closing log file.
Created the other user but the same problem as user cannot start the x bue as root can do.
This is the Xorg.1.log:
Xorg.1.log

Last edited by shams; 12-27-2012 at 11:24 PM.
 
Old 12-27-2012, 12:48 PM   #2
secretservgy
Member
 
Registered: Jul 2006
Location: New York, USA
Distribution: kUbuntu 12.04.1 LTS, Debian, Whiite-Linux
Posts: 50

Rep: Reputation: 19
Try to comment out (add two forward slashes to) the following lines in /usr/share/X11/xkb/compat/basic so they look like this:

Code:
//   group 2 = AltGr;
//    group 3 = AltGr;
//    group 4 = AltGr;
 
Old 12-27-2012, 11:23 PM   #3
shams
Member
 
Registered: Jan 2004
Posts: 396

Original Poster
Rep: Reputation: 30
Thanks for reply secretservgy, i did what you said but still the same problem:
Quote:
~$ startx

X.Org X Server 1.12.4
Release Date: 2012-08-27
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.32-5-amd64 i686 Debian
Current Operating System: Linux 3.2.0-4-686-pae #1 SMP Debian 3.2.32-1 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.2.0-4-686-pae root=UUID=14ffc0a4-ccef-420f-bc4b-21d5e1a94337 ro quiet
Build Date: 29 November 2012 08:52:43PM
xorg-server 2:1.12.4-4 (Julien Cristau <jcristau@debian.org>)
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.1.log", Time: Fri Dec 28 06:06:28 2012
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
resize called 1280 1024
xinit: connection to X server lost

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


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
One user login cannot start scim, other user logins and root OK allend Slackware 3 05-08-2008 07:25 PM
Start a program for a user as root, with process belonging to user gnashley Programming 4 03-19-2007 01:58 PM
User can't start X satimis Slackware 5 02-02-2007 03:23 AM
cannot start kdeas user ,can start icewm,fluxbox jackren Debian 1 02-29-2004 11:06 PM
Can't start X with an user PatomaS Mandriva 5 12-02-2003 09:36 AM


All times are GMT -5. The time now is 12:31 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration