[Solved] nm-applet does not display in normal user's panel

I installed Arch Linux yesterday. Today, I am trying to get some of the refinements working. I installed OpenBox as a standalone window manager. I got several things working exactly the way I wanted as root, such as networkmanager, nm-applet, and pypanel. When I startx as root, the nm-applet is properly displayed in the pypanel.
Then I discovered that I could not run an X application as the normal user without first running "xhost +" as root. At this point, it dawned on me that I am not supposed to run startx as root, but as the normal user. Duh!
So, I thought I set up everything the same way for the normal user. When I startx as the normal user, OpenBox runs, nm-applet runs, and pypanel runs, but pypanel does not display the nm-applet icon. I can now run my X application as the normal user, so that is good.
My .config/openbox/autostart file is exactly the same for root and my normal user:
(sleep 3 && pypanel) &
(sleep 3 && /usr/bin/nm-applet --sm-disable) &
nm-applet was started by this code, because ps -ef shows it running and owned by the normal user:
[tim@(none) ~]$ ps -ef|grep nm-applet
tim 2311 2306 0 15:27 tty1 00:00:00 /usr/bin/nm-applet --sm-disable
tim 2332 2327 0 15:27 pts/0 00:00:00 grep nm-applet
[tim@(none) ~]$ ps -ef|grep networkmanager
root 497 476 0 14:14 ? 00:00:00 /sbin/dhcpcd -B -K -L -G -c /usr/lib/networkmanager/nm-dhcp-client.action eth0
root 869 476 0 14:30 ? 00:00:00 /sbin/dhcpcd -B -K -L -G -c /usr/lib/networkmanager/nm-dhcp-client.action ra0
tim 2345 2327 0 15:27 pts/0 00:00:00 grep networkmanager
Why does pypanel display the nm-applet icon for root but not for the normal user?
Tim (newbie to Arch but previously ran ArchBang for six months)
Last edited by ratcheer (2012-05-02 22:34:30)

I have now switched to tint2 from pypanel, anyway. It is much cleaner and easier to use. At least in my opinion.
Tim
Last edited by ratcheer (2012-05-03 02:31:59)

Similar Messages

  • LXDE panel menu does not display in regular user mode

    Hello All,
    Running arch on eeepc 1000HE.  Running openbox with lxde.  The menu on the panel does not display when in a regular user mode, but does display when in su mode.  The button for the menu displays but when pressed the menu is blank.  It seemed as if the /usr/share/application file was not being read properly so I changed the owner to my user to see if it was a permission issue.  That did not help.  I have not yet seen a problem like this on the web.
    Let me know,
    Brad

    grey wrote:I don't think the LXDE menu can be edited - it's generated autmatically from the desktop files.
    It can. The configuration is in /etc/xdg/menus/lxde-applications.menu. You can also copy that file into ~/.config/menus to keep your modifications local.
    This brings me to two suggestions for you brahan: Check if you have a ~/.config/menus/lxde-applications.menu, and delete it if you do. Then restart lxpanel. The other thing, check if you have /etc/xdg/menus/lxde-applications.menu and what are it's permissions.

  • Applet does not display on Internet Explorer

    I have written a program using MS Edit, I have run the program, and I have compiled the program.
    But when I use a web browser to run the applet, it does not disply the applet. Instead is makes a gray empty area. I would like to know what I should do to get the applet to display. Thank you.
    ernest_efienamokwu

    Hi Ernest,
    Make sure the applet code is written proper by running it using appletviewer.
    If that works, the HTML file used to run the Applet might be wrong, Verify the Applet tag and codebase tags.
    Refer to Sun Tutorials on how to do this if you are in doubt.
    Hope this helps.
    Cheers,
    Chandra

  • Applet Does Not Display

    Hi!
    With these two perplexing pieces of code, I should be able to show a red "Welcome to Java" string. But it doesn't render when I open the HTML file. I don't know why, I seem to be passing the parameters properly.
    Applet: <html>
         <head>
              <title>Display Message 2</title>
         </head>
         <body>
         <applet
              code = "DisplayMessage2.class"
              width = 200
              height = 50
              alt = "You must have a Java-enabled browser to view the applet"
         >
              <param name = MESSAGE value = "Welcome to Java" />
              <param name = X value = 40 />
              <param name = Y value = 50 />
              <param name = COLOR value = "red" />
              <param name = FONTNAME value = "Monospaced" />
              <param name = FONTSIZE value = 20 />
         </applet>
         </body>
    </html>DisplayMessage2.java: import java.applet.Applet;
    import java.awt.*;
    import javax.swing.*;
    public class DisplayMessage2 extends JApplet {
        private String message;
        private int x = 20;
        private int y = 20;
        private String fontColor;
        private String fontName;
        private int fontSize = 20;
        /** Initialize the applet */
        public void init() {
            // Get parameter values from the HTML file
            message = getParameter("MESSAGE");
            x = Integer.parseInt(getParameter("X"));
            y = Integer.parseInt(getParameter("Y"));
            fontColor = getParameter("COLOR");
            fontName = getParameter("FONTNAME");
            fontSize = Integer.parseInt(getParameter("FONTSIZE"));
            // Create a message panel
            MessagePanel messagePanel2 = new MessagePanel(message);
            messagePanel2.setXCoordinate(x);
            messagePanel2.setYCoordinate(y);
            if (fontColor.equals("red")) {
                messagePanel2.setForeground(Color.red);
            } else if (fontColor.equals("yellow")) {
                messagePanel2.setForeground(Color.yellow);
            } else if (fontColor.equals("green")) {
                messagePanel2.setForeground(Color.green);
            messagePanel2.setFont(new Font(fontName, Font.PLAIN, fontSize));
            // Add the message panel to the applet
            getContentPane().add(messagePanel2);
    } And, MessagePanel.java: import java.awt.FontMetrics;
    import java.awt.Dimension;
    import java.awt.Graphics;
    import javax.swing.JPanel;
    public class MessagePanel extends JPanel {
        /** The message to be displayed */
        private String message = "Welcome to Java";
        /** The x coordinate where the message is displayed */
        private int xCoordinate = 20;
        /** The y coordinate where the message is displayed */
        private int yCoordinate = 20;
        /** Indicate whether the message is displayed in the center */
        private boolean centered;
        /** The interval for moving the message horizontally and vertically */
        private int interval = 10;
        /** Construct with default properties */
        public MessagePanel() {
        /** Construct a message panel with a specified message */
        public MessagePanel(String message) {
            this.message = message;
        /** Return message */
        public String getMessage() {
            return message;
        /** Set a new message */
        public void setMessage(String message) {
            this.message = message;
            repaint();
        /** Return xCoordinator */
        public int getXCoordinate() {
            return xCoordinate;
        /** Set a new xCoordinator */
        public void setXCoordinate(int x) {
            this.xCoordinate = x;
            repaint();
        /** Return yCoordinator */
        public int getYCoordinate() {
            return yCoordinate;
        /** Set a new yCoordinator */
        public void setYCoordinate(int y) {
            this.yCoordinate = y;
            repaint();
        /** Return centered */
        public boolean isCentered() {
            return centered;
        /** Set a new centered */
        public void setCentered(boolean centered) {
            this.centered = centered;
            repaint();
        /** Return interval */
        public int getInterval() {
            return interval;
        /** Set a new interval */
        public void setInterval(int interval) {
            this.interval = interval;
            repaint();
        /** Paint the message */
        protected void paintComponent(Graphics g) {
            super.paintComponent(g);
            if (centered) {
                // Get font metrics for the current font
                FontMetrics fm = g.getFontMetrics();
                // Find the center location to display
                int stringWidth = fm.stringWidth(message);
                int stringAscent = fm.getAscent();
                // Get the position of the leftmost character in the baseline
                xCoordinate = getWidth() / 2 - stringWidth / 2;
                yCoordinate = getHeight() / 2 + stringAscent / 2;
            g.drawString(message, xCoordinate, yCoordinate);
        /** Move the message left */
        public void moveLeft() {
            xCoordinate -= interval;
            repaint();
        /** Move the message right */
        public void moveRight() {
            xCoordinate += interval;
            repaint();
        /** Move the message up */
        public void moveUp() {
            yCoordinate -= interval;
            repaint();
        /** Move the message down */
        public void moveDown() {
            yCoordinate += interval;
            repaint();
        /** Override get method for preferredSize */
        public Dimension getPreferredSize() {
            return new Dimension(200, 30);
    } Do I need to do something in my DisplayMessage2.java class? Any ideas why an error happened?
    My error console output:
    java.security.AccessControlException: access denied (java.util.PropertyPermission red read)
         at java.security.AccessControlContext.checkPermission(Unknown Source)
         at java.security.AccessController.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPermission(Unknown Source)
         at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
         at java.lang.System.getProperty(Unknown Source)
         at java.lang.Integer.getInteger(Unknown Source)
         at java.lang.Integer.getInteger(Unknown Source)
         at java.awt.Color.getColor(Unknown Source)
         at java.awt.Color.getColor(Unknown Source)
         at DisplayMessage2.init(DisplayMessage2.java:11)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Funny enough, when I edited COLOR into COLEUR, it rendered (although I don't think the foreground was red).

    ChuckBing wrote:
    Runs for me - though only part of the line is visible.
    Java 6u3, Windows XP, IE 6Ummm... yes, it does work now. I deleted the class file, changed the applet height and weight, recompiled and ran the modified HTML file.
    I asked the question because the text rendered black at the time. It may be just a freak occurrence on my IDE.
    Sorry if I inconvenienced anyone. I still gave out the stars, though. Happy Holidays!

  • Object Id on the Decision Report List applet does not display the Object Id

    The Object Id field of the Decision Report List Applet displays either the entity name of the entity name - Id. We wouldlike to dispay the siebel row Id's in that field respectivey for the parent or the child or grandchild entities.Please help with h to go about it.
    If the base entity is declared as global in OPM, then global gets displayed in the Object id. If a siebel entity is declared as an entity in OPM then entityname - Id gets displayed.
    Thanks !!

    Unfortunately the decision report comes from deep with the engine and there is not much you can do to change it.
    However, the Decision report is XML which is then modified by an XSLT for display in Siebel. You could have a look at the style sheet and the original XML and see if there is a way for displaying the XML that might be more suitable for your purpose.
    The xslt is decision_report.xslt and can be found in the siebsrvr\XSLT directory.
    Cheers
    Frank

  • [solved] nm-applet does not show up in Gnome panel

    Hi all,
    I installed networkmanager, network-manager-applet and dbus this afternoon. As well as a fresh install of Gnome. This is all done on my laptop, which my wife wants to use now and then. I always set up the network CLI, but now I will need a nice flashy applet in the Gnome panel.
    I managed to run the network-connection-editor as root, and got the network up.
    I had some dbus problems when I tried launching nm-applet, but fixed it with a dbus-hack I found in some other thread. But when I now launch nm-applet, it says that there allready is an instance running of nm-applet.
    I guess it should show up in the panel, if it is. But I don't see anything there... Do you have any ideas of what I forgot to install/configure/check.
    Thanks,
    jocom
    Last edited by jocom (2011-02-19 19:46:58)

    There have been a couple similar posts recently. I'm not using Gnome anymore or networkmanager, so I don't know if there's a problem with it or not. If I remember correctly I had to install gnome-panel-bonobo, and I believe python-notify and gksu too. You can do a search on the wiki for networkmanager, there is a page for it that explains the configuration changes you'll need to make. Hope it helps.
    Last edited by stlarch (2011-02-19 18:16:26)

  • Firefox does not run as normal user

    I installed firefox but it won't run unless I su. This is obviously a problem for me, and just about anyone. I tried deleting the .mozilla-firefox folder. I also tried reinstalling it. Nothing I tried has worked.

    Ack, there is something wrong with mozilla in arch. I had the same results on several machines and installations. Some files, at least one would be enough, is placed in the wrong place, I guess (considered to be placed in ~/.mozilla, but is in /opt/mozilla/ f.e.), and is set to be root's when you run mozilla for the first time as root. I never took the time to explore it, but I believe to remember I solved this, back yonks, twice by recursive changing permissions of the whole mozilla trees. Would be worth to give it a closer look... Anyway, since then I never touched mozilla based browsers as su, if in need to do such things I use 'links'. Furthermore, if you tweak your users permissions, there is no need to run a gui browser as root (*), as far as I am concerned. Give sticky permission for a "staff" group to write to /usr/src/incoming, f.e, and add your account to the group, will give you what you need to fetch sources as a user, and compile them as root in place. For whatever you will have to fetch, there will be a solution using aglp, acl, what ever you use and name it.
    (*) Exception:
    I found out epiphany frequently locks up fetching http://www.archlinux.org if you are a user, but not if you are root. Funny, isn't it?

  • New version of iWeb does not display photo thumbnails in media panel

    Thats about it. Just upgraded to latest version of iWeb 1.1.1 and now no thumbnails are displayed in media panel. Rich

    Well, how do you think I guessed that was the problem?!! I had spent a frustrated 2 hours cursing iWeb until I realised what was going on...
    It's always good when the fix is a simple one!

  • Phone number does not display in Lync Contct Card on mobile devices

    Good day for all!
    I faced with strange issue with Lync Contact card on mobile devices.
    We have installed Lync Server 2013 (with last CU (December 2014)) and Exchange server 2010 SP3 (Rollup 4)
    All lync enabled users have filled AD attribute telephoneNumber  - 4-digit internal work phone.
    this work phone has shown correctly in Lync Contact card on Lync 2013 desktop client, but it does not display for some users on Lync Mobile clients (Lync for Android, Windows Phone and iOS)
    May be someone have an idea why this is happening and what is going wrong for me?
    Thanks in advance!
    P.S. sorry for my English.
    P.P.S I cannot submit screenshot with problem because "Body text cannot contain images or links until we are able to verify your account"

    Hi,
    It can be the issue caused by the privacy relationship.
    Please check if others set the relationship for these issued users to be workgroup. If not, change it. For these issued Lync users, on their desktop client, also make sure the relationship set to be workgroup.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • Query on SQL Developer Connections Tree Does Not Display Objects

    Hi Gurus, Could you please clarify on the below. As per the note ID 1458753.1, SQL Developer Connections Tree Does Not Display Objects to user in order to access database objects outside the owned schema/account. ------------------------- By default, and without granting wide privileges such as DBA, a user will only see his or her own objects in the first level object nodes under their connection.  Objects in other schemas must be accessed via the Other Users node under the connection. This is the intended functionality/display in SQL Developer. ------------------------- Is there any other way we can achieve this? Requirement is very common - user A owns all objects and user B granted read/read-write privileges on user A objects. Now user B wants to Display user A objects in the corresponding objects node of SQL developer. Could any one shed some light here? Thanks Venu

    First off, there is a dedicated SQL Developer forum where lots of the developers hang out. Those folks are way more knowledgable that we are about the tool.
    That said, I have no problem displaying dates. Do you just have a problem with this particular query/ field/ table? Or does it affect all dates? What version of SQL Developer are you using? 1.1 is out now.
    Justin

  • Applet Does Not Receive Parameters Nor Display Defaults

    My applet will not display a Ellipse either via the default values in my java code nor via the parameters given in the HTML document. Does anyone see what I'm doing wrong here? Here are both my documents:
    import java.awt.geom.*;
    import javax.swing.*;
    import java.awt.*;
    import java.util.*;
    public class CircleByParam extends javax.swing.JApplet
              private Ellipse2D.Float circle;
              private float x, y, w, h;
              private Color circlecolor;
              public void init ()
                        String xcoor = getParameter("X");
                        String ycoor = getParameter("Y");
                        String width = getParameter("W");
                        String height = getParameter("Y");
                        String fillcolor = getParameter("FillColor");
                        if (xcoor != null)
                                  x = IntVerification(xcoor);
                        else
                                  x = 25;
                        if (ycoor != null)
                                  y = IntVerification(ycoor);
                        else
                                  y = 25;
                        if (width != null)
                                  w = IntVerification(width);
                        else
                                  w = 25;
                        if (width != null)
                                  h = IntVerification(height);
                        else
                                  h = 25;
                        if (fillcolor != null)
                                  circlecolor = ColorVerification(fillcolor);
                        else
                                  circlecolor = Color.BLUE;
              private int IntVerification (String value)
                        int number = 5;
                        try
                                  number = Integer.parseInt(value);
                        catch (NumberFormatException e)
                                  this.showStatus("Bad parameter " + value);
                        return number;
              private Color ColorVerification (String value)
                        //Assigns color to BLACK by default
                        Color color = Color.BLACK;
                        try
                                  color = Color.decode(value);
                        catch (NumberFormatException e)
                                  this.showStatus("Bad parameter " + value);
                        return color;
              public void paint (Graphics2D screen)
                        Graphics2D screen2D = (Graphics2D)screen;
                        screen2D.setColor(circlecolor);
                        BasicStroke pen = new BasicStroke();
                        screen2D.setStroke(pen);
                        circle = new Ellipse2D.Float(x,y,w,h);
                        screen2D.fill(circle);
    HTML Document:
    <HTML>
         <HEAD>
              <TITLE>Java 21 Days - Day 12 Exercise 1</TITLE>
         </HEAD>
         <BODY BGCOLOR="WHITE">
         <APPLET CODE="CircleByParam.class" height = "400" width="400">
         <param name="X" value="200">
         <param name="Y" value="200">
         <param name="W" value="25">
         <param name="H" value="25">
         <param name="FillColor" value="#996633">
         This applet requires a Java-enabled browser.
         </APPLET>
         </BODY>
    </HTML>

    Nevermind I figured it out, needed to make sure the paint parameter was (Graphics screen) rather than (Graphics2D screen)

  • Flash Player linux, grey box issue (youtube vids and some applets do not display)

    I posted this question on my distro-specific forum as well as linuxquestions.org, however it appears to  be a unique problem, so here it is:
    When viewing videos on youtube.com, most other websites, and when trying  to run certain flash games, the flash applet will not display (though  the audio will play). Instead of displaying the flash applet, there  will be a grey box where the flash video or applet would normally be.
    This problem occurs on Firefox and Chromium, but not on Opera.
    My Specs are as follows:
    Distro: PCLinuxOS 2010 (32-bit)
    flash-player-plugin: 10.1-2pclos2010
    firefox: 3.6.6-1pclos2010
    swfdec has never been installed (to my knowledge)
    I did a lot of investigating about the problem but have turned up no  solutions thus far. Here are my results.
    Flash videos and applets which allow  access to the settings menu (like youtube played from their website) do  not display, however flash videos and applets which do NOT allow access  to the settings menu (including youtube videos embedded in other  websites) WILL display.
    Reinstalling flash-player-plugin and firefox through synaptic does  not solve the problem (though note that PCLOS works with rpm files, not  deb files. apt4rpm does not support the remove --purge operation,  however reinstalls are said to overwrite custom configs with stock  ones.)
    Creating a new firefox profile and/or starting FFox in safe-mode  does not solve the problem
    Creating another user and running FFox from that user will  properly display flash videos
    Comparing default plugins between my main user and new user shows  that there is no difference. So this likely rules out a defective  extension or plugin binary.
    Deleting ~/tmp/plugtmp* folders when FFox is closed does not solve  the problem.
    Removing the ~/.macromedia and ~/.adobe folders does not solve the  problem. (have checked permissions between the new test user and main  user, and they are equivalent)
    Downloading libflashplayer.so from the Adobe website and copying it  to /usr/lib/mozilla/plugins has no effect on the problem.
    I'm thinking that there might be somewhere else that flash stores  configurations for my user, and that maybe the settings there are  corrupted and would need to be purged. However frantic googling has  turned up nothing useful so far.
    Does anyone have any suggestions for me?

    The problem, at least in my case, was QtCurve's opacity. If I have opacity set to less than 100%, flash would not display for sites like Youtube and Vimeo, but worked elsewhere.
    The solution for me was to go into qtcurve's settings, and put npviewer.bin in the application exceptions section for window and menu opacity. Doing that, I was able to keep my transparent menus, and also use flash everywhere.
    You can find out what the application name is by launching your browser of choice in a terminal with qtcurve debug turned on, like so:
    QTCURVE_DEBUG=1 firefox
    If you watch through the lines that start with "QtCurve" you'll see "Application name". Look for the one that shows up when you try to load a video. In my case it was npviewer.bin. In yours, it might be nspluginviewer or something else. If you add an exception for that specific application, you'll fix your problem without having to compromise on your theme.

  • MENU item selection does not display drop down in ITS enabled transaction

    Hello,
    We are experiencing a strange behavior between two portal env.
    1. DEV.
    For example we have transaction MM01 display in the Portal via ITS (integrated). The end user can select the Menu Tab and the System Tab and the drop downs appear as expected.
    2. Prod
    Same  scenario as above. Only this time, end user is unable to select the button. The Menu and System Tab dont appear greyed out but selecting it does not display the drop down.
    Material, Edit GoTo Defaults are some of the links under the Menu tab for MM01.
    Very confusing. And this is the behavior in Prod for all transactions. Any ideas on why this is happening would be greatly appreciated.
    The architectural difference is that DEV has no Web Dispatcher versus Prod has the Web Dispatcher.
    We are on EP 7.0
    Many thanks.
    Regards,
    Sunil

    Thanks. Now, I realise this may cause dismay to some, but I have now solved the problem, and just wanted to share my experience with those even less savvy than myself. In Dreamweaver, the Spry css styles are arranged with little or no hint as to which style controls what. I found that there is a rule in the sub-menu styles that controls the little graphic arrows which indicate that there are dropdown subs under the tabs. I had removed these arrows to make way for my background images. However, the rules that control their positioning by percentage were still there, causing my images to display incorrectly. Of course, there was no way anyone could have spotted this and helped me as the fault was in the external spry css file, not the page code. So many thanks to vw2ureg for looking anyway. Regarding the page code, which you have flagged up, would you mind elaborating on what you see wrong here? I'm none the wiser. Many thanks again.

  • JSP error page does not displayed on its own, includes in the original JSP

    Problem Description: - Exceptions in a Condition cause pages to fail to render.
    The actual issue is, the JSP error page does not displayed on its own, included in the original JSP Page when exception occurs.
    Problem Cause: As per the JSP specification when jsp content reached the buffer size (default 8KB) the page being flushed (Part of condent displays). The default �autoFlush� value is true.
    When the page buffer value is default size (8KB), and if any exception occurs after flushing the part of the content, instead of redirecting into error page, the error page content included in the original page.
    If i specify autoFlush="false" and with default buffer size, at the runtime if the buffer size is reached, i am getting stackoverflow error.
    To solve the above problem we can make it autoFlush=�false� and buffer=�100KB�. But we can�t predict the actual size of the page.
    I found in one of the weblogic forum as no solution for this issue. Ref.
    http://support.bea.com/application?namespace=askbea&origin=ask_bea_answer.jsp&event=link.view_answer_page_clfydoc&answerpage=solution&page=wls/S-10309.htm
    Please provide me any solution to resolve the problem.

    Error-Page tags work best with an error.html pages. If you have an error.jsp page what I would do, and I have, is wrap my classes and jsp pages in a try catch block where you forward to the error jsp page and display anything you want. YOu can also do this with if else statements. I have used the tomcat error pages before but when I've implemented them I used java.lang.Exception as the error to catch not Throwable. I don't know if this would make a difference or have anything to do with your problem.

  • I purchased a movie via Itunes and it does not display as a purchased item on my Apple TV yet A TV show I bought does.

    I purchased a movie via Itunes and it does not display as a purchased item on my Apple TV yet A TV show I bought does. The only way I can view it is if I turn on home sharing and the movie is downloaded to my PC. Is this normal?

    Welcome to the Apple Community.
    Perfectly normal, purchased items only applies to TV shows, the studios have not licensed movies for redownloading.

Maybe you are looking for