You are not logged in.

#1 2013-12-25 13:35:57

stavrakis
Member
Registered: 2011-12-29
Posts: 22

Using nvidia-settings without X/over ssh

I have a computer with an nvidia GTX 670 that I want to control remotely. However, I have problems using nvidia-settings over ssh. When trying to use it, I get this error:

ERROR: Cannot open display ':0.0'.

When a user is logged in an xfce session locally, I can use nvidia-settings without issue, using the command line over ssh. As soon as I log out from the xfce session, I get

Invalid MIT-MAGIC-COOKIE-1 key
ERROR: Cannot open display ':0.0'.


ERROR: Unable to query attribute GPUCoreTemp specified in query '[gpu:0]/GPUCoreTemp' (no Display connection).

How can I use nvidia-settings without the need for a user to be logged in locally?

Offline

#2 2013-12-25 16:20:05

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Using nvidia-settings without X/over ssh

stavrakis wrote:

How can I use nvidia-settings

To do *what*?

nvidia-smi will show some info.

Last edited by brebs (2013-12-25 16:20:59)

Offline

#3 2013-12-26 12:06:54

stavrakis
Member
Registered: 2011-12-29
Posts: 22

Re: Using nvidia-settings without X/over ssh

I want to control the fan speed using nvidia-settings.

Offline

#4 2013-12-27 01:17:47

ilkyest
Member
From: Brazil
Registered: 2010-02-13
Posts: 269

Re: Using nvidia-settings without X/over ssh

on xfce I don't know, but, every I need something "graphic" in root mode I use kdesu, cause, if not, I every time receive this "not conect to xxxx display"

Offline

#5 2014-02-06 18:13:15

Nattgew
Member
Registered: 2013-10-09
Posts: 30

Re: Using nvidia-settings without X/over ssh

I am trying to do the same thing with a GT 240. I found something promising here:
https://sites.google.com/site/akohlmey/ … s-X-Server
Since you do have a local monitor, it may be easier not having to fake one. I don't have a monitor, I haven't gotten around to trying the Xorg stuff yet.

Offline

#6 2014-02-07 03:35:25

amckee
Member
From: Cruise Ship Earth
Registered: 2012-02-13
Posts: 25
Website

Re: Using nvidia-settings without X/over ssh

Connect to ssh with the X server extensions:

ssh -XY user@host

Then running commands will forward the GUI to your local desktop, while running off of files from the remote computer. Details in:

man ssh

Offline

Board footer

Powered by FluxBB