Question re: JDS/gnome/X and running smc as another user

Running Solaris 10 on Sun VirtualBox, have one user account in 'Staff' where I want to administer some aspects of my system for the time being as part of best practice for administration. I login to my user account, open a terminal, su - root and then run smc&. I get an error in the terminal window about DISPLAY environtment variable not being set. echo $DISPLAY reveals that it is null, so I export DISPLAY=hostname:0 and then try to run again and I still get the message. I am able to execute smc& from the shell prompt if I am logged into the root session. The only change I have made to the system operations at this point was to move /export/home to a different disk/slice and that mounts fine so and should not have caused an error anyway. If I execute xauth as root and list I get something like this:
hostname:0 {encryption type} {RANDOM}
hostname/unix:0 {encryption standard} {RANDOM}This is to say it would appear to be that this is set correctly. [This example|http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWabe/ADVOSUG/p33.html#NETWORKAPP-88347] leads me to believe that a null DISPLAY should still allow programs to process by the Xserver/gnome .
My question then is:
- How can I run smc from another users session or must I log into a session as root?
- If DISPLAY is incorrectly set, how can I configure my system to create accounts with the correct settings?
I should note that *xhost +*, while it disables the access control, has no affect on the outcome of executing smc&.

Running Solaris 10 on Sun VirtualBox, have one user account in 'Staff' where I want to administer some aspects of my system for the time being as part of best practice for administration. I login to my user account, open a terminal, su - root and then run smc&. I get an error in the terminal window about DISPLAY environtment variable not being set. echo $DISPLAY reveals that it is null, so I export DISPLAY=hostname:0 and then try to run again and I still get the message. I am able to execute smc& from the shell prompt if I am logged into the root session. The only change I have made to the system operations at this point was to move /export/home to a different disk/slice and that mounts fine so and should not have caused an error anyway. If I execute xauth as root and list I get something like this:
hostname:0 {encryption type} {RANDOM}
hostname/unix:0 {encryption standard} {RANDOM}This is to say it would appear to be that this is set correctly. [This example|http://docsun.cites.uiuc.edu/sun_docs/C/solaris_9/SUNWabe/ADVOSUG/p33.html#NETWORKAPP-88347] leads me to believe that a null DISPLAY should still allow programs to process by the Xserver/gnome .
My question then is:
- How can I run smc from another users session or must I log into a session as root?
- If DISPLAY is incorrectly set, how can I configure my system to create accounts with the correct settings?
I should note that *xhost +*, while it disables the access control, has no affect on the outcome of executing smc&.

Similar Messages

  • Run procedure as another user

    Hi all,
    how do I run procedure as another user?

    Just connect as that 'another user' and run the procedure?
    If that isn't what you're looking for then explain in more details (database version, etc) please.
    See:
    {message:id=9360002}
    edit
    In addition to the other mentioned options:
    You might want to check out CURRENT_SCHEMA.
    "The CURRENT_SCHEMA parameter changes the current schema of the session to the specified schema. Subsequent unqualified references to schema objects during the session will resolve to objects in the specified schema. The setting persists for the duration of the session or until you issue another ALTER SESSION SET CURRENT_SCHEMA statement.
    This setting offers a convenient way to perform operations on objects in a schema other than that of the current user without having to qualify the objects with the schema name."
    http://docs.oracle.com/cd/E11882_01/server.112/e26088/statements_2013.htm#SQLRF53050
    Edited by: Hoek on Mar 4, 2013 1:44 PM

  • HT1752 I have forgotten my admin password and need to create another user

    I have forgotten my admin password and need to create another user. Have no disks to boot from!!

    You need an installer disc in order to reset an admin password. I don't know if the following will work on your system, but give it a try:
    You can also reset the password by printing out (or writing down) and carefully following these steps.
    First, find the short name of the admin user on the machine. The easiest way of doing this is by looking at what their directory is called in the Users folder.
    Now, start up the computer while holding down Cmd-S. It should boot into a command line. (If it doesn't, you may need to reset the firmware password, which is detailed elsewhere.)
    Type these exact lines:
    mount -uw /
    ifconfig lo0 up
    cd /var/db/netinfo
    netinfod -s local
    Now you'll need that short name. (You did write it down, didn't you?) Type "passwd", a space, and the short name of the admin. For example, if the admin was - rather prosaically - called "admin", you'd type "passwd admin".
    The computer will now prompt you to change the password for "admin" (or whatever the short name was). Go ahead and type a new password.
    Now, type:
    sync
    reboot
    and the machine will reboot. The admin password should now be changed.

  • I only have one iTunes account.  The other day I made the mistake of downloading purchased songs and movies logged on another user account (Administrator) on the same computer.  How do I consolidate all my purchases in my preferred user account?

    I only have one iTunes account.  The other day I made the mistake of downloading purchased songs and movies logged on another user account (Administrator) on the same computer.  How do I consolidate all my purchases in my preferred user account?

    copy the songs that you downloaded as admin and put it somewhere you can access it from you're preferred account (usb stick / cd / shared folder / external hard drive) log into with you preferred user account and drag and drop the files on top of the itunes icon and they will be imported.
    if you have a second computer you could use home sharing to move the music from admin itunes to the second computer and from the second computer to the preferred itununes
    ps you can only connect 5 computers to you're itunes account so don't forget to de-autorise when you no-longer wand it.

  • HT5639 if i use boot camp to establish windows on my Macbook pro can i then install a windows program and run it without another software ie parallels?

    Can I use a windows program such as QuickBooks on my macbook pro 15inch with only using boot camp or do i need to have another program?

    Boot Camp is everything you need to run a Windows application.
    Boot Camp allows you to install Windows in a second volume, so you can start up there and run all your Windows apps without needing any Mac OS X app. It's true that OS X apps like Parallels or VMware Fusion allow you to use your Boot Camp partition in Mac OS X, but it looks like you don't want that

  • How to "telnet" and run commands on another computer?

    I have a Unix program. I need this to "telnet" to a Windows computer and run commands (via the prompt in Windows). Is there a way to do this in java?
    Also it is something that will be a cron job so the password will be stored in a file rather than the user typing it at the screen. There is no GUI. There is no server or java process running on Windows at the time. The Unix program needs to connect to Windows only when needed.

    Try enabling the Windows telnet server, use a regular telnet client and check if it is enough for your needs.
    Several commands in Windows apparently could be run in command-line mode using telnet, but for some reason they don't work very well. For instance, they could be using some special console-mode APIs for hiding the cursor or drawing characters in different colors, that simply will not be echoed by the telnet server.
    I remember when I've tried to use the osql tool (a command-line interface) of MS SQL Server in a Windows telnet server session. Some things simply didn't work.

  • How can I share Quicken and other apps with another user on the same iMac?

    I would like to share some apps including Quicken with anoter user on the same iMac. I have put the Quicken app and the .QFX file in /usrs/share and changed the permissions to R/W on both files but when I log in as the other user and run Quicken it does not use the .QFX file and instead comes up with no accounts.

    The Quicken app. should be in the Applications folder at the root of Macintosh HD. It's accessible to all users from there.
    To share a file, (this from Finder Help menu)
    "Sharing files with others who use your computer
    You can share files with others who use your computer by placing the files in the Public folder in your home folder. Anyone with an account on your computer can read or copy the items you put in your Public folder (except for your Drop Box folder, which only you can open).
    To share files using your Public folder:
    Copy the files you want to share into your Public folder, inside your home folder.
    To give a copy of a file directly to another person, copy it to their Drop Box folder (inside their Public folder), where only they can see it."
    When opening a file just double-click the file - it will open the application automatically.

  • Running iTunes as another user - iTunes window keeps popping up

    My missus and I have one iPod and want to just use one library on iTunes (hers). Therefore when I want to use iTunes, I run it under her user credentials ("Run as" option in Windows XP).
    This loads her library & settings no problem, but the iTunes window pops to the front every 30 seconds, even when minimised to the system tray. Obviously this totally interrupts what I am doing on the PC.
    I believe this has only started happening since iTunes was updated to 9.0.2.25. Note - this symptom doesn't happen if I run iTunes under my own credentials, or if the missus is logged on it doesn't happen to her. Both PC accounts are full administrators.
    Any advice welcome. Thanks.

    If you're using Windows Live Messenger or have it running in the background - uncheck the option to show your current song as your personal message.

  • Run job from another user

    Hi, first of all, sorry for my pour english.
    I'm system in a db, and i need to run a job from another user. I don't have the password. Theres a way to run this job?
    It's a oracle db 10g enterprise.
    Thanks in advice.

    I have the permissions, and I can't change the user password or application may stop. There's a way, but I just can't remember:
    PRIVILEGE
    ANALYZE ANY
    UNLIMITED TABLESPACE
    CREATE TABLE
    ALTER TABLESPACE
    ALTER DATABASE
    GLOBAL QUERY REWRITE
    CREATE MATERIALIZED VIEW
    SELECT ANY TABLE
    8 linhas selecionadas.
    Decorrido: 00:00:00.21
    PRIVILEGE
    FLASHBACK
    DEBUG
    QUERY REWRITE
    ON COMMIT REFRESH
    REFERENCES
    UPDATE
    SELECT
    INSERT
    INDEX
    DELETE
    ALTER
    FLASHBACK
    DEBUG
    QUERY REWRITE
    ON COMMIT REFRESH
    REFERENCES
    UPDATE
    SELECT
    INSERT
    INDEX
    DELETE
    ALTER
    FLASHBACK
    DEBUG
    QUERY REWRITE
    ON COMMIT REFRESH
    REFERENCES
    UPDATE
    SELECT
    INSERT
    INDEX
    DELETE
    ALTER
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    SELECT
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    EXECUTE
    SELECT
    SELECT
    EXECUTE
    EXECUTE
    EXECUTE
    WRITE
    READ
    WRITE
    READ
    WRITE
    READ
    69 linhas selecionadas.
    Decorrido: 00:00:00.48
    GRANTEE GRANTED_ROLE ADM DEF
    SYSTEM MGMT_USER NO YES
    SYSTEM TRIPOA_READ YES YES
    SYSTEM DBA YES YES
    SYSTEM TRIPOA_WRITE YES YES
    SYSTEM AQ_ADMINISTRATOR_ROLE YES YES
    SYSTEM TRIPOA_EXEC YES YES
    SYSTEM PRIV_DML_STUDENTSLOG YES YES
    SYSTEM PRIVILEGE_ALL_TRIPOA YES YES
    8 linhas selecionadas.

  • Run Opmnctl with another user

    Hello all,
    Can i run opmnctl command with another user that have the same groups of the oracle user?
    Thanks for attention.

    Depending on what command you are running it might work (e.g. status) but you will run into issues (known and unknown) for most of the commands (start/stop) unless you know and tweak all directories/files permissions.
    As an example, OPMN maintains a file under directory called "states" (under $OH/opmn/logs directory) that gets auto generated/updated every time either OPMN or managed process(es) is started or stopped. The default permissions on this directory is 700 which means can only be operated on by owner (the user that installed the product).
    Along with directories/files permissions there is process ownership issue too. When a component is started its corresponding process(es) is owned by the user who owns the OPMN server process. If a different user (different than who actually started OPMN server) starts one of the managed process it might collide and might lead into some unknown issues.
    So to be safe and being in "supported" mode it is always recommended to use the same OS user that was used to install the product.
    Thanks
    Shail

  • My company uses Creative Cloud subscription (Photoshop CC 2014) for one of its photographers and wishes to add another user/install with the same IT account, how can we sign up another user?

    Essentially can we add another user to the existing account and add the new payment for the yearly subscription, I seem to have seen somewhere on your account site(cant remember its not very intuitive) that 2-3 systems can log in with the same credentials.
    How can we set this up without enrolling with yet another email ID, etc.?
    Thanks!

    You can cancel the individual CC & opt for CC for team in which number of seats can be purchased.
    What’s the Difference Between Adobe CC for Teams vs. Individuals? | ProDesignTools
    Creative cloud team vs individual membership
    http://helpx.adobe.com/in/creative-cloud/creative-cloud-teams.html
    Regards
    Rajshree

  • How to create a spreadsheet and share it with another users?

    Hello.
    I want to create a weekly report spreadsheet, like excel file, for me and my colleagues. Therefore it is needs to have a public access among another users.
    Is it possible?
    Thank you !

    If you mean create the Excel file and then email it to others, just create and save the file to your drive. Then attach the file to an email and send it.
    If you mean having a file somewhere and several people being able to access and work on the file, that is not in the scope of Thunderbird or any other email client. You might get help with a solution from Microsoft support forum.

  • Copy a linux OS and files from one device and run them on another

    VM or physical?

    I have a device running a linux os and I want to copy its OS and files and then run them on a custom built machine. Is this possible and how would I go about doing it remotely say with FTP?
    This topic first appeared in the Spiceworks Community

  • Problem with "Application lanucher and run as an system user

    Hi
    Im trying to distribute
    Application Lanucher NT Service was not found to run the application as system user.

    Mossbrant,
    > Im trying to distribute
    >
    > Application Lanucher NT Service was not found to run the application as
    > system user.
    >
    I guess this is a duplicate of the one below? I will anser that one.
    - Anders Gustafsson (Sysop)
    The Aaland Islands (N60 E20)
    Novell has a new enhancement request system,
    or what is now known as the requirement portal.
    If customers would like to give input in the upcoming
    releases of Novell products then they should go to
    http://www.novell.com/rms

  • How can I cut and paste my formulas and running totals to another report?

    Post Author: RobotSlave
    CA Forum: Formula
    is this possible or do I have to just waste a bunch of my time?

    Post Author: kcheeb
    CA Forum: Formula
    To the best of my knowledge, unless the datasource and the field names are the same in both reports, you'll have to change them in the second report.
    Cut and paste takes the text as is and does not do any intelligent updates based on the datasourec & field names.

Maybe you are looking for

  • Lost start-up disc

    My computer crashed, I had to get a new one and now I can't find the disc to set up my printer.  I have a deskjet5150.  What do I do?

  • Need Installation & Post Installation Steps of EP 7.0

    Hi,       I am having EP6.0 with me and I am planning to install in my system. Any one can give the INSTALLATION and POST INSTALLATION steps it will be help full for me to install.       I am having EP 6.0 windows version with me. Regards, Sateesh J

  • Destination lookup

    L.s., I'm experiencing some troubles with my VC 7.3 (sp3). Hope that you experts can help me! The model is fairly simple, and consists of a BPM task for which a VC UI is generated. In the generated UI I've added a CAF webservice. CAF webservice (find

  • Flash.app won't open

    I'm trying to open a flash.app file on my MacBookPro but I'm getting an error message telling me that the file is damaged.  However I sent the file to 2 colleagues who are able to open the file on their MacBookPros. Any clues anyone?

  • Satellite P300-13J doesn't wake up from Sleep or Hibernate

    My laptop (Windows Vista 32 bit) is unable to wake up from sleep or hibernate. Laptop is set to the Balanced Power Scheme. However, once the display has turned off (after 10 minutes), I am unable to wake it up. Unable to open Task Manager, Shut Down,