LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-10-2006, 07:58 AM   #1
neocontrol
Member
 
Registered: Jul 2005
Posts: 273

Rep: Reputation: 31
making users have access to kde?


Hello all,

I've been playing around with kde the last few days by force as my xp box took a shit on me the other day.

I got kde to work. As I login as root and I type startx and it works fine. But I can't do the same with any of the other users.

Obviously I'm trying to steer away from using root all the time. What do I need to edit or to run or to set permissions to, to get this thing to work?

Thanks in advnace,

charlie r
 
Old 04-10-2006, 08:10 AM   #2
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
What distro are you using?
 
Old 04-10-2006, 05:09 PM   #3
neocontrol
Member
 
Registered: Jul 2005
Posts: 273

Original Poster
Rep: Reputation: 31
Sorry about that. I'm running slackware 10.2, just the basic full install.

Thanks,

charlie r
 
Old 04-10-2006, 08:29 PM   #4
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
You have to set permissions to read and execute for everyone but root. chmod 755 for all the KDE files and directories should do it.
 
Old 04-11-2006, 12:44 AM   #5
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
I don't know about that. Slackware should set the permission correctly on a basic full install. The truth is, there is no way for anyone to possibly know what the problem is unless you tell us the error your getting. while Jiml8's response was a good guess, it may not be the actual problem. When you post your questions, please give a description of the error your getting. Usually the last few lines are the most important.

But if you can't be bothered, I'll try my hand at a completely random guess to the solution:
try adding initkde to your /home/user/.initrc file. I had to do this after I installed slackware.

regards,
...drkstr

Last edited by drkstr; 04-11-2006 at 12:55 AM.
 
Old 04-11-2006, 07:47 AM   #6
neocontrol
Member
 
Registered: Jul 2005
Posts: 273

Original Poster
Rep: Reputation: 31
okay, still havent had the time to try those idea, but i will later today and tell you guys if they worked. anyhow, heres my error codes during startup.

trying to create local folder //.kde permission denied
xset: unable to open display
Qsettings: error creating /.qt
can not create file //.DCOPserver_machinename_NO_DISPLAY: permission denied
DCOP self test failed
kwin: cannot connect to x server
kpersonalizer: cannot connect to x xserver

thanks,

charlie r
 
Old 04-11-2006, 08:12 AM   #7
neocontrol
Member
 
Registered: Jul 2005
Posts: 273

Original Poster
Rep: Reputation: 31
acutally i use the command "startx". The errors above are from when I type startkde. I log on with a differnt user and I get these two lines.

hostname: unknow host
Xauth: timeout in locking authority file //.Xauthority

BTW, setting everything with chmod 755 /kde doesn't seem to work. I still get teh same errors. I'm going to try option two now.

Thanks,

charlie r

Last edited by neocontrol; 04-11-2006 at 08:31 PM.
 
Old 04-11-2006, 11:31 AM   #8
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
Ok, that's what I thought the problem was. And by the way, I need to make a correction in my previous post, I was way off. I shouldn't type from memory when I haven't slept in awhile. WHat you actually need to do is make a file called .xinitrc and add the line startkde. KDE should start up fine now if you run startx as the user.

Hope this helped,
...drkstr
 
Old 04-11-2006, 08:43 PM   #9
neocontrol
Member
 
Registered: Jul 2005
Posts: 273

Original Poster
Rep: Reputation: 31
Hello drkstr,

I've done what you have said as root. That's how I got kde to work the first time. What exactly am I to do as the user? Sure I can make a file, name it, and throw a line in there. But where do I stick it? Home directory? Then startx should just work? I've never used any of this gui stuff so setting it up is just a loss to me.

Thanks for your help,

charlie r
 
Old 04-11-2006, 09:20 PM   #10
drkstr
Senior Member
 
Registered: Feb 2006
Location: Seattle, WA: USA
Distribution: Slackware 11.0
Posts: 1,191

Rep: Reputation: 45
yup sorry, I should have been more clear. Log in as the user you want to run kde and then:
Code:
echo startkde > /home/username/.xinitrc
This creates a file in your home directory called .xinitrc which will contain the line startkde.

Hope that was a little more clear.
...drkstr
 
Old 04-11-2006, 09:43 PM   #11
neocontrol
Member
 
Registered: Jul 2005
Posts: 273

Original Poster
Rep: Reputation: 31
drkstr,

Thank you sir. It worked just like it should. Much appreciated.

charlie r
 
  


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
making firefox available for all users sukimac Linux - Newbie 5 09-26-2005 10:05 PM
In KDE, I can see pics of users when i open up .thumbnails as other users? BajaNick Linux - General 4 02-06-2005 12:21 AM
Samba access by Windows users locking out directory access with Konqueror harry_fine SUSE / openSUSE 1 12-18-2004 06:33 AM
copying kde configuration for 2 users OR 2 users on 1 x session for vnc blackphiber Linux - General 0 02-26-2004 09:57 PM
Making apps available for other users. Dead_Goon Slackware 2 03-08-2003 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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