LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   X server not starting as non root user (https://www.linuxquestions.org/questions/linux-newbie-8/x-server-not-starting-as-non-root-user-196949/)

Draylath 06-23-2004 05:07 PM

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

Peacedog 06-23-2004 05:26 PM

this thread may help.

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

good luck.

Draylath 06-23-2004 06:10 PM

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 :D)

Peacedog 06-23-2004 06:25 PM

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.

Netizen 06-23-2004 09:03 PM

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?

Draylath 06-24-2004 03:28 AM

Thanks for the help and sorry if I've been a bit unclear (late night and a bit too much wine :D)

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,

Draylath 06-24-2004 01:35 PM

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

Draylath 06-24-2004 04:01 PM

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 :D
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 :D

Tinkster 06-24-2004 04:09 PM

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

Draylath 06-24-2004 04:27 PM

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 :D )

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?

Tinkster 06-24-2004 04:36 PM

As root, run xwmconfig



Cheers,
Tink

Draylath 06-24-2004 04:44 PM

it just tells me :command not found

Tinkster 06-24-2004 04:54 PM

You're in Slack at the moment?


Cheers,
Tink

Draylath 06-24-2004 05:04 PM

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

Tinkster 06-24-2004 05:16 PM

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


All times are GMT -5. The time now is 01:15 AM.