Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
5255 Discussions

vtune with sudo access doesn't work

mnt
New Contributor I
2,303 Views

Hi,

When I launch vtune 2023.0.0 with sudo access, it gives the following error and the main window is not opened. Actually, I see a blank white page. With normal user, it is fine.

 

# /opt/intel/oneapi/vtune/latest/bin64/vtune-gui
[16965:0314/113223.428771:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
[16965:0314/113223.428827:ERROR:bus.cc(398)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
Authorization required, but no authorization protocol specified
[16997:0314/113223.446124:ERROR:vaapi_wrapper.cc(682)] Could not get a valid VA display
[16997:0314/113223.458666:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
[16997:0314/113223.477315:ERROR:x11_software_bitmap_presenter.cc(141)] XGetWindowAttributes failed for window 31457283
[16997:0314/113223.975054:ERROR:x11_software_bitmap_presenter.cc(141)] XGetWindowAttributes failed for window 31457290
[16965:0314/113223.990770:ERROR:cert_verify_proc_builtin.cc(690)] CertVerifyProcBuiltin for 127.0.0.1 failed:
----- Certificate i=0 (CN=optiplex) -----
ERROR: No matching issuer found

Any idea about that?

 

0 Kudos
1 Solution
Rahila_T_Intel
Employee
2,258 Views

Hi,


Thank you for posting in Intel communities.

 I sincerely apologize for the inconvenience caused. Dev team has been consistently working on this issue.


As an alternative approach you can use the VTune GUI.

Try loading the VTune Web Server Interface by running the following command and accessing the generated URL in a browser window


$ sudo <vtune-install-dir>/bin64/vtune-backend --allow-remote-ui

Eg.: $ sudo /opt/intel/oneapi/vtune/latest/bin64/vtune-backend --allow-remote-access

 

The first time you access this URL on your browser, you will be shown a warning regarding self-signed certificate since the website is loaded locally, kindly confirm and bypass this warning to access the VTune Web Server GUI.

 

VTune Web Server Interface Documentation: https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/launch/web-server-ui.html



Thanks


View solution in original post

0 Kudos
4 Replies
Rahila_T_Intel
Employee
2,259 Views

Hi,


Thank you for posting in Intel communities.

 I sincerely apologize for the inconvenience caused. Dev team has been consistently working on this issue.


As an alternative approach you can use the VTune GUI.

Try loading the VTune Web Server Interface by running the following command and accessing the generated URL in a browser window


$ sudo <vtune-install-dir>/bin64/vtune-backend --allow-remote-ui

Eg.: $ sudo /opt/intel/oneapi/vtune/latest/bin64/vtune-backend --allow-remote-access

 

The first time you access this URL on your browser, you will be shown a warning regarding self-signed certificate since the website is loaded locally, kindly confirm and bypass this warning to access the VTune Web Server GUI.

 

VTune Web Server Interface Documentation: https://www.intel.com/content/www/us/en/develop/documentation/vtune-help/top/launch/web-server-ui.html



Thanks


0 Kudos
Rahila_T_Intel
Employee
2,184 Views

Hi,


We have not heard back from you. Could you please give an update?


Thanks


0 Kudos
mnt
New Contributor I
2,170 Views

Hello,

Yes with web server, the sudo works fine. Thank you.

0 Kudos
Rahila_T_Intel
Employee
2,166 Views

Hi,


Thanks for accepting our solution. 

If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Thanks


0 Kudos
Reply