Re: how to (re-?)construct grub menu?

2017-07-07 Thread Samuel Sieb

On 07/07/2017 07:07 PM, William wrote:
Should I stick with the nVidia proprietary driver or switch back to the 
Nouveau driver, or does it not really matter?  The only hardware that 
has changed on my workstation is the hard drive.


I would recommend trying out the nouveau driver.  If it works for you, 
then you will have a lot less trouble than dealing with the proprietary 
driver.  Although if you do switch back now, you will have to figure out 
how to clean up the mess left by it.


As best as I can determine, the file in which those GRUB_ lines appear 
is merely a text file read by "grub2-mkconfig" and/or "grub2-install" to 
make scripts used early in the boot process.  Thus my suspicion that 
order does not matter, except for the two lines that Sam suggested to me 
in an earlier message in this thread.


I think those are only used by grub2-mkconfig to create the grub.cfg file.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Multi-user VNC on F23 and later

2017-07-07 Thread Ed Greshko
On 07/08/17 09:40, CLOSE Dave wrote:
> Here's my files.

Just to clarify a bit more...
>
> # cd /etc/systemd/system
> # cat xvnc@.service
> [Unit]
> Description=XVNC per Connection Daemon
> After=syslog.target
>
> [Service]
> Type=simple
> ExecStart=-/usr/bin/Xvnc -inetd -query localhost -geometry 1024x768
> -depth 24 -once -SecurityTypes=None -fp /usr/share/X11/fonts/misc
> StandardInput=socket
> StandardError=syslog

The next 2 lines must not appear in that file...
>
> [Install]
> WantedBy=multi-user.target


-- 
Fedora Users List - The place to go to speculate endlessly



signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Multi-user VNC on F23 and later

2017-07-07 Thread Ed Greshko
On 07/08/17 10:22, Ed Greshko wrote:
> That is 5901 v.s. 5901

Of course I wanted to type 5901 v.s. 5900

-- 
Fedora Users List - The place to go to speculate endlessly



signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Multi-user VNC on F23 and later

2017-07-07 Thread Ed Greshko
On 07/08/17 09:40, CLOSE Dave wrote:
> Almost. But the service isn't starting.
>
> # systemctl status -l xvnc@:.service
>   xvnc@:.service - XVNC per Connection Daemon
>Loaded: loaded (/etc/systemd/system/xvnc@.service; enabled; vendor
> preset: disabled)
>Active: failed (Result: resources)
>
> Jul 07 18:27:08 server systemd[1]: xvnc@:.service: Got more than one socket.
> Jul 07 18:27:08 server systemd[1]: xvnc@:.service: Failed to run 'start'
> task: Invalid argument
> Jul 07 18:27:08 server systemd[1]: Failed to start XVNC per Connection
> Daemon.
> Jul 07 18:27:08 server systemd[1]: xvnc@:.service: Unit entered failed
> state.
> Jul 07 18:27:08 server systemd[1]: xvnc@:.service: Failed with result
> 'resources'.
> Jul 07 18:27:08 server systemd[1]: Starting XVNC per Connection Daemon...

You actually don't want xvnc@.service to be enabled or started.  The connection 
to
the socket triggers starting of Xvnc

On my system with no VNC clients connected.

[root@f25f system]# ps -eaf | grep vnc
root  3523  1251  0 10:04 pts/000:00:00 grep --color=auto vnc

[root@f25f system]# systemctl status xvnc@.service
Failed to get properties: Unit name xvnc@.service is missing the instance name.

[root@f25f system]# systemctl status xvnc.socket
● xvnc.socket - XVNC Server
   Loaded: loaded (/etc/systemd/system/xvnc.socket; enabled; vendor preset: 
disabl
   Active: active (listening) since Sat 2017-07-08 10:04:27 CST; 48s ago
   Listen: [::]:5900 (Stream)
 Accepted: 3; Connected: 0

Jul 08 10:04:27 f25f.greshko.com systemd[1]: Listening on XVNC Server.

Once a client connects

[root@f25f system]# ps -eaf | grep vnc
root  3529 1  1 10:06 ?00:00:00 /usr/bin/Xvnc -inetd -query 
localhost
-geometry 1024x768 -depth 24 -once -SecurityTypes=None
>
> # systemctl status -l xvnc.socket
> ● xvnc.socket - XVNC Server
>Loaded: loaded (/etc/systemd/system/xvnc.socket; enabled; vendor
> preset: disabled)
>Active: failed (Result: resources)
>Listen: 10.76.185.91:5901 (Stream)
>  Accepted: 0; Connected: 0
>
> Jul 07 18:27:06 server systemd[1]: xvnc.socket: Failed to listen on
> sockets: Cannot assign requested address
> Jul 07 18:27:06 server systemd[1]: Failed to listen on XVNC Server.
> Jul 07 18:27:06 server systemd[1]: xvnc.socket: Unit entered failed state.
> Jul 07 18:27:06 server systemd[1]: Starting XVNC Server.
I find it odd that you get this "Listen: 10.76.185.91:5901"  when your file 
below for
xvnc.socket has "ListenStream=10.76.185.91:5900".That is 5901 v.s. 5901. I 
think
you may have done something like what the vncserver@.service file tells you to 
do? 
That is enable xvnc@:1.service?

Here are my files...

[root@f25f system]# pwd
/etc/systemd/system

[root@f25f system]# cat xvnc@.service | grep -v ^#

[Unit]
Description=XVNC Per-Connection Daemon

[Service]
ExecStart=-/usr/bin/Xvnc -inetd -query localhost -geometry 1024x768 -depth 24 
-once
-SecurityTypes=None
StandardInput=socket
StandardError=syslog

[root@f25f system]# cat xvnc.socket | grep -v ^#

[Unit]
Description=XVNC Server

[Socket]
ListenStream=5900
Accept=yes

[Install]
WantedBy=sockets.target


And, with no client connected

root@f25f system]# netstat -nap | grep 5900
tcp6   0  0 :::5900 :::*LISTEN  
1/systemd

And connected

[root@f25f system]# netstat -nap | grep 5900
tcp6   0  0 :::5900 :::*LISTEN 
1/systemd  
tcp6   0  0 192.168.1.198:5900  192.168.1.18:56272  ESTABLISHED 
1/systemd



-- 
Fedora Users List - The place to go to speculate endlessly



signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: how to (re-?)construct grub menu?

2017-07-07 Thread William

On Friday, July 07, Rick Stevens wrote:

> Ye gods! That was a LONG time ago.

It took me a few hours of groping around to find that thread!

> Nouveau has gotten better. It just didn't work well on some
> chipsets way back when dinosaurs walked the earth.

Should I stick with the nVidia proprietary driver or switch back to the 
Nouveau driver, or does it not really matter?  The only hardware that 
has changed on my workstation is the hard drive.


As best as I can determine, the file in which those GRUB_ lines appear 
is merely a text file read by "grub2-mkconfig" and/or "grub2-install" to 
make scripts used early in the boot process.  Thus my suspicion that 
order does not matter, except for the two lines that Sam suggested to me 
in an earlier message in this thread.


thanks,
Bill.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Fedora on a NUC?

2017-07-07 Thread Tom Horsley
On Fri, 7 Jul 2017 21:19:14 -0400
Temlakos wrote:

> That pkg-config package doesn't appear to exist.

zooty> which pkg-config
/usr/bin/pkg-config
zooty> rpm -q -f /usr/bin/pkg-config
pkgconfig-0.29-2.fc24.x86_64

Looks like you leave out the dash to get the rpm name :-).
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Multi-user VNC on F23 and later

2017-07-07 Thread CLOSE Dave
Ed Greshko wrote:

> OK.   Sorry to have misunderstood precisely what you want to do. I
> now have it working as I suspect you need it.

Great. Thanks.

> 1.  Yes, you need KDM.  So, if you've not installed it do so.
> 
> 2.  Edit /etc/kde/kdm/kdmrc the [Xdmcp] section Enable=true.
> 
> 3.  Go to /lib/systemd/system and copy xvnc@.service and xvnc.socket
> to /etc/systemd/system

Done previously.

> 4.  Edit /etc/systemd/system/xvnc@.service and delete the User=nobody
> line.

Done now. Wasn't done before.

> 5.  Now this part is "temporary" until I determine the "proper" way
> to fix it.  Edit /etc/sysconfig/selinux and change it to be
> permissive.  If you don't do that then Xvnc won't be able to bind to
> port 5900.

Running selinux disabled.

> 6.  Enable port 5900 on your firewall.
> 
> 7.  If you've not already done it "systemctl --force enable kdm"

Done previously.

> 8.  Reboot.
> 
> Your console should now be showing KDM as your login screen.
> 
> And you now should be able to connect with something like remmina
> using VNC protocol and get presented with a KDM login screen.
> 
> If you run into trouble, let me know.

Almost. But the service isn't starting.

# systemctl status -l xvnc@:.service
  xvnc@:.service - XVNC per Connection Daemon
   Loaded: loaded (/etc/systemd/system/xvnc@.service; enabled; vendor
preset: disabled)
   Active: failed (Result: resources)

Jul 07 18:27:08 server systemd[1]: xvnc@:.service: Got more than one socket.
Jul 07 18:27:08 server systemd[1]: xvnc@:.service: Failed to run 'start'
task: Invalid argument
Jul 07 18:27:08 server systemd[1]: Failed to start XVNC per Connection
Daemon.
Jul 07 18:27:08 server systemd[1]: xvnc@:.service: Unit entered failed
state.
Jul 07 18:27:08 server systemd[1]: xvnc@:.service: Failed with result
'resources'.
Jul 07 18:27:08 server systemd[1]: Starting XVNC per Connection Daemon...

# systemctl status -l xvnc.socket
● xvnc.socket - XVNC Server
   Loaded: loaded (/etc/systemd/system/xvnc.socket; enabled; vendor
preset: disabled)
   Active: failed (Result: resources)
   Listen: 10.76.185.91:5901 (Stream)
 Accepted: 0; Connected: 0

Jul 07 18:27:06 server systemd[1]: xvnc.socket: Failed to listen on
sockets: Cannot assign requested address
Jul 07 18:27:06 server systemd[1]: Failed to listen on XVNC Server.
Jul 07 18:27:06 server systemd[1]: xvnc.socket: Unit entered failed state.
Jul 07 18:27:06 server systemd[1]: Starting XVNC Server.

Here's my files.

# cd /etc/systemd/system
# cat xvnc@.service
[Unit]
Description=XVNC per Connection Daemon
After=syslog.target

[Service]
Type=simple
ExecStart=-/usr/bin/Xvnc -inetd -query localhost -geometry 1024x768
-depth 24 -once -SecurityTypes=None -fp /usr/share/X11/fonts/misc
StandardInput=socket
StandardError=syslog

[Install]
WantedBy=multi-user.target
# cat xvnc.*
[Unit]
Description=XVNC Server

[Socket]
ListenStream=10.76.185.91:5900
Accept=yes

[Install]
WantedBy=sockets.target
-- 
 Dave Close

 "Age is a very high price to pay for maturity." -- Tom Stoppard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Fedora on a NUC?

2017-07-07 Thread Ed Greshko
On 07/08/17 09:19, Temlakos wrote:
> That pkg-config package doesn't appear to exist. I had to cut that out of the
> command before it would execute. When I did that, I did manage to install 
> several
> more dependencies. Now unless I hear anything from anybody on what pkg-config 
> is
> renamed to these days, I consider I'm ready to download those tarballs and 
> start
> building. 

/usr/bin/pkg-config is supplied by the pkgconfig package.

[root@f25f ~]# dnf info pkgconfig
Last metadata expiration check: 1:15:32 ago on Sat Jul  8 08:12:17 2017.
Installed Packages
Name: pkgconfig
Arch: x86_64
Epoch   : 1
Version : 0.29.1
Release : 1.fc25
Size: 115 k
Repo: @System
From repo   : fedora
Summary : A tool for determining compilation options
URL : http://pkgconfig.freedesktop.org
License : GPLv2+
Description : The pkgconfig tool determines compilation options. For each 
required
: library, it reads the configuration file and outputs the necessary
: compiler and linker flags.

-- 
Fedora Users List - The place to go to speculate endlessly



signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Fedora on a NUC?

2017-07-07 Thread Temlakos

On 07/06/2017 07:00 PM, Rick Stevens wrote:

On 07/06/2017 11:35 AM, Temlakos wrote:

On 06/22/2017 05:54 PM, Fred Smith wrote:

On Thu, Jun 22, 2017 at 05:13:08PM -0400, Fred Smith wrote:

On Thu, Jun 22, 2017 at 03:38:51PM -0400, Tom Horsley wrote:

On Thu, 22 Jun 2017 15:29:13 -0400
Temlakos wrote:


All right! Where do I get that tool?

I don't think I remember the name at the moment.
I'm pretty sure it came up first thing when I
googled "rip blu-ray on linux".

if you're inquiring about "makemkv", as I mentioned earlier, here is
a site that tells you how to install it on Fedora Linux. Note that
I have not followed the directions on this site, so I can't vouch
for them. (right now I can't find the bookmark I had made to the place
where I got the instructions I did use.)

https://linuxconfig.org/how-to-install-makemkv-on-fedora-linux

One thing they don't tell you about is needing a registration key
to actually make it work.

The bookmark I seem to have lost showed where to go to get a key
for current beta versions. Dang, I'm gonna need that soon.

OK, I found the needed info. You can build the latest makemkv beta
by following the instructions here:

http://www.makemkv.com/forum2/viewtopic.php?f=3=224

I'm compiling on Centos 7 and there are a couple of compilation errors
that need to be fixed. Solutions were easy to find by googling for the
full error string. Shout if you need help with them.

follow instructions at that page for compiling and installing.

go to this page to get a temporary registration key:

http://www.makemkv.com/forum2/viewtopic.php?f=5=1053

and if you like it, you can go buy a license which will get you a
permanent key.

enjoy!


Your instructions at the makemkv.com forum left out one key step.

How am I supposed to install the required dependencies using a method
more appropriate to Debian or Ubuntu, when I'm using Fedora?

You use dnf. The package names will be different (Fedora's development
packages use "-devel" instead of "-dev" and they're packaged differently.


I don't do apt-get. I need an rpm command. Where is it? How can I be
sure that I have installed the dependencies that other method requires?

You install what you think you need via dnf, then you try to build it.
If the configure or build steps puke, you look at the messages and
figure out what packages you need to install to clean that up. Based
on what Ubuntu seems to need, my guess is you'd need to:

sudo dnf install gcc pkg-config gcc-c++-c6x-linux-gnu gcc-c6x-linux-gnu
openssl-devel expat-devel libavc1394-devel mesa-libGL-devel qwt5-qt4-devel

That's JUST a guess. There's no clear relationship on the libavcodec and
libgl1-mesa packages and Fedora uses qt5.


Also: must I recompile with every new release of Fedora? Fedora 26 is
coming out any day now. Must I wait?

That's up to you. I doubt this will be part of the Fedora universe due
to the licensing issues, you'll need to build it yourself or convince
someone at Fedora or rpmfusion to maintain a package for it.
That pkg-config package doesn't appear to exist. I had to cut that out 
of the command before it would execute. When I did that, I did manage to 
install several more dependencies. Now unless I hear anything from 
anybody on what pkg-config is renamed to these days, I consider I'm 
ready to download those tarballs and start building.


Temlakos
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Multi-user VNC on F23 and later

2017-07-07 Thread Ed Greshko
On 07/08/17 08:32, Ed Greshko wrote:
> 7.  If you've not already done it "systemctl --force enable kdm"
>
> 8.  Reboot.
>
> Your console should now be showing KDM as your login screen.
>
> And you now should be able to connect with something like remmina using VNC 
> protocol
> and get presented with a KDM login screen.
>
> If you run into trouble, let me know.


Ooooppp  forgot one 

7a.   systemctl enable xvnc.socket

I missed that since I was paraphrasing the instructions in xvnc@.service to add 
the
step of deleting the User line and forgot you may not have read that part.


-- 
Fedora Users List - The place to go to speculate endlessly



signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Multi-user VNC on F23 and later

2017-07-07 Thread Ed Greshko
On 07/08/17 01:50, CLOSE Dave wrote:
> Unfortunately, no, that doesn't help. I already have a one-user setup 
> working and I understand how to extend it to additional users -- so long 
> as the list of users is finite and known to me in advance. But the 
> extension technique involves using unique ports for each user. It is not 
> a properly scalable solution.
>
> With the single-user approach, vncviewer directly asks the user for his 
> password before initiating the connection. That's why it needs a unique 
> port for each user. Using XDMCP with a display manager that supports it 
> works differently. vncviewer doesn't ask for a password and initiates 
> the connection immediately. The user is presented with the same 
> graphical login screen a local user would see. Thus the number of users 
> is not limited by anything I do setting up the configuration.

OK.   Sorry to have misunderstood precisely what you want to do.
I now have it working as I suspect you need it.

1.  Yes, you need KDM.  So, if you've not installed it do so.

2.  Edit /etc/kde/kdm/kdmrc the [Xdmcp] section Enable=true.

3.  Go to /lib/systemd/system and copy xvnc@.service and xvnc.socket to
/etc/systemd/system

4.  Edit /etc/systemd/system/xvnc@.service and delete the User=nobody line.

5.  Now this part is "temporary" until I determine the "proper" way to fix it.  
Edit
/etc/sysconfig/selinux and change it to be permissive.  If you don't do that 
then
Xvnc won't be able to bind to port 5900.

6.  Enable port 5900 on your firewall.

7.  If you've not already done it "systemctl --force enable kdm"

8.  Reboot.

Your console should now be showing KDM as your login screen.

And you now should be able to connect with something like remmina using VNC 
protocol
and get presented with a KDM login screen.

If you run into trouble, let me know.


-- 
Fedora Users List - The place to go to speculate endlessly



signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: how to (re-?)construct grub menu?

2017-07-07 Thread Rick Stevens
On 07/07/2017 02:55 PM, William wrote:
> On Thursday, July 06, Samuel Sieb wrote:
> 
>> Just remove it.  Are you using the proprietary NVidia driver? Is that
> why you have all the blacklisting?
> 
> Neither removing it nor changing "off" to "on made any difference that I
> saw.
> 
> Back in September, 2013, I opened a thread "problem: system freezes" in
> this list.  What solved the problem was Rick Stevens' suggestion to
> replace the "nouveau" graphics card driver for my nVidia graphics card
> with the "nVidia binary driver".  Using the commands that Rick gave me
> back then, I check what's being used now:
> 
> bash.2[~]: lsmod | grep -i nouveau
> bash.3[~]: lsmod | grep -i nvidia
> nvidia_drm 49152  1
> nvidia_modeset790528  4 nvidia_drm
> nvidia  12308480  68 nvidia_modeset
> drm_kms_helper151552  1 nvidia_drm
> drm   348160  4 nvidia_drm,drm_kms_helper
> bash.4[~]:
> 
> So yes, I'm using the proprietary nVidia driver.

Ye gods! That was a LONG time ago. Nouveau has gotten better. It just
didn't work well on some chipsets way back when dinosaurs walked the
earth.

> The blacklisting is not my doing.  I don't know why it's there, or if it
> should be there.  But it does seem consistent with my system using the
> nvidia proprietary driver.

 I think that's why the blacklisting is
there--to make sure you didn't use nouveau. That may be a moot point
now.

That's why it's handy to have a bootable USB drive around...to test
stuff like this out. Install to the USB drive using defaults (like
nouveau) and boot it. Does nouveau handle the hardware properly now?

> Does it matter that
> 
> GRUB_DISABLE_SUBMENU=true
> GRUB_GFXMODE=1920x1080,1600x900,1280x720,1024x576,auto
> GRUB_GFXPAYLOAD_LINUX=keep
> 
> come after the GRUB_CMDLINE_LINUX line in the /etc/default/grub file? 
> I'm guessing it does not matter, but I'd like that confirmed by someone
> a lot more knowledgeable about these things than am I. I'm highly
> uncomfortable playing with something as critical as grub.

They're just shell variables that get exported by grub. They _must_ be
defined before they're referenced via any "$(GRUB_x)" directives.
Like any shell script, if you reference a non-existent variable, you'll
get an error.

It's unlikely your GRUB_CMDLINE_LINUX definition references those so
any order should be OK. Just double check that they're defined before
they're used. If they're not referenced elsewhere in the file, you're
probably fine in any order.
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
- Adjectives in English absolutely must come in the following order: -
- opinion-size-age-shape-color-origin-material-purpose Noun. So you  -
-   can have a "lovely, little old rectangular green French silver   -
- whittling knife". But if you mess with that order in the   -
-   slightest, you'll sound like a maniac. It is an odd thing that   -
-  almost every English speaker uses that order, but almost none of  -
-   us could write it out. And, as size comes before color, "green   -
-great dragons" can't exist. However, we all know that "great-
-  green dragons" do.-
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: how to (re-?)construct grub menu?

2017-07-07 Thread William

On Thursday, July 06, Samuel Sieb wrote:

> Just remove it.  Are you using the proprietary NVidia driver? Is that 
why you have all the blacklisting?


Neither removing it nor changing "off" to "on made any difference that I 
saw.


Back in September, 2013, I opened a thread "problem: system freezes" in 
this list.  What solved the problem was Rick Stevens' suggestion to 
replace the "nouveau" graphics card driver for my nVidia graphics card 
with the "nVidia binary driver".  Using the commands that Rick gave me 
back then, I check what's being used now:


bash.2[~]: lsmod | grep -i nouveau
bash.3[~]: lsmod | grep -i nvidia
nvidia_drm 49152  1
nvidia_modeset790528  4 nvidia_drm
nvidia  12308480  68 nvidia_modeset
drm_kms_helper151552  1 nvidia_drm
drm   348160  4 nvidia_drm,drm_kms_helper
bash.4[~]:

So yes, I'm using the proprietary nVidia driver.

The blacklisting is not my doing.  I don't know why it's there, or if it 
should be there.  But it does seem consistent with my system using the 
nvidia proprietary driver.


Does it matter that

GRUB_DISABLE_SUBMENU=true
GRUB_GFXMODE=1920x1080,1600x900,1280x720,1024x576,auto
GRUB_GFXPAYLOAD_LINUX=keep

come after the GRUB_CMDLINE_LINUX line in the /etc/default/grub file?  
I'm guessing it does not matter, but I'd like that confirmed by someone 
a lot more knowledgeable about these things than am I. I'm highly 
uncomfortable playing with something as critical as grub.


thanks,
Bill.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Error on image build

2017-07-07 Thread Patrick O'Callaghan
On Sat, 2017-07-08 at 03:59 +0800, Danishka Navin wrote:
> Hi there,
> 
> I was using latest kickstart files on fedora 26 beta to build new image but
> there was an error.
> https://paste.fedoraproject.org/paste/s1y5nxHmGKSsJIDTVrbyFA

Wrong list. Please post on the Fedora Test list.

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Error on image build

2017-07-07 Thread Danishka Navin
Hi there,

I was using latest kickstart files on fedora 26 beta to build new image but
there was an error.
https://paste.fedoraproject.org/paste/s1y5nxHmGKSsJIDTVrbyFA

Regards,
-- 
Danishka Navin
http://danishkanavin.blogspot.com
http://twitter.com/danishkanavin
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Multi-user VNC on F23 and later

2017-07-07 Thread CLOSE Dave
I wrote:

> I'm trying to setup a multi-user VNC server on recent versions of
> Fedora without success thus far. I understand that doing so requires
> a display manager with XDMCP support. The current default DM is SDDM
> which does not include such support (at least so far as I've found).
> That means I need to change the DM.
> 
> Following a suggestion I found somewhere, I ran "dnf install kdm; 
> systemctl enable --force kdm.service". I chose KDM because the
> machines involved generally use KDE, not Gnome. That seems to be a
> painless substitution. However, I'm sure I'll have to install some
> protections against automatic updates that reverse the change.
> 
> Then I tried to follow the instructions in RH Bugzilla 1393971 
> () and those at
> RH Solutions 2516 (for XDMCP with xinetd) and 2681531 (which
> replaces xinetd with a systemd socket). I also modified
> /etc/kde/kdm/Xaccess to uncomment "*". After this I get a connection
> but no login screen, just a blank screen with a momentary note about
> using F8.
> 
> The log shows several errors at different times in my experiments. 
> Sometimes Plymouth is not running. Sometimes I'm told the VNC
> service got more than one socket. Usually KDM reports that it can't
> open the display, using an IPv6 notation for the display.
> 
> Can anyone point me to instructions which take into account systemd
> and the structure of recent Fedora releases? It seems to me likely
> that I've messed up something simple in trying to adapt the
> instructions (which are for xinetd and GDM). Or have I provided
> enough information to make a guess as to the problem?

On 07/06/17 19:51, Ed Greshko wrote:
> 
> This should help
> 
> https://docs.fedoraproject.org/en-US/Fedora/21/html/System_Administrators_Guide/ch-TigerVNC.html
>
>  Especially
> 
> 8.1.2.1. Configuring VNC Server for Two Users

> Oh, and FWIW, I am currently running only a single user setup on an
> F25/KDE-Only system.  No need to change sddm as your DM as that isn't
> what is being used by VNC.

Unfortunately, no, that doesn't help. I already have a one-user setup 
working and I understand how to extend it to additional users -- so long 
as the list of users is finite and known to me in advance. But the 
extension technique involves using unique ports for each user. It is not 
a properly scalable solution.

With the single-user approach, vncviewer directly asks the user for his 
password before initiating the connection. That's why it needs a unique 
port for each user. Using XDMCP with a display manager that supports it 
works differently. vncviewer doesn't ask for a password and initiates 
the connection immediately. The user is presented with the same 
graphical login screen a local user would see. Thus the number of users 
is not limited by anything I do setting up the configuration.

So, I'm still hoping someone here can help.
-- 
  Dave Close

  "Age is a very high price to pay for maturity." -- Tom Stoppard
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Lost wired connection

2017-07-07 Thread Rick Stevens
On 07/07/2017 03:27 AM, Ed Greshko wrote:
> On 07/07/17 17:26, Stephen Morris wrote:
>>
>> I agree with you Rick, this seems counter-intuitive to the way most mail 
>> clients work.
>>
>> Having said this though, I can't help but wonder if the mailing list server 
>> is
>> playing around with things, as looking at this email of yours I can see 
>> reply-to,
>> list-id, archived-at, list-archive, list-help, list-post, list-subscribe and
>> list-unsubscribe tags all of which contain fedora addresses.
>>
>> I'm using TB 56.0 and I still forget sometimes to use "Reply List". 
> 
> 
> Well  It isn't the mailing list server.
> 
> Just see  https://www.mozilla.org/en-US/thunderbird/52.0/releasenotes/   
> and
> scroll down a bit to read...
> 
> CHANGED
> When replying to a mailing list, reply will be sent to address in From header
> ignoring Reply-to header
> 
> So, if you're having difficulty remembering to us "Reply List" file a 
> complaint with
> the Mozilla folks.  Or, put a sticky note on your monitor to help remind you. 
>  :-) :-)

Yup. It isn't the mail server, it's the client's behavior. And I agree
that we should all beat on the Thunderbird developers because this is an
incredibly bad decision on their part. Sheesh!
--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
- "People tell me I look at the dark side.  That's not true.  I have -
-   the heart of a small boy..in a jar right here on my desk."   -
--- Stephen King -
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Fedora on a NUC?

2017-07-07 Thread Javier Perez
For whatever it is  worth, I installed Fedora 25 on a BeeBox and it works
just fine by  my TV to deliver Netflix and provide the "SmartTV"
experience.

On Mon, Jul 3, 2017 at 4:41 AM, Vikram Goyal  wrote:

>
> I think there's another option with a much smaller carbon footprint & much
> lighter on pocket.
> I only requires around 10 wattage per hour electricity usage (Wattage
> includes Modem electricity consumption also). Negligible wear & tear (EX:
> HD crashing due to sudden power loss) with almost same functionalities of
> like Open Source OS , Media Centre , Internet etc
>
> Raspberry Pi (Wifi) (in place of NUC) + SDCard (In Place Of HD) + OpenElec
> Media Centre (In Place of Fedora). Connect it to your TV through HDMI port
> & access it's files through wifi,
>
>
> On Thu, Jun 22, 2017 at 4:59 PM, Temlakos  wrote:
>
>> Everyone:
>>
>> Does anyone have experience with installing Fedora on a NUC?
>>
>> In case anyone here doesn't know what a NUC is: it happens to stand for
>> Next Unit of Computing. It is a 5.4 x 4.9 x 4.5-*inch* box having the
>> minimal number of components to support desktop functions. You equip it
>> with your own hard drive, keyboard, mouse, etc., and can drive up to a 4K
>> Ultra-style monitor. Some people use its VESA mount to mount it on the back
>> of their TV. Result: instant smart TV--smarter than any TV in the store,
>> because it can handle word processing and regular Web apps in addition to
>> video and audio streaming.
>>
>> Word is that it normally ships with Windows 10, but can support any
>> number of distributions of Linux. I want to know whether Fedora is one of
>> them.
>>
>> It sounds like the ideal small office/media lab/home theater solution.
>> Pair it with a good NAS and you have all the computing power you need, with
>> a fraction of the physical--and carbon--footprint.
>>
>> Comments? Suggestions? Success stories? Horror stories?
>>
>> Temlakos
>>
>> ___
>> users mailing list -- users@lists.fedoraproject.org
>> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>>
>>
>
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
>
>


