LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 03-03-2009, 11:11 PM   #1
schnappy
LQ Newbie
 
Registered: Mar 2009
Posts: 10

Rep: Reputation: 0
Slackware - starting x with new user


Hey,
So I've decided to get a bit more into Linux than just Ubuntu and typing "apt-get" to solve all my problems.

Hence I've decided to setup a small game-server project using slackware. (Put into the Desktop section since I'm still running x, KDE and other desktop features - my issues are desktop orientated)

So far I've managed to:
Install Slackware 12-2 from the DVD without any issues with the help of slackbook.

Edit xorg.conf using nano as root to load the via driver, so i could run startx.

Everything seams to be working fine at this stage. I've discovered the inbuilt VNC server which I've configured to my liking - except how do I make it automatically set to allow remote control?

So I've done all this as root. Now I'm wanting to make my new account for regular use, from there I will just use sudo when necessary. I've made my new account by doing this from konsole:
useradd username -p password

I then logged out and tried to login with my new account - password didn't work. So I logged back in as root - and ran:
passwd username
Then followed the prompts. Right! So my new account is working.

However, in my new account I've tried to run startx - but it just got a series errors along the lines of:
"timeout in locking authority file //.serverauth.4729"
"... //.Xauthority"

The second line repeats 3 times, and then x appears to start. But a white/grey box appears in the top left of my screen - "could not start kstartupconfig. Check your installation".

Now I'm a bit stuck. I'm guessing I need to go in as root and setup my new account to work with x? But I have no idea how. I'd appreciate it if you gave me a very brief explanation as to what each thing does - as I said, I'm wanting to get to know the basics of Linux in general. Not just Ubuntu nonsense.

Cheers
 
Old 03-03-2009, 11:58 PM   #2
lumak
Member
 
Registered: Aug 2008
Location: Phoenix
Distribution: Arch
Posts: 799
Blog Entries: 32

Rep: Reputation: 111Reputation: 111
Never run X as root. It's possible the root account locked something some how.

as root or use su
Code:
ls -al /root
remove the .Xauthority and .xerverauth.4729 files if they are in /root (note that is root's home directory. It is not /) Generally, /root is empty because you don't log in as root. However, slackware does not impose a method for you su(do) and that's left up to the user to decide how they want to handle it.

Code:
man visudo
and other online resources will help you set up sudo the way you want it.

You should post future slackware related issues in the slackware forum http://www.linuxquestions.org/questions/slackware-14/

However, this issue was actually a general linux x question so it worked just as well here.

Good Luck
 
Old 03-04-2009, 12:34 AM   #3
schnappy
LQ Newbie
 
Registered: Mar 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Cheers
I deleted the Xauthority file, couldn't find the other... I just deleted the entire /root directory and remade it.

Still didn't fix it though... Should I just reinstall Slackware? Only issue I have is that I'm going to have to go through the package list again to take all the flesh off of the bones... which was frustrating.

/edit: Tried some things. When I run "kdm" as non-root user, it says that only root wants to run it. I try startfluxbox, get permission denied on '//.fluxbox'. Do I just have to chmod some folders? Which ones?

Last edited by schnappy; 03-04-2009 at 12:38 AM.
 
Old 03-04-2009, 04:35 AM   #4
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
Try this, assuming you start as root:

Code:
xorgsetup
xwmconfig
adduser
exit
<login as newly created user>
startx
 
Old 03-05-2009, 09:29 PM   #5
schnappy
LQ Newbie
 
Registered: Mar 2009
Posts: 10

Original Poster
Rep: Reputation: 0
Well I just reinstalled completely, but thanks anyway - never know when that might come in handy

But the packet management really is lacking a bit. I realise it isn't really suppose to have any - but the kpackage wasn't working. I decided to give Fedora a go... I love it! Has everything in it I could need. Working great so far!
 
  


Reply



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
Starting Firefox 1.0 as user ? CloudyWizzard Debian 2 11-13-2004 10:38 AM
starting kde 3.2 as a different user BGuy891653 Linux - Newbie 4 02-24-2004 11:00 AM
new user permissions, starting X, etc. buyo Linux - Newbie 3 09-06-2003 07:15 PM
starting X as a user in Slack 8.0 KnightAbel Slackware 10 01-03-2003 03:00 PM
Starting program as different user ngomong Linux - General 2 05-10-2002 03:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:28 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
Open Source Consulting | Domain Registration