starting remote firefox via SSH
by bruce
Hi.
This is a "continuation" of the issue of starting firefox for a diff
user on a box.
If one logs into (SSH) into a remote box, and wants to start firefox
on the remote machine, such that all firefox operations occur on the
remote machine..
Different sites suggest setting the DISPLAY var, as well as xauth,
etc.. none of which seem to work.
The local/remote are both centos/fed.
The goal:
To be able to SSH into a remote box, and run a py script that
initiates a py/selenium binding/process to use firefox.
-This requires that the remote box be able to start/run firefox
for the user that the SSH session was started as/under.
The SSH/Firefox issue:
-How to SSH into the box, and start firefox?
(Already set up the keys, to allow ssh into the box vai ssh 192.168.1.4)
Tried:
ssh 192.168.1.4
foo@box1# DISPLAY=0: firefox
---ERROR: cannot open display: 0:
foo@box1# export DISPLAY=0:
foo@box1# firefox
---No protocol specified
---ERROR: cannot open display: 0:
This has to be simple!
Any thoughts??
4 years, 4 months
nc missing option -z
by Suvayu Ali
Hi,
I used to use netcat to check if a particular host is up or if I have
internet connection before I run a few scripts. I would use the -z
option in particular. But now I see that has been removed:
$ nc -z imap.gmail.com 993 && sync-my-email.sh
ncat: invalid option -- 'z'
Here is the excerpt from the old manual page:
-z Specifies that nc should just scan for listening daemons, without
sending any data to them. It is an error to use this option in
conjunction with the -l option.
Any ideas what happened to it? What can I use as replacement?
Thanks for any ideas.
--
Suvayu
Open source is the future. It sets us free.
4 years, 4 months
install.img
by CLOSE Dave
I need a copy of the install.img file for Fedora 20. It doesn't seem to
be present in archives.fedoraproject.org or in the F20 netinstall ISO.
Can anyone point me to a copy?
--
Dave Close
4 years, 4 months
Apache and umask for document root
by Alex
Hi,
I've set up a virtual host for a joomla website and having some
permissions problems. I've seen numerous configurations online about
how to set umask for the apache user, but none have worked, including
creating a systemd file
(/etc/systemd/system/multi-user.target.wants/httpd.service) with the
following:
[Unit]
Description=The Apache HTTP Server
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=notify
Environment=LANG=C
Umask=0006
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
# Send SIGWINCH for graceful stop
KillSignal=SIGWINCH
KillMode=mixed
PrivateTmp=true
[Install]
WantedBy=multi-user.target
The problem is that the files are owned by the joomla user, but also
need to have access (both read and write) to be able to modify some
files within the document root.
Does anyone have any suggestions on how to set umask for the apache user?
I'm also interested in recommended permissions settings for the joomla
document root.
Thanks,
Alex
4 years, 4 months
compile XV?
by dirt bag
I know its not been updated in years, but this is still a must have for me. I just upgraded to fedora 24 (64bit)
and Im trying to compile it from source because the rpms Ive found are either broke or dont work right.
Im following these instructions..
wget ftp://ftp.cis.upenn.edu/pub/xv/xv-3.10a.tar.gz
wget http://prdownloads.sourceforge.net/png-mng/xv-3.10a-jumbo-patches-2005050...
wget http://www.ulich.org/hints/resources/xv-3.10a-jumbo20050501-1.diff.gz
tar xvzf xv-3.10a.tar.gz
tar xvzf xv-3.10a-jumbo-patches-20050501.tar.gz
gzip -d xv-3.10a-jumbo20050501-1.diff.gz
cd xv-3.10a
patch -p1 < ../xv-3.10a-jumbo-fix-patch-20050410.txt
patch -p1 < ../xv-3.10a-jumbo-enh-patch-20050501.txt
patch -p1 < ../xv-3.10a-jumbo20050501-1.diff
make
and Ive gotten as far as ...
[jason@badman xv-3.10a]$ make
gcc -O3 -Wall -DDOPNG -I/usr/include -I/usr/include -DDOJPEG -I/usr/include -DDOTIFF -DUSE_TILED_TIFF_BOTLEFT_FIX -I/usr/include -DDOPDS -DUSLEEP -DLINUX -L/usr/X11R6/lib -DMGCSFXDIR=\"/usr/X11R6//lib/\" -DSYSCONFDIR=\"/etc\" -DXVEXECPATH=\"/usr/X11R6//lib/\" -c xvpng.c
xvpng.c: In function ‘CreatePNGW’:
xvpng.c:97:56: error: ‘Z_NO_COMPRESSION’ undeclared (first use in this function)
DCreate(&cDial, pngW, 12, 25, DWIDE, DHIGH, (double)Z_NO_COMPRESSION,
^~~~~~~~~~~~~~~~
xvpng.c:97:56: note: each undeclared identifier is reported only once for each function it appears in
xvpng.c:98:19: error: ‘Z_BEST_COMPRESSION’ undeclared (first use in this function)
(double)Z_BEST_COMPRESSION, COMPRESSION, 1.0, 3.0,
^~~~~~~~~~~~~~~~~~
In file included from /usr/include/pngconf.h:50:0,
from /usr/include/png.h:371,
from xvpng.c:31:
xvpng.c: In function ‘WritePNG’:
xvpng.c:427:21: error: dereferencing pointer to incomplete type ‘png_struct {aka struct png_struct_def}’
if (setjmp(png_ptr->jmpbuf)) {
^
xvpng.c:453:11: error: dereferencing pointer to incomplete type ‘png_info {aka struct png_info_def}’
info_ptr->width = w;
^~
xvpng.c: In function ‘png_xv_error’:
xvpng.c:1054:18: error: dereferencing pointer to incomplete type ‘png_struct {aka struct png_struct_def}’
longjmp(png_ptr->jmpbuf, 1);
^~
xvpng.c: In function ‘VersionInfoPNG’:
xvpng.c:1078:5: error: ‘ZLIB_VERSION’ undeclared (first use in this function)
ZLIB_VERSION, zlib_version);
^~~~~~~~~~~~
xvpng.c:1078:19: error: ‘zlib_version’ undeclared (first use in this function)
ZLIB_VERSION, zlib_version);
^~~~~~~~~~~~
Makefile:319: recipe for target 'xvpng.o' failed
make: *** [xvpng.o] Error 1
[jason@badman xv-3.10a]$
I have all the zlibs I can find installed..
[jason@badman xv-3.10a]$ rpm -qa | grep zlib
zlib-1.2.8-10.fc24.i686
zlib-devel-1.2.8-10.fc24.x86_64
zlib-1.2.8-10.fc24.x86_64
any ideas?
-db
4 years, 4 months
F24 Mate: VDQ minimize
by Beartooth
I'm running F24 with Mate (with four panels, if that matters),
and I can't seem to find windows I've minimized. Where are they? How do I
get them back??
--
Beartooth Staffwright, Not Quite Clueless Power User
Remember I know little (precious little!) of where up is.
4 years, 4 months
Audio book download -
by Bob Goodwin
.
Can anyone tell me how to download files from Amazon's audible.com with
fedora 24 that I can copy to a flash drive? They refer to several
applications they provide, none or which appear to be Linux apps ...
Normally I just get MP3 files, etc. and can deal with them.
Bob
--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box10 FEDORA-25b/64bit LINUX XFCE Fastmail POP3
4 years, 4 months
USB flash -
by Bob Goodwin
"Your message to the test mailing-list was rejected for the following
reasons:
The message is not from a list member"
Perhaps someone can offer a suggestion here?
=
I am trying to use an USB flash drive but it does not mount/show up on
desktop. It is listed under lsusb though.
Normally this just works but not in this Fedora-25 beta.
What am I missing or doing wrong?
Bob
--
Bob Goodwin - Zuni, Virginia, USA
http://www.qrz.com/db/W2BOD
box10 FEDORA-25b/64bit LINUX XFCE Fastmail POP3
4 years, 4 months
gnome-abrt claims the kernel is tainted
by George R Goffe
Hi,
"my" fc23 x86_64 system gets the following messages below which trigger gnome-abrt execution. The results of this report that the kernel is tainted but there are no modules listed. I had assumed that the tainted flag was due to the vbox kernel modules being loaded so I used rmmod to remove them. subsequently I got another message (see below) but gnome-abrt still claims that the kernel is tainted.
Am I doing something wrong or is this a bug?
Thanks,
George...
4 years, 4 months