/srv/irclogs.ubuntu.com/2019/05/12/#ubuntu.txt

FreeBDSM> envhy: i have no clue what im doing <    story of my life.00:00
RoseBushello, how should users home files & subdirectories be chmodded00:00
activistdmesg is bit complicated00:01
RoseBusi messed up my file permissions and i'm setting them all over again00:01
leftyfbactivist: plug them in, use the umount command to unmount them. Not the GUI00:01
WalexRoseBus: depends a bit on how much access you want to give others, but try this:00:01
activistok00:01
RoseBusright now i have chmod 711 -R on all /home/*00:01
RoseBusi want others not to be able to see anything in each other's home dirs00:01
FreeBDSMRoseBus: there is no answer for that question00:02
WalexRoseBus: chmod -R a+rwX,o= $HOME00:02
WalexRoseBus: that "711" is not good for files.00:02
RoseBusyea lol that's what i'm realizing00:02
WalexRoseBus: actually the line I gave you is not good after doing your 'chmod'.00:02
FreeBDSMI'd say 660 for files and 770 for dirs00:02
WalexRoseBus: after doing the 'chmod' I gave you do:00:03
WalexRoseBus: find $HOME \! -type d -print0 | xargs -r0 chmod a-x00:03
Fudgehow using ntpdate can i manually change my clock to be a minute slower?00:04
WalexFreeBDSM: more or less that I intended with that 'chmod -R a+rwX,o='00:04
activistleftyfb fingers crossed. btw i was talking about Tor hidden-service repo list like Debian. You know Debian does have Tor repo list servers (mirrors).00:04
activisthttps://bits.debian.org/2016/08/debian-and-tor-services-available-as-onion-services.html00:04
RoseBusWalex,  the find returned nothing00:04
WalexRoseBus: rather unlikely00:04
FreeBDSMwhy not `find ${HOME} -type d -print0 | xargs -0 chmod 770 && find ${HOME} -type f -print0 | xargs -0 chmod 660`?00:05
WalexRoseBus: try this: find $HOME \! -type d -print | wc -l00:05
RoseBuswait your first find was sent to a pipe00:05
RoseBusit wasn't expected to print anything, right?00:05
RoseBussry it's been a long time since i've used *nix00:05
WalexFreeBDSM: because there are other types than directories and plain files, for example00:05
FreeBDSMRoseBus: https://superuser.com/questions/91935/how-to-recursively-chmod-all-directories-except-files00:06
WalexFreeBDSM: etc.00:06
FreeBDSMWalex: like what?00:06
FreeBDSMpipelines?00:06
WalexFreeBDSM: using symbolic modes with 'chmod' one can use 'X' which is very useful00:06
FreeBDSMlinks?00:06
WalexFreeBDSM: but "rosebus" already foiled that00:06
RoseBuslol00:06
RoseBusokay i g2g00:07
RoseBusgotta fix this later00:07
RoseBusty00:07
FreeBDSM:/00:07
WalexRoseBus: this must print a number, iof it prints literally nothing you got as problem: find $HOME \! -type d -print | wc -l00:07
FreeBDSMwhy not my command?00:07
WalexFreeBDSM: ugly :-)00:07
FreeBDSMyes, but the most optimal00:08
TreyHarrisSince RoseBus "already messed up" her permissions, a three-command version (find dirs, set to 0700, find files, set to 0600, find any commands that were just set to 0600 and reset them to 0700) should be used, followed by changing the .bashrc, .zshrc, etc., to add "umask 0077" so that all future files are created with only user-mode permissions.00:15
TreyHarrisAnd that took away too long to type on my phone so ill leave it at that 😉00:16
scoutprodTesting ( . )Y( . )00:19
activistleftyfb again empty. i did what you said.00:21
MutterAye up bitches. I’m on an iPad. Does that infuriate you all lol00:22
leftyfbactivist: did you unplug it and plug it back in?00:22
leftyfbMutter: This is a support channel. Trolling is offtopic here.00:22
MutterI need support00:22
=== BrianBlaze420 is now known as brianblaze
MutterI accidentally installed gentoo on my iPad00:23
MutterHow do I change it to Ubuntu00:23
stevendale!ops Mutter00:23
TreyHarrisactivist: Did you partition the destination drive? You can't read or write partition data via duck00:23
activistyes i did. let me explain what i did. i plugged both of them and used umount both of them. Then checked with lsblk. I could see both of them. I used your command and waited. And unplugged both of them and re-plugged in. Empty :|00:23
stevendale!ops00:23
ubottuHelp! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, genii, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, bazhang, chu, dax00:23
TreyHarrisVia dd00:23
MutterWhat’s going on00:24
leftyfbTreyHarris: He was using dd from drive to drive. Partitioning does not coming into play00:24
activistNo i didn't partition second USB00:24
MutterAre you getting the feds involved00:24
leftyfbactivist: both are empty?00:24
MutterWhat’s happening00:24
activistno. first is not empty.00:24
MutterNothing seems to be happening00:24
activistsecond (destination) is empty.00:24
MutterI’m on an iPad is that why00:25
leftyfbugh!00:25
TreyHarrisI thought the source flashy driver was in two partitioned?00:25
leftyfbactivist: my bad00:25
TreyHarrisArg, phone autocorrect.00:25
leftyfbactivist: sudo dd if=/dev/sdb of=/dev/sdc bs=1024M status=progress00:25
activistno worries00:26
leftyfbactivist: try again. I left out /dev/ on the destination. This is why you should be spending time to understand what's going on as opposed to just copy and pasting commands people give you00:26
leftyfbTreyHarris: if you are dd'ing the raw drive, partitions are copied from the source to the destination and anything on the destination is overridden00:27
activistleftyfb fingers crossed. btw i was talking about Tor hidden-service repo list like Debian. You know Debian does have Tor repo list servers (mirrors).00:27
activisthttps://bits.debian.org/2016/08/debian-and-tor-services-available-as-onion-services.html00:27
activistUbuntu does have apt-transport-tor package but same Ubuntu doesn't have Tor repo mirrors. Weird.00:28
=== Noisette is now known as Plumette
FishBone000I did sudo apt update and sudo apt upgrade yesterday midnight, and this morning i found my USB wifi adapter not funtional. So I tried to follow a guide to apt --purge  remove according to the apt log, but I am afraid that by this some major packages will might be removed and my ubuntu will might not be functional. Will this happen?00:34
FishBone000By the way, I have tried to sudo make uninstall and install my USB adapter driver, even tried to install different versions.00:35
hggdhFishBone000: if you are *purging* packages that were upgraded, then there is a very good chance your system will be broken, perhaps badly00:36
FishBone000D:00:37
hggdhFishBone000: oh, you are building from source an adapter. Well... you should, then talk with the deveopers00:37
FishBone000But my adapter worked yesterday, and last week00:37
FishBone000it suddenly became unfunctional this morning, so i guess perhaps it was because of the upgraded packages00:38
FishBone000instead of drivers00:38
myselfI'm trying to run http://www.fnarfbargle.com/bst.html and the command-line utilities work fine, but when I try to launch the GUI it complains "./bst.linux: error while loading shared libraries: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory00:43
myselfI've found some pages that say to use 'ldd' to see what libraries it's trying to load, and there are only 4 or 5 missing. Weird thing is, 'locate' finds several copies of each such library on my system, I'm not sure why they're not being loaded. This is all way over my head, I feel like I could use a primer on how libraries work on linux, how they're located and how, in this case, they're not found.00:44
DixieNormousis there a way to run the TOR process in the backgroud so i can route all traffic trough 127.0.0.1 without having the TOR window open? perhaps a script - I dont mind one or teo terminal windows being opem?00:49
activistyes it is possible.00:49
activistWhich OS?00:49
DixieNormousWonderful 0 Runninmg ubuntu 64 bit00:51
DixieNormoussorry for poor grammar - 3 days no sleep - bad typing00:51
activist3 days no sleeping and you are trying to work with Tor.00:52
activistHmm.. You should sleep some because 3 days is really big.00:52
DixieNormousTell me about it - Deadlines00:52
leftyfbDixieNormous: which version of Ubuntu?00:52
DixieNormousAfter this, sleep is on the cards - just need a proof of concept00:53
activistdixienormous download Tor Browser zip package from torproject.org00:53
activistExtract that to a folder.00:53
DixieNormousDistributor ID:Ubuntu00:53
DixieNormousDescription:Ubuntu 18.1000:53
DixieNormousRelease:18.1000:53
DixieNormousCodename:cosmic00:53
activistThen prepare a torrc file /etc/tor/torrc00:54
DixieNormousThat i have got so dfar, then ive run thr broswer and proxied through it00:54
DixieNormouscould you explaiin a Torrc file if its not too much trouble?00:55
activistno you don't need to run Browser.00:55
activisti am preparing a paste for you now.00:55
activistBy the way are you living in a restricted country?00:55
DixieNormousactivist: Thank you!00:55
DixieNormousI'm not! I just want to excel my skills - with privacy00:56
DixieNormousWell it depends really - The UK, some one could argue00:56
qwebirc22161hey guys, i have a question00:56
qwebirc22161it looks like i have a miner running on my server00:57
qwebirc22161the process is consuming all my cpu00:57
qwebirc22161htop gives a fake location00:57
leftyfbqwebirc22161: Wipe your server and restore from backup. Be more careful about what ports to open/forward to your server00:57
activisthttps://paste.ubuntu.com/p/Rb4NyK4vmz/00:57
qwebirc22161its not running anything critical00:58
qwebirc22161but it has terabytes of data00:58
qwebirc22161wiping is not really something i would like to do00:58
leftyfbqwebirc22161: ok, so there should be no problem shutting it off immediately, wiping it and restoring from backup.00:58
qwebirc22161its a remote server00:59
leftyfbqwebirc22161: you have no choice. Any other options are insufficient and a waste of time00:59
activistgo to /etc/tor/ and rename torrc with torrc.bak00:59
DixieNormousactivist: You are a star! I havent run it but by the looks of it, that is exactly what i need. Thank you so mich!!!00:59
activistthen create new torrc and paste these.00:59
activistthen open terminal and write tor and enter!00:59
activistif you want to see the logs tails -f /var/log/tor/notices.log01:00
activistFeel free to ask about Tor anytime.01:00
DixieNormousactivist: do you mind a private chat?01:01
activistalso i recommend you to connect chat.oftc.net and #tor01:01
activistsure. You can PM to me.01:01
gambl0rewhat can i use to split terminal windows? i know there is a few like screen, terminator, tmux01:04
DixieNormousactivist: IRC requires auth - let me pull creds from Passwod manage - Thank you for your patience01:05
activistscreen is widely known.01:05
pestlakarehey im at terminal and currently on #01:06
pestlakarehow do i go back to$01:06
activistexit01:06
activistor logout01:06
pestlakareok ty01:06
leftyfbgambl0re: you just answered your own question01:07
gambl0releftyfb, yea but not sure which to use01:08
gambl0rei want something simple01:08
leftyfbgambl0re: they will all do what you want. Try them, read their documentation and decide01:08
eighthundredIs there any good guide for installing programs off of github? Sometimes I can't find a program on ubuntu software but i have to download it off of github, its so confusing01:14
activistfor example?01:15
leftyfbeighthundred: which program?01:15
eighthundredhttps://github.com/poljar/weechat-matrix This one for example.01:15
activistIt depends on which software requires which programs which libraries, etc.01:15
leftyfbeighthundred: https://help.ubuntu.com/community/CompilingEasyHowTo01:15
eighthundredThanks for the link leftyfb01:16
leftyfbeighthundred: you are on your own with that that. We can only support installing from the repos here01:16
activistHere eighthundred. https://github.com/poljar/weechat-matrix#installation01:16
activistThey have a guide. You're lucky.01:16
eighthundredactivist yeah i went through all of that but i got so many errors01:17
leftyfbeighthundred: you'll have to contact the maintainer/developer of the repo then01:17
leftyfbfor support ^01:17
eighthundredyeah01:18
activisthmm. i guess you received missing dependencies or something like that. as leftyfb said this is Ubuntu repo support channel.01:18
DixieNormousactivist :You must log in with services to message this user - see https://freenode.net/kb/answer/registration01:18
activistyes dixienormous did you register?01:18
DixieNormous i did, ive been using it for the past few days01:18
activistthen use /msg nickserv identify PASSWORD01:19
DixieNormousactvist: i can post here but no PM -  any ideas - Sorry to be a pest01:23
activistthen use /msg nickserv identify PASSWORD01:23
activistwhen you did this you should receive You're identified now message.01:24
leftyfbplease take this to PM or another channel. It's completely offtopic here01:24
leftyfbactivist: DixieNormous: ^01:24
DixieNormousactvity: >nickserv< DixieNormous PASSWORD01:29
DixieNormous-NickServ- Invalid command. Use /msg NickServ help for a command listing.01:29
DixieNormous>NICKSERV< Register oPASSWORD EMIAL01:29
DixieNormous-NickServ- You are already logged in as DixieNormous.01:29
DixieNormous>NICKSERV< Register PASSWORD EMAIL01:29
DixieNormous-NickServ- You are already logged in as DixieNormous.01:29
activistdixienormous use /query activist hey01:30
leftyfbactivist: please take this to PM or another channel. It's completely offtopic here01:31
activistand leftyfb smile bit.01:31
activistleftyfb it is still copying. Is this normal?01:32
leftyfbactivist: possibly. Do you see progress?01:33
activist13958643712 bytes (14 GB, 13 GiB) copied, 3820 s, 3,7 MB/s01:33
leftyfbactivist: that does not answer the question01:33
activist:)01:34
activistjust i can see this. That's all. What do you mean by progress?01:34
leftyfbactivist: is it changing numbers at all01:34
activistsometimes01:34
leftyfbactivist: then it is progressing01:35
activisti see01:35
=== ZeZu_ is now known as ZeZu
ramyi can't figure out nickserv01:44
leftyfbramy: /join #freenode01:45
ramydone01:45
leftyfbramy: look for support with IRC services there.01:47
ramyOk, thanks01:47
JonHanDinTesting creds: can you hear me>01:51
leftyfbJonHanDin: Don't test here. Try #test or any other channel01:54
=== lordievader is now known as Guest72677
=== [1]MrMobius is now known as MrMobius
JonHanDincan you hear me? connectionn test02:09
glickhi02:09
glickpardon, how can i install a .deb file?02:10
JonHanDinsudo apt-get install ./deb file02:10
JonHanDinmay require chmod +x ./deb02:10
glickok thanks02:10
JonHanDinglic: so you can see me as JonHanDIn>02:11
JonHanDin*glick02:11
Eickmeyer!ot | JonHanDin02:11
ubottuJonHanDin: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!02:11
glickyeah JonHanDin02:11
Eickmeyerglick: Also, JonHanDin's instructions were incorrect.02:11
JonHanDinThank you! sorry i've had a little trouble with authentication02:12
JonHanDinsorry if instructions are wrong. Having system troubles and strestting atm02:12
Eickmeyerglick: If you have the deb file downloaded already, in its directory type "sudo apt install ./{name of file.deb}.02:12
EickmeyerJonHanDin: This is not a good place to do your testing, but things are slow at the moment so we can let it slide. :)02:13
JonHanDinAnyone know if Activist: is online?02:13
JonHanDinIm nooding the shit ouot of IRC rm02:14
Eickmeyer!ohmy | JonHanDin02:14
ubottuJonHanDin: Please avoid any language that may be considered offensive, including acronyms and obfuscation of such - also see https://wiki.ubuntu.com/IRC/Guidelines || The main channels are English only, for other languages, see https://wiki.ubuntu.com/IRC/ChannelList02:14
JonHanDin*booning02:14
gambl0reim using screen window terminal, is there a way to save the layout of the windows?02:14
JonHanDinSorry, that is completely fair enough, i apoligise02:14
EickmeyerJonHanDin: Activist is not in the user names in this room presently.02:14
JonHanDinThank you EickMeyer02:14
JonHanDinAre there any users that would do one to one training - Over a system they choose or design to teach me to the more advanced ap[ects of debian/ubuntu - WIlling to pay in crypto or paypal. I dont expect peoples lesson time for free despite the generosity of IRC community02:38
JonHanDinFor peace of mind: I would work in escrown or percentage payments upfront: I have code written but need a more advanced eye for criticising02:41
=== ricardo is now known as [rg]
=== blinskey_ is now known as blinskey
=== mystified1234 is now known as _Random_
Guest4369l03:14
Guest4369hi03:14
Guest4369test03:14
Guest4369anybody?03:14
Guest4369hi?03:15
=== Guest4369 is now known as superass
lotuspsychje!ask | superass03:15
ubottusuperass: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience03:15
superassl03:15
lotuspsychjesuperass: please also change your nick on freenode03:16
superassdsfa03:16
superassadsf03:16
superasssadfjiosadfin03:16
superassosadfnsadofi03:16
Eickmeyer!ot | superass03:16
ubottusuperass: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!03:16
benjamin_Greetings03:35
eia1xHi! My vim works normal for the user group, but when I invoke it by sudo it blames errors. Is there a way to bind the sudo privilege to vim to run as normal user?03:57
mouseseia1x: that would be a very very bad idea <tm>03:58
mouseseia1x: what errors do you get running vim as root?03:58
mousesthrow them at https://paste.ubuntu.com and someone here can likely help you figure out what's going wrong and how to solve it03:59
eia1xmouses: many lines about 'Illegal variable name a: attr/ Undefined variable a: guisp'04:00
mouseseia1x: looks like some help might be right here - https://github.com/chriskempson/base16-vim/issues/19704:02
mousesgot that by just copy/pasting your error into google.04:02
eia1xmouses: https://paste.ubuntu.com/p/nRtq4RbbpT/04:03
mouseseia1x: check the github link I just sent you, read it -> you'll either need to downgrade your version of vim *or* a few posters there offered a fix04:04
mouseseia1x: in specific - https://github.com/chriskempson/base16-vim/issues/197#issuecomment-47271011804:04
speeder39_Hello anyone around04:10
foo____yeah04:11
speeder39_I have question. I installed Ubuntu from windows 10 store, then ran bash command to install gnome desktop04:11
speeder39_First does it take long to unpack and install everything04:12
speeder39_??04:12
foo____I've never installed it from Windows store04:13
speeder39_Ah okay04:13
foo____Why don't you just install it as a VM with something like VirtualBox?04:13
foo____espcially if you want the desktop04:13
Bashing-om!wsl | speeder39_04:13
speeder39_Idk much about vm :-(04:13
ubottuspeeder39_: Windows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide04:13
foo____if you just want CLI, you could you vagrant04:14
foo____haha I see04:14
speeder39_foo____: can I ask are you in the usa?04:14
foo____You might as well just use Linux04:14
eia1xmouses: oh, solved my question! Many tks...04:15
speeder39_My question was going to be how do I just run off the gnome desktop once it's set up04:15
foo____speeder39_: what are you trying to acheive?04:16
speeder39_I want to use as Linux pc04:17
foo____Why don't you just intall linux/ubuntu on the bare metal then?04:17
Eickmeyer[m]speeder39_: That's not the purpose of WSL, and it' snot capable.04:18
foo____ok04:18
foo____fair enough04:18
speeder39_What's not capable04:18
Eickmeyerspeeder39_: The Windows Subsystem for Linux. If you're looking for help with running Ubuntu on Windows (what you downloaded from the store), please join #ubuntu-on-windows.04:19
mouseseia1x: glad to help!04:19
Eickmeyerspeeder39_: In short, it is not meant to install Ubuntu, it simply gives you a way to run userspace programs on Windows, but nothing graphical.04:22
mousesgraphical is coming soon, from what I was reading - windows 10 is going to start shipping a full linux kernal for use04:22
Eickmeyermouses: That doesn't necessarily mean graphical. Please keep on-topic with support only.04:23
mousesEickmeyer: It will be graphical, that was my point.04:23
Eickmeyermouses: Please stay with support only.04:23
EickmeyerThis is not a discussion channel.04:24
mousesEickmeyer: Sure, sorry if I stepped outside my lane a bit there.04:24
Eickmeyermouses: The point is that we need to keep this channel on-topic, therefore, support only. That includes me. We have #ubuntu-offtopic for general discussion and other topics.04:25
mousesEickmeyer: Point taken, and again - sorry!04:25
Eickmeyermouses: It's okay. :)04:26
Tankburnhey there04:38
Tankburnhey lotuspsychje04:38
lotuspsychjemorning Tankburn04:39
TankburnI am not sure this has been happened since we installed those new nVidia drivers but  I am now having a problem with my sound now. I use the displayport output to HDMI and the output option doesnt seem to show anymore in sound settings04:41
Tankburnhave run the command pacmd list-cards04:42
Tankburnand this is my output: https://paste.ubuntu.com/p/tyCSnkMk7S/04:43
Tankburndoes that mean the profile is off or something?04:43
=== ricardo is now known as [rg]
nickyhei, im newbee i need help please, i want to change my passwor but i dont remember that05:24
foo____nicky: passwd05:28
Gerowennicky: If you don't have another account on the system that can use sudo to run passwd and reset your password, you'll have to boot the system into recovery mode and change it there.05:30
Gerowennicky: A quick search landed me on this page which appears to have screenshots from a modern-ish Ubuntu, so it should be accurate: https://www.maketecheasier.com/reset-ubuntu-password/05:31
nickyfoo____ i dont remember my psswrd05:46
nickygerowen: thx05:47
b247Hi there, I'm looking for help in order to access a VirtualBox Guest (hosted inside an Ubuntu 19.04 laptop) from internet. My laptop is connected to internet using a WPA2 enterprise account (my IP is in /25 class). I want to be able to access a VBox guest port through this public IP, eg by forwarding Ubuntu Host port 2222 to Vbox port 2206:54
mousesb247: would a SSH tunnel work for that?06:54
=== qwebirc73385 is now known as lotus|test
b247@mouses actually I want to run a nginx server on VBox so there will be multiple ports that need to be forwarded, eg 80 and 44307:01
=== Guest72677 is now known as lordievader
nickyhi all thx for your help,08:32
nickynow i can root my sudo08:32
nickyn_n08:32
nickywhat is bacula apt, i see that apt and try to install that apt, but i have an error progres? if i do something wrong!!!08:34
lotuspsychjenicky: sudo apt install bacula08:35
nickylotuspsychje: yess that apt08:36
nicky???08:36
nicky<lotuspsychje>: can you help me, please? i dont know what is that!08:38
lotuspsychjenicky: what are you trying to do?08:38
nicky<lotuspsychje>: i root my sudo and there listed to instal apt, i try and more apt is open, and i see that apt install bacula-director, and i install but i have an error here? if i do something wrong!!08:41
lotuspsychjenicky: pastebin your error08:42
nicky<lotuspsychje> yess??? and what!!!08:43
nickyapt install bacula-director08:43
nickyE: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)08:43
nickyE: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?08:43
nickythere ???08:43
hugoitomg :(08:44
lotuspsychjenicky: reboot, then: sudo apt install bacula-director08:44
nicky<hugoit>:????!!!! really08:44
hugoitnicky, follow lotuspsychje advice08:44
nicky<hugoit>: if i do something bad???08:44
nicky<lotuspsychje>: oke08:45
nicky<hugoit> oke08:45
nickyi do that but i cannt typing my psswd08:49
lotuspsychje!sudo | nicky08:49
ubottunicky: sudo is a command to run command-line programs with superuser privileges ("root") (also see !cli). Look at https://help.ubuntu.com/community/RootSudo for more information. For graphical applications see !pkexec (for older releases: !gksu and !kdesudo). If you're unable to execute commands with sudo see: http://www.psychocats.net/ubuntu/fixsudo08:49
ninehundredWhat's the difference between 18.04 and 19.04?08:49
lotuspsychjeninehundred: lts and non-lts08:50
ninehundredany differences in programs, interface etc. ?08:51
lotuspsychjeninehundred: come to #ubuntu-discuss please08:51
stoffepojken708:51
nickylotuspsychje>:nicky@nicky-l:~$ sudo|nicky08:51
stoffepojkensorry08:51
nickyusage: sudo -h | -K | -k | -V08:51
nickyusage: sudo -v [-AknS] [-g group] [-h host] [-p prompt] [-u user]08:51
nickyusage: sudo -l [-AknS] [-g group] [-h host] [-p prompt] [-U user] [-u user]08:51
nicky            [command]08:51
nickyusage: sudo [-AbEHknPS] [-r role] [-t type] [-C num] [-g group] [-h host] [-p08:51
ninehundredlotuspsychje i cant join the channel lol08:53
lotuspsychje!register | ninehundred08:53
ubottuninehundred: For information on registering your IRC nick, see https://help.ubuntu.com/community/InternetRelayChat/Registration - For any further help, ask in #freenode.08:53
=== test is now known as Guest78906
Guest78906test08:55
nicky<stoffepojken>: no problem but thx, and if i go to recovery and install that apt,???08:55
nickyhttps://freenode.net/groupreg????08:57
Guest78906?09:00
=== anonimip_ is now known as anonymip
olegьт09:07
lotuspsychje!ru | oleg09:07
ubottuoleg: Пожалуйста наберите /join #ubuntu-ru для получения помощи на русском языке. | Pozhalujsta naberite /join #ubuntu-ru dlya polucheniya pomoshi na russkom yazyke.09:07
benbrowhat should I add to iptables.up.rules to redirect incomin TCP on port 443 to port 3478?09:40
lotuspsychjebenbro: you could try the ##netfilter channel if you like, more firewall experts over there09:41
benbrothanks09:41
TJ-benbro: iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 347809:41
TJ-benbro: obviously set your interface name in place of "eth0" in that example09:42
benbroTJ-: do I have to define the interface or can I omit it?09:43
benbroTJ-: inside iptables.up.rules it's similar but without the prefix? "-A PREROUTING -i eth0 -p tcp --dport 443 -j REDIRECT --to-port 3478" ?09:44
TJ-benbro: you should generally be specific so the rule matches the interface(s) the packets arrive on09:44
TJ-benbro: that sounds about correct09:44
hugoitbenbro, pastebin an 'iptables -L -n'09:45
benbroTJ-: but if the interface name will change it'll break09:45
TJ-benbro: look at the existing rules and copy the style09:45
benbrothanks09:46
TJ-benbro: if the system has multiple interfaces and packets could arrive on any, then omit the "-i eth0" part09:46
LuckyManlotuspsychje, there's no one in that channel09:49
lotuspsychjeLuckyMan: #netfilter09:50
LuckyManlotuspsychje, thanks09:50
benbroTJ-: I've added this "-A PREROUTING -p tcp --dport 443 -j REDIRECT --to-ports 3478" to iptables.up.rules but when I try to apply it this line fail09:53
TJ-benbro: I tested adding the rule here manually and it works09:56
TJ-benbro: I tried it with and without the interface mentioned09:56
TJ-benbro: possibly there's some differences in the syntax of the file you're editing09:56
benbroTJ-: I've tried to add the rule manually without the interface but 'sudo iptables -L -n' before and after looks the same09:58
BluesKajHi folks10:02
felcobenbro -t nat -A INPUT -p tcp --dport 443 -j REDIRECT --to-ports 3478 ** i not sure right now, but if you are redirecting traffic coming to the firewall it self you should do that in the INPUT table10:03
tangorrihi, can't get my keyboard layout correctly bind ...10:03
benbrofelco: trying10:03
tangorrilayout is ok from ssh but not from vnc10:03
hugoittangorri, on one line, please provide software installed and what the problem with the layout is. thnx10:06
tangorrihugoit, just fresh lubuntu 18.04, my keybaord is not having the azerty (fr) keyboard layout10:07
hugoito7 activist10:07
hugoittangorri, have you tried 'sudo dkplg-reconfigure keyboard-configuration'10:08
hugoit (dpkg-reconfigure)10:08
TJ-tangorri: is the problem with VNC before login (at the greeter where you enter password) or is VNc running as the user account10:09
tangorriTJ-, occurs from the beginning (login as well)10:09
tangorrihugoit, I try to type it ....10:09
TJ-tangorri: if SSH is working it suggests the system config (which would apply to the greeter) is correct, unless the user account sets a different locale10:09
tangorrissh is perfect10:10
TJ-tangorri: that's likely due to the ssh client handling it, not the remote server10:10
TJ-tangorri: as hugoit suggests, trty reconfiguring the keyboard-configuration10:11
tangorriok so let's try reconf keyb10:11
SDrhey ubuntu, so, I'm trying to write a post-git-push script on (ubuntu) server side, which, when a git push is received, automatically deploys the code to the server (cds into a directory, runs git pull, npm install, forever restart). Issue is, 1,gitlab takes over standard post-receive hooks; 2, gitlab's custom post-hook is running with git UID; and10:11
SDr 3, setuid can't run on a bash script.10:11
tangorriproblem is I can't get the - key working ^^10:11
TJ-SDr: that isn't an Ubuntu issue it sounds like a git/gitlab issue10:11
TJ-tangorri: you can do it over the SSH connection10:12
SDrwell, it's a conceptual one10:12
tangorriok10:12
TJ-SDr: we don't do concepts :)10:12
SDrI'm wondering what ways there might be to approach this problem10:12
TJ-SDr: try asking in #git maybe?10:12
rudeguyhi, can anyone tell me where are the images for these icons stored: https://i.imgur.com/hj9MfRl.png10:13
hugoitSDr, hack-n-slask approach:  dont wait for push, just force pull every 60 seconds :D10:13
SDrhugoit, erm, no. other than CPU, forever restart also takes about .5 seconds, so this would result in a 1/120 downtime10:14
tangorrihugoit, my keyboard is a TLK (no numpad) so I need to choose something like tlk ?10:14
TJ-rudeguy: hard to be sure, but mostly they'd be expected under /usr/share/icons10:16
SDrI see a couple of solutions to this: use a drop-in C binary which executes the script; use git's perms on the directory (so script can run); use eg an http server running with sufficient perms, and an http hook; wonder what the best conceptual approach might be?10:16
hugoittangorri, won't matter too much, just choose a french layout and and if the numpad isnt there it wont change the behaviour of the rest of the keyboard10:16
tangorriok thanks :)10:16
tangorriI need to reboot ?10:23
tangorrior reopen session ?10:23
namehai10:24
namebisa bagi tool gak10:24
nameleave10:25
BluesKaj!id |name10:27
ubottuname: join ke #ubuntu-id untuk membahas ubuntu dalam bahasa Indonesia10:27
=== name is now known as adhi
tangorrihmmm too bad my keyboard layout is still bad hugoit10:30
adhil10:31
adhihelp10:31
tangorrieven after reboot10:31
adhime10:31
adhiiam in Indonesia10:31
rbanffyHi folks. Besides Konsole and Gnome Terminal (and derivations), do we know of any other terminal emulators that support the overline ANSI escape sequence (ESC[53m)?10:32
adhibye.iam10:32
adhileave10:32
Brali(j #winehq10:35
imanuelhello10:37
=== SimonNL is now known as SimonNL_Afk
TheWildhello11:04
TheWildUnity. Where I can set suspend on low battery?11:05
lotuspsychjeTheWild: take a look into dconf-editor or laptop-mode-tools11:45
TheWildthanks, although I'm not sure this approach will work on i3 (yes, I didn't mention that before. Sorry).11:46
TheWildGoing on with udev settings. If this will fail, I'm going to write my own script that continuously reads battery status and suspends the laptop if it goes too low.11:47
lotuspsychjeTheWild: i think laptop-mode-tools has cli options too, like what to do on low battery11:49
qwebirc9823whois12:16
mch  12:24
=== RoseBus__ is now known as RoseBus
=== mch is now known as machunhui-mix2s
=== machunhui-mix2s is now known as machunhui-mix2s-
RoseBushello, in the event where file/folder permissions got all fudged up in the /homes directory, would it be appropriate to run chmod 700 -R *12:28
RoseBusand on top of that question, why do some choose to make the folders different permissions than the files12:30
AmpelbeinRoseBus: no, that would also set files to executable12:30
machunhui-mix2s-chown -R root:root folder12:31
Ampelbeinbetter: find <path> -type d -exec chmod 0700 -R && find <path> -type f -exec chmod 0600 -R12:31
RoseBuswhy do folders need to be executable?12:32
Ampelbeinalthough that will fudge the executable permissions of files that maybe need to be executable in your home directory12:32
RoseBussorry for my LOK12:32
machunhui-mix2s-change the folder,s ower will be more ecffect12:33
Ampelbeinhttps://unix.stackexchange.com/questions/21251/execute-vs-read-bit-how-do-directory-permissions-in-linux-work that explains it quite well12:34
pestlakaretrying to play fortnite on lutris and failing12:36
=== machunhui-mix2s- is now known as MACHUNHUI
RoseBusdo subdirectories inherit permissions when created?12:44
hggdhRoseBus: no, they do not they will use the permissions as set in the current umask12:46
=== SimonNL_Afk is now known as SimonNL
RoseBuswhat is a folder with an '@' at the start12:47
RoseBusnvm this is device specific unrelated12:48
=== mch is now known as MACHUNHUI
carogaHi all. I wish to have touchpad gestures on my laptop with ubuntu 18.04. I was wondering what the recommended app would be for this, either Fusuma or Gestures ??13:17
RoseBuslrwxrwxrwx+13:19
RoseBuswhat does the l mean here?13:19
TJ-RoseBus: symbolic link13:20
RoseBusty13:20
RoseBusshould my ../homes dir be like this? drwxrwxrwx+ root:root13:21
TJ-RoseBus: yes13:23
ayekat/home yes, /home/$user not really13:23
RoseBuswho falls into the "other" category?13:24
ayekatah wait... didn't see the `+` there13:24
RoseBusis that guest?13:24
TJ-RoseBus: actually no, it ought to be drwxr-xr-x13:24
TJ-RoseBus: and that "+" means there are additional ACLs attached, so "getfacl /home" too13:24
RoseBusgetfacl: command not found13:25
RoseBussry not using ubuntu xD13:25
ayekatit's possible that it's owned by root, but with ACLs that give the corresponding user read/write access - but drwxrwxrwx would kinda defeat this13:25
TJ-RoseBus: that's not really fair, since we're here to support Ubuntu and if you're using a different distro then we have no idea what its defaults are13:27
RoseBusTJ, i know, this linux is very rarely used (synology NAS) and since "most" of my questions are not specific to this flavor and you guys are so active i came here for help13:29
TJ-RoseBus: you'd be better off in ##linux13:29
RoseBusahh thx13:29
qwebirc6059Hi, I have overwritten a text file with a wrong version. The editor made no copy before. I am Ubuntu 16.04 and my home directory is encrypted. How can I restore my original version? I have tried  sudo grep -F -a -z -C100 'search string' /dev/sda7 > file.txt without success because /dev/sda7 is /home but that one is encrypted.13:37
=== root__ is now known as Ph-T0b1
Ph-T0b1hi13:38
=== jstein_ is now known as jstein
Ph-T0b1hi mga putangina13:43
distopia🕵️13:45
TJ-qwebirc6059: without a backup you've lost it13:46
holstWhats up with VLC in 19.04? It does not start?13:47
holstIt just says13:48
holstVLC media player 3.0.6 Vetinari (revision 3.0.6-0-g5803e85f73)13:48
holstand then returns to the bash prompt13:48
lotuspsychjeholst: try launching vlc from the terminal, see if you can collect errors13:48
holsti did13:48
lotuspsychjeand?13:48
holstnothing. vlc --help shows the help but no UI or such when i type 'vlc'13:49
lotuspsychjeholst: how about in syslog?13:49
TJ-holst: is the env-var DISPLAY set?13:49
holstyes, i started the terminal from a regular login13:50
holst$DISPLAY is set to :013:50
lotuspsychjeholst: graphics drivers installed correctly?13:50
=== Ricardus_ is now known as Ricardus
lotuspsychjeholst: 19.04 version of vlc is 3.0.6-1 (disco) system up to date?13:52
holstmm, dist-upgrade ok. freshly installed 19.0413:53
lotuspsychje!uptodate | holst13:53
ubottuholst: To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`.13:53
holsti did not do the 'full install' though, i went with a 'minimal' install. without open office etc.13:53
holstubottu: I just did that, the system is up to date13:53
lotuspsychjeholst: are you using the snap vlc perhaps?13:54
holstno, the vlc-bin package13:55
holsthmm, i don't have the vlc package installed. let me try and install that :)13:56
holstwhops... ok. that was the problem. `vlc-bin` was not enough13:57
holsti just assumed that it would work when I had access to the `vlc` binary. strange that it does not give any feedback that it not installed completely?13:57
holstlotuspsychje: are all the snaps updated as often as the apt packages?14:01
holstI sort of like the idea that all dependencies are included in one package and I don't run into this problem :)14:01
BluesKaj!snaps14:02
ubottuSnaps are containerised software packages similar to flatpaks or appimage. For more info, see https://snapcraft.io14:02
holstsame version for vlc. I'll give that a try14:04
BluesKajno need for snap version of vlc tho14:04
other_rickI can't see all the chat thread, but if you have problems with vlc or any dependency maybe you need run the program in a terminal and see the stdout14:04
other_rickif any symbol is undefined of a library is missing a message error let me known14:06
giantonikhello guys. I have an issue with installation of nvidia driver with my hp omen. I have installed ubuntu 18.10 and when i install recommended driver for my video card (nvidia 430) and reboot the system, the screen's resolution is bad. The only driver that work are "noveau". Any suggestions?14:07
other_rickWhich kernel version you have?14:08
LuckyManwhere can I learn about the NEW set of tools used in ubuntu to get info about the network?14:08
holstother_rick: the problem was that I had only `vlc-bin` installed. to actually play something with `vlc filename.mp4` you need to have `vlc` package installed as well14:09
LuckyMan(I know about man pages, I want a simpler text)14:09
other_rickOh!14:09
holstfor me "new" is learning about systemd :-)14:10
holstsystemd is the best thing since sliced bread14:10
giantonik 4.18.0-18-generic #19-Ubuntu14:11
srulihow do i execute a script after screen has been locked for x minutes?14:12
JohnGavrsruli, i don't understand your question14:14
JohnGavrwhat do you want to do?14:14
srulii want to execute a script if screen (gnome) is locked for more than 20 minutes14:14
JohnGavrSo you don't want to lock your screen, right?14:15
sruliyes, i want to lock it, if its locked for 20 minutes then do some command14:15
holstdo you know how to detect if the screen is locked at all?14:16
sruli^^ thats my question really14:16
JohnGavri can't help you for sure14:17
ioriasruli,           org.gnome.ScreenSaver.GetSessionIdleTime14:17
sruliioria: how do i query that?14:17
ioriasruli,   https://people.gnome.org/~mccann/gnome-screensaver/docs/gnome-screensaver.html   (at bottom)14:18
srulithanks14:18
ioriaok14:18
sruliioria: Error org.freedesktop.DBus.Error.UnknownMethod: No such method 'GetSessionIdleTime'14:20
ioriasruli, yes, that method is not supported in 3.x versions14:25
TJ-sruli: you could try using 'dfeet' to explore org.gnome.ScreenSaver for an alternative likely looking node14:27
sruliioria: i manage to get status with bus-monitor --session "type='signal',interface='org.gnome.ScreenSaver'" that waits for changes, how would i just query it and exit (not monitor)14:27
sruliTJ-: u like making things harder for me lol ;-)14:28
sruliTJ-: will try that tool see where it gets me14:28
ioriasruli,  i use this for execute scripts after (or bf) locking : https://paste.ubuntu.com/p/WRjbD7K7Yx/14:30
ioriasruli,  replace 'echo null' with your cmds14:30
marcohiiii14:31
sruliioria: that will execute on status change, i need to execute after x minutes locked14:31
marcohii guys14:31
marcomy name is Marco14:32
marcoand your?14:32
sruliread the list lol14:32
TJ-sruli: should be possible to trigger a systemd timer when the session locks... but as to how *shrugs*14:33
=== RoseBus_ is now known as RoseBus
marcowhere is the list?14:33
ioriasruli,  at the moment, the only thing i can think of is using  xprintidle14:34
ioriasruli,  something like this:   a=0; while [ $a = 0 ] ; do var=$(xprintidle); if [ "$var" -gt 2000 ]; then xterm; a=1;fi; done14:36
srulithanks, will try that14:36
af1everyone,can you tell me how to reset cairo-dock?14:37
TJ-sruli: you could use this to detect lock/unlock presumably, and that could enable/disable a systemd timer https://unix.stackexchange.com/questions/28181/run-script-on-screen-lock-unlock#2818314:38
sruliioria: xprintidle gived me output of either 7 or 8 regardless if i have been idle for 1 second or 30 seconds14:38
mrv__hey guys I am using ubuntu in ec2 aws I installed apache 2 and mysql server, set security groups also for mysql and all traffic and still I am not able to connect my site with database14:39
mrv__any ?14:39
mrv__anyone?14:39
af1idk14:40
ioriasruli, try the line above  (replace xterm with gnome-terminal)14:40
sruliioria: it seems xprintidle reports in 1000's of second, sleep 10 ; xprintidle gives 983214:50
ioriamilliseconds yes14:50
sruliioria: milisenconds = 100, this seems to be 1000's14:51
TJ-sruli: milli is a thousandth, not a hundredth14:51
giantonikHello guys. I have an issue with installation of nvidia driver with my hp omen. I have installed ubuntu 18.10 and when i install recommended driver for my video card (nvidia 430) and reboot the system, the screen's resolution is bad. The only driver that work are "nouveau". Any suggestions? this is my lshw -c video outuput after the installation of driver: https://imgur.com/hgd3gI814:51
sruliooops my bad14:52
=== lol768_ is now known as lol768
sruliioria: TJ-: i think i will execute xprintidle on the dbus change to lock and kill it if it unlocks inside x minutes14:55
ioriayes, let's try that14:55
srulithanks14:55
=== qwebirc78180 is now known as duncan-nz
duncan-nzI've just installed Ubuntu 19.04 alongside Windows 10 on a Lenovo W540 with legacy boot. Windows boots okay, but Ubuntu doesn't get past the loading screen. Any ideas?14:58
tomreyngiantonik: hi. while 18.10 is still supported (until july), maybe it wasn't the ideal choice. there is 18.04 LTS, a long term support release, and there is 19.04 (release last month), the latest short term (9 months) support release (like 18.10 is).14:58
tomreyngiantonik: so with 19.04 you'd get newer software (which may fix issues in older versions), with 18.04 LTS it's more likely you'll get bug fixes backported.14:59
tomreynduncan-nz: were there any errors during the ubuntu installation, though?15:00
duncan-nztomreyn: no, nothing15:04
BluesKajgiantonik, looks like the gpu is unclaimed, make sure you use the correct driver which should be the nvidia-41815:05
tomreynduncan-nz: repeatedly pressing escape during early boot should bring up the grub menu, are you able to get there, and boot with failsafe graphics?15:05
duncan-nztomreyn: i'm in the grub boot menu now. how do i load with failsafe graphics?15:07
duncan-nztomreyn: I should mention that I did try the live CD and everything seemed to work fine.15:08
tomreynduncan-nz: hmm this should be an option listed on 19.04, maybe in "Advanced"15:08
duncan-nztomreyn: i've only got a choice of kernels and a 'recovery mode'15:09
tomreynoh you said you installed with legacy boot, that'll be why.15:09
tomreynwhy did you install ubuntu in legacy BIOS mode? and did you install windows in bios mode, too? does windows 10 support bios mode at all? if not, how are you switching?15:10
duncan-nztomreyn: in the bios it was set to legacy boot support and priority so I went with that and disabled UEFI.15:10
tomreyndoes windows 10 still boot then?15:11
duncan-nztomreyn: windows boots fine15:11
bazulwindows boobs fine15:11
duncan-nztomreyn: i've started recovery mode15:12
tomreynduncan-nz: i would very much recommend you install both OS in the same boot mode15:12
duncan-nztomreyn: agreed. isn't that what I did? I assumed Ubuntu installed with legacy boot if the system didn't seem to be using UEFI. But it didn't ask at any time.15:13
tomreynduncan-nz: ubuntu will install in the mode the installer is booted in. so if you want ubuntu to install in uefi mode, boot the installer in uefi mode.15:14
duncan-nztomreyn: but it didn't prompt me at any time to decide. so how do i know what mode the installer is booting in?15:15
duncan-nztomreyn: should I start the live USB again?15:16
=== SimonNL is now known as SimonNL_Afk
tomreynduncan-nz: you will need to have the firmware boot the usb in uefi mode. i suggest you do so if you think ubuntu was not installed in uefi mode.15:16
tomreynalternatviely you can boot to recovery and we can establish how ubuntu is installed15:17
duncan-nztomreyn: so what should I be looking for in the bios? I'm asking about what the setting you talk about would be called.15:18
roboirccan somebody tell me how to reset ubuntu's repository update settings or something like that? getting errors when trying to update manually in Ubuntu 18.04. thx15:18
duncan-nztomreyn: and now I got in by continuing from the recovery mode environment. I'll do an update.15:18
giantonikUse rufus on windows to create live USB with GPT partition table15:19
giantonikfor UEFI15:19
tomreynduncan-nz: that's much guessing, i'm afraid, since it depends on the firmware really. there are also firmwares which lack support for usb booting in uefi mode. here are smoe guesses: "USB: ubuntu", "USB (UEFI)", "EFI: USB"15:19
duncan-nzgiantonik: are you talking to me? I did use rufus. What's the reference to GTP about?15:20
BluesKajroboirc, what kind of errors ?15:21
tomreynduncan-nz: if you paste this to a temrinal window, it will report how ubuntu booted:    [ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"15:21
duncan-nztomreyn: I guess i need to be sure if windows is booting in legacy or uefi mode before doing anything though, right?15:22
giantonikduncan-nz: yes. MBR for bios. GPT for UEFI15:22
tomreynduncan-nz: as far as i know windows 10 will always boot in uefi mode, but, sure, i can be wrong, so mabye ensure this is the case, first.15:22
fribI get permission denied (public key) and I think it's because my username is on both machines but the UID doesn't match. how do I fix this thanks?15:23
duncan-nztomreyn: the bios says 'UEFI Secure boot: OFF' but that's maybe a sub-function of UEFI boot?15:24
tomreynduncan-nz: it is an optional functionality of uefi indeed15:25
giantonikduncan-nz: you can choose GPT or MBR on Rufus15:25
tomreynduncan-nz: as giantonik suggests, there is a chance that you wrote the ubuntu installer iso file to the installer storage in a way wthat predetermined how it will boot / can be booted.15:26
duncan-nztomreyn: but I have had success getting Ubuntu to boot at least once. Would that be possible if they were in different boot modes.15:27
tomreyni'm not familiar with rufus, usually recommend https://etcher.io instead, which does both ensure the standard ubuntu desktop installer is bootable in both legacy bios and uefi mode, and verifies it was written to the installer storage properly.15:28
duncan-nztomreyn: should I just go back to windows and make a new live cd using GPT.15:28
giantonikduncan-nz: yes15:29
tomreynduncan-nz: you can either boot to ubuntu and run the command i provided above to check which mode it is installed in, or boot to windows and prepare a fresh installation.15:29
giantonikboot to windows and prepare a fresh installation.15:30
duncan-nzgiantonik: in bios startup it says: 'Boot > UEFI/Legacy Boot : [Legacy Only]'15:30
giantonikyou have uefi15:30
duncan-nzgiantonik: sorry for being sceptical, but I don't understand how 'legacy only' can tell me I am using UEFI.15:31
giantonikyou need new live usb from rufus with GPT option enabled15:32
giantonikdo you have secure boot?15:32
duncan-nzgiantonik: yes, but it's turned off15:32
giantonikperfect15:32
giantoniktry how i15:33
giantonikas I told you15:33
duncan-nzgiantonik: sorry for being sceptical, but I don't understand how 'legacy only' can tell me I am using UEFI.15:33
duncan-nzgiantonik: I like to understand this15:33
giantonikscuse me15:34
giantonikyou have BIOS15:34
giantoniknot UEFI15:34
giantonikyou need new live usb from rufus with MBR option enabled15:35
giantonikscuse me but i understood that you have UEFI15:35
duncan-nzgiantonik: I'm pretty sure that's what it was I'll boot again via recovery mode and use @tomreyn command to check how it booted.15:36
roboircBluesKaj: "Failed to download repository information"15:43
lotuspsychjeroboirc: use a pastebin with the full errors please15:43
roboircok 1 sec15:44
srulii need to close a remote gedit window, anyway i can send ctrl+s over ssh? (xdotool wont work as cant get it to focus window while screen is locked)15:45
duncan-nztomreyn: according to your script ubuntu is loading in legacy mode. Windows 10 also reports that it is booting in legacy mode. So something else is wrong. Eveything seems to work okay once I go through recovery mode. so maybe I should just load propriatory drivers ...15:46
roboirchttps://pasteboard.co/IeniU82.png15:46
tomreynduncan-nz: okay, so i understand you have both OS installed in legacy mode. is this how you intend to keep it?15:46
roboircBluesKaj: https://pasteboard.co/IeniU82.png15:47
lotuspsychjeroboirc: from a terminal please: sudo apt update && sudo apt full-upgrade15:47
roboircok 1 sec15:47
roboirclotuspsychje: https://pastebin.com/kUaqiWnf15:48
duncan-nztomreyn: I'm not aware of any reason to change it. Should I look into it?15:48
tomreynduncan-nz: if so, yes, just boot to ubuntu recovery menu, enable networking, start the root shell and run: sudo apt update && sudo apt full-upgrade && sudo ubuntu-drivers autoinstall15:48
lotuspsychjeroboirc: you got tons of external ppa's there, we dont support, please use !ppapurge to bring them back to vanilla sources15:49
roboircok15:49
roboirchow where?15:49
lotuspsychje!sources | roboirc start here15:49
ubotturoboirc start here: The packages in Ubuntu are divided into several sections. More information at https://help.ubuntu.com/community/Repositories - See https://wiki.ubuntu.com/RecommendedSources for the recommended way to set up your repositories.15:49
lotuspsychjeroboirc: also, alot of packages you added ppa's for, we also have in the official ubuntu repos15:50
roboircso what do I do now lotuspsychje?15:50
lotuspsychjeroboirc: we advise to run ubuntu with the default sources, see the factoid above^15:51
roboircso I should check out: the recommended sources?15:51
lotuspsychje!ppapurge | roboirc to remove them15:51
ubotturoboirc to remove them: To disable a PPA from your sources and revert your packages back to default Ubuntu packages, install ppa-purge and use the command: « sudo ppa-purge ppa:<repository-name>/<subdirectory> » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html15:51
roboircok15:51
tomreynduncan-nz: the first two of these commands update uubntu generally, the latter installs proprietary drivers. if you, however, prefer to boot both Os in uefi mode (personally i'd prefer this, since some functionality now depends on this, and legacy bios mode is not going to be supported, at least by windows, for much longer), you'll neeed to reinstall both operating systems, starting with windows, ensuring you always boot in eufi mode (disable15:52
tomreyncompatibility support module / CSM / legacy BIOS)15:52
duncan-nztomreyn: i don't have the original installational media and can only install windows form the recovery partition. In that process I don't have many options, but I might look into it.15:53
duncan-nztomreyn: thanks for your help15:53
tomreynduncan-nz: okay, there's ##windows if you'd like to seek assistence with that15:54
duncan-nztomreyn: thanks15:54
tomreyn(another channel here on freenode, with those double hashes)15:54
roboirclotuspsychje: how would I remove the package from line 33 in https://pastebin.com/kUaqiWnf ?15:56
roboirclotuspsychje: how would I remove the package from line 30 in https://pastebin.com/kUaqiWnf using ppa-purge? Can you show me the syntax? thanks15:56
lotuspsychjeroboirc: we cant know what exactly you added, check your sources.list to see related mono ppa?15:57
roboircok15:57
roboircthanks lotuspsychje resolved the issue16:02
lotuspsychjeroboirc: if you need an ubuntu package in the future, try: apt-cache search yourprogram16:03
lotuspsychjeroboirc: this way, you will avoid dependency issues from adding external ppa's16:04
toothless<316:16
toothlesso o16:16
=== sammy1212 is now known as sammydean
sruliTJ-: any idea how to run xdotool from bash while screen is locked?16:21
amosbirdhttps://github.com/alols/xcape  can I change capslock to control_l and generate capslock when pressed and released on its own?16:22
TJ-sruli: 'x' implies needing to know the DISPLAY16:22
sruliTJ-:  i guess export DISPLAY wont help me here16:23
ChunkzZhow can I stop this? Warning: The unit file, source configuration file or drop-ins of minidlna.service changed on disk. Run 'systemctl daemon-reload' to reload units.16:32
ChunkzZafte every reboot?!16:32
ChunkzZafter*16:32
TJ-sruli: I wonder if you can use the IdleSinceHint ?  gdbus introspect --system --dest org.freedesktop.login1 --object-path /org/freedesktop/login1/seat/self --recurse  --only-properties16:38
sruliTJ-: Error: GDBus.Error:org.freedesktop.login1.NoSessionForPID: Caller does not belong to any known session16:39
TJ-sruli: what desktop are you using?16:39
sruli18.0416:39
TJ-Ubuntu/Gnome?16:40
sruliyes16:40
srulithe regular lts16:40
TJ-sruli: and issuing the command on the system not via ssh?16:40
srulicorrect16:40
TJ-sruli: hmmmphh16:40
=== oem is now known as codingmonkey
codingmonkeyDoes anybody know if it possible to run "Roblox App" maybe via Wine on 18.04?16:48
codingmonkeyThanks in advance.16:48
roboircthanks lotuspsychje for the tip16:58
lotuspsychjeroboirc: welcome16:58
=== SimonNL_Afk is now known as SimonNL
=== oem_ is now known as codingmonkey
SimonNLcodingmonkey: wine DB might have some recording of it17:08
mailbird.17:31
wondowswhy do I always get a prompt during system start?17:41
wondowsit goes away in 5 secs and has options to enter recovery mode and such17:41
denisanderoi pessoal17:43
grokewondows, it's probably Grub?17:43
wondowsgroke: I think so17:43
grokeit's by design then17:43
wondowshow to disable it?\17:43
grokeprobably in grub.cfg17:43
grokenot sure if it's a good idea to disable it completely wondows17:44
grokeit's there for a reason17:44
wondowshmmmmmm17:48
blackflowwondows: GRUB_DEFAULT_STYLE="hidden" should be default in /etc/default/grub. See the file header for more info on this and other options.17:51
blackflowwith this, the menu is hidden on normal boot. reappears if previous boot was considered a failure.17:52
wondowsmine doesn't have a GRUB_DEFAULT_STYLE entry17:53
EriC^^wondows: try setting GRUB_HIDDEN_TIMEOUT=017:54
EriC^^it's probably commented out with a "#" remove the #17:54
EriC^^then "sudo update-grub" in a terminal17:54
wondowsit also doesn't have a GRUB_HIDDEN_TIMEOUT entry17:55
wondowsmy file must be messed up then17:55
wondowseven though I never touched it17:55
EriC^^wondows: can you type 'cat /etc/default/grub | nc termbin.com 9999'17:55
EriC^^and paste the link it gives you here17:55
wondowshttps://termbin.com/99an17:56
blackflowGRUB_HIDDEN_TIMEOUT is deprecated in favor of GRUB_DEFAULT_STYLE17:56
blackflowplease read the info page as instructed by the header of /etc/default/grub17:57
lotuspsychjewondows: wich ubuntu version is that?17:57
codingmonkeyDoes anyone know how id load something up in Wine?17:57
codingmonkeyI have on my desktop the .exe and wine1.6 installed.17:58
wondows18.04.2 LTS17:58
codingmonkeyIm confused on how to do the Directory17:58
CarlFKcodingmonkey: I seem to remember double clicking .exe working17:58
codingmonkeyNo I get an error :/17:58
noregret_how can I stop/disable docker? I didn't find a systemd service for it. It got installed when ubuntu was set up, I don't remember what I chose during setup17:58
CarlFKcodingmonkey: error details are much easier to work with - post it please17:59
EriC^^wondows: try adding GRUB_HIDDEN_TIMEOUT=0 and then update-grub17:59
=== Vercas_ is now known as Vercas
EriC^^no offense blackflow17:59
codingmonkey@CarlFK: I try to right click using my touch pad on the laptop to run with wine but right click doesnt seem to work.17:59
codingmonkey@CarlFK it just says "An error occurred while loading the archive".18:00
=== kostkon_ is now known as kostkon
=== pizzayolo is now known as pizzaiolo
wondowsI have added GRUB_DEFAULT_STYLE="hidden"18:01
CarlFKcodingmonkey: "archive" sounds like it is trying to open it as a zip/tar/rar kinda thing.    did you install wine with the ubuntu package manager?18:02
EriC^^wondows: ok, im pretty sure you still need to set the timeout though?18:02
EriC^^hidden just means it wont show, not necessarily boot straight away18:02
blackflowEriC^^: none taken :)18:03
codingmonkey@CarlFK ah I see yeah thoght that but it is a .exe file on my desky :/ I installed as follows: "sudo apt-get install wine1.6"18:03
EriC^^:)18:03
wondows"This option is unset by default, and is deprecated in favour of the      less confusing 'GRUB_TIMEOUT_STYLE=countdown' or      'GRUB_TIMEOUT_STYLE=hidden'."18:03
codingmonkey@CarlFK Shell I just uninstall and re-try via the Ubuntu Package Manager?18:04
CarlFKcodingmonkey: no - apt is the same thing.  I think.  I have a test machine I I can try all this on, but may take 5-10 min..18:05
codingmonkeyI also have problems with right click on touch pad? its a HP Notebook but I installed via USB on Netbooting and not just "Ubuntu Install" it was the "OEM" install.18:05
giantonikHello guys. I have an issue with installation of nvidia driver with my hp omen. I have installed ubuntu 18.10 and when i install recommended driver for my video card (nvidia 430) and reboot the system, the screen's resolution is bad. The only driver that work are "nouveau". Any suggestions? this is my lshw -c video outuput after the installation of driver: https://imgur.com/hgd3gI818:05
codingmonkey@CarlFK yeah IIRC it is! but depends on maybe versions etc.18:05
codingmonkey@CarlFK its not a problem if you cant I just need to figure out how to point the Terminal in the right DIRR for the desktop to ru via wine.18:06
blackflowwondows: right, so set that as "hidden", run `update-grub` and it should work as expected18:06
wondowshopefully, thanks blackflow EriC^^18:07
CarlFKcodingmonkey:cd Desktop; wine foo.exe ?18:07
codingmonkey@CarlFK I will give it a shot..18:08
* codingmonkey heads off to a TErminal18:08
lotuspsychjegiantonik: whats your uefi settings like?18:09
lotuspsychjegiantonik: and from where did you get the 430 driver?18:10
giantoniki have installed from GUI "Software and Driver"18:10
lotuspsychjegiantonik: no ppa's?18:11
codingmonkeyhow do I get into Desktop ? via Terminal. I have fogotten as I've been off Ubuntu for along time lol.18:11
giantoniklotuspsychje: no no because i tried in other laptop and it work18:12
lotuspsychjegiantonik: you singleboot or dualboot?18:13
giantonikdual boot18:13
=== dhill is now known as dhill_
lotuspsychjegiantonik: ok please try to boot ubuntu with fastboot=off and secureboot=off as a test to see if it unlocks your card18:13
lotuspsychjegiantonik: please keep in mind, changing uefi settings could influence an install18:14
giantonikwithout secureboot blackscreen18:14
lotuspsychjegiantonik: for gtx cards thats normal, you need to get in via !nomodeset then18:14
lotuspsychjegiantonik: then install the nvidia driver, adviced one from the ubuntu graphics ppa18:15
=== noregret_ is now known as noregret
lotuspsychje!nvidia | giantonik18:15
ubottugiantonik: For nvidia and matrox graphics cards, see https://help.ubuntu.com/community/VideoDriverHowto . For AMD/ATI graphics cards, see « /msg ubottu ati » and « /msg ubottu fglrxmissing » For the latest Nvidia drivers see https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa18:15
cyancalitest18:16
giantonikscuse me, but Do I install repositories from the GUI?18:16
giantonikit's the same thing18:17
lotuspsychjegiantonik: try to work systematic, first try to boot with changed uefi settings18:17
giantonikok thanks18:18
lotuspsychjegiantonik: then if you enter nomodeset, you can add the ppa GUI and install a driver from there18:18
noregretI woke up with ubuntu server 18.04 unreachable, I had to up -> down its interface for it to connect again. I looked at syslog and found out when it stopped connecting to the internet but i don't know what happened, how can I troublshoot this further?18:19
lotuspsychjecome join to #ubuntu-server please noregret18:19
giantonikthen I have to change the grub permanently18:19
noregretlotuspsychje: thanks18:19
lotuspsychjegiantonik: the nomodeset is just to get in graphicly, bypass your black screen18:21
giantoniki have black screen if there is set secure boot on bios after install driver18:23
lotuspsychjegiantonik: well you said you already saw driver 430, so first check ubuntu-drivers list perhaps18:24
roboirclotuspsychje how do I add a signing key to a ppa in ubuntu?18:24
lotuspsychjeroboirc: we dont support external ppa's as said before, for support of a ppa, please adress to the maintainer18:25
roboirci checked their site, they give a key18:25
roboircbut how do I add the key to Ubuntu?18:25
lotuspsychjeroboirc: wich program are you trying to install?18:26
giantonikyes nvidia 430 are recommended18:26
roboircfilezilla18:26
roboircsee: https://launchpad.net/~sicklylife/+archive/ubuntu/filezilla18:26
roboircit gives me the signing key but how do I add it to ubuntu sources?18:26
lotuspsychjeroboirc: why dont you install filezilla with apt, like suggested before?18:26
roboircok18:27
lotuspsychjegiantonik: allright, lets try to install the 430 then reboot18:27
kezimoOk so I have a webserver running Ubuntu using a custom distro https://aws.amazon.com/marketplace/pp/B00NN8Y43U?ref=cns_1clkPro18:28
kezimoBitnami certified wordpress18:28
giantoniki have tried18:28
kezimo5.1.1-2 on Ubuntu 16.04 running Apache18:28
giantoniknow i try with !nomodeset18:28
kezimoBoth domain.com and www.domain.com are pointed at the IP but only www.domain.com works18:28
kezimoHow do I fix18:28
kezimoi have 5.1.1-2 on Ubuntu 16.04 running apache via this AWS AMI https://aws.amazon.com/marketplace/pp/B00NN8Y43U?ref=cns_1clkPro both domain.com and www.domain.com are pointed at the ip but only www.domain.com works18:30
LORENZOhola18:35
lotuspsychje!es | LORENZO18:35
ubottuLORENZO: En la mayoría de los canales de Ubuntu, se habla sólo en inglés. Si busca ayuda en español entre al canal #ubuntu-es; escriba " /join #ubuntu-es " (sin comillas) y presione intro.18:35
wondowscan you use symlinks to .desktop files in /usr/share/applications/?18:36
ceibal_118:38
lotuspsychjegiantonik: is it working?18:42
ceibal__fmf18:42
ceibal__fekmc18:42
ceibal_tr18:43
ceibal_v18:43
ceibal_f18:43
ceibal_drkf18:43
ceibal_drpel18:43
ceibal_+r+cr18:43
giantoniklotuspsychje: recapitulate, i have to disable secure boot on bios, install ubuntu recommended driver and reboot. If appears blackscreen i have to set !nomodeset from bios18:49
lotuspsychjegiantonik: first is secureboot & fastboot= off then nomodeset, then install 430 and normally after reboot it should work18:51
noyzeho18:51
roboircnoyz huh18:52
giantoniklotuspsychje: near the line quiet splash?18:55
lotuspsychje!nomodeset | giantonik18:55
ubottugiantonik: A common kernel (boot)parameter is nomodeset, which is needed for some graphic cards that otherwise boot into a black screen or show corrupted splash screen. See http://ubuntuforums.org/showthread.php?t=1613132 on how to use this parameter18:55
wondowsis /usr/include for system files and /usr/local/include for stuff installed by me?18:57
wondowswell I guess it's whatever18:57
bazulah18:58
bazulmy power plug has a web server18:58
bazulis this 201918:58
lotuspsychjebazul: only ubuntu support questions here please18:58
bazulsorry18:58
CarlFKwhere is the 'project page' for  apt-cache policy grub-ipxe ... 1.0.0+git-20150424.a25a16d-1ubuntu1.218:59
CarlFKlp search takes me to https://launchpad.net/ubuntu/+source/ipxe19:00
lotuspsychjeCarlFK: what are you trying to do as end goal?19:01
CarlFKlotuspsychje: install it on debian19:01
lotuspsychjeCarlFK: ask in #debian if they got the package somewhere?19:02
CarlFKlotuspsychje: I was going to, but wanted to reference the ubuntu package page - and maybe see a link to "upstream"19:02
CarlFKlotuspsychje: and now I'm confused and curious - just noticed on that lp page "grub-ipxe: Network booting from GRUB using iPXE"19:03
CarlFKlooks like that page is the page I was looking for. drilling down I see:  Package files                  grub-ipxe_1.0.0+git-20190109.133f4c4-0ubuntu2_all.deb          (740.9 KiB)19:04
TJ-CarlFK: for Debian see https://packages.debian.org/search?suite=stable&section=all&arch=any&searchon=sourcenames&keywords=ipxe19:05
CarlFKTJ- yeah.. but no "adds it to grub"19:06
TJ-CarlFK: indeed, it's a direct import to Ubuntu. You can tell that in a package version due to the 0ubuntu... part. Where that "0" is should be the debian package version. 0 means there isn't one.19:07
CarlFKTJ-: thanks - I wont bug #debian then19:08
TJ-CarlFK: in the grub-iipxe changelog you can see when the grub-ipxe package was added "ipxe (1.0.0+git-2.149b50-1ubuntu2) precise; urgency=low"19:08
TJ-CarlFK: that's in http://changelogs.ubuntu.com/changelogs/pool/main/i/ipxe/ipxe_1.0.0+git-20180124.fbe8c52d-0ubuntu2/changelog19:09
TJ-CarlFK: it may well be posible to appy the same patches to enable grub-ipxe binary package if you want to build the package on Debian of course19:09
CarlFKTJ-: prolly, but thats way more work than trying to figure out when and what F8 key to hit during post, which is what I was trying to avoid19:11
TJ-CarlFK: :D19:11
lotuspsychje!rootirc | root19:11
ubotturoot: It's not technically our business, but we'd like to tell you that IRC'ing as root is a Very Bad Idea (tm). After all, doing anything as root when root is not needed is bad, and especially bad with software that connects to the Internet.19:11
=== root is now known as Guest80172
TJ-That is a stupid factoid these days!19:12
roboircwhy is that so?19:12
roboircwhy is using irc as root bad?19:12
Ben64roboirc: it says right there19:13
roboircmeh19:14
CarlFKTJ-:  this didn't error, wanna take a guess what happens?   wget https://launchpad.net/ubuntu/+archive/primary/+files/grub-ipxe_1.0.0+git-20190109.133f4c4-0ubuntu2_all.deb ; sudo dpkg -i grub-ipxe_1.0.0+git-20190109.133f4c4-0ubuntu2_all.deb19:15
CarlFKwoot!  it worked! :D19:16
TJ-roboirc: it's not accurate; firstly the IRC ~user@host does not prove the client username is 'root', even root@host doesn't not prove that since it is confirmed using the IDENT procotol. Secondly,  'root' may not be the alias for UID 0, and thirdly, The IRC client could be running within an unprivileged container where UID 0 inside the container maps to UID 10000000 on the host OS :)19:16
TJ-CarlFK: I would expect it would work since the're very little delta between Debian and Ubuntu for that package19:16
TJ-CarlFK: also, it is installing code that executes before Linux loads so the only incompatiblity might be in the config scripts19:17
roboircmeh19:18
MoPac(18.10 - Unity) I'm experiencing a pretty bizarre error: my clipboard has stopped working, or at least pasting. This persists through a logout and a restart. It appears to affect all apps and cross-app pasting, including terminal, and it doesn't matter whether using ctrl-v/ctrl-shift-v or right click --> paste.19:55
MoPacI installed CopyQ and can see copied text entering the clipboard, and I can use its own onboard functionlity through its app indicator to autotype pastes, but otherwise I really don't know where to start on diagnosing the issue. I'm not even entirely sure what the clipboard *is* per se, from a code point of view19:56
=== pizzayolo is now known as pizzaiolo
zullHi guys could you help me in dns and domain? we have a domain: globepostalservice-posta-nazionale.com. This domain should address to the ip 87.118.125.214. In this IP there is an ubuntu server with nginx turned on. I am in tail -f in all the nginx log files but I cannot see any http request. Is it a ubuntu bad configuration or something about DNS?20:40
tdszull: that looks like a dns issue - http://dnsviz.net/d/globepostalservice-posta-nazionale.com/dnssec/ has some details20:42
zulltds than what could I do to fix it?20:45
tdszull: it looks like you've got NS records pointed at some hostnames that fail to resolve - you probably need to contact whoever runs those nameservers20:46
tdsoh! that zone gets delegated back to you eventually, assuming you're 87.118.124.21420:47
zullthen it is not a my fault in some configuration of bind. I never did it and I am not able to understand who make the mistake.. me into the server or the provider who gives me the domain20:47
tdsso you need to fix the nameserver running on your machine20:47
zullok could you give me some advise to solve this?20:48
tdswhen I query your nameserver for globepostalservice-posta-nazionale.com or NS.CUSTOMERSERVER0196001.EURHOSTING.NET I get back refused, so you probably need to check your bind config, see if you've included those zones and whether you've filtered queries to specific addresses20:49
tdsif you're using bind then you probably want #bind :)20:49
zullYes I installed bind but I didn't configured it20:50
tdsah, that'd do it, go write some config :)20:50
teliotunable to get netplan.io working on fresh install of server 18.04.02 despite google's help20:51
zullok if I go doing it. could you give me some exaplme to do follow?20:51
TJ-tds: zull if ns.customerserver0196001.eurhosting.net isn't returning a record, isn't that eurhosting.net problem (assuming they control the customerserver0196001 zone ?20:52
tdsTJ-: the CUSTOMERSERVER0196001.EURHOSTING.NET zone is delegated back to NS.CUSTOMERSERVER0196001.EURHOSTING.NET and ns2... which appear to both be zull's server at 87.118.125.21420:53
rnyhedeaahhahahah fools20:53
zyomoaahhahahah fools20:53
wflxuwyaahhahahah fools20:53
hhwuuryaahhahahah fools20:53
mikvdmuaahhahahah fools20:53
mikvdmuaahhahahah fools20:53
zyomoaahhahahah fools20:53
wflxuwyaahhahahah fools20:53
rnyhedeaahhahahah fools20:53
rnyhedeaahhahahah fools20:53
tdsoh, only ns2 points at that ip actually, ns is 87.118.124.21420:53
TJ-my 'dig' isn't able to resolve any of them20:54
tdsyou need to query the nameserver for eurhosting.net directly, since they're glue records20:55
tdsso the a records are included in both the delegated zone and the parent zone, and your resolver is probably attempting to query the nameservers for the delegated zone and failing20:55
tdszull: is 87.118.124.214 yours as well?20:56
zullyes tds20:56
tdsok, so you need to configure bind on both of those boxes with zonefiles for both customerserver0196001.eurhosting.net and your other domain20:56
zullif you tell me which file edit and what  to write I could be very very happy...20:56
TJ-tds: oh, I mistyped the @20:56
tdszull: google around and you'll probably fine a guide, but the tldr is write a pair of zonefiles and add zone declarations in the bind config with references to those zonefiles20:58
tdss/fine/find/20:58
TJ-zull: I'd set one of the up as the 'master' SOA, and the other as a slave20:58
TJ-zull: that way you only have to edit zone files on one host and they syay synced20:59
TJ-s/syay/stay/20:59
zullthen you are saying I need to configure bind9 adding zones and configure nameserver for my ip maybe finding some example. right?21:00
teliotthis netplan.io config not working. https://pastebin.com/w773hvAL  do i need todo anything besides the yaml to change to netplan?21:00
zulltds, TJ: I mean edit the file /etc/bind/named.conf.local and starting studying from this?21:01
TJ-teliot: of course it won't work, the file isn't a .yaml21:01
teliotwhen i rename the file i cant ping gateway, i rename the file to ssh and use pastebin21:02
TJ-teliot: see "man netplan" and particularly ".... All /{lib,etc,run}/netplan/*.yaml are considered ..."21:02
TJ-teliot: ahh, OK... well that sounds like you've got some other problem.21:04
TJ-teliot: netplan only writes systemd-networkd .network files under /run/systemd/network/ so when the YAML is active, examine what is being written to the files there for the bridge. And ensure you have no firewall rules blocking the interface br021:06
teliotTJ-: rebooting now21:07
teliotlooks like that same as the yaml file. i see nothing wrong. i could screen shot the esxi console if you would like to see21:09
TJ-teliot: this is a similar example showing what you'd expect systemd-network files to contain - note these are statically written files in /etc/systemd/network/ but your files would be in /run/systemd/network/ if generated by netplan http://paste.debian.net/1083643/21:09
telioti just get 3 files, i can switch the yaml back, reboot and compare21:10
TJ-teliot: as it is the systemd-network config that actually sets up the network, it is always best to check that i being created correctly, before worrying about the YAML21:10
TJ-teliot: yes, you should have a br0.netdev, br0.network and ens160.network21:11
teliotcorrect21:11
teliotping 192.168.1.1 fails21:11
TJ-teliot: if you have local console (not using network SSH) to that host, then check for firewall rules blocking the br0 interface21:12
teliotufw status is inactive21:12
TJ-teliot: because your pastebin when not using netplan was assigning the address to ens160 itself NOT a bridge21:12
telioti will dhcp that and see what changes21:13
TJ-teliot: try manually creating/configuring the bridge identically to how you want it21:13
telioti dont know how todo that21:13
TJ-teliot: as in "brctl addbr br0; brctl addif br0 ens160; ip addr add 192.168.1.230/24 dev br0"21:14
teliotbridge-utils was not installed :(21:16
beaverhello, i use Ubuntu 18.04 with the driver nvidia 340, i have a Nvidia 9600 GT, and i need to overclock my hardware. I use this command : nvidia-xconfig --cool-bits=1 and sudo service lightdm restart, but https://www.tiennotblog.fr/images/tutoriels/nvidia001.jpg doesn't appear21:20
TJ-teliot: brctl is 'legacy' but easier to understand; it can be done with ip link add ...21:21
TJ-beaver: if I recall correctly, cool-bits needs more than 121:22
teliothaving trouble doing it manually21:22
beaverTJ-: you know what value should I indicate for my material?21:23
TJ-beaver: just checked a nvidia xorg.conf I have, and it uses: " Option         "Coolbits" "13"  "21:24
TJ-beaver: so try --cool-bits=1321:25
beaverok21:25
TJ-beaver: there is some docs on what each of the bits enables in the nvidia doc Appendix21:25
teliotTJ-: got the br0 up manually with ping working21:25
beavercat /var/log/Xorg.0.log |grep Cool21:26
beaver[  3050.546] (**) NVIDIA(0): Option "Coolbits" "13"21:26
beaverbut same21:26
beaverok21:26
TJ-teliot: Great... so now you know br0 should work. So next step is to capture and pastebin the generated systemd-networkd files in /run/systemd/network/ for us to check. You can do that easily with "grep . /run/systemd/network/* | nc termbin.com 9999"21:27
TJ-beaver: maybe it doesn't support the overclock you're expecting?21:27
beaverTJ-: https://www.tiennotblog.fr/images/tutoriels/nvidia001.jpg21:27
beaverGPU 0 GeForce 9600 GT21:28
teliottermbin.com/2kmn21:28
TJ-beaver: you're restarting the display server after setting coolbits?21:28
beaveri use : sudo service lightdm restart21:29
beaveryes21:29
TJ-teliot: that doesn't show a bridge config, only a DHCPv4 for ens16021:30
teliotits how i got ping working.21:30
TJ-beaver: no idea then; possibly something to chase up on the nvidia forums21:30
TJ-teliot: right, which is NOT a bridge config, so not comparible21:30
telioti am updating the yaml to see if it really was the stale arp address on the switches for a new mac address of the bridge21:30
beaverok, thank you TJ-21:31
j0sephhi all21:31
teliotTJ-: my ip add show currently shows bridge o.O21:31
teliotmy ip add show and my /run/systemd/network/* do not match21:32
TJ-teliot: I don't think you should have the "ens160" in the "ethernets" section of the YAML, remove that.21:34
TJ-teliot: by having it there with "dhcp4: false" is telling it to create a config for that interface21:34
teliotping works with netplan yaml now, it was the ip. i can still remove that ens16021:34
TJ-teliot: you only need ens160 listed in the bridge interfaces21:35
=== feliks_ is now known as feliks
teliotstill had yaml named yaml.bak i did lose network after reboot21:37
fifwhat does it says when the power output of a laser is stated as "100 mW with 5%"21:42
fifis that just 5mW?21:42
fifif so, why they describe it like that21:42
Flannelfif: That would be a wonderful question for #ubuntu-offtopic21:43
teliotRJ-: i cant figure out how to remove the ens160 without netplan try failing21:44
teliotTJ-: i cant figure out how to remove the ens160 without netplan try failing21:44
TJ-fif: 5% is the duty cycle21:45
TJ-teliot: hmmm, maybe it is required then, but looking at the examples it shouldn't be needed21:45
TJ-teliot: I don't use netplan for static configs; it's only really useful for ephemeral container configs21:46
telioto.O21:47
telioti was under the impression it is replacing the interfaces file21:47
tdsI may be missing something, but what makes netplan bad for static configs?21:47
fifTJ-, for sure?21:47
teliotand i needed that to ensure my config persists across reboots21:47
sfaccimmI may be missing something, but what makes netplan bad for static configs?21:47
sfaccimmTJ-, for sure?21:48
sfaccimmand i needed that to ensure my config persists across reboots21:48
TJ-no, it's not a network manager tool it is just an abstract definition that is converted (rendered) into the system's network management tool format - in your case systemd-networkd... on desktops it'd render to NetworkManager format21:48
fifwhy should I care for the duty cycle? how does this relate to 5mW (or not) in this context?21:48
sfaccimmno, it's not a network manager tool it is just an abstract definition that is converted (rendered) into the system's network management tool format - in your case systemd-networkd... on desktops it'd render to NetworkManager format21:48
sfaccimmwhy should I care for the duty cycle? how does this relate to 5mW (or not) in this context?21:49
TJ-sfaccimm: on -server where we have systemd-networkd, just write the config in /etc/systemd/network/21:49
TJ-oh it's a bot21:49
sfaccimmsfaccimm: on -server where we have systemd-networkd, just write the config in /etc/systemd/network/21:49
sfaccimmoh it's a bot21:50
pineapple_on 18.04.2 i'm currently trying to link ppa by add-apt-repository. however it freezes when trying sock.connect(sa). apparently this error usually occurs when using a proxy. but i'm not behind one... does anybody have an idea how to solve this?21:50
teliotmy /etc/systemd/network/ is empty21:50
teliotwill look into that21:50
sfaccimmon 18.04.2 i'm currently trying to link ppa by add-apt-repository. however it freezes when trying sock.connect(sa). apparently this error usually occurs when using a proxy. but i'm not behind one... does anybody have an idea how to solve this?21:50
tdsTJ-: as far as the user experience side goes though, it's no more of a network management tool than networkd though, surely?21:50
TJ-teliot: yes, it would be, until you add config files there!21:50
teliotif netplan isnt the new goto i will give it a pass21:50
sfaccimmmy /etc/systemd/network/ is empty21:51
sfaccimmwill look into that21:51
sfaccimmTJ-: as far as the user experience side goes though, it's no more of a network management tool than networkd though, surely?21:51
sfaccimmteliot: yes, it would be, until you add config files there!21:51
sfaccimmif netplan isnt the new goto i will give it a pass21:51
TJ-tds: it's a level of abstraction that complicates things un-necessarily, especially when things don't work as expected21:51
sfaccimmtds: it's a level of abstraction that complicates things un-necessarily, especially when things don't work as expected21:51
tdsTJ-: yeah, I'm still a bit surprised they wrote their own thing rather than just switching to plain networkd21:53
Flannelfif: You should have this conversation in #ubuntu-offtopic21:53
MoPac(18.10 - Unity) I'm experiencing a pretty bizarre error: my clipboard has stopped working, or at least pasting. This persists through a logout and a restart. It appears to affect all apps and cross-app pasting, including terminal, and it doesn't matter whether using ctrl-v/ctrl-shift-v or right click --> paste.21:54
MoPacI installed CopyQ and can see copied text entering the clipboard, and I can use its own onboard functionlity through its app indicator to autotype pastes, but otherwise I really don't know where to start on diagnosing the issue. I'm not even entirely sure what the clipboard *is* per se, from a code point of view21:54
TJ-MoPac: sounds rather like something has taken over the hotkeys... or is it Edit > Paste also fails ?21:56
tasoslifo.gr21:59
MoPacTJ-: right click --> paste and edit --> paste also fail, just as ctrl-v and ctrl-shift-v do21:59
MoPacchoosing a snipped on CopyQ works, but I think that's probably because it's using some kind of x-keyboard or other input method that isn't an actual paste22:00
MoPac*snippet22:00
TJ-MoPac: that does sound very strange. you installed CopyQ *after* this began happeninf to diagnose it ?22:00
MoPacTJ-: correct22:01
MoPacI hadn't done anything that I can think of that would have affected it -- I think the problem originally even arose in the middle of a session, too22:01
MoPacI tried stopping the kdeconnectd and kdeconnect indicator processes in case the shared clipboard functionality was messing it up somehow, but no difference22:02
MoPacBut I don't even know if the clipboard is part of X, part of the DE, part of systemd, or something else... It's always just sort of, like, *there*..22:03
TJ-MoPac: this is on a bare-metal host, not in a virtual machine?22:04
MoPacTJ-: correct22:04
TJ-MoPac: as i understand it, X has two clipboards, or did. There's the 'primary' that is the currently selected object that a mouse middle-click operates on, and the 'clipboard buffer' that Ctrl+C/Shift+Ctrl+V Edit/Paste works on, but I doubt that is anything to do with your issue22:06
MoPacand other keyboard shortcuts don't seem affected, whetner in-app (like opening a new tab), compiz/unity (like moving workspaces or bringing up a terminal with a global shortcut), or lower-level (like switching to a different virtual terminal)22:06
TJ-MoPac: if Edit > Paste fails then its not keyboard related22:06
MoPacTJ-: Well, this is going to confuse you even more then, because a middle click just worked (I never use  middle click for paste and didn't even remember that as a third way to do it)22:07
MoPacI also just tried selecting an older snippet via CopyQ (which "typed" it in or whatever) and then middle clicking, and that successfully pasted that newly-selected piece of text. But still nothing from ctrl-v or menu->paste22:09
TJ-MoPac: there's ghosts in the machine!22:10
TJ-MoPac: so it looks like somehow something has changed which clipboard 'buffer' in X is being used22:12
MoPacSo it does look like the system clipboard is both pasting okay and successfully watching whatever the 'selected' item is in the buffer clipboard. And the buffer is taking in copied text alright as well. But not pasting it. I'm going to try something that isn't text...22:13
teliotTJ-: when i did apt remove netplan.io it broke /run/systemd/network/  so it seems to be pretty integrated.. even with apt install netplan.io the dir /run/systemd/network would not come back after reboots. going to snap shot restore the VM. afk a bit22:13
MoPacso I can't copy-paste a file in Nautilus on my desktop. There, the paste option stays grayed-out even after a copy. (With text, paste had been appearing as an active option but just not doing anything when selected)22:15
TJ-teliot: as I told you earlier, netplan writes to /run/systemd/network/ - that is a tmpfs that only exists while the OS is running. For static networkd configs, put them in /etc/system/network/22:17
TJ-MoPac: if I were you i'd check the apt install history in case some package name stands out as possibly affecting this /var/log/apt/history*22:18
TJ-MoPac: otherwise it is presumably a user config option - so create a new user account, log-in to it, check if it is affected. if it is not, you have confirmed the issue is a per-user config, which is likely stored under $HOME/.config/22:19
MoPachm, I created a new user, but I can't seem to switch to the account. Not sure if I need to reboot22:22
TJ-MoPac: should be able to log out and then log in as that user22:23
MoPacI'll give it a shot22:23
MoPacTJ- So indeed, in a new user account, copy-paste was working22:28
MoPaclogging back into this one, it's not22:28
TJ-MoPac: so, likely some setting under $HOME/.config/22:29
TJ-MoPac: so maybe you can track it down using commands like "grep -rni clip $HOME/.config/"22:30
=== veegee_ is now known as veegee
activisthi fellows!22:45
MikeRLUgh. Something updated recently and now my mouse cursor locks up quite often. Have no clue what lies as the root cause. Using closed Nvidia drivers. Wonder if they're to blame...23:07
=== vital is now known as Guest83728
MikeRLIt seems to happen every minute or so. How annoying.23:15
MikeRLDoes not happen on Windows so it must be Ubuntu.23:16
MikeRLGoing to try open source drivers and see if the issue goes away.23:19
MalkataChochkaHi, boys! It's time for my Live Show. I start in 10 minutes. If you would like to watch, just send me a message "Free Vip Invite" in the Cam Site (and let the fun begin!). Link: https://ix2.co/gvcYro923:25
=== Noisette is now known as Plumette
=== ztychr_ is now known as ztychr
teliotTJ-: many of the configs i was using was valid. VmWare was blocking the network traffic. Once i changed the virtual switch to allow "Promiscuous Mode" things started working.. Thanks for your help! I learned a bunch :)23:31
=== Plumette is now known as Noisette

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!