TLDR Is this standard practice and the way this should be done, to achieve separation between root and other user account? It seems like a "hack" to me. No protocol specified terminate called after throwing an instance of ' (anonymous namespace)::DisplayError' what (): No display available. Also you have to permit firewall to listen to connections on port 3389 that xrdp is working on. So if you started the X server under your own account (greg) then any other user (like root) doesn't have access to it." 11 Answers Sorted by: 30 On file /etc/xrdp/xrdp.ini add address0.0.0.0 which is the default xrdp address. ![]() You don't want just anybody opening windows on your screen, do you. Hence, the Package'sudo' resource must and will be installed first. "This has to do with access control to your X server. They perform actions on resources and can be specified for any type of. Hi Everyone, I am following this link to install Oracle 11gR2 on ubuntu 11. First thing I did was to install synaptic package manager. What was the point in granting access to the other user if they can't open the program anyway? This separating is done for security reasons, so isn't making that above modification reverting the earlier comment scottscott-MS-7596: sudo synaptic No protocol specified Unable to init server: Could not connect: Connection refused (synaptic:2675): Gtk-WARNING : cannot open display: :0 scottscott-MS-7596: They want you to use graphical userinterfaces designed to work with super user priveleges, like the software center. Linus 28 July 2017 13:03 1 I just installed Ubuntu MATE 16.04.2 LTS. 'export AUTHORITY=/home/greg/.Xauthority'." Or root can take it, because it can access your files: What could be different in the configuration of the two difference Ubuntu machines that would explain why one works and the other doesnt Update: As suggested by Zoredache in the comment below, I ran sudo apt-get install xbase-clients, but I continue to have the same problem. After enabling debug mode of sudo (Debug sudo /var/log/sudodebug allinfo in /etc/nf) I was pointed to /dev: '/dev is world writable'. You (greg) can grant it by means of 'xhost local:root'. "You have two ways to get this working: grant it or have root take it. And the gtk-warning cannot open display seems to relate exactly to this issue. Inside of the RDP window, I opened the terminal, and typed sudo nautilus to run Files as root. The "no protocol specified" part seems pretty straight forward. I set up XRDP on a Linux computer and used Windows Remote Desktop Connection to connect to it. 14 After changing the hostname gedit is not working as expected, it shows error always in my root 'No protocol specified' (gedit:23330): WARNING : Could not open X display No protocol specified Cannot open display: Run gedit -help to ubuntu authentication ubuntu-12. I had this problem before with other laptops, but the other solutions worked that time. 'No protocol specified' when running a sudo/su app on Ubuntu Linux Ask Question Asked 5 years, 3 months ago Modified 11 months ago Viewed 29k times 9 I try to run the iReport 5.6 on Ubuntu and Java 7, using the command: sudo iReport-5.6.0/bin/ireport No protocol specified. ![]() ![]() ![]() DISTRIBDESCRIPTION'Ubuntu 22.04.1 LTS' If I run > sudo systemctl disable boinc-client and reboot it stops spamming syslog every second. Re: No protocol specified xhost: unable to open display ':0.0' The problem started since I installed my arch linux for the first time. I get the following error: no protocol specified Feb 05 12:08:48 shuttle boinc1962: Authorization required, but no authorization protocol specified Feb 05 12:08:48 shuttle boinc1962. But when I try to start wireshark as the wireshark user, using: sudo -s -u $USER wireshark Self._backend.open(self._do_creds_password)įile "/usr/share/virt-manager/virtinst/connection.py", line 149, in openįile "/usr/lib/python2.7/site-packages/libvirt.I am setting up wireshark to run as non root user, a la here, that is: sudo apt-get install wireshark Install zip on Ubuntu and Debian sudo apt install zip Install zip on. Verify that the 'libvirtd' daemon is running.įile "/usr/share/virt-manager/virtManager/connection.py", line 1000, in _do_open Open the terminal and type the following given command Command: unzip code-stable. So I'm a total noob and newcomer to virtualization and I'm trying to get QEMU/KVM to run windows (For programs that sadly only support windows :S) and I want to use the graphical front end Virtual Machine Manager but when I start it up it gives me the error:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |