Welcome, Guest
Please Login or Register.    Lost Password?

Force GoGlobal to use screen number
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: Force GoGlobal to use screen number
#990
Force GoGlobal to use screen number 12 Years, 2 Months ago Karma: 0
Is there a way to configure GoGlobal to set the DISPLAY variable to use screen number ".0" for every session instead of just setting the display number?

I want the GoGlobal window to show "hostname:1.0" instead of just "hostname:1".

Thanks.

Jim Hunt
US Joint Forces Command
Norfolk, VA
tazman-jwh
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#994
Re: Force GoGlobal to use screen number 12 Years, 2 Months ago Karma: 6
Jim,

The DISPLAY "0" number is reserved for the server console so it's virtually impossible for GO-Global to use that display number.

It may be possible to approach the issue from a different angle but we'd need to better understand what you're trying to accomplish. I suggest you open a support ticket.

-Erik
Erikt
Administrator
Posts: 591
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#995
Re: Force GoGlobal to use screen number 12 Years, 2 Months ago Karma: 0
You missed the point and the difference between screen number and display number. I know that the display number zero is reserved for the console. I want to force the DISPLAY variable to be set as hostname:1.0 not just hostname:1 where 1 would be replaced with whatever the current goglobal display session is.

I do not want a DISPLAY of hostname:0 or hostname:0.0.

Thanks again.
Jim
tazman-jwh
Fresh Boarder
Posts: 10
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#996
Re: Force GoGlobal to use screen number 12 Years, 2 Months ago Karma: 2
Jim,

Please forgive Erik for jumping to conclusions about what you were asking. We do get the "how can I make GO-Global use DISPLAY :0" question quite often.

You should be able to do what you're describing by using a script in ${GOGLOBAL_ROOT/etc/startxgo.d/. For example, a script like:

Code:

#!/bin/sh
DISPLAY=${DISPLAY}.0
export DISPLAY



Will modify the DISPLAY environment variable at startup to include the '.0' in all cases. You'll have to make sure the script is executable, and you should see messages to the effect that it is being run in our session log once it's installed.

Let us know if you have any questions or run into any problems.

Thanks,
Troy
troy
Administrator
Posts: 231
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Birthday: 01/14
The administrator has disabled public write access.
 
Go to topPage: 1
Moderators: troy, Andyl