|
kujeger posted:If I'm reading your post right, this should do it: See, I knew there'd be an easy representation for new lines in sed. Thanks!
|
# ? Oct 9, 2014 15:16 |
|
|
# ? Jun 4, 2024 17:37 |
|
Bob Morales posted:why not just install another VM and use kubuntu? Because installing a second desktop environment should be much quicker? Also, I'd like to know why it isn't working.
|
# ? Oct 9, 2014 15:25 |
|
hooah posted:Also, I'd like to know why it isn't working. hooah posted:Ubuntu On a more serious note, Ubuntu is using LightDM, isn't it? From what I can tell, you have a few options that you could try first. As per this wiki, have a look whether KDE created a .desktop file in /usr/share/xsessions/. Alternatively, you could try to use KDM instead of LightDM as your display manager, which can be done via dpkg-reconfigure kdm (→ http://askubuntu.com/a/146692) For reference, this is what my /usr/share/xsessions/kde-plasma.desktop looks like on openSUSE: code:
|
# ? Oct 9, 2014 15:59 |
|
So if I buy a book on Linux System Programming and can somehow manage to study and learn the material... can I start applying to Linux jobs? Or is the sacred order of the more exclusive than this. I see a lot of advertisements that use Linux as a buzzword, so I figure why not.
|
# ? Oct 9, 2014 16:11 |
|
RFC2324 posted:KDE is, and will remain till they gently caress up horribly, my favorite DE. They're in the middle of loving it up horribly for KDE 5 Kidding, honestly. The Plasma 5 libraries/interface look very nice, and by the time they become part of a new release of KDE (that then makes it into a stable Linux distribution), everything should be very polished. There were some serious regressions in 5.0 (missing functionality and broken features) but it's coming along quite nicely. It looks like that talk of "we know early KDE 4 is a mess but we're laying good foundation for the future" was actually true.
|
# ? Oct 9, 2014 16:17 |
|
Crotch Fruit posted:Just curious, what happens with NTFS? First, there are several possible NTFS implementations. The one included in standard Linux kernels is safe but rather plain, feature-wise: according to the documentation in the ntfs.txt included in the kernel source package, you cannot create or delete any files or directories! (Writing into existing ones is fine, so it can be used if you're storing Linux filesystems as image files on NTFS volumes.) The FUSE-based NTFS-3G has a lot more features, particularly in terms of permissions handling. I guess most even partly desktop-oriented distributions will offer this when they talk about NTFS support. NTFS has its native ACLs, which can easily be used to store the standard Unix-style permission bits. The problem is user and group identification. Unix-style filesystems usually store file ownerships as simple numbers: the UID and GID numbers you can see with the "id" command or by peeking into /etc/passwd and /etc/group. Windows uses SIDs, which are similar to UUIDs: long strings of numbers like this: code:
(The same thing would happen when moving a NTFS filesystem between Windows systems, if those systems are not both part of the same Active Directory domain tree/forest.) To minimize the potential to harm and nuisance, NTFS-3G won't use Windows-style ACLs to store file permissions unless you explicitly allow it to do that. There are two ways to do it: either by specifying some mount options ("permissions" or "acl" depending on exactly what you want), or by creating an "user mapping file" to identify which Linux users and groups correspond to which Windows SIDs. If the user mapping file is used, it is normally placed into ".NTFS-3G" directory in the root directory of each NTFS filesystem. In Linux, the directory is hidden because its name begins with a dot. In Windows, you can make it hidden if you wish: for Windows, it is just a data file with no particular meaning. There is a Linux command named "ntfs-3g.usermap" that can help you in creation of an user mapping file. It examines existing files on a NTFS filesystem, chooses some likely candidates and presents them to you for identification. You then either select the name of the Linux user or group that you want to match the user or group owning the file, or indicate "don't know". Then it gives you a user mapping file, which you can plop into the appropriate location on your NTFS filesystem(s). Then unmount & remount your NTFS filesystem(s) or just reboot so that NTFS-3G can detect the user mapping file at mount time and start presenting and storing the file ownerships and permissions in a sane manner. (Whew... again I've made a wall of text!)
|
# ? Oct 9, 2014 16:34 |
|
Love Stole the Day posted:So if I buy a book on Linux System Programming and can somehow manage to study and learn the material... can I start applying to Linux jobs? Or is the sacred order of the more exclusive than this. I see a lot of advertisements that use Linux as a buzzword, so I figure why not. I would pay attention to see if the job wants a Linux administrator or a Linux systems programmer, as they are vastly different positions. If it's an admin job you need to learn all about making Linux machine do things from a command prompt, like what commands to see what programs are running, process a bunch of log files, etc. If it's a systems programmer job you need to learn how to write Linux/POSIX code. There is some overlap between the two, but each is pretty specialized and can go very deep into knowledge particular to each field.
|
# ? Oct 9, 2014 16:54 |
|
Love Stole the Day posted:So if I buy a book on Linux System Programming and can somehow manage to study and learn the material... can I start applying to Linux jobs? Or is the sacred order of the more exclusive than this. I see a lot of advertisements that use Linux as a buzzword, so I figure why not. I think if you can create or contribute to an existing open source project, that could go a long way if you don't have the practical background yet. If it is an admin job, then you probably need to have some hands on experience setting up servers of your own cause they are going to be a lot less likely to hand you the keys to the kingdom if you aren't proven.
|
# ? Oct 9, 2014 17:12 |
|
Love Stole the Day posted:So if I buy a book on Linux System Programming and can somehow manage to study and learn the material... can I start applying to Linux jobs? Or is the sacred order of the more exclusive than this. I see a lot of advertisements that use Linux as a buzzword, so I figure why not. Really bluntly: no. Linux isn't a buzzword. I mean, it has hype right now, but Linux on an ad isn't a buzzword. It means "we expect you to not be a bumbling fool with this totally different operating system, which almost always has other users on it and you can't get admin rights to try random poo poo from Google if you need something or get stuck. "NoSQL" is a buzzword. "Big Data" is. "Web 2.0" is. (All of these had and have meanings, but their use on adverts usually meant nothing. They don't feel like they need to put "Windows" on there because you almost certainly know enough to get around. Do you do systems programming on Windows? Like writing services in MFC C++? Or even .NET? Why would you do this in Linux if you don't know enough about it to feel comfortable asking for jobs that list Linux? Read a certification study guide (LPIC 1-2, RHCSA/RHCE, whatever) or the Centos/FreeBSD/Fedora deployment and admin guides. And learn how to use the shell enough to do daily stuff like listing/moving/copying files, listing and killing running processes, displaying text files, etc. Then pick a language. It can be C, but you'd be better off with Python or Go or whatever web language if you're a web guy. Learn how it basically works (if it's a new language, you'll be fine. If it's C/C++, learn how autotools/automake work) If you're an admin, you don't need to know a language right away, but you'll be a better one if you do, and you'll never advance if you don't learn one. Now you can apply for jobs that ask for "Linux".
|
# ? Oct 9, 2014 17:50 |
|
telcoM posted:NTFS Hey, this was a good and informative post. I'd always wondered how this worked.
|
# ? Oct 9, 2014 18:01 |
Does anybody here use Virtual Private Clouds in AWS? I don't have a VPN configured with it so I have to assign every instance a public elastic IP in order to connect to it. I use a security group to ensure only the my IP address can hit ssh & https on the box. I was talking to the guy at work that can setup the VPN for me and he doesn't want to do a VPN to the VPC, he said it's better to do the security group & public IP address. This seems crazy to me, I don't know how to convince him otherwise though. Especially since AWS only gives me 5 elastic IPs (i'm sure I could request more) but I don't even need these machines to be publicly accessible, just the load balancer.
|
|
# ? Oct 10, 2014 00:39 |
|
Hollow Talk posted:
Alright, it looks like KDE did create the .desktop file, which looks much the same as yours. When I tried dpkg-reconfigure kdm, I got the message "kdm is not installed", but I was able to run /usr/bin/startkde and got a weird KDE/LightDM combo. What can I try now? Edit: Apparently KDE also changed the boot/shutdown screen to say kubuntu rather than ubuntu. Odd. hooah fucked around with this message at 02:29 on Oct 10, 2014 |
# ? Oct 10, 2014 02:24 |
|
hooah posted:Alright, it looks like KDE did create the .desktop file, which looks much the same as yours. When I tried dpkg-reconfigure kdm, I got the message "kdm is not installed", but I was able to run /usr/bin/startkde and got a weird KDE/LightDM combo. What can I try now? Mhm, startkde is what is used to start a KDE session and is normally only called by a display manager, so it's no wonder things look a bit funny. It strikes me as odd, however, that you don't have kdm installed. How did you install KDE? From what I can tell, KDE should install kdm with the other packages. What's the output if you type sudo apt-get install --dry-run kubuntu-desktop into a console? The --dry-run means it will only show you what it would do, but it won't touch your system.
|
# ? Oct 10, 2014 03:04 |
|
I want to use a USB wifi device, the Rosewill rnx-n180ube, on my 3.13 kernel Xubuntu laptop (64 bit). However, the only linux driver available from http://www.rosewill.com/products/1721/ProductDetail_Download.htm is for the 2.6 or 3.0 kernels. I tried make'ing it anyway from source but it didn't work because I assume my 3.13 kernel's development files are what's causing all the problems. I tried to apt-get some old 3.0 linux development files but that was a non-starter. A google search didn't turn up anything helpful. Am I totally out of luck here? I looked through the makefile but the only relevant option that is easily settable is to choose PC or Android or Arm. How can I compile a driver for a new kernel if it was only made for a really old one?
|
# ? Oct 10, 2014 03:31 |
|
reading posted:I want to use a USB wifi device, the Rosewill rnx-n180ube, on my 3.13 kernel Xubuntu laptop (64 bit). However, the only linux driver available from http://www.rosewill.com/products/1721/ProductDetail_Download.htm is for the 2.6 or 3.0 kernels. I tried make'ing it anyway from source but it didn't work because I assume my 3.13 kernel's development files are what's causing all the problems. I tried to apt-get some old 3.0 linux development files but that was a non-starter. A google search didn't turn up anything helpful. Could you use ndiswrapper and run the Windows driver as a workaround?
|
# ? Oct 10, 2014 03:52 |
|
CaptainSarcastic posted:Could you use ndiswrapper and run the Windows driver as a workaround? Actually after looking at $ dmesg | grep usb , it looks like my system pulled a driver from some folder automatically upon plug-in, and I was able to view wifi networks with the device. I couldn't connect to the one I wanted but I think that's a different problem. So, case closed!
|
# ? Oct 10, 2014 03:53 |
|
Love Stole the Day posted:O great masters of Linux, Because "Linux" isn't a platform you can target. It's ten million different platforms, all with different goals, different ideas and methodologies about distribution software, and two users who are interested in actually buying your games. Developing games for "Linux" is meaningless. You can develop games for "Fedora 20" or "Ubuntu 14.04", but by the time your game comes out it's going to be "Fedora 25" and "Ubuntu 18.10" and all your code won't work anymore.
|
# ? Oct 10, 2014 03:54 |
|
So is that the sort of thing Steam could solve? I mean, if instead of each game having to target each different distro for compatibility, they target Steam and then each distro works on making itself compatible with the steam libraries. Kind of like how Direct X is supposed to work under windows. I thought OpenGL was already supposed to be doing this but then I haven't really paid attention for a looong time, and then only from the windows side of things.
|
# ? Oct 10, 2014 12:55 |
|
Hollow Talk posted:Mhm, startkde is what is used to start a KDE session and is normally only called by a display manager, so it's no wonder things look a bit funny. quote:It strikes me as odd, however, that you don't have kdm installed. How did you install KDE? From what I can tell, KDE should install kdm with the other packages. What's the output if you type sudo apt-get install --dry-run kubuntu-desktop into a console? The --dry-run means it will only show you what it would do, but it won't touch your system. The output is "kubuntu-desktop is already the newest version. The following package was automatically installed and is no longer required: kde-l10n-engb. Use 'apt-get autoremove' to remove it." Then 0 for every category (upgraded, etc.).
|
# ? Oct 10, 2014 13:04 |
|
Love Stole the Day posted:O great masters of Linux, There are significantly more AV and malware apps for Windows because there is a much larger user base. First, Windows is a better target for virus writers since you can effect more people and steal more credit cards, but also because everyone including the non tech savy people run Windows. Windows tends to have the dumb assess willing to click OK when IE pops up a window bouncing around screaming "YOUR WINDOWS CAN HAS INFECTION!!1 GIVE MONEY NOW!!". Bobby Deluxe posted:So is that the sort of thing Steam could solve? I mean, if instead of each game having to target each different distro for compatibility, they target Steam and then each distro works on making itself compatible with the steam libraries. OpenGL needs good video drivers. OpenGL also only handles video, DirectX handles video, audio, input, probably even networking and other poo poo too.
|
# ? Oct 10, 2014 13:29 |
|
Steam linux runtime exists to minimise library compatibility issues for what it's worth.
|
# ? Oct 10, 2014 14:06 |
|
Crotch Fruit posted:OpenGL needs good video drivers. OpenGL also only handles video, DirectX handles video, audio, input, probably even networking and other poo poo too. There are options for this though, namely things like SDL, so this wouldn't really be a reason why Linux wouldn't be feasible. Inertia and fragmentation are probably bigger causes than actual technical reasons. hooah posted:The output is "kubuntu-desktop is already the newest version. The following package was automatically installed and is no longer required: kde-l10n-engb. Use 'apt-get autoremove' to remove it." Then 0 for every category (upgraded, etc.). So according to apt everything should be working. Hmpf. Could you try to change your default session for lightdm upon login to kde to see whether it would work that way? Usually, that can be done via sudo /usr/lib/lightdm/lightdm-set-defaults -s <session-name>, which should be kde-plasma as the session-name. Alternatively, you can also edit /etc/lightdm/lightdm.conf by hand (if it exists, otherwise the other command will create it as needed) and change user-session= to the same as above.
|
# ? Oct 10, 2014 14:09 |
|
Wiggly Wayne DDS posted:Steam linux runtime exists to minimise library compatibility issues for what it's worth. Well yeah, it does that by just packaging its own versions of a bunch of X libs and other things.
|
# ? Oct 10, 2014 14:50 |
|
Hollow Talk posted:So according to apt everything should be working. Hmpf. Could you try to change your default session for lightdm upon login to kde to see whether it would work that way? Usually, that can be done via sudo /usr/lib/lightdm/lightdm-set-defaults -s <session-name>, which should be kde-plasma as the session-name. Alternatively, you can also edit /etc/lightdm/lightdm.conf by hand (if it exists, otherwise the other command will create it as needed) and change user-session= to the same as above. I tried the first command, but it wasn't found. When I edited the conf file, this is how it looked: code:
|
# ? Oct 10, 2014 15:07 |
|
hooah posted:I tried the first command, but it wasn't found. When I edited the conf file, this is how it looked: Mhm, this is a bit odd. Could you post the contents of your ~/.dmrc? This is where desktop environment choices are saved for individual users, and changing that to kde-plasma might help.
|
# ? Oct 10, 2014 15:48 |
|
Hollow Talk posted:Mhm, this is a bit odd. Could you post the contents of your ~/.dmrc? This is where desktop environment choices are saved for individual users, and changing that to kde-plasma might help. It was just code:
|
# ? Oct 10, 2014 15:58 |
|
hooah posted:It was just It sure is! I'm not quite sure what's going on here, since all the requisite moving parts seem to be there, i.e. display manager (LightDM) → desktop files (kde-plasma.desktop) → binaries (startkde). Ubuntu also seems convinced that all necessary packages are there, yet some things are missing. The weird thing is that none of this is exactly a novelty problem that nobody has solved before, and all we are trying to use here are standard components that work pretty much the same way on any distribution. In short: Ubuntu? Who would have thought this would be quite so tricky?! As a last attempt, what does apt-get show you when you run apt-get install --dry-run kdm? If it lets you install kdm, that might be worth installing and activating via dpkg-reconfigure kdm as above, just to see whether this is just LightDM being problematic, or whether something else is broken.
|
# ? Oct 10, 2014 16:39 |
|
Did you install KDE through apt or through tasksel? tasksel should get you all the weird bits and configure them appropriately.
|
# ? Oct 10, 2014 18:40 |
|
Hollow Talk posted:As a last attempt, what does apt-get show you when you run apt-get install --dry-run kdm? If it lets you install kdm, that might be worth installing and activating via dpkg-reconfigure kdm as above, just to see whether this is just LightDM being problematic, or whether something else is broken. Looks like kdm was indeed missing (although the dry-run only mentioned the wallpapers package). After actually installing that, it ran the reconfigure thing, and after rebooting, I have KDE! thebigcow posted:Did you install KDE through apt or through tasksel? tasksel should get you all the weird bits and configure them appropriately. Through the Ubuntu app installer thing, so... apt, if I understand things correctly.
|
# ? Oct 10, 2014 19:34 |
|
Crotch Fruit posted:Only Netflix is playing the "hackable" card which is just their way of saying they are too loving lazy to try. Android runs the Linux and it is secure enough for Netflix so I find it hard to believe Linux is not secure enough for Netflix. Linux is more hackable from a media content provider's perspective, because it doesn't adequately support the hardware DRM shackles like HDCP that Windows does. It has nothing to do with being able to reverse-engineer the copy protection, and everything to do with just being able to capture the A/V stream being pumped out of the video card.
|
# ? Oct 10, 2014 19:34 |
|
hooah posted:Looks like kdm was indeed missing (although the dry-run only mentioned the wallpapers package). After actually installing that, it ran the reconfigure thing, and after rebooting, I have KDE!
|
# ? Oct 10, 2014 23:01 |
|
fletcher posted:Does anybody here use Virtual Private Clouds in AWS? Most of the articles I've read seem to imply that your VPN guy is right. You assign an elastic IP when you need to get into the instance, do what you need to do, then release the IP when done. A system that isn't accessible to the Internet is more secure than one connected by VPN, since a compromise of the VPN endpoint means all your instances could be exposed. There certainly are instances where a permanent connection is preferable (maybe your instances need access to on-prem databases) but best practice seems to be only having your guest connected when required.
|
# ? Oct 10, 2014 23:02 |
|
Misogynist posted:Well, Netflix is supported in Chrome 37. It was supported in Chrome 36 also, but you had to spoof your user-agent to look like a Windows system before it would let you in. e: apparently this is not news, just linking to Engadget saying exactly what you said. My bad. Bobby Deluxe fucked around with this message at 00:19 on Oct 11, 2014 |
# ? Oct 11, 2014 00:17 |
Weird Uncle Dave posted:Most of the articles I've read seem to imply that your VPN guy is right. You assign an elastic IP when you need to get into the instance, do what you need to do, then release the IP when done. A system that isn't accessible to the Internet is more secure than one connected by VPN, since a compromise of the VPN endpoint means all your instances could be exposed. Interesting, good to know. What about for things like a build server, artifact repository, etc. Should I have a public IP address on those machines that only need to be accessed internally?
|
|
# ? Oct 11, 2014 01:24 |
|
Bobby Deluxe posted:Apparently Ubuntu now supports Netflix funny that they headline it with ubuntu supporting netflix while it's really about chrome e: maybe now I'll finally build my xmbc media center pc now we have Netflix support without pipelight fuxkery
|
# ? Oct 11, 2014 10:31 |
|
spankmeister posted:funny that they headline it with ubuntu supporting netflix while it's really about chrome That's because Ubuntu was the one Netflix was waiting on due to its large market share(compared to other distros - wow it feels dirty to talk about market share of desktop linux). The reason that it's supported is that Ubuntu upgraded their libs. edit: although on second thought it really should have been "netflix support comes to linux" you're right, but I'm sick of people complaining that Ubuntu gets a mention when it was Ubuntu's library version was the last blocker. Not directing that at you or anything. I am not a book fucked around with this message at 18:01 on Oct 11, 2014 |
# ? Oct 11, 2014 17:58 |
|
fletcher posted:Does anybody here use Virtual Private Clouds in AWS? I don't have a VPN configured with it so I have to assign every instance a public elastic IP in order to connect to it. I use a security group to ensure only the my IP address can hit ssh & https on the box. I was talking to the guy at work that can setup the VPN for me and he doesn't want to do a VPN to the VPC, he said it's better to do the security group & public IP address. This seems crazy to me, I don't know how to convince him otherwise though. Especially since AWS only gives me 5 elastic IPs (i'm sure I could request more) but I don't even need these machines to be publicly accessible, just the load balancer. I use VPC at my company. VPC is used in serious operations, I don't know a single person who works at a company who doesn't, and also I believe AWS is phasing out classic EC2 anyway, so in a while you won't have a choice.
|
# ? Oct 11, 2014 18:42 |
Megaman posted:I use VPC at my company. VPC is used in serious operations, I don't know a single person who works at a company who doesn't, and also I believe AWS is phasing out classic EC2 anyway, so in a while you won't have a choice. So do you guys use a VPN? I don't doubt VPC is used for serious production systems, I just wanted to know about the VPN specifically.
|
|
# ? Oct 11, 2014 19:32 |
|
fletcher posted:Does anybody here use Virtual Private Clouds in AWS? I don't have a VPN configured with it so I have to assign every instance a public elastic IP in order to connect to it. I use a security group to ensure only the my IP address can hit ssh & https on the box. I was talking to the guy at work that can setup the VPN for me and he doesn't want to do a VPN to the VPC, he said it's better to do the security group & public IP address. This seems crazy to me, I don't know how to convince him otherwise though. Especially since AWS only gives me 5 elastic IPs (i'm sure I could request more) but I don't even need these machines to be publicly accessible, just the load balancer. fletcher posted:Interesting, good to know. What about for things like a build server, artifact repository, etc. Should I have a public IP address on those machines that only need to be accessed internally? Megaman posted:I use VPC at my company. VPC is used in serious operations, I don't know a single person who works at a company who doesn't, and also I believe AWS is phasing out classic EC2 anyway, so in a while you won't have a choice. fletcher posted:So do you guys use a VPN? I don't doubt VPC is used for serious production systems, I just wanted to know about the VPN specifically. Vulture Culture fucked around with this message at 19:59 on Oct 11, 2014 |
# ? Oct 11, 2014 19:51 |
|
|
# ? Jun 4, 2024 17:37 |
What about things like a build server that devs would need to access over https? Should I just give it an elastic IP & security group or is that something you should have behind a VPN and have buildserver.mydomain.com point to the 10.x.x.x private IP?
|
|
# ? Oct 11, 2014 21:20 |