Re: how to get the xorg driver working

2018-03-23 Thread Nick Couchman
On Fri, Mar 23, 2018 at 3:45 PM, Tom Astle  wrote:

> This is great, if I want to run the desktop as root all the time.
>
>
>
> For example: startx /usr/bin/icewm-session -- :1 -config
> /etc/X11/xorg.conf   works great
>
>
>
> Is this intended for only one user at a time?
>
>
>
Just like a normal X server you should be able to run a desktop login
manager (GDM, KDM, LXDM, etc.) on this X server, allowing Guacamole to
connect and then the user to log in, if you so choose.  Pretty much
whatever you want to do with a X.org server.

-Nick


Re: how to get the xorg driver working

2018-03-23 Thread Mike Jumper
On Fri, Mar 23, 2018 at 12:45 PM, Tom Astle  wrote:

> This is great, if I want to run the desktop as root all the time.
>
>
No, you do not need to run the desktop as root.


>
> For example: startx /usr/bin/icewm-session -- :1 -config
> /etc/X11/xorg.conf   works great
>
>
>
> Is this intended for only one user at a time?
>
>
No, but you will need to start separate X.Org instances on a per user
basis, similar to the way you would need to start multiple instances of a
VNC server.

- Mike


RE: how to get the xorg driver working

2018-03-23 Thread Tom Astle
This is great, if I want to run the desktop as root all the time. 

For example: startx /usr/bin/icewm-session -- :1 -config /etc/X11/xorg.conf   
works great

Is this intended for only one user at a time?


From: McRoy, Jeffrey (GE Healthcare)
Sent: Monday, March 12, 2018 17:13
To: user@guacamole.apache.org
Subject: Re: how to get the xorg driver working

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 <t...@pcc.com>
Reply-To: "user@guacamole.apache.org" <user@guacamole.apache.org>
Date: Monday, March 12, 2018 at 3:45 PM
To: " user@guacamole.apache.org" <user@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
 



Re: how to get the xorg driver working

2018-03-12 Thread McRoy, Jeffrey (GE Healthcare)
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 <t...@pcc.com>
Reply-To: "user@guacamole.apache.org" <user@guacamole.apache.org>
Date: Monday, March 12, 2018 at 3:45 PM
To: " user@guacamole.apache.org" <user@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

 



smime.p7s
Description: S/MIME cryptographic signature


how to get the xorg driver working

2018-03-12 Thread Tom Astle
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