LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Suse/Novell
User Name
Password
Suse/Novell This Forum is for the discussion of Suse Linux.

Notices

Reply
 
Search this Thread
Old 01-02-2009, 10:31 AM   #1
drsethi
Member
 
Registered: Jun 2006
Location: Amritsar
Distribution: SuSE 11.1
Posts: 55

Rep: Reputation: 15
No graphic desktop in root


I have intel 945 motherboard with opensuse 11.1. While as normal user fully functional graphical desktop is achieved, on changing user to root, I get a black blank desktop with curser and nothing working. Please help
 
Old 01-02-2009, 12:21 PM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian sid + kde 3.5 & 4.4
Posts: 6,823

Rep: Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948Reputation: 1948
Root isn't supposed to log in graphically. It's a security risk and completely unnecessary. You should always log in as a regular user, then run root commands from a terminal using su or sudo. Most distros disable the ability to log in to a gui as root by default.

If you need to run a gui program as root, you can use gksu or gksudo (if running gnome), or kdesu (in kde), to launch the program. I'm sure there are other similar options also available.

You can also configure your x-server to allow root to directly launch gui programs. This has been covered many times, so please try a forum search if you want to set it up.
 
Old 01-04-2009, 08:52 AM   #3
drsethi
Member
 
Registered: Jun 2006
Location: Amritsar
Distribution: SuSE 11.1
Posts: 55

Original Poster
Rep: Reputation: 15
Most distros disable the ability to log in to a gui as root by default.
But this problem occurred only recently.
Now I have rectified the problem by disabling autologin feature.
Now I want to know the exact reason of this problem and whether I should enable autologin feature again?
And what is the advantage of dual logging (root/normal user) in a single user computer?
 
  


Reply

Tags
blank, root


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
Problem deleted all files in /tmp as root and can't start fedora 5 in Graphic mode meelmaar Linux - General 3 08-22-2006 02:33 AM
Graphic Desktop Gryphonsword Linux - Laptop and Netbook 2 01-05-2006 05:57 PM
Debian Woody graphic desktop problem .. atk8877 Linux - Software 1 10-26-2003 05:38 PM
When do we get a graphic accelerated desktop enviroment? klod Linux - General 2 05-20-2003 08:14 AM
Why does kppp.desktop require root userid for non-root user? rdaves@earthlink.net Linux - Networking 4 08-27-2001 09:18 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration