LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-23-2004, 06:07 PM   #1
Draylath
Member
 
Registered: May 2004
Location: Great Paxton
Distribution: Debian
Posts: 112

Rep: Reputation: 15
X server not starting as non root user


Hi there,

Sorry for repeatedly posting questions, I am running into a lot of brick walls at the moment (but learning tons as well) so I am really apreciative of help I assure you all.

I have recently (i.e tonight) given up on fedora core and decided to get really get my learning curve crashing through new frontiers with slackware (I'm told it is great, by learned friends, for sheer power and geekyness etc)

I installed slack 9.1 with no probs and am in it now, only thing is I can't get the X server and hence gnome started under anything but root.

I made a new user with the adduser command and then the passwd <acountname> command to make it usable and I can log in with it but when I "startx" with it I get a repeated message of xauth: <can't remeber all this bit>
xauth: <can't remeber all this bit>
xauth: <can't remeber all this bit>
then when I ctrl C to get out of this and try again with startx I get command not recognised

I know that I may be getting in above my head with the slackware as a newbie but I want to get linux nailed in my head.

Many thanks in advance,
Draylath
 
Old 06-23-2004, 06:26 PM   #2
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 168Reputation: 168
this thread may help.

http://www.linuxquestions.org/questi...+cannot+startx

good luck.
 
Old 06-23-2004, 07:10 PM   #3
Draylath
Member
 
Registered: May 2004
Location: Great Paxton
Distribution: Debian
Posts: 112

Original Poster
Rep: Reputation: 15
thanks for the linky peacedog but nothing there works, here is what I tried:

I looked at any way of creating a new user under gnome and there was nothing I could find in my menus. - nothing doing!

I went to /usr/X11R6/XFree86 and changed all the permissions to let everyone do everything (just to get it working) - again nothing.

The point about putting a copy of a file (I remember not what) into /home/<user> was a bit of a moot point as there are no directories in there except "ftp" and this seems like a whole differnt kettle of fish all together.

I'd be greatful for any other pearls of wisdom,
Draylath

PS. On a side note my wheel on my mose isn't working either under slackware (not important but would be nice to have it working )

Last edited by Draylath; 06-23-2004 at 07:11 PM.
 
Old 06-23-2004, 07:25 PM   #4
Peacedog
Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,292

Rep: Reputation: 168Reputation: 168
what did

ls -l /usr/X11R6/bin/XFree86

return? for the mouse it's usually a matter of editing the mouse section in /etc/X11/XF86Config to look like this

Section "InputDevice"

# Identifier and driver

Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2" <-------------------
Option "ZAxis Mapping" "4 5" <--------------------
Option "Device" "/dev/mouse"


make note of the two marked lines.
 
Old 06-23-2004, 10:03 PM   #5
Netizen
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Slackware and Ubuntu
Posts: 355

Rep: Reputation: 30
Quote:
Originally posted by Draylath

The point about putting a copy of a file (I remember not what) into /home/<user> was a bit of a moot point as there are no directories in there except "ftp" and this seems like a whole differnt kettle of fish all together.
Maybe I mis-read, but you said you created a user with adduser. Is there a directory under home for the user you created?
 
Old 06-24-2004, 04:28 AM   #6
Draylath
Member
 
Registered: May 2004
Location: Great Paxton
Distribution: Debian
Posts: 112

Original Poster
Rep: Reputation: 15
Thanks for the help and sorry if I've been a bit unclear (late night and a bit too much wine )

Thanks for the mouse config peacedog, I'll try it out when I get hime from work.
The ls -l output of XFree86 is -rwsrwxrwx

Netizen, no mis read. I used adduser and passwd commands just like my linux for dummies book said to do but the only directory in the home directory is "ftp"

Many Thanks,
 
Old 06-24-2004, 02:35 PM   #7
Draylath
Member
 
Registered: May 2004
Location: Great Paxton
Distribution: Debian
Posts: 112

Original Poster
Rep: Reputation: 15
Ok I've now got the mouse working, so thanks for that (how did we ever survive bfore wheel mice????)

Still no joy on the X front, anythnig i.e files wise I could post to make my situation clearer,
thanks,
Draylath
 
Old 06-24-2004, 05:01 PM   #8
Draylath
Member
 
Registered: May 2004
Location: Great Paxton
Distribution: Debian
Posts: 112

Original Poster
Rep: Reputation: 15
Ok I got it working, but it threw up a few more questions,

I did: adduser again but this time the shell asked me fore a whole host of things such as room no work phone, inside leg measurment etc it then asked me for a password and set it self up nicely. I logged out of root and started up with the new user and x started (well nautilus crashed!?!) first time.

A few things bother me though. Why did I get a setup process to add a user (I did it all in a terminal both times BTW) one time and not the other.
Why is gnome seeming to be really unreliable (xine crashes, X crashes) it's almost like being in windoze
Why is mozilla not working. I click on it but nothing opens. It did under root and I now seem to have to use a mozilla based browser instead
I seem to have no sound either but I'm working on testing this out, Edit: works fine with mp3s its just in this browser listening to sound on flash files

any answers to these posers would help muchly

Last edited by Draylath; 06-24-2004 at 05:24 PM.
 
Old 06-24-2004, 05:09 PM   #9
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Quote:
A few things bother me though. Why did I get a setup process to add a user (I did it all in a terminal both times BTW) one time and not the other.
I may be getting the wrong idea, but I think you may have used
useradd the first time around, rather than adduser (which is a
friendly wrapper script around useradd).


As for nauseus (or gnome in general) I can't help you, I never
liked (never used it for longer than an hour at a time) it because
I found it unstable and hard to set-up ;)



Cheers,
Tink
 
Old 06-24-2004, 05:27 PM   #10
Draylath
Member
 
Registered: May 2004
Location: Great Paxton
Distribution: Debian
Posts: 112

Original Poster
Rep: Reputation: 15
thanks,

yeah there is every possiblility I did what you said (I really must stop drinking red wine and playing with slackware at the same time )

I've used KDE a bit and I find them KDE and Gnome much of a muchness,
If, in theory I wanted to change to KDE how would I do it in slack?
 
Old 06-24-2004, 05:36 PM   #11
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
As root, run xwmconfig



Cheers,
Tink
 
Old 06-24-2004, 05:44 PM   #12
Draylath
Member
 
Registered: May 2004
Location: Great Paxton
Distribution: Debian
Posts: 112

Original Poster
Rep: Reputation: 15
it just tells me :command not found
 
Old 06-24-2004, 05:54 PM   #13
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
You're in Slack at the moment?


Cheers,
Tink
 
Old 06-24-2004, 06:04 PM   #14
Draylath
Member
 
Registered: May 2004
Location: Great Paxton
Distribution: Debian
Posts: 112

Original Poster
Rep: Reputation: 15
Thanks for getting back to me,

Yes I am in slack, this is one of the odd things that I'm experiencing, I got xwmconfig working and am now in KDE but what happened was I typed it in and it said :command not found then I got fed up and logged out. I was then confronted by lots of error messages and what I assume was the xwmconfig screen. the command line had also con screwy (lots of colours and lines and each command prompt indented diagonaly down the screen - quite pretty, but not supoused to happen I expect)
Any how I rebooted and ran the config tool and started X only to be greated by a crash report for KDE :/ I still cant get mozilla to work and have no sound under netscape to watch flash files with the sound. I also get what seems to be two instances of the smae program trying to run when I start up the program, one stays on and the other gives up after some time of the "egg timer" thing.

I have a feeling that all is not well somewhere

EDIT: I think KDE don't like double clicking, hence the two instances of the same app. Sorry

Last edited by Draylath; 06-24-2004 at 06:06 PM.
 
Old 06-24-2004, 06:16 PM   #15
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,005
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
Are you getting any error messages if you try to
run mozilla from a prompt?

Open an xterm and start it from there ...
Also, have a look at ~/.xsession-errors


Cheers,
Tink
 
  


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
can't su root after starting X server PennyroyalFrog Linux - Newbie 2 10-17-2004 05:25 PM
Starting a service as non root user? dee3lmo Linux - General 2 07-30-2004 08:37 PM
Starting mysql daemon as user rather than root arubin Slackware 8 05-10-2004 05:03 PM
Authentication failed Starting X for any User but root aimstr8 Linux - Software 4 02-27-2004 01:54 PM
Starting 'Screen' from rc.local as a user other than root Mulefire Linux - General 0 02-21-2002 11:05 AM


All times are GMT -5. The time now is 08:06 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration