| Summary: | Start GUI program from root in Konsole is crashes | ||
|---|---|---|---|
| Product: | [ROSA-based products] ROSA Fresh | Reporter: | Postnikov Dmitry <dmitry.postnikov> |
| Component: | Packages from Main | Assignee: | ROSA Linux Bugs <bugs> |
| Status: | RESOLVED INVALID | QA Contact: | ROSA Linux Bugs <bugs> |
| Severity: | normal | ||
| Priority: | Normal | CC: | alex.burmashev, alexander.kazantsev, denis.silakov, pavel.shved |
| Version: | Marathon | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Platform: | --- | ROSA Vulnerability identifier: | |
| RPM Package: | ISO-related: | ||
| Bad POT generating: | Upstream: | ||
| Attachments: |
rt1
su-- su--2 |
||
what GUI program, any of them ? Was this behavior reproducible in release image ? I tried to run Kwrite, Okular, Gwenview program, they are not started. Screenshot attached last message. Now tried to run Dolphin, Kopete, Amarok program. All the same, do not start. That's all there is not only in this iso image. It was still in the 357th iso. Just to be sure - this is installed system, isn't it ? What you use for root? It's old upstream bug for GUI software - see this: http://wiki.mandriva.com/ru/%D0%A1%D0%BF%D0%B8%D1%81%D0%BE%D0%BA_%D0%B8%D0%B7%D0%B2%D0%B5%D1%81%D1%82%D0%BD%D1%8B%D1%85_%D0%BF%D1%80%D0%BE%D0%B1%D0%BB%D0%B5%D0%BC_%D0%B2_Mandriva_Linux_2009#.D0.9F.D1.80.D0.B8.D0.BB.D0.BE.D0.B6.D0.B5.D0.BD.D0.B8.D1.8F_KDE_4_.D0.BD.D0.B5_.D0.B7.D0.B0.D0.BF.D1.83.D1.81.D0.BA.D0.B0.D1.8E.D1.82.D1.81.D1.8F_.D0.BE.D1.82_root_.D1.81_.D0.BF.D0.BE.D0.BC.D0.BE.D1.89.D1.8C.D1.8E_su This is not a bug, but documented and expected 'su' behavior which can be observed in almost every distribution, not only in ROSA. The thing is that when some GUI program is being launched from console, it needs to connect to X server which is run under different user. If the server is not configured to accept all connections (and such a configuration should be normally considered as a security hole), it will refuse the connection. The error you will see can depend on application type (pure X11 app, KDE app, etc.). So just use 'su -' or 'su -l'. Or 'root terminal' KDE application. Yes, I understood. I tried "su -", the program will start, but with a different theme design. No theme is Elementary. Screenshot att. next message. Created attachment 424 [details]
su--
Created attachment 425 [details]
su--2
this is expected behaviour. (In reply to comment #9) > this is expected behaviour. But what is the correct way to run a GUI program under root, with the brand ROSA theme? Programs that work with files (such as file managers, kdirstat-like programs) sometimes need to be run from root. Alt-F2 -> "kdesu <program>". Launches successfully Dolphin, Gwenview, Kwrite and other programs mentioned in this bug. It does, but i am afraid that it uses root user variables, so there is a fair chance that theme will be broken Yes, kdesu <program> is work. But theme not Elementary. On the other hand, this allows you to distinguish programs with root privileges from ordinary ones:) As far as i can imagine we can populate root user dir with some predefined settings, but i am not sure if it is ok. Yes. This is understandable. But there is one problem. When writing "kdesu dolphin" section and mount other disk. Then close the program and open the Dolphin from the user. What this section is not to look. He writes that "I can not find the folder ...". We have to go back to konsole of the root and do "umount /dev/sda...". |
Created attachment 421 [details] rt1 Description of problem: ROSA 2012 RP1 iso 369th Start GUI program from root in Konsole is crashes. From user in Konsole - its OK. See att. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3.