Virtual terminals - no VISIBLE I/O

2020-08-25 Thread Jon LaBadie
On Fedora 32 Workstation.

My VTs are functional but there is not visible indication
of I/O.  By that I mean, I get no login or password prompt.
But I can blindly login.  I get no shell prompt.  But I
can blindly enter commands that run but they show no output
in the VT.

The VT system is controlled by systemD.  After a boot and upon
graphical login this is the status:

$ systemctl | grep getty

  system-getty.sliceloaded active activesystem-getty.slice  
 
  getty.target  loaded active activeLogin Prompts   
 

A "ps -ef | grep getty" gives no output 

After I try to access VT #3 () without logging in,
I get an additional line from the above command:

  getty@tty3.serviceloaded active running   Getty on tty3   
 

And the ps pipe gives this:

  root  4237  1  0 13:23 tty4  00:00:00 /sbin/agetty -o -p -- \u --noclear tty3 
linux

I didn't think the display manager would affect the VT system, but
just in case I tried gdm, sddm, lightdm.  No differences.

Any clue as to why there seems to be no video connection to the VTs?

Jon
-- 
Jon H. LaBadie  jo...@jgcomp.com
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Default application

2020-08-25 Thread Frank Elsner

Hi Experts,

I'm using Fedora 32 with MATE Desktop. When I click on a '.flac file in 
filemanager
audacity starts. How can I change this? I want the play command to start.


Thx in advance,
Frank Elsner
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Default application

2020-08-25 Thread ToddAndMargo via users

On 2020-08-25 11:52, Frank Elsner wrote:


Hi Experts,

I'm using Fedora 32 with MATE Desktop. When I click on a '.flac file in 
filemanager
audacity starts. How can I change this? I want the play command to start.


Thx in advance,
Frank Elsner


Hi Frank,

Your file manager should give you a right click
open as function with a remember this as default
option.

You can also manually edit the list at
~/.local/share/applications/mimeapps.list
and remove what you don't want.  They can be added
back later with whatever "Open As" function your
file manager has.

HTH,
-T
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Default application

2020-08-25 Thread Samuel Sieb

On 8/25/20 11:52 AM, Frank Elsner wrote:

I'm using Fedora 32 with MATE Desktop. When I click on a '.flac file in 
filemanager
audacity starts. How can I change this? I want the play command to start.


What is the "play" command?  Which application would you prefer to come 
up?  If you right-click the file, is there an "open with" option?

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Default application

2020-08-25 Thread Stephen Morris

On 26/8/20 4:52 am, Frank Elsner wrote:

Hi Experts,

I'm using Fedora 32 with MATE Desktop. When I click on a '.flac file in 
filemanager
audacity starts. How can I change this? I want the play command to start.
If you are using kde you can change the list of applications that can 
open various mimetypes by going to "System 
Settings->Personalization->Applications->File Associations". This has a 
list of a number of mimetype categories, each containing a list of 
mimetypes. Its just a matter of going through these lists to find the 
mimetype relevant to the file you are trying to display and then 
modifying the list of applications that can work with that mimetype. The 
application that is listed at the top of the list for the relevant 
mimetype is the default application to use, you can either add a new 
application to the list and/or change the order of the applications.


regards,
Steve




Thx in advance,
Frank Elsner
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


possibly OT: emacs update on Fedora does not like my default font

2020-08-25 Thread Ranjan Maitra
Hello,

After last night's update to emacs on F32, I can no longer use emacs with my 
default font.

When I fire it up, I get a second window open and the following:

Warning (initialization): An error occurred while loading ‘/home/user/.emacs’:

Symbol's function definition is void: set-default-font

To ensure normal operation, you should investigate and remove the
cause of the error in your initialization file.  Start Emacs with
the ‘--debug-init’ option to view a complete error backtrace.





My own .emacs has the following set at:

(set-default-font "10x20")


Any suggestions as to what I should look at/change?

Many thanks and best wishes,
Ranjan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: possibly OT: emacs update on Fedora does not like my default font

2020-08-25 Thread Jerry James
On Tue, Aug 25, 2020 at 4:14 PM Ranjan Maitra  wrote:
> My own .emacs has the following set at:
>
> (set-default-font "10x20")
>
>
> Any suggestions as to what I should look at/change?

The Emacs NEWS file says that set-default-font was one of many
obsolete functions that were removed in version Emacs 27.  The NEWS.20
file notes:

** set-default-font has been renamed to set-frame-font

I found this with "grep -Fr set-default-font /usr/share/emacs/27.1/etc".
-- 
Jerry James
http://www.jamezone.org/
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: possibly OT: emacs update on Fedora does not like my default font

2020-08-25 Thread Tom Horsley
On Tue, 25 Aug 2020 17:13:53 -0500
Ranjan Maitra wrote:

> Symbol's function definition is void: set-default-font

That says there is no such function as set-default-font
(which is strange because my emacs on fedora 32 certainly
has that function defined).
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: possibly OT: emacs update on Fedora does not like my default font

2020-08-25 Thread Tom Horsley
On Tue, 25 Aug 2020 16:28:15 -0600
Jerry James wrote:

> ** set-default-font has been renamed to set-frame-font

My emacs claims set-default-font is an alias defined
in frame.el (for set-frame-font).

And the way to make a font be the default in all
frames seems to be modifying the initial-frame-alist
and default-frame-alist variables.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: possibly OT: emacs update on Fedora does not like my default font [Solved]

2020-08-25 Thread Ranjan Maitra
On Tue, 25 Aug 2020 16:28:15 -0600 Jerry James  wrote:

> On Tue, Aug 25, 2020 at 4:14 PM Ranjan Maitra  wrote:
> > My own .emacs has the following set at:
> >
> > (set-default-font "10x20")
> >
> >
> > Any suggestions as to what I should look at/change?
>
> The Emacs NEWS file says that set-default-font was one of many
> obsolete functions that were removed in version Emacs 27.  The NEWS.20
> file notes:
>
> ** set-default-font has been renamed to set-frame-font
>
> I found this with "grep -Fr set-default-font /usr/share/emacs/27.1/etc".
> --
> Jerry James
> http://www.jamezone.org/

Jerry, thanks very much! Replacing set-default-font with set-frame-font has 
provided a solution.

Many thanks again, and best wishes,
Ranjan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


ssh reverse tunnel as a service?

2020-08-25 Thread Alex Regan
Hi, I have a fedora32 system behind a firewall without any access from 
the outside. I'd like to build a reverse ssh tunnel so I can get to it 
from my remote location while working remotely. I'm familiar with how 
remote ssh tunnels work, but can't quite get systemctl to create a 
proper service, presumably because ssh expects to be tied to a terminal.


I've built the following shell script. I believe "bash -s" can be used 
to spawn processes not connected to a terminal.


# cat /etc/init.d/ssh-tunnel.sh
#!/bin/bash -s
ssh -i /root/.ssh/orion-key -R 43022:localhost:22 r...@orion.example.com
I was using this script in a unit file, but got closer to what I want by 
placing the ssh command itself into the unit file as the ExecStart 
parameter.


# cat /etc/systemd/system/connection.service
[Unit]
Description=Reverse SSH to orion
After=network.target

[Service]
Type=forking
#EnvironmentFile=-/etc/sysconfig/sshd-permitrootlogin
#EnvironmentFile=-/etc/sysconfig/sshd
#ExecStart=/etc/init.d/ssh-tunnel.sh
ExecStart=ssh -tt -i /root/.ssh/orion-key -R 43022:localhost:22 
r...@orion.example.com

#ExecReload=/bin/kill -HUP $MAINPID
User=root
KillMode=process
Restart=on-failure
#RestartSec=42s

[Install]
WantedBy=multi-user.target
I also read that -tt can be passed to ssh to start it on a pseudo-terminal.

I then added the unit file as a service using "systemctl enable 
connection.service"


Can someone guide me on the unit parameters I should be using for this? 
Should Type=forking?

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


ssh reverse tunnel as a service?

2020-08-25 Thread Stephen J. Turnbull
Alex Regan writes:

 > I'm familiar with how remote ssh tunnels work, but can't quite get
 > systemctl to create a proper service, presumably because ssh
 > expects to be tied to a terminal.

I did this a long time ago, so visualize me waving my hands
frantically.  You presumably want the "-n" flag (detaches from stdin),
or possibly the "-f" flag (implies "-n" but allows prompting for a
passphrase, but that doesn't seem to be appropriate for a service).

The man page is pretty good, and has a discussion of using the tun(4)
network pseudo-device.

Regards,
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Default application

2020-08-25 Thread Frank Elsner
On Tue, 25 Aug 2020 14:51:10 -0700 Samuel Sieb wrote:
> On 8/25/20 11:52 AM, Frank Elsner wrote:
> > I'm using Fedora 32 with MATE Desktop. When I click on a '.flac file in 
> > filemanager
> > audacity starts. How can I change this? I want the play command to start.
> 
> What is the "play" command?  Which application would you prefer to come 
> up?  If you right-click the file, is there an "open with" option?

"play" is part of "SoX - Sound eXchange, the Swiss Army knife of audio 
manipulation"
and does what the name says.


--Frank
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org


Re: Default application

2020-08-25 Thread Samuel Sieb

On 8/25/20 10:23 PM, Frank Elsner wrote:

On Tue, 25 Aug 2020 14:51:10 -0700 Samuel Sieb wrote:

On 8/25/20 11:52 AM, Frank Elsner wrote:

I'm using Fedora 32 with MATE Desktop. When I click on a '.flac file in 
filemanager
audacity starts. How can I change this? I want the play command to start.


What is the "play" command?  Which application would you prefer to come
up?  If you right-click the file, is there an "open with" option?


"play" is part of "SoX - Sound eXchange, the Swiss Army knife of audio 
manipulation"
and does what the name says.


Since that's a console application, it is not going to be available to 
use by default.  You will need to make your own .desktop file for that.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org