LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SLES 9 Unable to connect to X Server as root su - (https://www.linuxquestions.org/questions/linux-newbie-8/sles-9-unable-to-connect-to-x-server-as-root-su-863559/)

Razorback2000 02-18-2011 11:07 AM

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

Mushroomheadbangers 02-18-2011 11:15 AM

Have you tried using kdesu?

Reuti 02-18-2011 11:30 AM

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


All times are GMT -5. The time now is 03:26 PM.