Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 08-21-2008, 01:02 PM   #1
LQ Newbie
Registered: Aug 2008
Posts: 1

Rep: Reputation: 0
Question how do i run x windows with administrative privileges

Release 9 (Sulphur)
when i startx from root command prompt
x windows starts with this

!This session is running as a privileged user

running a session as a privileged user should be avoided for
security reasons. if possible you should log in as a normal user.

how do i get into x windows with rights to install programs that i have downloaded, that seems to be one thing that i cannot do while logged in as a privileged user, i have not tried to do much yet.
I did try to change the runlevel and that didn't work

Help Help!!!!!!


Last edited by Deanthetech; 08-21-2008 at 01:09 PM.
Old 08-21-2008, 01:07 PM   #2
LQ Guru
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
There are guides on the web that do tell you how to be able to use X as root, but don't -- you already got the message, so please read it If your problem is installing software, then you don't need X for it -- or even if you do, you don't need to be logged in as root. You can either use sudo to run the software installation program (whatever that is then) with root privileges while logged in as a regular user, or you can use command line to install software.

If you're having problems installing software, read the various threads about how you use dpkg, rpm, apt-get, yum, tar, compilers, make utility etc.

EDIT: for those who want everything graphical, there are even graphical sudo programs, like gksudo for Gnome or kdesu for KDE. Run whatever you need to run with these, and you're prompted for a password after which (if you type it correctly) the program you started is run with root privileges.

Last edited by b0uncer; 08-21-2008 at 01:09 PM.



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
how to run .exe file as we run the samwe in windows chandrala13 Linux - Newbie 2 05-22-2008 05:30 AM
Can I run yum without root privileges??? jainforall Linux - Software 3 10-22-2007 12:18 AM
Samba-Windows-NFS - Privileges Problems blu_alchemist Linux - Server 4 06-07-2007 03:45 PM
administrative distance abirami Linux - Networking 5 09-23-2004 07:02 AM
Administrative prohibition Red Squirrel Linux - Software 0 06-26-2004 02:07 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:15 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration