LinuxQuestions.org
Review your favorite Linux distribution.
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-18-2005, 10:05 PM   #1
WoodLark
LQ Newbie
 
Registered: Feb 2004
Location: South Carolina
Distribution: Slackware et. al.
Posts: 29

Rep: Reputation: 15
Can't startx as ordinary user


I'm using Slackware 10.1 with KDE. As root, I can startx with no problem. However as an ordinary user x starts up then immediately shuts down. The following is an exercpt from the log file /var/log/X.org.log:

_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/jupiter:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6

X Window System Version 6.8.1
Release Date: 17 September 2004
X Protocol Version 11, Revision 0, Release 6.8.1
Build Operating System: Linux 2.4.29 i686 [ELF]
Current Operating System: Linux jupiter 2.4.29 #6 Thu Jan 20 16:30:37 PST 2005 i686
Build Date: 23 January 2005
Before reporting problems, check http://wiki.X.Org
to make sure that you have the latest version.
Module Loader present
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: Fri Mar 18 18:01:40 2005
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Simple Layout"
(**) |-->Screen "Screen 1" (0)
(**) | |-->Monitor "My Monitor"
(**) | |-->Device "VESA Framebuffer"
(**) |-->Input Device "Mouse1"
(**) |-->Input Device "Keyboard1"
(WW) `fonts.dir' not found (or not valid) in "/usr/X11R6/lib/X11/fonts/local/".
Entry deleted from font path.
(Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/local/").

Does anyone have a suggestion as to what the problem might be?
 
Old 03-18-2005, 11:49 PM   #2
acidjuice
Member
 
Registered: Jan 2005
Location: a tiny spot on the iceberg
Distribution: Slackware 10.1 (dropline 2.10, kernel 2.6.11.6)
Posts: 320

Rep: Reputation: 30
might be a permission problem.

well, did you Run 'mkfontdir' on "/usr/X11R6/lib/X11/fonts/local as suggested?
 
Old 03-19-2005, 12:03 AM   #3
linuxLuser
Member
 
Registered: Jan 2005
Distribution: Gentoo
Posts: 111

Rep: Reputation: 16
Permissions is what I'm thinking too.

I don't know much about Slackware, but it is common for distro to have groups for all kinds of activities for the system. You might have like a "network" or "net" group which a user must be a member of to use network stuff. The reason I'm thinking this is because X server uses some networking stuff (like the loopback) so the user just might need to have network access to use X.

Also (kind of a random thought), does X need to be "suid" or something? I don't enough about it to know. Maybe check that. Mine gives me
Code:
 $ ll /usr/bin/X
lrwxrwxrwx  1 root root 4 Mar 16 09:19 /usr/bin/X -> Xorg
 $ file /usr/bin/Xorg 
/usr/bin/Xorg: setuid writable, executable, regular file, no read permission
I don't think I'm any help beyond that.
Can you maybe do
Code:
 $ cat /var/log/Xorg.0.log | grep \(EE\)
This should show all the lines that contain error messages.

-- the dudeman
 
Old 03-19-2005, 12:49 PM   #4
WoodLark
LQ Newbie
 
Registered: Feb 2004
Location: South Carolina
Distribution: Slackware et. al.
Posts: 29

Original Poster
Rep: Reputation: 15
Thanks to you both for your help. I did finally find the solution and it was a permissions issue as you suspected. The
executable startkde was not being found because the user had no rights to the /opt directory and startkde was located
in /opt/kde/bin/.
 
Old 03-19-2005, 03:00 PM   #5
ambelos
Member
 
Registered: Nov 2003
Location: npr, fl, usa
Distribution: suse 9.3 / xp pro sp2
Posts: 226

Rep: Reputation: 30
hi...i've just installed slackware 10.1 on an older computer of mine. this is my first time using slackware...i kinda didn't like the cmd base installation, no gui?

anyways, i'm having the same trouble, in that X wont start. i'm getting a warning saying:
VESA(0): Failed to set up write-combining range (0xd4000000, 0x7f0000)
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing form list!

does this mean it's got a problem with my monitor? or does this seem to be similar to the previous posters problem?

thnx
 
Old 03-20-2005, 09:35 AM   #6
linuxLuser
Member
 
Registered: Jan 2005
Distribution: Gentoo
Posts: 111

Rep: Reputation: 16
run xf86config

Seems like your monitor was not correctly detected and/or setup. What I would do is configure X until you get it right:
Code:
 # xf86config
This can be launched from the console and you can run it as many times as you need until you get the options right.

It might be good if you printed out all the error messages you get from the log file (see what I posted above)...that is, if you wanted to be more explicit.

A lot of times, though, xf86config won't get everything, so you'll have to look through the config file yourself and make sure everything's the way it should be. But try reconfiguring it first.

-- the dudeman
 
Old 03-20-2005, 10:33 AM   #7
calcon
Member
 
Registered: Mar 2005
Location: somewhere over the rainbow theres a place....
Distribution: Ubuntu Dapper and Arch
Posts: 121

Rep: Reputation: 15
I think that for slackware the command to setup x is actually xorgconfig

calcon
 
Old 03-20-2005, 11:04 AM   #8
ambelos
Member
 
Registered: Nov 2003
Location: npr, fl, usa
Distribution: suse 9.3 / xp pro sp2
Posts: 226

Rep: Reputation: 30
it is xorgconfig...but i don't know how to setup a monitor. I am using what i think is a samtron 75v. i looked up online for the refreshrates and stuff, but i kinda got confused. what should i put for the refresh rate values? also, how can i figure out what kind of video card i have. This is an OLD computer that used to be my sisters until i kicked her off so that i finaly have linux box to screw with.

thnx
 
Old 03-26-2005, 05:40 PM   #9
linuxLuser
Member
 
Registered: Jan 2005
Distribution: Gentoo
Posts: 111

Rep: Reputation: 16
* When it asks for monitor type, choose "11. Enter your own horizontal sync range"
* Then type: "30-70"
* Choose "5. Enter your own vertical sync range"
* Type: "50-160"
* For identification, you can put whatever you want. So, to be a little descriptive, put something like "Samtron 75v"

At this point, you'd choose your video card, which you're saying that you don't know yet.

Most (IMHO any good) distro will have the "pciutils" package installed, which gives you a nice little command:
Code:
# lspci
This will spit out a lot of hardware info. Don't worry, the relivent parts are human-readable. You'll probably find what you're looking for that way. You can use the -v and -vv switches to get even more info if you REALLY need to (you don't need to unless you're trying to make a driver or something).

Hope that helps out.

DISCLAIMER: I got the horizontal and vertical sync rates from http://www.samtron.com/product/75v_spec.html. Check this site to make sure that I am looking at the specs for your monitor (and not somebody else's).

-- the dudeman
 
  


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
NFS Mount as an ORDINARY USER fahad26 Linux - Networking 4 07-24-2005 03:15 AM
NFS Mount as an ORDINARY USER fahad26 Linux - Newbie 1 06-22-2005 03:30 AM
Mounting NFS from an ordinary user fahad26 Linux - Networking 5 05-11-2005 09:11 PM
Using k3b as ordinary user friendly_guy Slackware 4 11-06-2003 02:16 PM
Ordinary user can shutdown benjaminrtz Linux - Security 12 07-11-2002 11:07 PM

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

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