-
I'm using XPRA 4.3.4 on a large group of offline education servers running Ubuntu 18.04 with Nginx to host desktop applications through the browser. The setup uses an XPRA proxy server to launch the applications. However, when it's loaded there is a small menu bar in the upper left corner that interferes with access to the application controls. The users are very non-technical so getting them to move it each time won't work. Is there a way to automatically move it to another part of the display screen, or to remove it completely? I tried all of the menu related commands I could find, but none has worked. I am also having trouble getting the display screen to scale properly to fit the browser window. I tried the scaling commands from the proxy server side, as well as the client side, but none seem to make any change. What is the best way to do this? Thanks! (BTW: I will eventually upgrade the systems to Ubuntu 24.04, but that will take a while due to the number of systems, so I need to stick with this level for now.) |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
This is not a supported version:
Please share your nginx config.
In "Advanced options", there is an option for the "floating menu".
Such as?
Don't use Debian or Ubuntu, this disability is well documented. |
Beta Was this translation helpful? Give feedback.
-
Thanks for responding quickly. Answers are below.
Mark Knittel
+1-360-441-2126
(Mobile & WhatsApp)
From: Antoine Martin ***@***.***>
Sent: Monday, December 2, 2024 1:02 AM
To: Xpra-org/xpra ***@***.***>
Cc: markknit ***@***.***>; Author ***@***.***>
Subject: Re: [Xpra-org/xpra] XPRA menu - move or relocate, and display resizing (Discussion #4431)
I'm using XPRA 4.3.4
This is not a supported version:
https://github.com/Xpra-org/xpra/wiki/Versions
* I plan to upgrade Ubuntu, but I have over 100 servers installed now in remote areas of Kenya, so I’m only fixing key requests until upgrades are complete.
with Nginx to host desktop applications
Please share your nginx config.
* Nginx.conf and sites-available default are attached.
there is a small menu bar in the upper left corner
Here is the menu I’m referring to. It’s in the upper left corner of the screen. It can be dragged, but the users are very non-technical, so not likely.
***@***.***
In "Advanced options", there is an option for the "floating menu".
* I’m not seeing that in the man pages for the website. How do I find it? I tried –floating-menu=no in the proxy command and then in the session setup, but that didn’t work. Does it go in the config section?
I tried all of the menu related commands I could find
Such as?
I don't know what "menu related commands" would be. From the man pages:
…--tray=, --global-menus=, etc.
I am also having trouble getting the display screen to scale properly to fit the browser window
Don't use Debian or Ubuntu, this disability is well documented.
I have no choice about Ubuntu for the time being. So I should assume that there is no way to scale the display on Ubuntu? If I change the display manager would that help?
—
Reply to this email directly, view it on GitHub<#4431 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AEKK3NJQ7NWCIYAEBWZ4VYD2DQO2BAVCNFSM6AAAAABS2VWCE6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTCNBTGQZDSNI>.
You are receiving this because you authored the thread.Message ID: ***@***.******@***.***>>
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# https://www.nginx.com/resources/wiki/start/
# https://www.nginx.com/resources/wiki/start/topics/tutorials/config_pitfalls/
# https://wiki.debian.org/Nginx/DirectoryStructure
#
# In most cases, administrators will remove this file from sites-enabled/ and
# leave it as reference inside of sites-available where it will continue to be
# updated by the nginx packaging team.
#
# This file will automatically load configuration files provided by other
# applications, such as Drupal or Wordpress. These applications will be made
# available underneath a path with that package name, such as /drupal8.
#
# Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
##
# Default server configuration
#
server {
listen 80 default_server;
listen [::]:80 default_server;
# SSL configuration
#
# listen 443 ssl default_server;
# listen [::]:443 ssl default_server;
#
# Note: You should disable gzip for SSL traffic.
# See: https://bugs.debian.org/773332
#
# Read up on ssl_ciphers to ensure a secure configuration.
# See: https://bugs.debian.org/765782
#
# Self signed certs generated by the ssl-cert package
# Don't use them in a production server!
#
# include snippets/snakeoil.conf;
root /mnt/sda3/var/www;
# Add index.php to the list if you are using PHP
index index.php phptest.php index2.html index.htm index.nginx-debian.html;
autoindex on;
server_name ares.edu;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
# try_files $uri $uri/ =404;
try_files $uri $uri/ /index.php?q=$uri&$args;
}
# pass PHP scripts to FastCGI server
#
location ~ \.php$ {
include snippets/fastcgi-php.conf;
#
# # With php-fpm (or other unix sockets):
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
# # With php-cgi (or other tcp sockets):
# fastcgi_pass 127.0.0.1:9000;
}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
location /admin {
auth_basic "Restricted Access!";
auth_basic_user_file /etc/nginx/.htpasswd;
}
location /TeacherContent {
try_files $uri $uri/ =404;
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd;
}
## Trun on /cgi-bin/ support to run CGI apps ##
include /etc/nginx/fcgiwrap.conf;
}
# Virtual Host configuration for example.com
#
# You can move that to a different file under sites-available/ and symlink that
# to sites-enabled/ to enable it.
#
#server {
# listen 80;
# listen [::]:80;
#
# server_name example.com;
#
# root /var/www/example.com;
# index index.html;
#
# location / {
# try_files $uri $uri/ =404;
# }
#}
|
Beta Was this translation helpful? Give feedback.
-
Where?
There is no man page for the html5 client.
This is not about scaling, this is about server-side virtualization of displays. |
Beta Was this translation helpful? Give feedback.
-
I found the floating_menu option. That worked, and I addressed the display issue. Thanks! |
Beta Was this translation helpful? Give feedback.
This is not a supported version:
https://github.com/Xpra-org/xpra/wiki/Versions
Please share your nginx config.
In "Advanced options", there is an option for the "floating menu".
Such as?
I don't know what "menu related commands" would be.
Don't use Debian or Ubuntu, this disability is well documented.