LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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: Solus OS, Gentoo, Slackware, and PC-BSD
Posts: 12

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 13.1
Posts: 1,327

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


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
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


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