Search #Ubuntu channel logs

Note: Use Ctrl+F to search through these logs

Tuesday, January 31, 2017

#ubuntu channel featuring Lux_, Xz, leeyaa, Ben64, epicmonster, Anonymouxxx, and 11 others.

Xz 2017-01-30 22:46:33
hateball: yes, it says 'required key not available' when I try to load manually nvidia-367
Xz 2017-01-30 22:46:38
hateball: and then doesn't insert
Xz 2017-01-30 22:46:56
hateball: yes, it is built and installed on the system
Xz 2017-01-30 22:47:04
hateball: apt-get finishes with no errors
ducasse 2017-01-30 22:47:16
Xz: read this - http://askubuntu.com/questions/769268/unable-to-disable-secure-boot-with-mokutil-in-16-04#773194
hateball 2017-01-30 22:47:18
Xz: did you try 378 after running mokutil ?
Xz 2017-01-30 22:47:18
hateball: other than that warning about secure-boot
Xz 2017-01-30 22:47:35
hateball: yeah, 378 wanted to do same thing -disable secure boot
Xz 2017-01-30 22:47:39
hateball: I said no
hateball 2017-01-30 22:47:45
alright
Dominique 2017-01-30 22:47:47
Hi, anyone here knows how to generate a custom RHEL7 image for Ubuntu MAAS ? Seeing as maas-image-builder is now deprecated.
Xz 2017-01-30 22:47:48
hateball: and it didn't eeven install 378 because of that
hateball 2017-01-30 22:48:05
Xz: Well then I dont really know, as I said I dont know about secure boot
Jettis 2017-01-30 22:48:13
mattstroyer: check nagios for example
ducasse 2017-01-30 22:48:17
Xz: it doesn't actually disable it, software can't do that.
hateball 2017-01-30 22:48:31
Xz: if you wish revert to nouveau, purge nvidia-367 and it should remove the blacklist of nouveau
Xz 2017-01-30 22:48:47
hateball: yeah, I'm currently on nouveau
Xz 2017-01-30 22:48:56
hateball: but if there is any chance to get proper driver, I'm willing to try
Xz 2017-01-30 22:49:07
ducasse: are you saying that prompt will not mess with UEFI, only with shim?
ducasse 2017-01-30 22:49:15
Xz: yes.
Xz 2017-01-30 22:49:19
ducasse: how do you know?
mattstroyer 2017-01-30 22:49:23
Jettis: and what you think about zabbix?
ducasse 2017-01-30 22:50:13
Xz: because it _can't_ disable secure boot. think about it - if software could just disable it, it wouldn't be of any value at all.
Xz 2017-01-30 22:50:46
ducasse: I just compared binaries of shim that I have
Xz 2017-01-30 22:50:52
ducasse: they are all the same, untouched
ducasse 2017-01-30 22:50:58
Xz: i suggest you read the link i just sent.
Xz 2017-01-30 22:51:01
ducasse: so mkutil didn't mess with EFI partition
Xz 2017-01-30 22:51:03
ducasse: I just did
Xz 2017-01-30 22:52:11
ducasse: is it saying that I should install nvidia drivers and answer 'yes' for that secure-boot prompt
Xz 2017-01-30 22:52:14
ducasse: ?
epicmonster 2017-01-30 22:52:53
guys, stupid question, how to send message to some specific person in channel?
hateball 2017-01-30 22:53:00
!who | epicmonster
ubottu 2017-01-30 22:53:00
epicmonster: As you can see, this is a large channel. If you're speaking to someone in particular, please put their nickname in what you say (use !tab), or else messages get lost and it becomes confusing :)
Xz 2017-01-30 22:53:03
epicmonster: /msg nick
ducasse 2017-01-30 22:53:03
Xz: "However: in my case, the problem was I didn't type sudo: sudo mokutil --disable-validation. After that reboot, Shim was starting and I was able to disable secure boot after shim without disabling secure boot in the BIOS (which is necessary for Windows dual boot)."
epicmonster 2017-01-30 22:53:10
ty, guys!
Xz 2017-01-30 22:53:19
ducasse: yeah, I run mokutil as root
Xz 2017-01-30 22:53:25
ducasse: and I didn't have a single error
Xz 2017-01-30 22:53:33
ducasse: mokutil finished nicely
Jettis 2017-01-30 22:53:38
mattstroyer: dont know, have not used that
ducasse 2017-01-30 22:53:47
Xz: ok, did you do anything in mokutil during boot?
Xz 2017-01-30 22:53:50
ducasse: and on next reboot I got some screen from mokutil asking for something
Xz 2017-01-30 22:53:56
ducasse: nope, just said' continue to boot'
epicmonster 2017-01-30 22:54:03
!who | epicmonster
ubottu 2017-01-30 22:54:03
epicmonster, please see my private message
Xz 2017-01-30 22:54:04
ducasse: but there was screen
ducasse 2017-01-30 22:54:32
Xz: i think you need to read that screen more carefully, and tell it to disable validation.
Xz 2017-01-30 22:54:58
ducasse: ok, how do I get thta screen again? -.-V
ducasse 2017-01-30 22:55:16
Xz: run mokutil again
koen_ 2017-01-30 22:55:44
sudo service crond status returns me this crond.service Loaded: not-found (Reason: No such file or directory) Active: inactive (dead)
Xz 2017-01-30 22:55:51
ducasse: ok, running '--disable-validation' again
koen_ 2017-01-30 22:55:52
how can i fix it? i m in ubuntu
Xz 2017-01-30 22:55:54
ducasse: and rebooting
ppf 2017-01-30 22:58:08
koen_: it's just systemctl status crond
ppf 2017-01-30 22:58:11
sorry
ppf 2017-01-30 22:58:13
koen_: it's just systemctl status cron
ppf 2017-01-30 22:58:14
no d
Xz 2017-01-30 22:59:48
ducasse: ok, I booted in 'insecure mode' as advertised by grub
Xz 2017-01-30 23:00:03
ducasse: checked in the meantime if secure-boot was enabled in UEFI and if win10 still boots
Xz 2017-01-30 23:00:07
ducasse: both yes
Xz 2017-01-30 23:00:09
ducasse: so far so good
Xz 2017-01-30 23:00:27
ducasse: do I install now nvidia stuff?
ducasse 2017-01-30 23:00:51
Xz: which version did hateball tell you to use?
Xz 2017-01-30 23:01:06
ducasse: he just said to try both
Xz 2017-01-30 23:01:19
hateball: any preference for nvidia driver?
ducasse 2017-01-30 23:01:26
Xz: try the later one first, i think.
Xz 2017-01-30 23:01:36
ducasse: later one required some additional repos
ducasse 2017-01-30 23:02:06
Xz: ok, then try 367 or whatever it was
Xz 2017-01-30 23:02:21
ducasse: if I understand correctly, now only shim booted in secure mode (as required by uefi) and then shim kicked off kernel/rootfs in regular, insecure mode?
ducasse 2017-01-30 23:03:11
Xz: the shim still validates the kernel aiui, but the kernel does not do further validation of modules as it normally would
hateball 2017-01-30 23:03:59
ducasse: 378
hateball 2017-01-30 23:04:06
Xz: ^
Xz 2017-01-30 23:04:10
hateball: ok, installing 378
hateball 2017-01-30 23:04:18
latest and greatest and all that
hateball 2017-01-30 23:04:49
There were some UEFI related fixings 370+, but again I have no idea about secure boot as I do not use it myself
Xz 2017-01-30 23:05:10
ducasse: hateball: so does linux all the way think I'm booted in non-secure mode now?
ducasse 2017-01-30 23:05:33
Xz: you can check with mokutil --sb-state
Xz 2017-01-30 23:05:46
ducasse: that one says 'secure boot enabled'
Xz 2017-01-30 23:05:49
ducasse: interesting
Xz 2017-01-30 23:07:11
hateball: ducasse ok, apt-get only warned about possibly missing firmware for i915 (I assume that's intel graphics)
Xz 2017-01-30 23:07:32
hateball: ducasse hopefully I can address that later with some linux-firmware pkg or something similar
Xz 2017-01-30 23:07:40
hateball: ducasse: should I reboot now?
ducasse 2017-01-30 23:08:08
Xz: yes, that's intel - they released the driver but not the firmware yet :)
Xz 2017-01-30 23:08:16
ducasse: awesome!
ducasse 2017-01-30 23:08:42
Xz: are you booted with nouveau?
Xz 2017-01-30 23:08:57
ducasse: yes
ducasse 2017-01-30 23:09:09
Xz: then reboot, yes
Xz 2017-01-30 23:09:20
ducasse: ok, hopefully no questions asked during boot
Xz 2017-01-30 23:09:25
ducasse: should I do nomodeset in grub?
ducasse 2017-01-30 23:10:15
Xz: no nomodeset i think
ducasse 2017-01-30 23:11:02
Xz: but i'm really not certain, as i said i don't use nvidia myself, but intel
Xz 2017-01-30 23:12:55
ducasse: rebooted
Xz 2017-01-30 23:12:59
ducasse: no graphics :<
ducasse 2017-01-30 23:13:11
Xz: black screen?
Xz 2017-01-30 23:13:22
ducasse: nope, login screen displayed corrrectly
Xz 2017-01-30 23:13:36
ducasse: but then when I input password and hit enter - it flickers and goes back to the same one
hateball 2017-01-30 23:13:50
Xz: you havent been doing sudo stuff in GUI? That could mess up your ~/.Xauthority
Xz 2017-01-30 23:13:51
ducasse: at least now nvidia driver is loaded
hateball 2017-01-30 23:14:01
Xz: so make sure your user owns that, and not root
Xz 2017-01-30 23:14:04
hateball: nope, I haven't use gGUI at all
ducasse 2017-01-30 23:14:11
Xz: ok, that's progress at least
Xz 2017-01-30 23:14:29
hateball: it's owned by the user
Xz 2017-01-30 23:14:38
ducasse: I can switch in UEFI to use only NVIDIA
Xz 2017-01-30 23:14:54
ducasse: as currently it's set to 'auto' which I means OS is free to change it on the fly
ducasse 2017-01-30 23:14:57
Xz: pastebin /var/log/Xorg.0.log and ~/.xsession-errors
hateball 2017-01-30 23:14:59
Xz: anything in ~/.xsession-errors ?
Anonymouxxx 2017-01-30 23:15:12
hello
Anonymouxxx 2017-01-30 23:15:41
is anyone on
Xz 2017-01-30 23:16:15
hateball: ducasse: http://paste.ubuntu.com/23898654
ducasse 2017-01-30 23:17:05
Xz: try to login as guest
Xz 2017-01-30 23:17:21
ducasse: hateball: http://paste.ubuntu.com/23898657
Xz 2017-01-30 23:17:38
ducasse: guest does same thing
Anonymouxxx 2017-01-30 23:18:21
im an ubuntu user and im interested in learning pentesting and proggramming. i geuss i classify as a greenhat. would anyone mind leading me to such information?
abb4s 2017-01-30 23:18:45
hey every body i just installed ubuntu 16 but grub dont list windows 10 , where is the problem ?
Anonymouxxx 2017-01-30 23:19:30
helloabb4s: did you install ubuntu before or after windows?
abb4s 2017-01-30 23:19:44
Anonymouxxx: after windows 10
abb4s 2017-01-30 23:20:25
is that related to uefi stuffs ? should i install ubuntu in uefi mode ?
Anonymouxxx 2017-01-30 23:20:36
okay then it should be listed. do you boot directly to ubntu
EriC^^ 2017-01-30 23:20:39
abb4s: open a terminal, type "sudo parted -l | nc termbin.com 9999" paste the link here
Anonymouxxx 2017-01-30 23:20:58
well hes solved it ha
Xz 2017-01-30 23:21:22
ducasse: hateball I will try to manipulate Graphics card selection in UEFI
hateball 2017-01-30 23:21:32
Xz: you can also install nvidia-prime
hateball 2017-01-30 23:21:54
Xz: and use prime-select to make sure it tries to use nvidia
abb4s 2017-01-30 23:22:12
EriC^^: https://paste.ubuntu.com/23898676/
braggit 2017-01-30 23:22:18
hello i just instaled a new kernel. i see that in gru i have tgo to advnced optios to use hat kerne. how can make thatthe defuat ubunu>/
braggit 2017-01-30 23:22:31
WTF!??this new krnel tolly FUCEKED my kyboard!
hateball 2017-01-30 23:22:32
Xz: I dont use hybrid setups either, so I dont know much about it... but if it tries loading intel when you log in and there is no firmware for that it seems it should break
abb4s 2017-01-30 23:22:51
EriC^^: im in university and ther port 9999 is closed so i paste it here https://paste.ubuntu.com/23898676/
EriC^^ 2017-01-30 23:23:41
abb4s: ok, type "ls -l /sys/firmware/efi"
EriC^^ 2017-01-30 23:23:44
does it show you a bunch of dirs?
Xz 2017-01-30 23:24:06
hateball: ducasse hey, works now! I selected explicitly 'discrete' in UEFI
Xz 2017-01-30 23:24:12
hateball: ducasse discrete = NVIDIA
abb4s 2017-01-30 23:24:23
EriC^^: ls: cannot access '/sys/firmware/efi': No such file or directory
ducasse 2017-01-30 23:24:26
Xz: wunderbar!
EriC^^ 2017-01-30 23:24:34
abb4s: ok, you need to reinstall ubuntu in uefi mode
Xz 2017-01-30 23:24:40
ducasse: should I try attaching external display? now is the time?
ducasse 2017-01-30 23:24:51
Xz: sure
Xz 2017-01-30 23:25:05
ducasse: wow, that worked!
Xz 2017-01-30 23:25:14
ducasse: resolution is off, but hopefully I can configure that
EriC^^ 2017-01-30 23:25:17
abb4s: 1 important advice, in the installer don't choose "reinstall ubuntu" it will erase everything, choose Something else and manually partition instead
leeyaa 2017-01-30 23:25:22
hello
ducasse 2017-01-30 23:25:26
Xz: it usually does :) try nvidia-settings
hateball 2017-01-30 23:25:30
Xz: nvidia-settings is what you wnat for that
abb4s 2017-01-30 23:25:31
EriC^^: how shoud i install it in uefi mode , it hasnot an option for uefi when installing
leeyaa 2017-01-30 23:25:33
does an ubuntu system need all the default cron jobs ?
EriC^^ 2017-01-30 23:25:58
abb4s: you have to boot the usb in uefi mode, in the boot options menu it should be USB and USB UEFI
Xz 2017-01-30 23:26:12
hateball: ducasse not a regular 'display settings' thingy from ubuntu?
EriC^^ 2017-01-30 23:26:15
abb4s: or an option in the bios how to boot USB's
EriC^^ 2017-01-30 23:26:56
abb4s: when the installer boots, press try ubuntu then try "ls /sys/firmware/efi" in a terminal to make sure you're booted in uefi mode then install
ducasse 2017-01-30 23:27:02
Xz: try, i have no clue.
abb4s 2017-01-30 23:27:15
EriC^^: okay , so EriC^^ if i want to have dual boot os i should install both in uefi ?
EriC^^ 2017-01-30 23:27:32
abb4s: yes
Lux_ 2017-01-30 23:28:43
hi
Lux_ 2017-01-30 23:29:37
anyone awake in here??
Xz 2017-01-30 23:32:10
ducasse: hateball well, external display displays only 1600x1200 res even though it could go 2560x1600
Xz 2017-01-30 23:32:23
ducasse: hateball all higher resolutions are not shown
ducasse 2017-01-30 23:32:43
Xz: in the ubuntu gui or nvidia-settings?
Xz 2017-01-30 23:32:50
ducasse: both
koen_ 2017-01-30 23:33:10
can someone help me clear the concept about umask
Ben64 2017-01-30 23:33:41
koen_: ask
ducasse 2017-01-30 23:33:42
Xz: you can add modes manually, but it's a bit of a hassle.
koen_ 2017-01-30 23:33:43
so umask is basically to set the default permission, what would happen if we umask over a file? the permissions willbe removed?
Xz 2017-01-30 23:33:57
ducasse: I tried adding through nvidia gui, but it didn't take it
Ben64 2017-01-30 23:34:14
koen_: how do you umask over a file
koen_ 2017-01-30 23:34:16
suppose if i give chmod 457 file1 #it has read for user,read+write fr group,all for everyone
koen_ 2017-01-30 23:34:36
if at all we give umask 0457 file1.. what would be the result
Ben64 2017-01-30 23:34:47
that's not how umask works
EriC^^ 2017-01-30 23:35:03
koen_: read is 4 and write is 2, exec is 1
koen_ 2017-01-30 23:35:37
EriC^^: yes did i tell anything wrong
koen_ 2017-01-30 23:35:44
Ben64: oh could u brief me more
Ben64 2017-01-30 23:35:50
umask doesn't work on files
Ben64 2017-01-30 23:36:12
it's a default setting for new stuff
ducasse 2017-01-30 23:36:30
Xz: the last time i did that must have been 15-20 years ago, and the process has changed a bit with the introduction of randr.
koen_ 2017-01-30 23:37:33
Ben64: ook so what does umask 457 means?
koen_ 2017-01-30 23:37:55
Ben64: ook so what does umask 0457 means?
Ben64 2017-01-30 23:38:14
try it and see
EriC^^ 2017-01-30 23:38:17
koen_: when you do umask you're setting umask for the user for any future file creations, and it's the inverse of chmod, 227 for umask is like chmod 550
EriC^^ 2017-01-30 23:38:17
koen_: yes, in your example above
ducasse 2017-01-30 23:38:30
Xz: basically you create a modeline with cvt and add it with xrandr, then write a modeline snippet and put in /etc/X11/xorg.conf.d to make it permanent.
koen_ 2017-01-30 23:39:53
EriC^^: so by default the umask subtracts from 777?
Xz 2017-01-30 23:40:14
ducasse: random people on the internet say that I cannot push full 2560x1600 over HDMI cable
Xz 2017-01-30 23:40:19
ducasse: and I'm using HDMI
EriC^^ 2017-01-30 23:40:45
koen_: yes
ducasse 2017-01-30 23:40:53
Xz: ah, there you go then. you should be able to do 1920x1080, though.
EriC^^ 2017-01-30 23:41:06
koen_: so 457 would be 320
Xz 2017-01-30 23:41:09
ducasse: nope, doesn't let me
koen_ 2017-01-30 23:42:26
EriC^^: great
ducasse 2017-01-30 23:42:37
Xz: i said _should_ :)
Xz 2017-01-30 23:42:41
ducasse: it works on windows though
Xz 2017-01-30 23:42:52
ducasse: I can get full resolution over the same cable ...
ducasse 2017-01-30 23:44:40
Xz: according to intel, hdmi 1.4 can do 3840x2160@24Hz