vnc session
by Patrick Dupre
Hello,
Is there a way to recognize that I ma connected through a vnc (remmina)
connection?
Actually, the that the shell have a different behavior. Probably
by probing a variable environment, I cannot guess.
Or, maybe there is a special shell which is run when the
remmina connection is established.
Thank for your help.
===========================================================================
Patrick DUPRÉ | | email: pdupre(a)gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===========================================================================
8 years, 6 months
Re: missing repo, no repomd, no metalink.xml
by Birger Monsen
Since fedora releases about every 6 months and only supports two old releases you really need to upgrade either one version every 6 months or two releases in a yearly upgrade session.
If you need to run a distro that is quite like fedora but can be kept for a longer time look at CentOS (pure RHEL clone) or ScientificLinux (RHEL clone geared for the scientific community).
Right now F20 would be the oldest supported version. As soon as F23 ships F20 will be dropped as well. As you have noticed some mirrors keep older versions around for some time, but you can't count on it.
Shane <shaned173(a)gmail.com>:
>Hi,
>
> I'm using Fedora18 x86_64. (Yes, it's old.) Within the last few
>days I found that I cannot install or list anything from the fedora-18
>repo via yum. I get the typical errors everybody complains about "no
>repomd" and "metalink.xml does not exist". Common workarounds from
>google searches haven't worked.
>
> I opened the link spit out by yum
>"http://mirrors.fedoraproject.org/metalink?repo=fedora-18&arch=x86_64"
>in a browser. It downloaded a metalink file (no .xml suffix). The 3rd
>(or so) line of the file has the following dubious message.
>
># repo = fedora-18 arch = x86_64 error: invalid repo or arch
>
> Following this line is a HUGE listing of available repos and
>architectures. There is nothing shown for fedora-18 arch i386 or
>x86_64. In fact, even fedora-source-18 repo is missing. I don't think
>this is a yum problem on my system.
>
> Is there something else I can try (yum-wise)? If I need to report it
>then where? I'm quite certain that this is the wrong list.
>
> Thanks.
>
> Shane
>
>--
>users mailing list
>users(a)lists.fedoraproject.org
>To unsubscribe or change subscription options:
>https://admin.fedoraproject.org/mailman/listinfo/users
>Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
>Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
>Have a question? Ask away: http://ask.fedoraproject.org
8 years, 6 months
Fedora Server 21 - Screen not clearing on exit.
by Aero Maxx D
Hello,
I use the screen tool quite a lot for running processes that I need to
complete but aren't able to be connected to the box for the length of
time it takes for it to complete.
I've noticed the last few months, (cant remember how long exactly but
its been less than a year i'd say) that when I either create a screen or
resume an existing screen, when either of these are exitted the output
is still displayed within the window that I went to when I detacted from
the screen.
I cant recall anything that I may have done to stop the screen from
clearing when I detacted from them.
I was just wondering if anyone was able to shed any light on why it
might be doing this.
I'm using Fedora Server 21.
Thanks,
Daniel.
---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
8 years, 6 months
Peer to peer adhoc network setup using network manager. ARP, gateways and routes...
by linux guy
I need to connect a wifi device to my Linux computer. There is no router in
between the two. Just my computer and the device. The device has a fixed
IP, 192.168.0.10. It has its own Wifi interface built in It isn't capable
of connecting to a router. It has a fixed IP address.
My home wifi network uses 192.168.1.x. It has a router. It works fine. My
computer connects to it via its built in wifi interface.
I have added a USB wifi interface (dongle) to my computer to connect to the
device. My computer displays the device properly in a network manager scan.
So the device is available for connections.
Next I edit the connection for the device in network manager. The SSID is
filled in from the scan. I select Ad-hoc mode. Band, Channel, etc. are all
automatic.
Next I edit wifi security. The device is open security wise, so I select
None.
Next I edit the IPV4 tab. Under connection method I select Manual.
The next fields are DNS server and Search Domains. In a point to point
connection, there will be no DNS server. I leave the boxes blank.
Next up is adding the static IP address, netmask and gateway.
I set the address of my interface to be 192.168.0.123, because it was
recommended by another user who connected with an Apple device. I set
netmask to 255.255.255.0.
The next thing to set is the gateway address. Here is where I get
confused. What is a gateway in the context of a peer to peer connection ?
I try to leave it blank, but it won't let me. So I put in 0.0.0.0. I
also tried the address of the interface (192.168.0.123) and the address of
the device (192.168.0.10)
Then there is a route field. I add a route for the ip address
192.168.0.10, using a netmask of 255.255.255.0 and again it asks for a
gateway. I tried 0.0.0.0, the device address and the interface address.
I don't touch any of the IPV6 settings because the device doesn't support
IPV6 addresses.
I save everything and connect to the device successfully.
I run "arp -a" and the device is found connected to the interface. Yippee !
Pinging the device fails. Destination Host Unreachable.
When I ping the device and watch in wireshark I see an ARP broadcast
message "Who has 192.168.0.10 ? Tell 192.168.0.123". 192.168.0.123 is the
static IP for the interface. And that is as far as the process gets.
When I watch the other interface and do a ping to a local device, I see the
same ARP broadcast message, but also a reply message to it. 192.168.1.142
is at <device MAC> And then the process continues successfully.
So what am I missing in the setup of my adhoc connection such that the OS
knows that a message sent to my device (192.168.0.10) gets routed through
the USB wifi interface, ie the ARP broadcast message gets a reply ?
Thanks.
8 years, 6 months
dnf bloat
by Beartooth
After any new install, I go through yumex looking for things I
can remove. With big apps such as LibreOffice, there are always several
capabilities I know at sight I've never used and surely never will. (All
I ever really use is the word processor, and that seldom.) Yumex usually
lets me remove them, once I've checked its list of what all else it will
take away along with them.
But today's dnf update has added several of my removals back in
-- things like calc and draw, emailmerge and graphicfilter.
If I can, I would like to tell it not to do that. Or, if it has
some reason that some sub-app I do have will fail without the others it
wants to add, it should say so. I might prefer to remove the present sub-
app instead.
Is there a way for the likes of me to do that? Some setting in
dnf, perhaps? (I might know a line of code was one if it bit me, but I'd
be unlikely to guess its meaning.)
--
Beartooth Staffwright, Neo-Redneck Not Quite Clueless Power User
Remember I have precious (very precious!) little idea where up is.
8 years, 6 months
ovpn and NetworkManager
by Chris Murphy
Does anyone know why .ovpn import in Netork Manager on Fedora 22 (and 23)
are incomplete? None of the key or cert pop-up menus are populated. I have
to manually explode the ovpn file into multiple files to get NetworkManager
to use it. Seems like an overdue feature, or bug.
Chris Murphy
8 years, 6 months
Displaying all the available kernels at boot ?
by linux guy
My computer is not displaying all the available kernels when it boots.
Right now it displays Fedora, Advanced options for Fedora and tboot 1.81.
How do I get it to display a list of kernels ?
8 years, 6 months
F22/23 + nvidia = no boot...
by linux guy
I know that the nvidia driver is proprietary software.
Neither F22 nor F23 will boot on my laptop with kernels from the last week
or so and the latest nvidia driver. When I attempt these kernel/driver
combinations, it stops on the console screen which then begins flashing
about once per second. My laptop boots normally if I use the nouveau
driver.
Does anyone know the cause or a work around for this situation ?
Thanks
8 years, 6 months
DNF: Only one kernel-devel package allowed?
by Richard Shaw
I'm assuming this is DNF and not some other change...
Yum allowed multiple kernel-devel packages to be installed, dnf does not,
which prevents you from building kernel modules for other kernel releases.
Was there a good reason for this change in behavior?
Thanks,
Richard
8 years, 6 months
dracut fails to include support for md RAID
by Alex
HI,
I have a fedora22 system that's been working fine for some time, but
any new kernels fail to boot properly. The system is configured with
/boot and / on RAID1. The rdsosreport.txt that dracut produces shows
no indication of md RAID support in /proc/mdstat and no RAID devices
listed with blkid or in /dev.
I've tried rebuilding the initramfs images manually on the running
system and it still doesn't include RAID support.
What could be causing grub and/or dracut to not detect the RAID
devices or include support for them?
I've included my grub2.cfg and fstab, and fdisk output.
Disk /dev/sda: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 76D351F7-9CB4-4F70-A62F-2903227191B3
Device Start End Sectors Size Type
/dev/sda1 2048 1026047 1024000 500M Linux RAID
/dev/sda2 1026048 476162047 475136000 226.6G Linux RAID
/dev/sda3 476162048 484550655 8388608 4G Linux swap
/dev/sda4 484550656 484552703 2048 1M BIOS boot
Disk /dev/sdb: 232.9 GiB, 250059350016 bytes, 488397168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 1861B0D0-EA55-418B-B179-B6BB700EEAC7
Device Start End Sectors Size Type
/dev/sdb1 2048 1026047 1024000 500M Linux RAID
/dev/sdb2 1026048 476162047 475136000 226.6G Linux RAID
/dev/sdb3 476162048 484550655 8388608 4G Linux swap
/dev/sdb4 484550656 484552703 2048 1M BIOS boot
fstab:
UUID=64ce5a40-bd28-460f-965b-ec43fd1eb2f7 / ext4 defaults
1 1
UUID=96187b22-1ad9-4d44-a35a-89b746e270ee /boot ext4
defaults 1 2
/dev/sda3 swap swap
defaults 0 0
/dev/sdb3 swap swap
defaults 0 0
### BEGIN /etc/grub.d/00_header ###
insmod raid
insmod mdraid09
insmod mdraid1x
set pager=1
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod part_gpt
insmod diskfilter
insmod mdraid1x
insmod ext2
set root='mduuid/485085777ca70c519fcb92fd471164a4'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root
--hint='mduuid/485085777ca70c519fcb92fd471164a4'
64ce5a40-bd28-460f-965b-ec43fd1eb2f7
else
search --no-floppy --fs-uuid --set=root 64ce5a40-bd28-460f-965b-ec43fd1eb2f7
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Fedora 22 (Twenty Two)' --class fedora --class gnu-linux
--class gnu --class os --unrestricted $menuentry_id_option
'gnulinux-simple-64ce5a40-bd28-460f-965b-ec43fd1eb2f7' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod part_gpt
insmod diskfilter
insmod mdraid1x
insmod ext2
set root='mduuid/7d1bec3121f39ea4c90f78a6083e81e9'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root
--hint='mduuid/7d1bec3121f39ea4c90f78a6083e81e9'
96187b22-1ad9-4d44-a35a-89b746e270ee
else
search --no-floppy --fs-uuid --set=root
96187b22-1ad9-4d44-a35a-89b746e270ee
fi
linux16 /vmlinuz-4.1.8-200.fc22.x86_64
root=UUID=64ce5a40-bd28-460f-965b-ec43fd1eb2f7 ro
initrd16 /initramfs-4.1.8-200.fc22.x86_64.img
}
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
8 years, 6 months