-- 
--
 /\_/\
 |O O|  pepeb...@gmail.com
  Javier Perez
   While the night runs
   toward the day...
  m m   Pepebuho watches
from his high perch.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


[389-users] One way sync from AD to 389-ds

2017-07-07 Thread Andrew Radygin
Hi guys!
I need to do subj operation, without ssl and syncpass, and seems that I do
everything according
https://access.redhat.com/documentation/en-us/red_hat_directory_server/9.0/html/administration_guide/windows_sync-configuring_windows_sync
but no luck yet :(
Maybe someone have such experience? It this possible ever?
error.log from DS with debug mode turned on:

=
[07/Jul/2017:14:45:46.205742598 +0300] NSMMReplicationPlugin - windows sync
- Running Dirsync
[07/Jul/2017:14:45:46.307205965 +0300] NSMMReplicationPlugin - windows sync
- agmt="cn=From-ad" (ad01-sklk:389): State: wait_for_changes ->
wait_for_changes
[07/Jul/2017:14:45:46.332118308 +0300] NSMMReplicationPlugin - windows sync
- agmt="cn=From-ad" (ad01-sklk:389): State: wait_for_changes ->
ready_to_acquire_replica
[07/Jul/2017:14:45:46.357281411 +0300] acquire_replica, supplier RUV:
[07/Jul/2017:14:45:46.382317390 +0300] NSMMReplicationPlugin - supplier:
{replicageneration} 595a5d920001
[07/Jul/2017:14:45:46.407471865 +0300] acquire_replica, consumer RUV:
[07/Jul/2017:14:45:46.524295603 +0300] NSMMReplicationPlugin - consumer:
{replicageneration} 595a5d920001
[07/Jul/2017:14:45:46.551039635 +0300] NSMMReplicationPlugin - windows sync
- agmt="cn=From-ad" (ad01-sklk:389): Trying non-secure slapi_ldap_init_ext
[07/Jul/2017:14:45:46.568052882 +0300] NSMMReplicationPlugin - windows sync
- agmt="cn=From-ad" (ad01-sklk:389): binddn =
cn=robot-cauth,ou=techusers,dc=**,dc=,dc=***,  passwd = *
[07/Jul/2017:14:45:46.591223907 +0300] windows_conn_connect : detected
Win2k3 or later peer
[07/Jul/2017:14:45:46.609678106 +0300] NSMMReplicationPlugin - windows sync
- agmt="cn=From-ad" (ad01-sklk:389): No linger to cancel on the connection
[07/Jul/2017:14:45:46.62798 +0300] _csngen_adjust_local_time: gen state
before 595f733f0002:1499427647:0:0
[07/Jul/2017:14:45:46.643179966 +0300] _csngen_adjust_local_time: gen state
after 595f746a:1499427946:0:0
[07/Jul/2017:14:45:46.659915068 +0300] NSMMReplicationPlugin - windows sync
- windows_acquire_replica returned success (101)
[07/Jul/2017:14:45:46.676553114 +0300] NSMMReplicationPlugin - windows sync
- agmt="cn=From-ad" (ad01-sklk:389): State: ready_to_acquire_replica ->
sending_updates
[07/Jul/2017:14:45:46.790456360 +0300] NSMMReplicationPlugin - changelog
program - _cl5GetDBFile: no DB object found for database
/var/lib/dirsrv/slapd-ds/changelogdb/229c6c82-600111e7-8cfc9a96-210bea69_595a5d920001.db
[07/Jul/2017:14:45:46.976986924 +0300] NSMMReplicationPlugin - changelog
program - cl5CreateReplayIteratorEx: could not find DB object for replica
[07/Jul/2017:14:45:47.002210180 +0300] NSMMReplicationPlugin - windows sync
- agmt="cn=From-ad" (ad01-sklk:389): No changes to send
[07/Jul/2017:14:45:47.019263819 +0300] Calling dirsync search request plugin
[07/Jul/2017:14:45:47.088348158 +0300] Sending dirsync search request
[07/Jul/2017:14:45:47.163592499 +0300] NSMMReplicationPlugin - windows sync
- agmt="cn=From-ad" (ad01-sklk:389): Beginning linger on the connection
[07/Jul/2017:14:45:47.227723975 +0300] NSMMReplicationPlugin - windows sync
- agmt="cn=From-ad" (ad01-sklk:389): State: sending_updates ->
wait_for_changes
[07/Jul/2017:14:46:47.229642395 +0300] NSMMReplicationPlugin - windows sync
- agmt="cn=From-ad" (ad01-sklk:389): Linger timeout has expired on the
connection
[07/Jul/2017:14:46:47.315570281 +0300] NSMMReplicationPlugin - windows sync
- agmt="cn=From-ad" (ad01-sklk:389): Disconnected from the consumer

=

And here is Replica Agreement:

===
dn: cn=From-ad,cn=replica,cn=dc\3D**\2Cdc\3D\2Cdc\3Dnet,cn=mapping tre
 e,cn=config
objectClass: top
objectClass: nsDSWindowsReplicationAgreement
description: uni-direct sync from AD
cn: From-ad
nsds7WindowsReplicaSubtree: cn=users,dc=**,dc=*,dc=**
nsds7DirectoryReplicaSubtree: cn=users,dc=**,dc=,dc=**
nsds7NewWinUserSyncEnabled: on
nsds7NewWinGroupSyncEnabled: on
nsds7WindowsDomain: **.*.**
nsDS5ReplicaRoot: dc=**,dc=,dc=***
nsDS5ReplicaHost: ad01-sklk
nsDS5ReplicaPort: 389
nsDS5ReplicaBindDN: cn=robot-cauth,ou=techusers,dc=**,dc=,dc=***
nsDS5ReplicaBindMethod: SIMPLE
nsDS5ReplicaCredentials: **
creatorsName:
uid=admin,ou=administrators,ou=topologymanagement,o=netscaperoot
modifiersName: cn=Multimaster Replication Plugin,cn=plugins,cn=config
createTimestamp: 20170703152542Z
modifyTimestamp: 20170707115048Z
oneWaySync: fromWindows
nsds50ruv: {replicageneration} 595a5d920001


It seems like DS trying to push changes to AD (why?! I've added onewaysync
'fromwindows' attr to agreement), but even no try to pull AD tree from it...
I really need advice in it, there is no sense from google.

-- 
Best regards, Andrew.
___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org


Re: Lost wired connection

2017-07-07 Thread Ed Greshko
On 07/07/17 17:26, Stephen Morris wrote:
>
> I agree with you Rick, this seems counter-intuitive to the way most mail 
> clients work.
>
> Having said this though, I can't help but wonder if the mailing list server is
> playing around with things, as looking at this email of yours I can see 
> reply-to,
> list-id, archived-at, list-archive, list-help, list-post, list-subscribe and
> list-unsubscribe tags all of which contain fedora addresses.
>
> I'm using TB 56.0 and I still forget sometimes to use "Reply List". 


Well  It isn't the mailing list server.

Just see  https://www.mozilla.org/en-US/thunderbird/52.0/releasenotes/   and
scroll down a bit to read...

CHANGED
When replying to a mailing list, reply will be sent to address in From header
ignoring Reply-to header

So, if you're having difficulty remembering to us "Reply List" file a complaint 
with
the Mozilla folks.  Or, put a sticky note on your monitor to help remind you.  
:-) :-)

