Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 06-25-2009, 01:15 AM   #1
Registered: Feb 2009
Posts: 33

Rep: Reputation: 15
Unhappy X connection from another user over sudo

Hi all. I am the newbiest newbie ever been in linux history. Plese help me. I am unable to run a program from user oracle.

How can i grant newbie to run X from user oracle?

[newbie@server]sudo -s
[root@server]su - oracle
[oracle@server]cd /home/oracle/distr/afg_mk/

Got this :

X connection to localhost:11.0 broken (explicit kill or server shutdown).

P.S. I don't know root and oracle password. But have unlimited sudo

Last edited by m1n; 06-25-2009 at 02:06 AM.
Old 06-25-2009, 02:21 AM   #2
Registered: Feb 2009
Posts: 33

Original Poster
Rep: Reputation: 15
help needed...
Old 06-25-2009, 06:11 AM   #3
LQ Newbie
Registered: Jun 2009
Location: Malta
Distribution: SuSe, Fedora & Ubuntu
Posts: 4

Rep: Reputation: 0
you need to set the DISPLAY environment variable. Do something like this:

[newbie@server]echo $DISPLAY

This should give an output like:

Then change the following line

to the following:
[oracle@server]DISPLAY=localhost:0.0 ./runInstaller

make sure that if your DISPLAY variable is different to what I wrote above, you enter the correct value instead of "localhost:0.0"



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
unchecked link between pc user and sudo user on Mint5 how do I get it back,stop laugh Fred Caro Linux - Newbie 2 04-22-2009 08:36 PM
cant use sudo as user ? rixtr66 Slackware 5 04-13-2009 08:36 AM
Gconf-editor settings not sticking for root, sudo user, or user when run sandaili Fedora 1 07-19-2008 08:31 AM
Sudo for more than one user MOCKBA Ubuntu 3 09-30-2006 02:38 AM
SUDO for user nobody tracer Linux - Newbie 3 01-12-2006 02:12 PM > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration