You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Tom Astle <to...@pcc.com> on 2018/03/12 20:45:17 UTC
how to get the xorg driver working
I recompiled Mike Jumper’s xorg branch and installed it on my CentOS 7 server
I placed the xorg.conf file where it typically would land, but I’m not sure how one starts the Xserver so that it uses the guac xorg.conf?
Any ideas would be most appreciated.
Thomas Astle
System Administrator
Red Hat Certified System Administrator
Phone: (800)722-1082
Re: how to get the xorg driver working
Posted by "McRoy, Jeffrey (GE Healthcare)" <Je...@ge.com>.
Hi Thomas,
Below are some notes that might help you.
Regards,
Jeff
When the xorg branch of Guac is built the resulting libraries typically go to /usr/lib64/xorg/modules/, but this could vary by OS/xorg installation.
- (as the root user) chmod 755 /usr/lib64/xorg/modules/drivers/guac_drv*
- (as the root user) ldconfig
The xorg.conf file typically goes in /etc/X11/xorg.conf.d/, but this could vary by OS/xorg installation.
- Set the access permissions for the config file: chmod 644 xorg.conf
To allow external connections:
- Edit /usr/bin/startx script to listenarg="-listen tcp" instead of listenarg="-nolisten tcp"
The X server also uses a host-based access control list for deciding whether or
not to accept connections from clients on a particular machine. If no other
authorization mechanism is being used, this list initially consists of the host
on which the server is running as well as any machines listed in the file
/etc/Xn.hosts, where n is the display number of the server. Each line of the
file should contain either an IP Address, Internet hostname (e.g. expo.lcs.mit.edu) or a
DECnet hostname in double colon format (e.g. hydra::) or a complete name in the
format family:name as described in the xhost(1) manual page. There should be no
leading or trailing spaces on any lines. For example:
192.168.1.1
joesworkstation
corporate.company.com
star::
inet:bigcpu
local:
Determine if xauth is being used.
Procedure:
# xauth
xauth> list
If the above command sequence does not show any host other than the localhost, than xauth is not being used.
Search the system for an X*.hosts file, where "*" is a display number used to limit X window connections.
If no files are found, X*.hosts files are not being used. If the X*.hosts files contain any unauthorized hosts, this is a finding.
If both xauth and X*.hosts files are not being used, this is a finding.
To turn off xauth
- Edit /usr/bin/startx script to enable_xauth=0 instead of enable_xauth=1
To start the X Server without an X application using display 1:
startx -- :1 -ac -config /etc/X11/xorg.conf.d/xorg.conf &
(-ac shuts off access control for this instance)
To start the X Server with an X application usong display 1:
startx /path/to/application -- :1 -ac -config /etc/X11/xorg.conf.d/xorg.conf.guac
To start the X Server with LXDE lightweight desktop using display 0 (if installed):
startx /usr/bin/startlxde -display :0 -- :0 -ac -config /etc/X11/xorg.conf.d/xorg.conf &
startx must be run from the console, not from within an X session.
startx needs an absolute path to the program.
Everything before '--' is executed as a command after the server is running. Everything after '--' gets passed to the server.
':1' is the display name. It must be unique (default is ':0').
startx (or more accurately, the X server), searches /etc/X11/ for the file you specify with the -config option. For more details, run man Xorg.
How to debug X problems (Fedora)
https://fedoraproject.org/wiki/How_to_debug_Xorg_problems
From: Tom Astle <to...@pcc.com>
Reply-To: "user@guacamole.apache.org" <us...@guacamole.apache.org>
Date: Monday, March 12, 2018 at 3:45 PM
To: " user@guacamole.apache.org" <us...@guacamole.apache.org>
Subject: EXT: how to get the xorg driver working
I recompiled Mike Jumper’s xorg branch and installed it on my CentOS 7 server
I placed the xorg.conf file where it typically would land, but I’m not sure how one starts the Xserver so that it uses the guac xorg.conf?
Any ideas would be most appreciated.
Thomas Astle
System Administrator
Red Hat Certified System Administrator
Phone: (800)722-1082