Link to home
Start Free TrialLog in
Avatar of c_hockland
c_hocklandFlag for Greece

asked on

RHEL 5 issue when trying to start x window

Hi ,
user is member of sudoers but getting an error when trying to use Xwindow application

xlib: connection to 7.0 refused by Server
Xlib : no protocol specified
error : cant open display : 7.0
-bash-3.2$ vncconfig &
[1] 841
xlib: no protocol specified


any ideas ?
ASKER CERTIFIED SOLUTION
Avatar of omarfarid
omarfarid
Flag of United Arab Emirates image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Being member of sudo is not enough. You have to prefix commands with sudo as well.
like
sudo vncconfig &
Second if it doesn't recognize the command, use full path of the command.
Avatar of c_hockland

ASKER

that worked immediately , thanks much
Welcome :)