Search #Ubuntu channel logs

Note: Use Ctrl+F to search through these logs

Friday, March 3, 2017

#ubuntu channel featuring dnel, llutz, Necy, pagios, manish_, ubottu, and 17 others.

foodsurprise 2017-03-02 21:45:11
only schoolwork/browsing/developing
foodsurprise 2017-03-02 21:45:18
how to get to my NTFS from livecd
ducasse 2017-03-02 21:45:39
foodsurprise: what do you mean 'get to'?
rymax99 2017-03-02 21:45:42
what are you wanting to do, partition the disk?
foodsurprise 2017-03-02 21:45:44
mount it
TomyWork 2017-03-02 21:46:04
(obviously)
foodsurprise 2017-03-02 21:46:06
just want to make everything can moutn via ubuntu
TomyWork 2017-03-02 21:46:13
foodsurprise do you want to mount it from time to time or all the time?
foodsurprise 2017-03-02 21:46:31
eventually im going to just have it all ext
foodsurprise 2017-03-02 21:46:42
its not showing up in pacman
TomyWork 2017-03-02 21:47:03
a word of advice first: do not store any linux application on an ntfs disk
ducasse 2017-03-02 21:47:10
foodsurprise: the file manager should automatically see it and mount it on request
TomyWork 2017-03-02 21:47:12
not even temporarily
TomyWork 2017-03-02 21:47:26
ntfs doesnt properly support linux permissions
rymax99 2017-03-02 21:47:26
foodsurprise, sudo fdisk -l
rymax99 2017-03-02 21:47:42
figure out the device (ex dev/sda1)
foodsurprise 2017-03-02 21:47:46
its there
foodsurprise 2017-03-02 21:47:50
sda3
rymax99 2017-03-02 21:47:52
mkdir /tmp/mount
Necy 2017-03-02 21:48:07
Guys, what does home folder encryption 'look' like. Will it just be a regular login? and is it easy to disable if i wanted to?
rymax99 2017-03-02 21:48:27
mount -t ntfs-3g /dev/sda3 /tmp/mount -o force
foodsurprise 2017-03-02 21:48:31
ok thanks
rymax99 2017-03-02 21:48:31
should do the trick
TomyWork 2017-03-02 21:49:32
foodsurprise https://www.howtogeek.com/236807/how-to-mount-your-windows-10-or-8-system-drive-on-linux/ this sounds somewhat reasonable. But do check twice if you dont understand something
TomyWork 2017-03-02 21:50:12
rymax99 do you think it's a good idea to recommend force without explaining what it does?
TomyWork 2017-03-02 21:50:18
it might not be a good idea
TomyWork 2017-03-02 21:51:16
foodsurprise dont pass the force option unless you know what it's doing
foodsurprise 2017-03-02 21:52:17
thinking seriously about just switching to linux
manish_ 2017-03-02 21:52:24
rfrfff
foodsurprise 2017-03-02 21:52:24
my windows 7 wont even update
rymax99 2017-03-02 21:52:29
go for it :P
travel 2017-03-02 21:52:36
Hi there need assistance I have no internet on my ubuntu 16.04 desktop I ran an upate abut two weeks ago that stopped my USB WIFI adapter from working if I use it to connect the whole machine freezes. So I started connecting with an Ethernet to my extender and that worked till I ran an update yesterday now that doesn't connect. Any assistance is greatly appreciated.
manish_ 2017-03-02 21:52:39
oh yeah ,window 7 s...ks
foodsurprise 2017-03-02 21:52:44
dont want to download spywear vs 10
foodsurprise 2017-03-02 21:52:47
i mean windows 10
Necy 2017-03-02 21:53:25
will it be 'invisable', as in i just login as normal?
rymax99 2017-03-02 21:53:44
Necy, encryption? yes
foodsurprise 2017-03-02 21:53:45
if i install on HD rather than run liveusb
foodsurprise 2017-03-02 21:53:49
it'll be faster right
Necy 2017-03-02 21:54:04
ah, cool. its a good idea then. *ticks box* :)
k1l_ 2017-03-02 21:54:07
foodsurprise: yes
TomyWork 2017-03-02 21:54:14
Necy rymax99 depends on the type of encryption
TomyWork 2017-03-02 21:54:24
ecryptfs should be invisible
rymax99 2017-03-02 21:54:37
right, which is what he'll be using by ticking the box on the install
ducasse 2017-03-02 21:54:52
Necy: consider if you really need it, it makes it a lot harder to recover data if something goes wrong
TomyWork 2017-03-02 21:54:59
he didnt mention in his question that that is what he wants to do.... or anything at all, really
Necy 2017-03-02 21:55:19
thanks.
Necy 2017-03-02 21:55:39
thats a good point ducasse
Necy 2017-03-02 21:55:45
hmm.
TomyWork 2017-03-02 21:55:53
is it a laptop?
rymax99 2017-03-02 21:56:03
I encrypt anything mobile, but desktop is per user
Necy 2017-03-02 21:56:11
yea laptop
Necy 2017-03-02 21:56:23
buts it will be used for uni, u see
rymax99 2017-03-02 21:56:27
if you lug it around i'd definitely go for it, but that's me
Necy 2017-03-02 21:56:30
so im split
TomyWork 2017-03-02 21:56:35
is there any data on it that you cant risk getting into other people's hands?
Necy 2017-03-02 21:57:01
not really. more of a precaution
TomyWork 2017-03-02 21:57:08
if so, i recommend full disk encryption :)
Necy 2017-03-02 21:57:15
but the data recovery aspect as got me second thinking
Necy 2017-03-02 21:57:23
:D yea
Necy 2017-03-02 21:57:47
i would proably backup
Necy 2017-03-02 21:58:00
hmm
Necy 2017-03-02 21:58:57
if it was easy to revert..
Necy 2017-03-02 21:59:05
say if i wanted to that is
ducasse 2017-03-02 21:59:32
Necy: you'll need to copy all your data out to revert
Necy 2017-03-02 21:59:52
ahh.
Necy 2017-03-02 22:00:16
can it be applied later on easily?
ducasse 2017-03-02 22:00:53
Necy: the ecryptfs package comes with a script to encrypt your homedir
rymax99 2017-03-02 22:02:09
Any way to make a user a system user after creation other than editing shadow?
pagios 2017-03-02 22:03:25
i am tying to compile a driver and getting : module.h:4:32: fatal error: asm-generic/module.h: No such file or directory lot of those, i dont want to copy module.h to same dir and #include "module.h" can i point gcc to /usr/src/linux-headers-3.2.0-4-common in some way?
k1l_ 2017-03-02 22:04:18
rymax99: dont edit shadow file. just put that user into the sudo group
akik 2017-03-02 22:04:31
rymax99: the uid/gid is set in /etc/passwd, so you can change it there. remember to chown your files afterwards
k1l_ 2017-03-02 22:05:07
rymax99: hmm, i might have misunderstood what you want
rymax99 2017-03-02 22:05:36
k1l_, i was gonna say :P, just to make a user a system user
akik 2017-03-02 22:05:37
i thought rymax99 wanted to have the uid below the system id limit
rymax99 2017-03-02 22:06:04
actually yeah, i guess that'd be the issue is the uid
Ankammarao_ 2017-03-02 22:06:24
Hi All
rymax99 2017-03-02 22:06:27
so i guess the answer is no it's not possible without editing the uid and changing ownership
vlt 2017-03-02 22:07:06
Good morning! On our Ubuntu 16.04 MATE desktop _every_ user gets an (annoying) notification whenever someone (else) prints something. How can we disable this?
Ankammarao_ 2017-03-02 22:07:31
ubuntu server is very very slow and some times taking time for login, can any one tell the reason behind it
akik 2017-03-02 22:08:01
rymax99: the limits for system ids are 100 to 999 (/etc/adduser.conf)
k1l_ 2017-03-02 22:11:20
Ankammarao_: does dmesg tell something obvious?
rymax99 2017-03-02 22:11:55
off topic just found out i work today after nerding out all night
rymax99 2017-03-02 22:12:09
Shoot me.
Ankammarao_ 2017-03-02 22:12:43
k1l_: no don't think so
k1l_ 2017-03-02 22:12:58
Ankammarao_: "dmesg | nc termbin.com 9999"
k1l_ 2017-03-02 22:13:06
show the outputurl here
Ankammarao_ 2017-03-02 22:14:07
k1l_:http://termbin.com/6yyl
k1l_ 2017-03-02 22:17:38
Ankammarao_: frist obvious thing on reboot is that it takes some time to bring up the raid.
Ankammarao_ 2017-03-02 22:19:40
k1l_: yes, its taking long time to up after reboot
MacroMan 2017-03-02 22:25:17
Is there a generic way to find the location of a Binary if it's in PATH?
dsoyet 2017-03-02 22:25:50
echo $(which name_of_binary)
ikevin 2017-03-02 22:26:24
just which
llutz 2017-03-02 22:26:50
dsoyet: some cat/grep missing :)
MacroMan 2017-03-02 22:27:17
ikevin, Cool thanks. I knew there must have been a easy way. dsoyet, that just echoed the programs output
dsoyet 2017-03-02 22:31:26
`dpkg --search $(which )`, find a binary belong to which package.
dnel 2017-03-02 22:32:05
hi, does anyone know a way to stop tmux from being killed when my SSH session drops?
ikevin 2017-03-02 22:32:19
dnel, use screen
dnel 2017-03-02 22:32:59
does that have some exception, ikevin?
mahakal 2017-03-02 22:33:22
guys i lost data on my hdd while installing ubuntu16.04 .How can i recover it
EriC^^ 2017-03-02 22:33:29
mahakal: testdisk
ikevin 2017-03-02 22:33:38
dnel, i don't understand, what do you mean by exception?
EriC^^ 2017-03-02 22:33:38
!datarecovery | mahakal
EriC^^ 2017-03-02 22:33:50
!recoverdata | mahakal
mahakal 2017-03-02 22:34:26
ok..But is it a GUI tool ?
EriC^^ 2017-03-02 22:34:30
mahakal: no
k1l_ 2017-03-02 22:34:39
mahakal: you mean you installed ubuntu and on that way it delete partitions and wrote new partitions on to the disk with ubuntu?
dnel 2017-03-02 22:34:40
ikevin: the policy is that all processes will get killed on disconnect, unless screen is special it will get killed just the same
ikevin 2017-03-02 22:34:43
mahakal, it's an interactive tool
EriC^^ 2017-03-02 22:34:44
mahakal: it's an ncurses tool (gui for terminal)
k1l_ 2017-03-02 22:34:51
dnel: no
ikevin 2017-03-02 22:34:58
dnel, no
k1l_ 2017-03-02 22:35:17
dnel: screen keeps all programs running since it doesnt tell the programs that you lost connection
k1l_ 2017-03-02 22:35:26
!screen | dnel
ubottu 2017-03-02 22:35:26
dnel: screen is a window manager for terminal sessions, also useful over SSH. The 'byobu' package provides very useful additional utilities. See https://help.ubuntu.com/community/Screen
geirha 2017-03-02 22:35:28
dnel: Yes, screen (the client) dies, but the session will live on, and can be reattached next time you log in
mahakal 2017-03-02 22:36:07
Eric^^: no actually i was running ubuntu14.04. while booting i accidently press F11. And dell recovery did the horrible job.tHEN i thought to install 16.04
dnel 2017-03-02 22:36:14
just tested screen, exactly the same as tmux, it wont reattach
EriC^^ 2017-03-02 22:36:18
dnel: http://askubuntu.com/questions/8653/how-to-keep-processes-running-after-ending-ssh-session
mahakal 2017-03-02 22:36:35
so now i want to recover the images ?
geirha 2017-03-02 22:36:39
I'd expect tmux to behave the same, but haven't tried tmux yet
anddam 2017-03-02 22:36:50
what can result in directories and export on an nfs server to be different? I restarted the nfs-kernel-server
ikevin 2017-03-02 22:36:57
dnel, screen -S tmux, when in screen, start your program, then dettach using ctrl+A+D
EriC^^ 2017-03-02 22:37:07
mahakal: pastebin "sudo parted -l"
akik 2017-03-02 22:37:11
dnel: there was a problem with systemd that it killed all user processes on logout but i thought that was fixed already
EriC^^ 2017-03-02 22:37:13
mahakal: testdisk can do that
ikevin 2017-03-02 22:37:16
dnel, then disconnect, reconnect and do screen -x tmux
mahakal 2017-03-02 22:37:16
ok
dnel 2017-03-02 22:37:32
ikevin: I literally just tried it, as soon as I restart the SSH session with a detacted screen it dies
linocisco 2017-03-02 22:37:42
hi all
ikevin 2017-03-02 22:37:42
oO
linocisco 2017-03-02 22:38:29
how can I set alarm with sound when laptop battery level is 20% or 100%?
akik 2017-03-02 22:38:32
dnel: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=825394, check /etc/systemd/logind.conf for KillUserProcesses=
ubottu 2017-03-02 22:38:33
Debian bug 825394 in systemd "systemd kill background processes after user logs out" [Normal,Fixed]
k1l_ 2017-03-02 22:38:46
dnel: what did you try exactly? i guess we are missing some parts
mahakal 2017-03-02 22:39:50
Eric^^: pasting is not accepted
dnel 2017-03-02 22:39:51
1. open screen, 2. detatch, 3. re-attach OK, 4. detatch screen 5. drop SSH, 6. restart SSH 7. reattached screen, no session available
k1l_ 2017-03-02 22:39:59
akik: that is set to no and commented on ubuntu by default
EriC^^ 2017-03-02 22:40:02
mahakal: what?
mahakal 2017-03-02 22:40:02
i am going to try termbin
EriC^^ 2017-03-02 22:40:06
mahakal: ok
llutz 2017-03-02 22:41:08
dnel: how do you reattach screen?
mahakal 2017-03-02 22:41:20
Eric^^: http://termbin.com/ls2v
dnel 2017-03-02 22:41:22
screen -r
ikevin 2017-03-02 22:41:30
dnel, try screen -x
llutz 2017-03-02 22:41:37
dnel: or screen -dr
mahakal 2017-03-02 22:41:41
Eric^^: i am runnig kali also
mahakal 2017-03-02 22:41:52
Eric^^: dual boot
dnel 2017-03-02 22:42:00
There is no screen to be attached.
dnel 2017-03-02 22:42:26
^^ literally the ouput
k1l_ 2017-03-02 22:42:44
dnel: screen -ls
EriC^^ 2017-03-02 22:42:47
mahakal: ok try installing testdisk
dnel 2017-03-02 22:43:04
No Sockets found in /var/run/screen/S-david.
mahakal 2017-03-02 22:43:33
EriC^^: i have installed testdisk.Just reading manual for more stuff
linocisco 2017-03-02 22:43:59
hi, who is answering me?
EriC^^ 2017-03-02 22:44:28
mahakal: try sudo testdisk, no log, no log, choose the partition table type gpt, then analyze, quick search
EriC^^ 2017-03-02 22:44:29
mahakal: press "p" to list the files of the partition