LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE 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: Arch + Xfce
Posts: 6,852

Rep: Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037Reputation: 2037
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



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

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