• General Linux Chat and Small Questions v. I broke my Arch Install
    6,886 replies, posted
[QUOTE=mastersrp;45687656]I had this issue a long time ago, and I ended up completely removing gdm and just going with lightdm instead. If you figure this out, please do post it.[/QUOTE] I might end up doing this myself. I was trying to find a solution for a few hours yesterday, but nothing I find seems to work. I use gnome though, and doesn't gnome depend on gdm which means I at least have to have it installed? I can't really disable gdm from the looks of it so I'm not sure if I can activate a new display manager above that forgot to mention earlier, I'm not sure if it's a maintenance mode restriction or not, but I can't launch gnome using startx either. it gives me the D-Bus warning when trying to
Try installing the 32-bit dbus as well? Or look around in some logs and sniff around for an error. journalctl -xb is a place to start at.
GNOME does not depend on gdm, it works just fine with lightdm and other display managers. Some functionality may just get limited, but it's nothing important.
If gdm REALLY doesn't want to be disabled, you should still be able to remove the symlink manually, as it is just a file like any other. You can read up on the Arch Linux wiki about where systemd saves those.
high priority warnings from journalctl [code]-- Logs begin at Tue 2014-07-08 03:55:39 CEST, end at Thu 2014-08-14 17:56:43 CEST. -- Aug 14 17:43:52 LV-246 kernel: uvesafb: cannot reserve video memory at 0xe9000000 Aug 14 17:43:53 LV-246 systemd-udevd[185]: specified group 'colord' unknown Aug 14 17:43:54 LV-246 kernel: sd 8:0:0:0: [sdc] Asking for cache data failed Aug 14 17:43:54 LV-246 kernel: sd 8:0:0:0: [sdc] Assuming drive cache: write through Aug 14 17:46:13 LV-246 systemd[1]: Failed unmounting /home. -- Subject: Unit home.mount has finished shutting down -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit home.mount has finished shutting down. Aug 14 17:46:13 LV-246 systemd[1]: Failed unmounting Temporary Directory. -- Subject: Unit tmp.mount has finished shutting down -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit tmp.mount has finished shutting down. -- Reboot -- Aug 14 17:56:38 LV-246 kernel: uvesafb: cannot reserve video memory at 0xe9000000 Aug 14 17:56:38 LV-246 systemd-udevd[184]: specified group 'colord' unknown Aug 14 17:56:40 LV-246 kernel: sd 8:0:0:0: [sdc] Asking for cache data failed Aug 14 17:56:40 LV-246 kernel: sd 8:0:0:0: [sdc] Assuming drive cache: write through [/code] sdc is my external HDD, so I wouldn't be too worried about that. since I'm able to use something other than gdm, the next issue in line is the internet connection. I don't have internet in maintenance mode, and I haven't been able to turn it on either. how would I go about getting lightdm without internet? I'm also not able to uninstall gdm as some other gnome component depends on it, and the --force flag is apparently unknown to pacman. systemctl --failed also gives me the D-Bus warning by the way [editline]14th August 2014[/editline] [QUOTE=mastersrp;45687849]If gdm REALLY doesn't want to be disabled, you should still be able to remove the symlink manually, as it is just a file like any other. You can read up on the Arch Linux wiki about where systemd saves those.[/QUOTE] oh yeah, I should give that a try as well. forgot about that when I booted back up for these logs, oops [editline]14th August 2014[/editline] oh hey, after manually going in to remove the symlink, I remembered gdm.service was never set to run, I was using gdm-plymouth.service since I use plymouth. disabling that put sent me into the non-graphical log in! it seems to have solved my tty issue as well as all the other tty's are no longer blank. gnome doesn't work still though, so I'm not sure what's up with that. I'm using PekWM right now [editline]14th August 2014[/editline] after more messing around, I'm finally back in gnome. had to get rid of gdm and reinstall gnome, so now I'm on gnome and lightdm
-snip late-
[QUOTE=Donkie;45633968]How can I do this all from a shell script, without needing any user input?[/QUOTE] Okay an update on this. I've setup in /etc/screenrc to automatically add me as multiuser, which lets me attach to it using [code]screen -r gmod[/code] and there it works fine. However, I can't really attach and all that yadda yadda using php commands, which is why the -X switch was invented. In theory I should be able to do [code]screen -X -S gmod stuff "changelevel gm_flatgrass"[/code] but it complains that I don't have permission: [code]Cannot opendir /var/run/screen/S-steam: Permission denied[/code] At this point I'm stumped, I've tried googling but nobody seems to be able to answer. I've tried chmod on the directory it tells me but screen then complains that permission always needs to be 700. To sum up, I got permission to attach to the screen, but I am unable to send using -X.
What are the permissions for /var/run/screen/S-steam? (ls -l /var/run/screen/S-steam) As what user is PHP running?
The folder S-steam has permission 700. I currently don't know what user PHP is (and I have trouble finding out how) but for the moment I'm testing on my own user account "donkie", which should be under the same circumstances.
So I've switched over, I chose Ubuntu. I chose it due to the fact I had worked with it a little during a cyber competition I participated in through school.
[QUOTE=Donkie;45691597]The folder S-steam has permission 700. I currently don't know what user PHP is (and I have trouble finding out how) but for the moment I'm testing on my own user account "donkie", which should be under the same circumstances.[/QUOTE] Who's the owner of /var/run/screen/S-steam?
[QUOTE=Darkwater124;45693030]Who's the owner of /var/run/screen/S-steam?[/QUOTE] steam. I can change the group but since permissions are 700 it doesn't have any effect. Is it okay if I add you?
How do I globally change the clock to 12 hour time in xubuntu? I've set the clock in the top right to 12 hour time, but it affects nothing else. Having 24 hour time is just a pain.
[QUOTE=mastersrp;45660531]Alright, so anyone have any knowledge about lighttpd? I hope so, because this issue has been bothering me for WAY too fucking long (like 2 days), and I couldn't get any help whatsoever from the #lighttpd channel on freenode. So here goes. I've got a lighttpd web server running, which hosts my main website. However, I am also working with fossil repositories, and I'd like to show them off using my website, so that users can visit http://example.com/repo/$REPO and see the fossil web servers HTTP output. So far I've gotten it to "sort of" work, except that it also sends /repo/$REPO to the server. The fossil server(s) run on a port range of ex 8081-8090, and the idea is to have an internal proxy device thing in lighttpd. I've tried the following [code] $HTTP["url"] =~ "^/repo/somerepo/" { proxy.server = ( "" => ( ( "host" = "127.0.0.1", "port" = 8081 ))) } [/code] Which works to some extend, but not fully. How do I send anything AFTER /repo/$REPO/ to the internal fossil server, but nothing BEFORE and nothing INCLUDING that? Ideally I'd go to, for instance, /repo/$REPO/timeline, and the fossil server would see only /timeline.[/QUOTE] It seems no one has any clue how to do this seemingly simple task, so I suppose it's time to roll my own entire web server service. I asked several times in the #lighttpd channel on freenode, and all I ever got for an answer was "that looks alright" even though it clearly didn't work, so I am now stranded between having NO way of properly doing this with lighttpd, and writing my own custom web server software that executes programmable code as configuration (ie lua).
[QUOTE=isnipeu;45695926]How do I globally change the clock to 12 hour time in xubuntu? I've set the clock in the top right to 12 hour time, but it affects nothing else. Having 24 hour time is just a pain.[/QUOTE] That's probably a locale thing, though that depends on which programs respect your locale settings. You can see the locale date format with 'locale -k date_fmt'.
Or you could do the sensible thing, and stop using 12-hour time. There's 24 hours in a day, you should have 24 hours on your clock.
[QUOTE=nikomo;45697158]Or you could do the sensible thing, and stop using 12-hour time. There's 24 hours in a day, you should have 24 hours on your clock.[/QUOTE] Or I could do the sensible thing and keep using 12-hour time since pretty much no one here actually uses 24 hour time, and I personally prefer 12 hour time. You could also not post if you aren't going to help, that's a sensible thing to do.
Is there a reason my internet speed is reasonably slower on this computer ever since I switched to Ubuntu? My other computer hasn't changed, but this one has.
[QUOTE=Exigent;45698698]Is there a reason my internet speed is reasonably slower on this computer ever since I switched to Ubuntu? My other computer hasn't changed, but this one has.[/QUOTE] Slower in what? Lan -> Wan or Lan -> Lan? And by speed do you mean bandwidth or latency?
[QUOTE=kaukassus;45698853]Slower in what? Lan -> Wan or Lan -> Lan? And by speed do you mean bandwidth or latency?[/QUOTE] Like just in general, videos buffer a lot more, pages take longer to load, music from spotify freezes, and my download speed is slower.
[QUOTE=Exigent;45698870]Like just in general, videos buffer a lot more, pages take longer to load, music from spotify freezes, and my download speed is slower.[/QUOTE] For me the actual Download Speed is a but faster than on Windows. Generally my Dl speed is ~100Kb/s faster than on windows, but results may vary from a few different factors: Distribution, Distro Version and Hardware. Could be that your NIC has some problems with Linux.
I've actually noticed similar things. Pages take forever to start loading but once they get past hostname resolving they load fine. Same thing for videos. [editline]15th August 2014[/editline] wait I just had a brainwave (yeah, just the one) I remember a while ago I had to disable IPv6 under Arch because it would make initializing connections take forever if you don't have an IPv6 network setup [url]http://www.noobslab.com/2012/05/disable-ipv6-if-your-internet-is.html[/url] Possibly try this? Or this? [url]https://wiki.archlinux.org/index.php/IPv6#Disable_functionality[/url]
Also, what's a good replacement program for Notepad++ on Ubuntu?
[QUOTE=Exigent;45700263]Also, what's a good replacement program for Notepad++ on Ubuntu?[/QUOTE] Was that a trick question? The answer's obviously Vim. :v: [editline]Could have said Emacs.[/editline] But seriously though, [url=http://www.sublimetext.com/2]Sublime Text has a GNU/Linux port[/url]. Should work just like NP++.
[QUOTE=Exigent;45700263]Also, what's a good replacement program for Notepad++ on Ubuntu?[/QUOTE] * Vim / gVim * Emacs * Gedit * Atom * Sublime Text 2/3 (Proprietary)
[QUOTE=Exigent;45700263]Also, what's a good replacement program for Notepad++ on Ubuntu?[/QUOTE] I use Sublime, love it
I'm glad celebrities do this [url=https://www.youtube.com/watch?v=0fmmoHmpT70]ice bucket challenge[/url] thing to raise awareness about the ALSA sound manager. This piece of software has been neglected in the past and was in dire need of getting support. :v:
So, my school upgraded from Dell netbooks that could hardly run Windows 7 (I installed Mint and it ran a bit better) to some new Macbook Airs. How much trouble do you think I would get if I installed Arch or even Windows? I plan on using Steam for low power games.
[QUOTE=Original User;45714310]So, my school upgraded from Dell netbooks that could hardly run Windows 7 (I installed Mint and it ran a bit better) to some new Macbook Airs. How much trouble do you think I would get if I installed Arch or even Windows? I plan on using Steam for low power games.[/QUOTE] Why would you even do that? I could maybe understand Windows at max, but why not just run OS X? It's a wonderful operating system especially on laptops (the trackpad is godly)
[QUOTE=Killervalon;45717062]Why would you even do that? I could maybe understand Windows at max, but why not just run OS X? It's a wonderful operating system especially on laptops (the trackpad is godly)[/QUOTE] The trackpad doesn't have to be any less "godly" when using Linux.
Sorry, you need to Log In to post a reply to this thread.