-- 
Fedora Users List - The place to go to speculate endlessly



signature.asc
Description: OpenPGP digital signature
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


Re: Lost wired connection

2017-07-07 Thread Stephen Morris

On 7/6/17 8:03 AM, Rick Stevens wrote:

On 07/05/2017 02:41 PM, Stephen Morris wrote:

On 6/24/17 4:20 PM, Samuel Sieb wrote:

On 06/23/2017 11:08 PM, Samuel Sieb wrote:

On 06/23/2017 05:39 PM, Stephen Morris wrote:

Having mentioned the TB subject, I also have "problems" with the
upstream versions of TB I use when interacting with this mail list.
TB has "reply", "reply all" and "reply list", where "reply all"
works as expected, whereas if I use "reply" to say respond to your
email then that build the reply to send it to you and not the
mailing list, so to reply to the mailing list I have to use "reply
list", and I have never been able to work out why and whether its a
mailing list issue or a TB issue.

It seems to be a recent change to the list that the reply-to is now
set to the original sender instead of the list address.  But thanks
to you mentioning the reply to list option in TB, I just noticed that
button and then found the shortcut key is CTRL-SHIFT-L for that.  I
will train myself to use that in future.

I just checked the email headers and the reply-to still points to the
list!  I have discovered that it is a change in TB after all. That is
rather annoying.  See
https://www.mozilla.org/en-US/thunderbird/52.0/releasenotes/ :

"When replying to a mailing list, reply will be sent to address in
 From header ignoring Reply-to header"

Sorry for blaming the mailing list...

On reflecting when this occurred, it seems that it did first start
occurring in the old version of TB mentioned in the release notes, but
what I now need to work out is, when there are multiple entries in what
TB shows as the To address, how TB selects the right one to reply to
when using 'Reply to List', or whether its not using the reply to tag at
all, and is using the List_id tag instead. I say this from looking at
the source for Rick's reply where I noticed a reply-to tag and a List_id
tag both referencing the mailing list address.

I wonder if "Reply List" actually picks up the "List-Post" header (if
present) and uses that, whereas "Reply" just picks up the "From" header.
Regardless, I'd still consider it incorrect behavior. "Reply" should use
the "Reply-To" header if present and resort to the "From" header if
"Reply-To" isn't present. Whether it's a list posting or not is utterly
irrelevant for "Reply".

Only the "Reply List" button should care if it's a list posting or not,
and should also use the "Reply-To" header first, falling back to the
"List-Post" header and "From" headers (in that order). Why the TB people
made such a non-intuitive (and IMHO completely wrong) change is beyond
me.


I agree with you Rick, this seems counter-intuitive to the way most mail 
clients work.


Having said this though, I can't help but wonder if the mailing list 
server is playing around with things, as looking at this email of yours 
I can see reply-to, list-id, archived-at, list-archive, list-help, 
list-post, list-subscribe and list-unsubscribe tags all of which contain 
fedora addresses.


I'm using TB 56.0 and I still forget sometimes to use "Reply List".

regards,

Steve



--
- Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com -
- AIM/Skype: therps2ICQ: 226437340   Yahoo: origrps2 -
--
- The trouble with troubleshooting is that trouble sometimes -
- shoots back.   -
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org


[389-users] Re: invalid bind dn

2017-07-07 Thread Ludwig Krispenz


On 07/07/2017 09:44 AM, Ludwig Krispenz wrote:


On 07/07/2017 02:04 AM, William Brown wrote:

On Thu, 2017-07-06 at 14:35 +0200, Ludwig Krispenz wrote:

dn="Directory Manager,dc=text,dc=in" is not a valid dn (err=34)

the attribute for "directory manager" is missing. you need to verify what is teh proper 
dn, most likely:"cn=directory Manager,dc=text,dc=in"
but you have to make sure this entry exists


On 07/06/2017 12:14 PM, narendra laga wrote:

Hi,
Please suggest me to reslove this issue.
we are trying to integrate 389 ldap to cyberoam, while doing test connection we 
are facing below issue.

If you are trying to access the "directory manager" IE the root account,
it has no suffix:

"cn=Directory Manager"

Maybe that helps?
yes, as I said before this will work, but it is the intended bind. 

wanted to write "is it the intended bind ??"
We should not push to just use "cn=directory manager" just because it 
works. If they have an external application like "cyberoam" (whatever 
this is (kind of access manager?)), i would really recommend NOT to 
let it use "cn=directory manager"

cyberoam




___
389-users mailing list --389-users@lists.fedoraproject.org
To unsubscribe send an email to389-users-le...@lists.fedoraproject.org


--
Red Hat GmbH,http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric 
Shander


___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org


--
Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric 
Shander

___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org


[389-users] Re: invalid bind dn

2017-07-07 Thread Ludwig Krispenz


On 07/07/2017 02:04 AM, William Brown wrote:

On Thu, 2017-07-06 at 14:35 +0200, Ludwig Krispenz wrote:

dn="Directory Manager,dc=text,dc=in" is not a valid dn (err=34)

the attribute for "directory manager" is missing. you need to verify what is teh proper 
dn, most likely:"cn=directory Manager,dc=text,dc=in"
but you have to make sure this entry exists


On 07/06/2017 12:14 PM, narendra laga wrote:

Hi,
Please suggest me to reslove this issue.
we are trying to integrate 389 ldap to cyberoam, while doing test connection we 
are facing below issue.

If you are trying to access the "directory manager" IE the root account,
it has no suffix:

"cn=Directory Manager"

Maybe that helps?
yes, as I said before this will work, but it is the intended bind. We 
should not push to just use "cn=directory manager" just because it 
works. If they have an external application like "cyberoam" (whatever 
this is (kind of access manager?)), i would really recommend NOT to let 
it use "cn=directory manager"

cyberoam




___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org


--
Red Hat GmbH, http://www.de.redhat.com/, Registered seat: Grasbrunn,
Commercial register: Amtsgericht Muenchen, HRB 153243,
Managing Directors: Charles Cachera, Michael Cunningham, Michael O'Neill, Eric 
Shander

___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org


[389-users] oneway sync from AD to 389-ds

2017-07-07 Thread randrewg
Hi guys!
I need to do subj operation, without ssl and syncpass, and seems that I do 
everything according 
https://access.redhat.com/documentation/en-us/red_hat_directory_server/9.0/html/administration_guide/windows_sync-configuring_windows_sync,
 but no luck yet :(
Maybe someone have such experience? It this possible ever?
I could attach error.log from DS with debug mode turned on.
It seems like DS trying to push changes to AD (why?! I've added onewaysync 
'fromwindows' attr to agreement), but even no try to pull AD tree from it...
I really need advice in it, from google there is no sense.
___
389-users mailing list -- 389-users@lists.fedoraproject.org
To unsubscribe send an email to 389-users-le...@lists.fedoraproject.org


Re: attempts to hack in? [SOLVED]

2017-07-07 Thread Paul Allen Newell


On 07/06/2017 08:57 PM, William wrote:

Good evening,

Turning off ssh in the public zone, and entering the commands
* systemctl stop sshd
* systemctl mask sshd
* systemctl stop httpd
* systemctl mask httpd
do seem to be working.  After three days, I'm still not seeing any 
indications in journalctl output of external attempts to connect to my 
workstation.  I am comfortable saying this issue is solved.


I thank everyone who tried to help.  I also see in this thread's 
messages that at least one other person was helped by this thread. I'm 
glad to see that.


Bill.



Bill:

Make that "at least two" ... though it is taking me a bit longer to 
digest what is the main chance in this thread


Thanks,
Paul
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org