LinuxQuestions.org
Visit Jeremy's Blog.
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 11-17-2008, 08:27 AM   #1
morphynoman
Member
 
Registered: Nov 2008
Posts: 32

Rep: Reputation: 15
Can a normal user run KDE?


I use Slackware 12.0, As you know it starts at runlevel 3 by default. So, when I login as non-root user and try to 'startx' it does not start KDE. How could I setup KDE for a normal user can run KDE?

Thankls for your attention
 
Old 11-17-2008, 08:31 AM   #2
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
Put startkde in ~/.xinitrc
 
Old 11-17-2008, 09:17 AM   #3
masonm
Senior Member
 
Registered: Mar 2003
Location: Following the white rabbit
Distribution: Slackware64 14.2 Solus
Posts: 2,264

Rep: Reputation: 51
Use xwmconfig to select kde.
 
Old 11-17-2008, 12:04 PM   #4
morphynoman
Member
 
Registered: Nov 2008
Posts: 32

Original Poster
Rep: Reputation: 15
Sorry

May be I didn't explain it well. I already use KDE. As root startx starts KDE. But I have create a user account, obviously with permissions of a normal user.

At level 3 I log as user, but when invoke startx it says "Cannot move /var/log/Xorg.0.log to Xorg.0.log.old Giving up..." and doesn't start KDE. Obviously i gave 777 permission to that file but nothing seems to change.

So my question is, where is supposed to configure KDE to run it as non-root user?

Thanks again
 
Old 11-17-2008, 12:16 PM   #5
pauledwards03
Member
 
Registered: Dec 2006
Distribution: Slackware 12.1
Posts: 94

Rep: Reputation: 15
Try changing the permissions of /var/log to rwrwrw
 
Old 11-17-2008, 12:29 PM   #6
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 472Reputation: 472Reputation: 472Reputation: 472Reputation: 472
Open /etc/inittab as root and change the run level to the X11 one (not on Linux at the moment), that will start Linux up with a graphical environment. If you want to leave the command line and manually startx, as your normal user run xwmconfig and select KDE as the default desktop - when the user runs startx KDE will start up.
 
Old 11-17-2008, 12:37 PM   #7
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Change default runlevel to runlevel 4 (where X starts), as XavierP suggested. Make sure that you have KDE installed, by the way.

One other thing:
Quote:
Originally Posted by morphynoman View Post
when I login as non-root user and try to 'startx' it does not start KDE.
With which error message?
 
Old 11-17-2008, 02:58 PM   #8
morphynoman
Member
 
Registered: Nov 2008
Posts: 32

Original Poster
Rep: Reputation: 15
Sorry Again

Nothing worked. The error is in my 2nd post.
Yes, I've a file called .xinitrc in my /home/$user dir.

Thanks anyway
 
Old 11-17-2008, 03:21 PM   #9
i92guboj
Gentoo support team
 
Registered: May 2008
Location: Lucena, Córdoba (Spain)
Distribution: Gentoo
Posts: 4,074

Rep: Reputation: 387Reputation: 387Reputation: 387Reputation: 387
If the real problem is that that file can't be moved, moved it by hand as the same user that you will be using to run kde. If you can't move it, then all you need to do is to find why. Possible causes are:
  • no free space on device
  • no free inodes on device
  • no write permissions for your user on that dir
  • no write permissions on that log file
  • no write permissions on the log.old file
  • device is mounted ro
  • volume is corrupt, umount and fsck it
 
Old 11-17-2008, 04:18 PM   #10
morphynoman
Member
 
Registered: Nov 2008
Posts: 32

Original Poster
Rep: Reputation: 15
Sorry i92guboj but I think that it's not any of your suggestions because the real problem is not the impossibility of moving the logfile.

After some tries I get this:
Code:
Fatal error

...Can't access to /dev/tty0 (Permision denied)
But :
Code:
Morphy ~ # ls -l /dev/tty0
lrwxrwxrwx 1 root root 4 Nov 17 17:47 /dev/tty0 -> vc/0
Seems like I have permission, but:
Code:
Morphy vc # ls -l 0
crw-rw---- 1 root root 4, 0 Nov 17 17:47 0
So, how to change permissions of a character special file?

Thanks to those who lost 1 second with this

Last edited by morphynoman; 11-17-2008 at 04:48 PM.
 
Old 11-17-2008, 08:09 PM   #11
morphynoman
Member
 
Registered: Nov 2008
Posts: 32

Original Poster
Rep: Reputation: 15
Solved

For the first error:

xf860OpenConsole: Cannot open/dev/tty0 (Permission denied)
Code:
cd /dev/cv
chmod 666 0
and for the next:
xf86OpenConsole: Cannot open virtual console 7 (Permission denied)
Code:
cp -Rfv /root/{./kde*,.local,.qt*} /home/tahl/
  chown -Rv tahl:users /home/tahl/
  ls -l /usr/X11R6/bin/Xorg
  chmod u+s /usr/X11R6/bin/Xorg
  ls -l /usr/X11R6/bin/Xorg
Thanks again

Last edited by morphynoman; 11-17-2008 at 08:12 PM.
 
  


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
some commands cant run under normal user mocqueanh Linux - Newbie 1 01-11-2008 09:28 PM
can,t run kde as normal user. little_ball Slackware 1 12-29-2004 11:13 AM
Warcraft 3 Won't Run Anymore For Normal User GT_Onizuka Linux - Games 5 01-25-2004 12:05 PM
Run ipchains as normal user? jlangelier Linux - Newbie 1 07-27-2003 02:56 AM
How to run Arson as a normal user Mojojo Linux - Software 0 07-10-2003 06:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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