Search Debian Channel Logs

Wednesday, January 25, 2017

#debian channel featuring themill, koz_, oty, velix, HumanAI, drm, and 14 others.

teraflops 2017-01-25 12:45:19
tmpfs if youre short of ram sounds like a bad idea
Iridos 2017-01-25 12:45:27
maybe we can compromize saying it sounds a *bit* stupid
awal1 2017-01-25 12:45:51
nixb0y, according to this https://help.ubuntu.com/community/CustomizeGuestSession it looks like guest session is ubuntu related
missmbob 2017-01-25 12:46:16
it all makes sense now
awal1 2017-01-25 12:46:40
debian doesn't have /etc/guest-session for start...
oty 2017-01-25 12:48:59
hey. Any idea why tor won't update anymore ? Says "wrong signature" everytime
drm 2017-01-25 12:50:21
I am running LXDE on debian8. I have added JAVA_HOME with its url to my .profile, my .bashrc, my /etc/profile, and my /etc/environment. I have also 'source'd all these files. And yet, every time I log out and log back in, and type 'env' in the terminal, no JAVA_HOME is set. This is a problem for some of my applications since they need java and are running outside of my terminal. Does anyone know of anything in deb8 or LXDE that would reset envi
drm 2017-01-25 12:50:22
ronment variables on or after login?
nixb0y 2017-01-25 12:51:04
awal1: thanks amn
nixb0y 2017-01-25 12:51:06
man *
SynrG 2017-01-25 12:53:59
drm: did you export the variable?
drm 2017-01-25 12:56:44
SynrG, i have exported it in .bashrc, .profile, and /etc/profile. I have attempted to export it out of /etc/environment (which didn't work either), but all the stuff on SO says there is no benefit to doing so since /etc/environment is not an executable script
oty 2017-01-25 12:58:22
drm: could you paste what you did to export the variable ? Maybe there is a basic mistake ?
Iridos 2017-01-25 12:58:36
+1
awal1 2017-01-25 12:58:39
nixb0y, why you want an guest session?
drm 2017-01-25 12:58:44
sure, give me a few to throw it up on paste.debian
awal1 2017-01-25 12:59:08
just create a new user with limited privileges
velix 2017-01-25 12:59:33
Is this ACL correct to create a shared directory for all users in group "shared"? I've tested it, it works. But I want your opinion: https://bpaste.net/raw/e104f8a48956
Toordog 2017-01-25 13:00:28
i'd need more info about the gpg key for repository with apt. How the keys system works? If I have a old key and this key expired, will it be removed and updated automatically? Will it update but key the old key ?
teraflops 2017-01-25 13:01:12
drm: output of `echo $JAVA_HOME` and `printenv | grep java` is fine too^
HeXiLeD 2017-01-25 13:01:36
netbook situation. VGA output used for 19" monitor. I would like to get the built in screen (LVDS1) auto turned off once the netbook detects external monitor connected. Are there any debian docs about this ?
drm 2017-01-25 13:02:19
teraflops, `echo $JAVA_HOME` works out of my terminal, but anything running out of /usr or other lower level folders sees nothing when you echo JAVA_HOME
teraflops 2017-01-25 13:02:37
drm: the path is wrong?
teraflops 2017-01-25 13:02:58
jre jre/bin ?
teraflops 2017-01-25 13:03:06
share the output not your opinion
velix 2017-01-25 13:03:21
Anyone into ACL? :)
bazhang 2017-01-25 13:03:33
velix, yes
velix 2017-01-25 13:03:55
bazhang: Could you please have a look at the lines I just posted?
drm 2017-01-25 13:03:59
teraflops, in my terminal the path is correct, so bash is reading the variable in from .bashrc correctly, but anything outside of my user environment does not have it
teraflops 2017-01-25 13:04:17
ah
oty 2017-01-25 13:05:39
drm : reboot and it will be right.
SynrG 2017-01-25 13:05:45
HeXiLeD: i don't have an answer, but i did have a permanently docked netbook and just ran xrandr to turn off the LVDS upon login (via lightdm hook to do that)
drm 2017-01-25 13:05:45
oty, teraflops here all all the scripts https://paste.debian.net/910630/
oty 2017-01-25 13:05:47
I guess
SynrG 2017-01-25 13:06:32
HeXiLeD: i suppose that could be adapted to test for the existence of a display by parsing the output of xrandr or so ...
SynrG 2017-01-25 13:06:46
HeXiLeD: or else i'm sure there are plenty of examples floating around on the net
oty 2017-01-25 13:07:13
drm: (if by "outside of my user environment" you mean the tty 'n all, you must reboot, or relogin as user "su -l ")
drm 2017-01-25 13:08:35
oty I have logged out of my account various times, and then logged back in. So you are saying the system needs a full reboot? ok, give me a minute
themill 2017-01-25 13:08:41
drm: there should be no need to set JAVA_* environment variables. What are you trying to do?
oty 2017-01-25 13:09:17
drm, errh. I'm not sure to understand what you meant by "outside my user environement", in fact.
velix 2017-01-25 13:09:22
small update, could anyone have a look please? https://bpaste.net/raw/333082b54428
SynrG 2017-01-25 13:09:35
HeXiLeD: my lightdm.conf had: display-setup-script=xrandr --output LVDS1 --off --output VGA1 --auto
oty 2017-01-25 13:09:59
drm, I doubt rebooting would do anything more than reloging.
SynrG 2017-01-25 13:10:02
(but as i said, that *unconditionally* turns it off)
HeXiLeD 2017-01-25 13:10:09
i am also looking at video=LVDS-1:d video=VGA-1:e at kernel lever
HeXiLeD 2017-01-25 13:10:12
*level
drm 2017-01-25 13:10:21
themill, oty I am running scala atm, and one of the startup scripts (which run out of /usr/bin/ ) listens for the JAVA_HOME variable as part of its initialization process
themill 2017-01-25 13:10:57
drm: nothing in debian should require JAVA_HOME to be set to function
drm 2017-01-25 13:11:27
putting an `echo $JAVA_HOME` script in /usr/bin and running it shows that the variable is not set for things running out of there,
SynrG 2017-01-25 13:11:44
HeXiLeD: and this snippet might be useful for the rest: xrandr | grep ' connected' | cut -d' ' -f1
drm 2017-01-25 13:11:55
themill, not sure what to tell you, but this script is listening for it, and im not sure what other applications out there might be doing the same
SynrG 2017-01-25 13:11:58
HeXiLeD: "some assembly required" ;)
themill 2017-01-25 13:12:15
drm: things should honour JAVA_HOME if set; they must not require it to be set
drm 2017-01-25 13:13:15
themill, that may be the case, however at this point I would also like to get to the bottom of why, if I set a system-wide environment variable, that variable is getting lost on re-login
helpmepls 2017-01-25 13:13:39
Anyone here who can help me? I'm stumped on two questions for Linux+ practice exam..
bazhang 2017-01-25 13:13:57
helpmepls, ##linux
helpmepls 2017-01-25 13:14:11
tried, unregistered, but i'm waiting in ##linux-overflow
helpmepls 2017-01-25 13:14:12
thanks
helpmepls 2017-01-25 13:14:16
ill just wait
bazhang 2017-01-25 13:14:27
then register helpmepls
HumanAI 2017-01-25 13:24:28
lol
HumanAI 2017-01-25 13:24:35
piece of shit
drm 2017-01-25 13:25:34
oty, i tried a full reboot, didnt work sadly, im thinking ill just put a script to source the JAVA_HOME on login, you wouldnt happen to know what folder I should put such a script in would you?
swulf-- 2017-01-25 13:26:12
Just installed debian on a new laptop with an intel integrated chip + nvidia 1060 card; X boots up (with "intel" driver) and the gdm3 login screen is in 4K (2160p) resolution, but when I log in it changes to 864x486... how do I keep it in 4K? the display settings don't list the option
themill 2017-01-25 13:30:00
drm: your terminal is likely running a login session (thus .profile is relevant) while your dm and so anything run from the menu system is not running a login session and doesn't source .profile.
koz_ 2017-01-25 13:30:16
I'm having difficulties running 'sudo apt-get update' - I keep getting 'Writing more data than expected' errors.
koz_ 2017-01-25 13:30:25
I've tried all the fixes I could find by Googling: none work.
koz_ 2017-01-25 13:30:33
Could someone help me figure out wtf is going on?
themill 2017-01-25 13:30:59
koz_: what mirror are you using?
koz_ 2017-01-25 13:31:29
themill: ftp.nz.debian.org
themill 2017-01-25 13:32:14
koz_: istr I can't check that one from outside NZ ... try a different one. It sounds like Release and Packages are out of sync
HumanAI 2017-01-25 13:33:04
apt-get should use torrent protocol
koz_ 2017-01-25 13:33:14
themill: Is there a master list of all the mirrors someplace?
themill 2017-01-25 13:33:20
HumanAI: that's enough, thanks
themill 2017-01-25 13:33:28
!mirror list
dpkg 2017-01-25 13:33:28
The best mirror for most users is ; other mirrors are listed at http://www.debian.org/mirror/list and ftp://ftp.debian.org/debian/README.mirrors.txt and http://deb.li/map ; ask me about , , , . To make a mirror, see http://www.debian.org/mirrors/ ; see also , , , . #debian-mirrors on irc.oftc.net.
drm 2017-01-25 13:33:33
themill, so if i wanted to put a script that would source /etc/profile when I log in, where would I want to put that?
themill 2017-01-25 13:33:44
koz_: deb.debian.org is a redirector that works well
themill 2017-01-25 13:34:07
drm: depends on your DM and/or your DE. I don't use either of the ones you use...
koz_ 2017-01-25 13:34:11
So I just replace 'ftp.nz.debian.org' with 'deb.debian.org' and call it a day?
themill 2017-01-25 13:35:01
pretty much. I don't know how fast fastly will be in nz... that's the disadvantage
koz_ 2017-01-25 13:35:11
themill: It's fast enough. Thanks!
Vizva 2017-01-25 13:36:18
if i use xfce in stretch no problem but install kde the system is totally in chaos - good to have my backups
zykotick9 2017-01-25 13:44:57
DEs + testing = issues <- IMO... ymmv!