Sponsored Content
Top Forums UNIX for Beginners Questions & Answers Disable Solaris Gnome 3 screen blanker Post 303043785 by wisecracker on Thursday 6th of February 2020 03:03:15 PM
Old 02-06-2020
Hi Michele31416...


Thanks for updating your post with the answer...
 

10 More Discussions You Might Find Interesting

1. Solaris

Gnome on Solaris 10

I have just installed Gnome on Solaris 10, I am wondering how to get it listed in the “session” selection box on the login screen, as it currently isn't. Any Ideas? :o (1 Reply)
Discussion started by: Dredz
1 Replies

2. UNIX for Dummies Questions & Answers

Solaris Express Slow to load Gnome

Hi, I recently installed the latest Solaris Express Developers Edition. I'm building a NAS and want to use RAID Z, and Solaris 10 didn't have the drivers for my HD controller card. Everything is up and running fine, but I notice it takes a good 8 minutes to load gnome (or X, not sure where it... (2 Replies)
Discussion started by: ciscocbee
2 Replies

3. Linux

Disable Maximize/Resize on GNOME

Hello, I would like to know wether if its possible or not to do the following: 1) Disable the maximize button on a "particular" window. 2) Disable the resize option on that "particular" window. 3) Disable the right-click properties that appear when you click on a minimized app thats sitting... (2 Replies)
Discussion started by: preacheronsunda
2 Replies

4. Solaris

How to install gnome in solaris

How to install gnome in solaris 9 and 10, how to enable java environment in solaris 9 and 10. Thanks in Advance (1 Reply)
Discussion started by: durgaprasadr13
1 Replies

5. UNIX for Advanced & Expert Users

How to disable the clearing of the first page when executing screen tool

Hi Guy, In order to monitor the user sessions, I have put the screen tool in the .profile in order to record the whole session. However, when the user logs in, the screen command is executed and the screen is first cleared, then the command prompt appears. so, I basically want to disable the... (2 Replies)
Discussion started by: saad26
2 Replies

6. Solaris

Gnome Packages on Solaris 10 u6

If my system is supposed to be a pure oracle database server can i remove all the GNOME packages from the system ? Currently system is installed with Everything+OEM and i want the image to be as small as possible remove the unnecessary softwares from it so that its a master image for other servers.... (2 Replies)
Discussion started by: fugitive
2 Replies

7. Solaris

Gnome in Solaris 9

Hi My problem is that I kind of opened gnome environment from the cde environment and now I do not know how to turn it off so any suggestions will be much appreciated. and I am running Solaris 9 as root user I am also a beginner in unix Thanks in advance (4 Replies)
Discussion started by: Theeb
4 Replies

8. Red Hat

command line tool to disable screen lock and/or screen saver

Hi, I have a simple question : how to disable screen lock and/or sreen saver with command line with RHEL5.4 ? (1 Reply)
Discussion started by: albator1932
1 Replies

9. Solaris

Solaris 11 disable IPv6

I've new installed Solaris 11 on Sparc T4-1. I'd like to disable IPv6 but with no luck. lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 net0: flags=1000803<UP,BROADCAST,MULTICAST,IPv4> mtu 1500 index 2 inet... (6 Replies)
Discussion started by: samer.odeh
6 Replies

10. UNIX and Linux Applications

vnc viewer presents black screen along with GNOME settings daemon errors.

Hello folks, I'm remotely connecting through VNC to two machines, each running Red Hat 5.9, from mine which is running Windows 7. Both connections were working well before. However, now one of the machines only gives me a black screen, with a pop up that says: "There was an error starting... (1 Reply)
Discussion started by: Miguel E. Perez
1 Replies
UPSCLI_GET(3)							    NUT Manual							     UPSCLI_GET(3)

NAME
upscli_get - retrieve data from a UPS SYNOPSIS
#include <upsclient.h> int upscli_get(UPSCONN_t *ups, int numq, const char **query, int *numa, char ***answer) DESCRIPTION
The upscli_get() function takes the pointer ups to a UPSCONN_t state structure, and the pointer query to an array of numq query elements. It builds a properly-formatted request from those elements and transmits it to upsd(8). Upon success, the response will be split into separate components. A pointer to those components will be returned in answer. The number of usable answer components will be returned in numa. USES
This function implements the "GET" command in the protocol. As a result, you can use it to request many different things from the server. Some examples are: o GET NUMLOGINS <ups> o GET UPSDESC <ups> o GET VAR <ups> <var> o GET TYPE <ups> <var> o GET DESC <ups> <var> o GET CMDDESC <ups> <cmd> QUERY FORMATTING
To generate a request for GET NUMLOGINS su700, you would populate query and numq as follows: int numq; const char *query[2]; query[0] = "NUMLOGINS"; query[1] = "su700"; numq = 2; All escaping of special characters and quoting of elements with spaces is handled for you inside this function. ANSWER FORMATTING
The raw response from upsd to the above query would be NUMLOGINS su700 1. Since this is split up for you, the values work out like this: numa = 3; answer[0] = "NUMLOGINS" answer[1] = "su700" answer[2] = "1" Notice that the value which you seek typically starts at answer[numq]. ERROR CHECKING
This function will check your query against the response from upsd(8). For example, if you send "VAR" "su700" "ups.status", it will expect to see those at the beginning of the response. If the results from upsd do not pass this case-insensitive test against your request, this function will return an error. When this happens, upscli_upserror(3) will return UPSCLI_ERR_PROTOCOL. ANSWER ARRAY LIFETIME
The pointers contained within the answer array are only valid until the next call to a upsclient function which references them. If you need to use data from multiple calls, you must copy it somewhere else first. The answer array and its elements may change locations, so you must not rely on previous addresses. You must only use the addresses which were returned by the most recent call. You also must not attempt to use more than numa elements in answer. Such behavior is undefined, and may yield bogus data or a crash. The array will be deleted after calling upscli_disconnect(3). Any access after that point is also undefined. RETURN VALUE
The upscli_get() function returns 0 on success, or -1 if an error occurs. SEE ALSO
upscli_list_start(3), upscli_list_next(3), upscli_strerror(3), upscli_upserror(3) Network UPS Tools 05/22/2012 UPSCLI_GET(3)
All times are GMT -4. The time now is 01:17 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy