SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installed gksu from slackbuilds.org and am trying to use it to launch virt-manager like so
Code:
gksu virt-manager
I am prompted with my password, however I get this,
Code:
glibtop(c=26592): [DEBUG] open.c:53 glibtop_open_l(): SIZEOF: 40 - 65648 - 248 - 65624 - 224 - 65624
glibtop(c=26592): [DEBUG] open.c:163 glibtop_open_l(): Calling sysdeps open function.
glibtop(c=26592): [DEBUG] init.c:229 glibtop_init_s(): init_s with features=0x7ffffff and flags=0
No protocol specified
No protocol specified
(virt-manager:26608): Gtk-WARNING **: cannot open display: :0.0
The weird thing is that if I try it for another app like Firefox, I get similar messages but Firefox eventually loads within a few seconds, virt-manager does not. Anyone have any ideas?
virt-manager doesn't need to be run with root privileges.
Yes you are correct, partially. It can run as a normal user and it works fine, however when I try to create a new VM and select a source .iso, I get an error unless I run virt-manager as root. OR if I try to use my USB cd/dvd rom it won't show up in virt-manager unless I am root. Even if I add my user to the appropriate group I still get the error. So for the time being running virt-manager as root when I need to create a new VM is my best workaround.
Yes you are correct, partially. It can run as a normal user and it works fine, however when I try to create a new VM and select a source .iso, I get an error unless I run virt-manager as root. OR if I try to use my USB cd/dvd rom it won't show up in virt-manager unless I am root. Even if I add my user to the appropriate group I still get the error. So for the time being running virt-manager as root when I need to create a new VM is my best workaround.
no such problem here.
maybe is related to your user not being in the default groups for desktop use (here lp, floppy, audio, video, cdrom, plugdev, power, netdev and scanner) and not using your desktop while within a dbus/policykit session: personally I launch my desktop with startx having an .xinitrc that execute it like
no such problem here.
maybe is related to your user not being in the default groups for desktop use (here lp, floppy, audio, video, cdrom, plugdev, power, netdev and scanner) and not using your desktop while within a dbus/policykit session: personally I launch my desktop with startx having an .xinitrc that execute it like
if it might be useful, I also have this directive set in my /etc/libvirt/qemu.conf
Code:
user="myuser"
I don't know, I checked my groups and I am part of
Code:
bob : bob lp wheel floppy audio video cdrom plugdev power netdev scanner users
My /etc/libvirt/qemu.conf does not have users defined, it is uncommented so I do not wish to mess with that ATM but it does have groups="users" and my user is in that group. I did not have a .xinitrc file and I created one and added in what you put but swapped out startlxde with startxfce4, I will try that out and see if it does anything.
EDIT:Okay so very weird...I did not try with the .xinitrc line you have yet but I loaded up virt-manager as my normal use and I can in fact use the DVD. Before it would say "No media source" found or some crap and I am wondering whether it was that I did not get the DVD player enough time to actually load/wait for Slackware to recognize it....that or I did something else in the past that fixed it and only realized it until now. It works fine as it should now...weird.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.