Re: Boot normally, but give me a root shell
On 6 October 2016 at 23:55, Richard W.M. Jones wrote: > > Is there a way to get Fedora to boot into a root shell, without > requiring a password? > > NOTE: I'm not interested in "emergency" shells and this is not for > recovering a system. > > I want the (specialized, non-networked) system to boot as normal, all > the way to multi-user.target, and then drop me to a root shell. > > Rich. > This seems to work with multi-user.target set as the default target: # cd /etc/systemd/system/ # cp /usr/lib/systemd/system/getty@.service getty@tty1.service # sed -i -e 's!ExecStart=-/sbin/agetty!ExecStart=-/sbin/agetty --autologin root!' getty@tty1.service # systemctl enable --force getty@tty1.service -- Ahmad Samir ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: Boot normally, but give me a root shell
On Fri, Oct 07, 2016 at 09:19:55AM +0200, Ahmad Samir wrote: > On 6 October 2016 at 23:55, Richard W.M. Jones wrote: > > > > Is there a way to get Fedora to boot into a root shell, without > > requiring a password? > > > > NOTE: I'm not interested in "emergency" shells and this is not for > > recovering a system. > > > > I want the (specialized, non-networked) system to boot as normal, all > > the way to multi-user.target, and then drop me to a root shell. > > > > Rich. > > > > This seems to work with multi-user.target set as the default target: > # cd /etc/systemd/system/ > # cp /usr/lib/systemd/system/getty@.service getty@tty1.service > # sed -i -e 's!ExecStart=-/sbin/agetty!ExecStart=-/sbin/agetty > --autologin root!' getty@tty1.service > # systemctl enable --force getty@tty1.service Thanks. I came up with a slightly different answer, which also works. I'm just documenting it here for reference. I copied debug-shell.service from systemd to /etc/systemd/system/root-shell.service. I modified the file as below because I wanted to start a root shell on /dev/console, and I also wanted the target to be multi-user.target. I then enabled the service as usual: # systemctl enable root-shell On boot, it starts a root shell with no login required. Rich. -- # This file is part of systemd. # # systemd is free software; you can redistribute it and/or modify it # under the terms of the GNU Lesser General Public License as published by # the Free Software Foundation; either version 2.1 of the License, or # (at your option) any later version. [Unit] Description=Root shell Documentation=man:sushell(8) DefaultDependencies=no IgnoreOnIsolate=yes [Service] Environment=TERM=linux ExecStart=/sbin/sushell Restart=always RestartSec=0 StandardInput=tty TTYPath=/dev/console TTYReset=yes TTYVHangup=yes KillMode=process IgnoreSIGPIPE=no # bash ignores SIGTERM KillSignal=SIGHUP # Unset locale for the console getty since the console has problems # displaying some internationalized messages. Environment=LANG= LANGUAGE= LC_CTYPE= LC_NUMERIC= LC_TIME= LC_COLLATE= LC_MONETARY= LC_MESSAGES= LC_PAPER= LC_NAME= LC_ADDRESS= LC_TELEPHONE= LC_MEASUREMENT= LC_IDENTIFICATION= [Install] WantedBy=multi-user.target -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 100 libraries supported. http://fedoraproject.org/wiki/MinGW ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: Taskbar Panel in Plasma Won't Autohide
On 06/10/16 09:07, Rick Stevens wrote: On 10/05/2016 02:37 PM, Stephen Morris wrote: On 07/07/16 08:24, Stephen Morris wrote: On 23/05/16 07:25, Ed Greshko wrote: On 05/23/16 04:10, Stephen Morris wrote: Thanks Ed. Do you know what the kde list url is, I might try that to see if they have any indications on when it is likely to be fixed. That would be http://lists.fedoraproject.org/admin/lists/k...@lists.fedoraproject.org And I think Colin nailed it with https://bugs.kde.org/show_bug.cgi?id=362105 Thanks for the responses guys, having upgraded to F24 I can confirm this issue has been resolved in F24. Having had the issue fixed by an upgrade to F24, after putting on all the regular updates up to the current point in time I have found that the issue has resurfaced and autohide no longer works, nor is autohide selectable from the panel options again. What I don't know is which specific updates have reintroduced the issue as I have only just noticed it. How do I identify whether this is an upstream issue or whether Fedora changes have caused the issue (I think changes to KDE Themes can cause this as well). From what I can see, this is (has) been an issue in kde-workspace in versions prior to 5.6.5. Verify the versions you have installed via dnf list installed kde-workspace* If it's later than 5.6.5, then you should probably bugzilla it to Fedora. Make sure you put all the pertinent data (KDE component versions, themes versions, etc.) in your report. The Fedora gang will see if it's something Fedora-specific. If not and it's from upstream, I think they'd push it up the food chain to KDE. Thanks for the response Rick. I issued the command and the only response I got was for kde-workspace-common.noarch which listed the version as 1:4.11.22-16.fc24. This looks to be less than the version you listed, is that correct? regards, Steve -- - Rick Stevens, Systems Engineer, AllDigitalri...@alldigital.com - - AIM/Skype: therps2ICQ: 226437340 Yahoo: origrps2 - -- -Brain: The organ with which we think that we think.- -- ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: Reverting to nouveau
On Thu, 2016-10-06 at 21:17 -0700, Samuel Sieb wrote: > On 10/06/2016 03:27 AM, Patrick O'Callaghan wrote: > > > > On Thu, 2016-10-06 at 06:33 -0300, George N. White III wrote: > > > > > > > > > > > I don't have a problem with Steam. As long as I use the Nvidia drivers > > > > it works perfectly well. My problem is with hibernation. See the thread > > > > starting at: > > > > > > > You mentioned problems with Steam under Nouveau. Sorting that means more > > > people, including you, can use Nouveau. Sorting a problem involving > > > Nvidia > > > drivers is more likely to be an exercise in frustration since we aren't > > > allowed > > > to see big parts of the code that might be involved. > > > > No doubt, but a) I'm not an expert on graphics drivers so realistically > > I can't contribute anything useful to the Nouveau project other than > > testing stuff, and b) the Nvidia hardware is proprietary and (I assume) > > incompletely documented. This is true of a lot of GPU chipsets. The > > proprietary drivers work better because they use undocumented features. > > Apparently > > > Sure, but the point George was making was that if you file a bug on > Nouveau with the problems that you're having with Steam, maybe it could > get fixed and you wouldn't have to worry about hibernating with the > NVidia driver. I understand that, however the issue isn't that Steam doesn't work, but that some FPS-type games are too laggy to be usable, i.e. the problem is performance rather than function. I may look into it at some point but for now I've just settled on using suspend instead of hibernate, and that works fine. poc ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Developing Android apps under Fedora/KDE
I have an old smartphone (Samsung Galaxy S2), unlocked, and I'm thinking of trying to write simple apps for it on my Fedora-24 laptop. I'm fairly familiar with Java (and Eclipse) (Long ago I wrote a program modifying TeX web2c to output Java). I haven't found a reasonably authoritative article on this, and would welcome advice and/or suggestions from anyone who has gone down this route. I ran "dnf search android" and found quite a few appropriate sounding programs, but found it hard to tell how they would fit together. I'd like to do it in as simple and standard a way as possible, eg not writing in C++ and using a program to translate that to Java. I've looked at a number of sites claiming to teach this topic, but none of the ones I have seen had concrete instructions of how to transfer Hallo World, say, to the phone and run it there. And all seemed to have their own special programs, eg I was just looking at one which said "Android Studio is the official IDE for Android development" but none of the others mentioned this program (or suite). As I said, I would be very grateful for any knowledgeable adivice on this topic. -- Timothy Murphy gayleard /at/ eircom.net School of Mathematics, Trinity College, Dublin ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: Developing Android apps under Fedora/KDE
On Fri, 07 Oct 2016 14:02:13 +0100 Timothy Murphy wrote: > As I said, I would be very grateful for any knowledgeable adivice > on this topic. You don't want that e-word development environment not to be named. There is a brand new android GUI development environment just for android: https://developer.android.com/studio/index.html Or you could use pure command line tools and emacs like I was doing (till I got distracted by other things and let my android programming lapse): http://tomhorsley.com/book/index.html ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: Developing Android apps under Fedora/KDE
Tom Horsley wrote: =>> As I said, I would be very grateful for any knowledgeable adivice >> on this topic. > > You don't want that e-word development environment not to be named. > There is a brand new android GUI development environment just > for android: https://developer.android.com/studio/index.html > > Or you could use pure command line tools and emacs like > I was doing (till I got distracted by other things and let > my android programming lapse): > > http://tomhorsley.com/book/index.html Thank you very much for that. I have looked quickly through your long article, and will probably follow your advice. I find your hatred of Eclipse (that is what I assume you are talking about) slightly off-putting, as you seem to imply that all other works on the topic recommend it. I'm not particularaly fond of Eclipse, but not to the extent that I won't use it if it is recommended. It does come slightly between you and the app you want to write, but is it any more than the other programs you recommend? However, I suppose the issue that most worries me is this: Is developer.android.com the official Android site as they claim to be? Eg is it supported by google? And is studio the official Android IDE? Official as defined by who? Incidentally, I looked (quickly as I said) through your book/article, but didn't see anywhere where you explicitly said how to transfer your app from emulator to phone. Do you explain that somewhere, or do you consider it obvious? Again, does one have to have root access on the phone? Is that discussed in your article? -- Timothy Murphy gayleard /at/ eircom.net School of Mathematics, Trinity College, Dublin ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
F23: KDE menu launch SSH inside konsole fails after update
I don't know when it stopped working working, but it was recently. Unfortunately, with almost daily updates I don't know what's caused it. I have menu entried within my KDE which start a ssh command inside a konsole. This has worked fine for as long as I can remember (F9 or before) However, now when I try, I get the launch feedback, the konsole window never opens. If I open a konsole session, e.g. by right clicking the desktop, and then run the ssh command then all works fine. Can annyone suggest how I can debug/fix the problem? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: Developing Android apps under Fedora/KDE
On Fri, 07 Oct 2016 15:04:43 +0100 Timothy Murphy wrote: > Is developer.android.com the official Android site > as they claim to be? Eg is it supported by google? Yep, that's the official google site. They have their own tutorials out there as well to guide you through developing example apps with android studio. > Incidentally, I looked (quickly as I said) through your book/article, > but didn't see anywhere where you explicitly said > how to transfer your app from emulator to phone. > Do you explain that somewhere, or do you consider it obvious? > Again, does one have to have root access on the phone? > Is that discussed in your article? I probably didn't think about it. What I mostly did was setup a directory on my desktop's web server where I copied the .apk files so I could download them on the phone via a web browser. You don't need root, but you do need to enable the "allow install from any source" over in settings so it will let you install the downloaded .apk file. You can certainly install them with a USB connection and adb commands though rather than downloading them over wifi. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: Reverting to nouveau
On 10/07/2016 05:11 AM, Patrick O'Callaghan wrote: <<<>>> > I understand that, however the issue isn't that Steam doesn't work, but > that some FPS-type games are too laggy to be usable, i.e. the problem > is performance rather than function. I may look into it at some point > but for now I've just settled on using suspend instead of hibernate, > and that works fine. > ==> greetings poc. you do not mention if problem system is a desktop or laptop, tho such may not matter. in following your thread, there are a couple things that i wonder about. 1- did problem start after an update or some other system change? 2- why do you place fault with graphics card? 3- is swap partition of adequate size to hold running programs that are using memory/disk space along with running system? i installed centos 6 on a laptop and left oos in event i need to upgrade bios. as like with my desktop system laptop is powered up 24/7 and i use 'suspend to disk' when i take it somewhere. on 1 occasion, i was not able to 'suspend to disk'. after much checking failed to find problem, i reverted to a full power down. days later, i needed to collect and save a bunch of files to a usb memory stick. to see which partitions had space to hold collection, i ran a script 'dfs' [aka 'df -k|grep /dev/sd|sort'] to see what was available and opened 'disk utility' to mount usb memory stick. still unknown to me as to why, i clicked on the hdd and to my surprise, i found that extended partition was showing an ntfs partition at start of extended partition. how such happened, i have no clue. deleting ntfs partition cleared my suspend problem. thus is reason for questions 2 & 3 above, and suggestion that you might check to insure that your swap partition is of adequate size. much luck. -- peace out. CentOS GNU/Linux 6.8 tc,hago. g . =+= Tired of having your microsoft os hacked? Change to Linux os, used by microsoft hackers. =+= in a world with out fences, who needs gates. =+= ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: Developing Android apps under Fedora/KDE
Tom Horsley wrote: > You can certainly install them with a USB connection and > adb commands though rather than downloading them over > wifi. Thanks for the clarification. But does the above mean that you cannot download the necessary files over WiFi (say with KDE Connect), or simply that you don't recommend it? -- Timothy Murphy gayleard /at/ eircom.net School of Mathematics, Trinity College, Dublin ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: Developing Android apps under Fedora/KDE
On Fri, 07 Oct 2016 15:33:09 +0100 Timothy Murphy wrote: > But does the above mean that you cannot download the necessary files > over WiFi (say with KDE Connect), or simply that you don't recommend it? Nah, it is just personal preference. I found it more convenient to download them via a web browser (which I already had setup and running) rather than fool with USB cables, but I think adb can do the install directly rather than a two stage download then install, whatever works for you. ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: Reverting to nouveau
On Fri, 2016-10-07 at 09:22 -0500, geo.inbox.ignored wrote: > you do not mention if problem system is a desktop or laptop, tho such > may not matter. It's desktop with an added Nvidia card. > in following your thread, there are a couple things that i wonder about. > > 1- did problem start after an update or some other system change? Most likely after an Nvidia driver update, but TBH I wasn't paying attention. > 2- why do you place fault with graphics card? I place the problem with the graphics *driver* because when I switch drivers it goes away, and when I switch them back it returns. > 3- is swap partition of adequate size to hold running programs that > are using memory/disk space along with running system? Yes. I enabled hibernation months ago and it worked up until fairly recently (2 or 4 weeks roughly). Hence my conclusion that the Nvidia drivers have something to do with it. Unfortunately Googling the issue doesn't show up anything useful. If I kept notes of significant changes (or could understand the systemd journal) I could probably pin it down, but that's a big ask. I suspect many of us are in the same position. As I said, I'm happy enough with suspend for now. My aim was to reduce power consumption at night (this isn't a server that has to be on all the time). poc ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: Reverting to nouveau
On 10/07/2016 10:35 AM, Patrick O'Callaghan wrote: > On Fri, 2016-10-07 at 09:22 -0500, geo.inbox.ignored wrote: >> you do not mention if problem system is a desktop or laptop, tho such >> may not matter. > > It's desktop with an added Nvidia card. > >> in following your thread, there are a couple things that i wonder about. >> >> 1- did problem start after an update or some other system change? > > Most likely after an Nvidia driver update, but TBH I wasn't paying > attention. > >> 2- why do you place fault with graphics card? > > I place the problem with the graphics *driver* because when I switch > drivers it goes away, and when I switch them back it returns. > >> 3- is swap partition of adequate size to hold running programs that >> are using memory/disk space along with running system? > > Yes. I enabled hibernation months ago and it worked up until fairly > recently (2 or 4 weeks roughly). Hence my conclusion that the Nvidia > drivers have something to do with it. Unfortunately Googling the issue > doesn't show up anything useful. If I kept notes of significant changes > (or could understand the systemd journal) I could probably pin it down, > but that's a big ask. I suspect many of us are in the same position. > > As I said, I'm happy enough with suspend for now. My aim was to reduce > power consumption at night (this isn't a server that has to be on all > the time). > ==> this now reads as if main of problem is with the coding of new driver. that is, new driver is not liking your video chipset. therefore, i believe your solution would be to get with nvidia to insure their new driver handles your chipset. if it happens to be an 'optimus', then you might have a look at; http://bumblee-project.org as for nvidia site, check to see if you can find a more proper driver at; http://www.nvidia.com/download/index.aspx as for 'on all the time', i agree about your saving power. *but*, give consideration to fact that powering a system up and down can be more costly due to 'electronic' wear and tear on system. computers are like a light bulb, leave the light on and it will last longer than it will by having to deal with inrush current when turned on from a cold state. if you feel that you must save power, consider 'save to memory'. in 'long run', cost of electricity may well be less than having to replace costly components. -- peace out. CentOS GNU/Linux 6.8 tc,hago. g . =+= Tired of having your microsoft os hacked? Change to Linux os, used by microsoft hackers. =+= in a world with out fences, who needs gates. =+= ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
Re: Reverting to nouveau
On Fri, 2016-10-07 at 11:38 -0500, geo.inbox.ignored wrote: > as for nvidia site, check to see if you can find a more proper driver at; > > http://www.nvidia.com/download/index.aspx That's where the drivers come from, via RPMfusion. > as for 'on all the time', i agree about your saving power. > > *but*, give consideration to fact that powering a system up and down > can be more costly due to 'electronic' wear and tear on system. I tend to agree in fact. I never used to turn my computers off, then I worked out how much power they consume and how much it costs. I've noticed a difference in my bill since I started doing this. poc ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
kde plasmashell eating cpu - FC24 all updates on INTEL Q6700
I have just discovered (one of?) the reasons plasmashell was eating so much cpu and memory on my system. I have dual monitors and in circa FC20 I could get a panel on both screens then something happened (and I suspect I tried apparently unsuccessfully to restore a panel to one of the screens) and pretty well from then on the plasmashell problem grew. After looking on the kde lists for a clue as to what the problem might be (I notice its a "well known bug") I espied recently a comment about someone deleting a panel and finding there was another panel underneath So I deleted the panel on the screen that had one - lo' it was "still there" - I deleted that . for about 10 of them! The last one disappeared - but I could restore it (undo the delete) Now with just one panel my kde desktop has finally reverted to sanity after about 6 months! I will now try to work out exactly what happened and when it happened. Anyone else seen this? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org
DNF update
3RD time happened, when doing "dnf update" XFCE crashed and had log in again. I know, there is bug somewhere and people have been told to do update in virtual console. Ok, twice I did in in console running in X. But now I used virtual console and when returned back into X, it crashed and had to log in again. What I have noticed, this have happened every time, when there has been update for SYSTEMD. X does not crash, when there is updates for some others. In my case, pure login is no good, I loose USB ports, what I use controlling hamradio stuff, so need reboot after crash. Hope after these crashes, that my logging database is not violated :( Jarmo ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-le...@lists.fedoraproject.org