LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-31-2014, 03:40 PM   #1
Dan Curtis
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Rep: Reputation: Disabled
X-Window


I'm running 64-bit Slackware 14.1 on a ASUS motherboard with an Intel i5-4670K CPU. I find that after installing the 64-bit version of Moneydance from the SlackBuilds site that I can no longer start a X-Window session while logged in as an ordinary user.
It works fine if I log in as root, which I know is a really bad idea.
Here's what gets printed out:
xauth: file /home/dan/.serverauth.1789 does not exist


X.Org X Server 1.14.3
Release Date: 2013-09-12
X Protocol Version 11, Revision 0
Build Operating System: Slackware 14.1 Slackware Linux Project
Current Operating System: Linux Nighthawk 3.10.17 #2 SMP Wed Oct 23 16:34:38 CDT 2013 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz root=/dev/sda2 ro vt.default_utf8=0 vga = normal
Build Date: 09 October 2013 08:27:11PM

Current version of pixman: 0.30.2
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 Mar 31 14:15:30 2014
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Initializing built-in extension Generic Event Extension
Initializing built-in extension SHAPE
Initializing built-in extension MIT-SHM
Initializing built-in extension XInputExtension
Initializing built-in extension XTEST
Initializing built-in extension BIG-REQUESTS
Initializing built-in extension SYNC
Initializing built-in extension XKEYBOARD
Initializing built-in extension XC-MISC
Initializing built-in extension XINERAMA
Initializing built-in extension XFIXES
Initializing built-in extension RENDER
Initializing built-in extension RANDR
Initializing built-in extension COMPOSITE
Initializing built-in extension DAMAGE
Initializing built-in extension MIT-SCREEN-SAVER
Initializing built-in extension DOUBLE-BUFFER
Initializing built-in extension RECORD
Initializing built-in extension DPMS
Initializing built-in extension X-Resource
Initializing built-in extension XVideo
Initializing built-in extension XVideo-MotionCompensation
Initializing built-in extension XFree86-VidModeExtension
Initializing built-in extension XFree86-DGA
Initializing built-in extension XFree86-DRI
Initializing built-in extension DRI2
Loading extension GLX
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Cannot open "/tmp/server-0.xkm" to write keyboard description
> Exiting
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Cannot open "/tmp/server-0.xkm" to write keyboard description
> Exiting
XKB: Failed to compile keymap
Keyboard initialization failed. This could be a missing or incorrect setup of xkeyboard-config.
(EE)
Fatal server error:
(EE) Failed to activate core devices.(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(II) AIGLX: Suspending AIGLX clients for VT switch
(EE) Server terminated with error (1). Closing log file.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Thanks in advance.
Dan
 
Old 03-31-2014, 04:36 PM   #2
cin_
Member
 
Registered: Dec 2010
Posts: 277

Rep: Reputation: 24
missing .xinitrc?

what is the results of..
Code:
# cat /root/.xinitrc
..
# cat /home/dan/.xinitrc

Last edited by cin_; 03-31-2014 at 05:42 PM. Reason: gramm`err
 
Old 03-31-2014, 04:41 PM   #3
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,130
Blog Entries: 2

Rep: Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825Reputation: 4825
Also, please provide the output of
Code:
ls -ld /tmp
 
Old 03-31-2014, 05:06 PM   #4
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
One wild guess is that a partition is nearly full, so root can write and ordinary users can't.
Try:
Code:
df
 
Old 04-01-2014, 01:43 PM   #5
Dan Curtis
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
This problem solved itself???
Today, I was able to successfully start a X-Window session as an ordinary user. Whatever the problem was, it apparently solved itself. Now, I don't believe in magic, but I'm at a loss to understand what was wrong yesterday.
One possibility is that I had added this user to several groups in /etc/group before trying to start X-Window. Maybe that action caused the (temporary) problem.
For what it's worth here is the listings for the .xinitrc and the contents of /tmp:
Here's user dan's .xinitrc
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

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

#-----------------------------------------------------------------------------*
#xloadimage -fullscreen -onroot -border Black /usr/local/images/sts098-713a-004.jpg &
#-----------------------------------------------------------------------------*
# Start the window manager *
#-----------------------------------------------------------------------------*
fvwm2

Here's root's .xinitrc:
#!/bin/sh
# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $

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

xsetroot -solid SteelBlue
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
ck-launch-session /usr/bin/startfvwm2
else
dbus-launch --exit-with-session /usr/bin/startfvwm2
fi

Here's a listing of /tmp:
total 55748
drwxrwxrwt 8 root root 4096 Apr 1 12:57 .
drwxr-xr-x 26 root root 4096 Mar 31 13:44 ..
drwxrwxrwt 2 root root 4096 May 4 1994 .ICE-unix
-r--r--r-- 1 root users 11 Apr 1 12:57 .X0-lock
drwxrwxrwt 2 root root 4096 Apr 1 12:57 .X11-unix
drwxr-xr-x 3 root root 4096 Mar 31 13:44 SBo
drwx------ 2 dan users 4096 Mar 24 17:52 akonadi-dan.rOEBym
drwxr----- 2 dan users 4096 Apr 1 12:56 hsperfdata_dan
drwxr-xr-x 2 root root 4096 Mar 31 13:44 install
-rw-r--r-- 1 root root 56984964 Mar 31 13:44 moneydance-2012.862-x86_64-1_SBo.tgz
Warmest regards
 
  


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
Creating a Fixed Window Size in a Window Manager (Odd Question) Stupac Programming 3 06-30-2011 05:04 AM
Awesome Window manager ~ resize window key bindings do not work. bubnoff Linux - Desktop 0 12-23-2010 02:08 PM
Starting new terminal window or tab from existing window remaining as root? homerun Linux - Newbie 1 08-14-2009 12:34 PM
why mandriva 10.2 gnome2.8 system freezes upon resizing/opening window/new window skaramanger Mandriva 8 08-30-2005 11:22 AM
why mandriva 10.2 gnome2.8 system freezes upon resizing/opening window/new window skaramanger Mandriva 2 08-15-2005 05:38 PM


All times are GMT -5. The time now is 11:13 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration