LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-18-2011, 11:07 AM   #1
Razorback2000
LQ Newbie
 
Registered: Feb 2011
Posts: 1

Rep: Reputation: 0
SLES 9 Unable to connect to X Server as root su -


Unable to run programs as su - (root) from command line.
example: kfind or yast2
error: cannot connect to X Server

After I exit as root, I am able to excute both commands successfully.

I will not work as su -.

Operating System: SLES 9 (using KDE).
 
Old 02-18-2011, 11:15 AM   #2
Mushroomheadbangers
LQ Newbie
 
Registered: Jun 2010
Location: Texas
Distribution: Linux Mint Cinnamon, FreeBSD KDE
Posts: 13

Rep: Reputation: 1
Have you tried using kdesu?
 
Old 02-18-2011, 11:30 AM   #3
Reuti
Senior Member
 
Registered: Dec 2004
Location: Marburg, Germany
Distribution: openSUSE 15.2
Posts: 1,339

Rep: Reputation: 260Reputation: 260Reputation: 260
What is the value of $DISPLAY before and after you switched the user by su?
 
  


Reply



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 load sles in redhat platform using sles image created in nfs server AshishNsearch Red Hat 0 03-28-2008 12:12 AM
Unable to connect to PPTP server madman8 Linux - Networking 0 09-29-2007 07:39 AM
unable to connect to X server schneidz Linux - Software 18 08-24-2006 11:22 AM
Unable to connect to X server after su Tkit Fedora 1 08-08-2006 03:52 PM
Suddenly unable to connect to my web server and my ftp server. HELP! Silly22 Linux - Software 4 05-23-2004 04:42 PM

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

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