Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
Problem installing my Nvidia Graphic Card
Problem installing my Nvidia Graphic Card
Hi, i'm on latest Debian Testing, and i have two problems with my graphic cards. I have a MSI laptop which has a GTX 850M along with a Intel HD 4600 chipset.
First problem is when i use graphical application as normal user it runs fine, but if i launch it as root(i need it for some applications) i get :
No protocol specified
No protocol specified
java.awt.AWTError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
;
But if i run "xhost +", i can run the application as root, so the system think i'm a remote user ?
The second problem is that i can't manage to install my GTX 850M, i tried installing the official drivers from the Nvidia site, or installing the drivers from debian repository, added bumblebee-nvidia and edited the conf of bumblebee, but when using GPU tools (hashcat), it does not detect my card. Some users have the same card as me and yet don't have any problem, is it the MSI motherboard that is causing problem ? Because i noticed its really bad on linux, the MSI support is null, i have to push hold the power button to shut down the laptop, touchpad is bad etc
Any help appreciated thanks
First problem is when i use graphical application as normal user it runs fine, but if i launch it as root(i need it for some applications) i get :
No protocol specified
No protocol specified
java.awt.AWTError: Can't connect to X11 window server using ':0.0' as the value of the DISPLAY variable.
;
But if i run "xhost +", i can run the application as root, so the system think i'm a remote user ?
The second problem is that i can't manage to install my GTX 850M, i tried installing the official drivers from the Nvidia site, or installing the drivers from debian repository, added bumblebee-nvidia and edited the conf of bumblebee, but when using GPU tools (hashcat), it does not detect my card. Some users have the same card as me and yet don't have any problem, is it the MSI motherboard that is causing problem ? Because i noticed its really bad on linux, the MSI support is null, i have to push hold the power button to shut down the laptop, touchpad is bad etc
Any help appreciated thanks
- stevepusser
- Posts: 12930
- Joined: 2009-10-06 05:53
- Has thanked: 41 times
- Been thanked: 71 times
Re: Problem installing my Nvidia Graphic Card
Trying to install the .run website Nvidia drivers first may have messed things up, but if you now have the Debian versions, give the full output of
which is supposed to rebuild and reinstall the driver.
Code: Select all
# dpkg-reconfigure nvidia-kernel-dkms
MX Linux packager and developer
Re: Problem installing my Nvidia Graphic Card
Thanks, i had fresh debian install when i posted, and i need to say that my first problem is present immediatly after installation, and is not fixed after installing any drivers.
So i did as you said, installed the package "nvidia-driver" and ran the command you gave me as sudo, the ouput =>
So i did as you said, installed the package "nvidia-driver" and ran the command you gave me as sudo, the ouput =>
Code: Select all
$sudo dpkg-reconfigure nvidia-kernel-dkms
-------- Uninstall Beginning --------
Module: nvidia-current
Version: 387.34
Kernel: 4.14.0-parrot13-amd64 (x86_64)
-------------------------------------
Status: Before uninstall, this module version was ACTIVE on this kernel.
nvidia-current.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.0-parrot13-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
nvidia-current-modeset.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.0-parrot13-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
nvidia-current-drm.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.0-parrot13-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
nvidia-current-uvm.ko:
- Uninstallation
- Deleting from: /lib/modules/4.14.0-parrot13-amd64/updates/dkms/
- Original module
- No original module was found for this module on this kernel.
- Use the dkms install command to reinstall any previous module version.
depmod...
DKMS: uninstall completed.
------------------------------
Deleting module version: 387.34
completely from the DKMS tree.
------------------------------
Done.
Loading new nvidia-current-387.34 DKMS files...
Building for 4.14.0-parrot13-amd64
Building initial module for 4.14.0-parrot13-amd64
Done.
nvidia-current:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.0-parrot13-amd64/updates/dkms/
nvidia-current-modeset.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.0-parrot13-amd64/updates/dkms/
nvidia-current-drm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.0-parrot13-amd64/updates/dkms/
nvidia-current-uvm.ko:
Running module version sanity check.
- Original module
- No original module exists within this kernel
- Installation
- Installing to /lib/modules/4.14.0-parrot13-amd64/updates/dkms/
depmod...
DKMS: install completed.
Re: Problem installing my Nvidia Graphic Card
It's a distro based on Debian testing, only the kernel is different.
- sunrat
- Administrator
- Posts: 6462
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 116 times
- Been thanked: 472 times
Re: Problem installing my Nvidia Graphic Card
Highly unlikely that is the only difference. A different kernel does not really qualify as a different distro.wpeovwei wrote:It's a distro based on Debian testing, only the kernel is different.
Nevertheless, a very similar thread today may have the answer you seek - http://forums.debian.net/viewtopic.php?f=7&t=136541
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Re: Problem installing my Nvidia Graphic Card
Yes, the DE is different, there is IDS, many pre-installed applications/tools etc but theses can be added on Debian too, only the kernel makes it different from Debian.
Thanks for the link, i had already checked the recent topic about Nvidia problems, none worked in my case.
Thanks for the link, i had already checked the recent topic about Nvidia problems, none worked in my case.
Re: Problem installing my Nvidia Graphic Card
Like sunrat said that is highly unlikely. There are also configs for just about everything, in /etc are you sure they are all the same as debian defaults?wpeovwei wrote:...only the kernel makes it different from Debian.
That's normal. There are some options to su that might help, but you're likely to trash the system before you figure it out, because running X apps as root isn't a good idea. I know you won't take my word for it, and that's fine. You can do it however you want, just research it before arguing about it, okay?First problem is when i use graphical application as normal user it runs fine, but if i launch it as root(i need it for some applications) i get :
No protocol specified
https://wiki.archlinux.org/index.php/Ru ... ps_as_root
resigned by AI ChatGPT
Re: Problem installing my Nvidia Graphic Card
@bw123 Thanks for the advice, my applications run as root sandboxed, i know the risk of root, but some applications need it.
I don't understand why you said it's normal, if you have any commands to tell me to try, i'm ok with that i don't mind breaking my system right now, nothing important on it.
And yes you are right, the configs in /etc and other folders are quite different, but Debian is still Debian, i also said that some users have the same card and not my problem, using the same distro, so i thought it was MSI motherboard ?
I don't understand why you said it's normal, if you have any commands to tell me to try, i'm ok with that i don't mind breaking my system right now, nothing important on it.
And yes you are right, the configs in /etc and other folders are quite different, but Debian is still Debian, i also said that some users have the same card and not my problem, using the same distro, so i thought it was MSI motherboard ?
Re: Problem installing my Nvidia Graphic Card
whenever you install a distro, your first step (ideally before installing) is to read their web pages, wiki, installation instructions and such.
First things first:
Testing also has its own challenges and problems.
Since the parrot folks themselves promote reading the debian docs, i suggest you do.
your model is right there on that page.
imho, parrot is a vanity project combining the fashionable "security, privacy and pentesting" label with a fancy UI.
their wiki has gaping holes in it, and there was at least one more forum thread that lead me to believe that parrot just isn't a finished product.
i think it's unfair that good ol' fdn should deal with parrot's developer's problems.
please, contact a "Parrot Ambassador" (sic) for further inquiries.
First things first:
mind, "based on debian" is not the same as "debian".Parrot is a GNU/Linux distribution based on Debian Testing and designed with Security, Development and Privacy in mind.
Testing also has its own challenges and problems.
Since the parrot folks themselves promote reading the debian docs, i suggest you do.
yet you didn't look in the first, most obvious place: the wiki of your distro: https://docs.parrotsec.org/doku.php/nvidia-driverswpeovwei wrote:i can't manage to install my GTX 850M, i tried installing the official drivers from the Nvidia site, or installing the drivers from debian repository
your model is right there on that page.
imho, parrot is a vanity project combining the fashionable "security, privacy and pentesting" label with a fancy UI.
their wiki has gaping holes in it, and there was at least one more forum thread that lead me to believe that parrot just isn't a finished product.
i think it's unfair that good ol' fdn should deal with parrot's developer's problems.
please, contact a "Parrot Ambassador" (sic) for further inquiries.
- dilberts_left_nut
- Administrator
- Posts: 5346
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 13 times
- Been thanked: 66 times
Re: Problem installing my Nvidia Graphic Card
Yep.debiman wrote:"based on debian" is not the same as "debian".
Moved to Offtopic.
AdrianTM wrote:There's no hacker in my grandma...