Midnight C.: two ways of launch, one - letters instead of lines. Why?

I may launch Midnight Commander in a three ways. Two of them are OK. But the third will bring drawing borders with letters instead of lines.
I'm using LXTerminal (I think it doesn't matter). Below there is screenshot with launch results.
Launch commands:
1) In terminal as a user :
mc
2) In terminal, becoming root at first:
su -
mc
3) Launch button from a panel, launch as a user:
lxterminal --command="sudo su -l root -c /usr/bin/mc"
The first two ways are OK, third way will bring "broken" lines. Give me please an idea of what to search. Or how to fix broken lines?
Last edited by Stack (2012-12-18 12:09:39)

Thank you. 'sudo /usr/bin/mc' did the trick.
In both cases lines are OK.
2013-03-03
It was locale setup issue for a user's session - no local proper set up was done. There was related issue. The bug was absence of locale environment setup for VNC sessions. I.e. a file to be launched along with VNC server's wake up staff must have proper "export" for LC_* and LANG variables. In my system the file is '~/.vnc/xstartup'. I'm shure there are other, may be more elegant, ways to set up system wide wanted locale settings, to be picked up automaticaly by a VNC server for every user. May be '~/.vnc/xstartup' code may be an implementation of another than mine approach.
Last edited by Stack (2013-03-03 07:00:47)

Similar Messages

  • How to make a two-way process to one-way process?

    Hi,
    How to make a two-way process to one-way process?
    My requirement is:
    1. I have developed an asynchronous BPEL process, and I am calling a PL/SQL procedure using a DB adapter.
    2. The property "syncMaxWaitTime"=120 seconds in domain.xml.
    3. The partner lnk is one-way operation and it takes more than 120 secons.
    4. So my process throws TimeOut error and the transaction will be rolled back.
    5. If the transaction is rolled back then the instance will not appear in the console.
    6. The wired thing is the call to DB is actually doing the complete task successfully even it takes more than 120 sec.
    7. Is there a way where I can handle this Timeout exception and bring the transaction to complete normailly?
    What I am expecting a solution like [http://download-uk.oracle.com/docs/cd/B31017_01//integrate.1013/b28981/events.htm].
    I tried this example, but in my process I am not getting onResult operation as my process is one-way process? Is there a way where I can make this a two-way operation, after taht I will try to use the Pick activity as shown in the above example.
    --Khaleel

    Hi Khaleel,
    Please refer 122.DBAdapter/advanced/endToEnd/DirectSQLPerformance/README.txt in bpel/samples/tutorials.
    See the "A-Sync to Synchronous " section to convert the asynchronous process initiated by DB adapter to a Synchronous process.
    In your case the problem can be solved by creating a synchronous BPEL process and invoke the asynchronous process initiated by DB adapter in it. You can add the pick activity in the synchronous BPEL process to monitor the timeout.
    Best Regards
    Meenal Orkey

  • Two-way or only one-way syncing between G4 and mobile??

    I have a Sony Ericcsson k750i mobile. When I first got it, I went through my Address Book (on my powerbook) and sorted it all out and synced with the phone (so all the numbers in the Address Book transfered to the phone). No problem. But now, if I sync, with isync, any numbers / names I have saved in the phonebook of the phone (say, I meet someone new when I'm out and take their number, put it directly in my phone) are erased. The sync, therefore, is ONE WAY, from the powerbook to the phone. Any new entries on the phone are scrapped.
    Is there a way to avoid this happening? I looked in isync but I don't find. It's a pretty stupid system if you can't have a two-way street when you're syncing.
    Any ideas much appreciated

    How? Does isync say something like, "There are contacts / numbers on your phone which are not in your Address Book. Do you want to copy them there?" to which you would reply Yes?
    How do you do it?

  • HT204053 can I export my iTunes purchases from one apple account to my iCloud account?  This way I have one id instead of two.

    I have two apple id's one for itunes and one for icloud.  Is there a way to turn one off and trasfer the purchases to the other account?

    Unfortunately you can not transfer purchases from one apple ID to another.

  • Invoking BPEL process: how to decide it's two way or one way operation

    Hi,
    I'm using IDeliveryService to invoke BPEL process. Is there API available that allows me to check whether the operation is two way so I call IDeliveryService.request() or is one way so I call IDeliveryService.post()?
    Thanks,
    Qian

    hi,
    By observing WSDL of the BPEL process you can identify that whether its
    two way operation or one way. If operation has two variables - both input & output
    then its way operation and if the opration has only one variable - input variable then
    its one way operation.
    OR are you asking how to check it at runtime without looking at the WSDL...?
    /mishit

  • SQL*Plus two fetches for getting one row.

    Hi all.
    I have tested following script.
    alter session set events '10046 trace name context forever, level 12';
    select * from dual;And achieved such results (extract from .trc file).
    SQL*Plus: Release 11.2.0.1.0; (Oracle Version 10.2.0.4.0, 11.2.0.1.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        2      0.00       0.00          0          0          0           1
    total        4      0.00       0.00          0          0          0           1SQL*Plus: Release 8.1.7.0.0; (Oracle Version 8.1.7.0.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      2      0.00       0.00          0          0          0           0
    Fetch        2      0.00       0.00          0          1          4           1
    total        5      0.00       0.00          0          1          4           1Allround Automations PL/SQL Developer 8.0.4; (Oracle Version 10.2.0.4.0, 11.2.0.1.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.00       0.00          0          0          0           1
    total        3      0.00       0.00          0          0          0           1Allround Automations PL/SQL Developer 8.0.4; (Oracle Version 8.1.7.0.0)
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          0           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      0.00       0.00          0          1          4           1
    total        3      0.00       0.00          0          1          4           11) I can't figure out why sqlplus does TWO fetches for getting ONE row (instead of pl/sql developer).
    8i raw trace
    PARSING IN CURSOR #1 len=31 dep=0 uid=0 oct=3 lid=0 tim=0 hv=3549852361 ad='4a0155c'
    select 'hello world' from dual
    END OF STMT
    PARSE #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=0
    BINDS #1:
    EXEC #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=0
    WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1111838976 p2=1 p3=0
    FETCH #1:c=0,e=0,p=0,cr=1,cu=4,mis=0,r=1,dep=0,og=4,tim=0
    WAIT #1: nam='SQL*Net message from client' ela= 0 p1=1111838976 p2=1 p3=0
    FETCH #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,tim=0
    WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1111838976 p2=1 p3=0
    WAIT #1: nam='SQL*Net message from client' ela= 0 p1=1111838976 p2=1 p3=0
    STAT #1 id=1 cnt=1 pid=0 pos=0 obj=195 op='TABLE ACCESS FULL DUAL '11g raw trace
    PARSING IN CURSOR #3 len=30 dep=0 uid=96 oct=3 lid=96 tim=1581355246985 hv=1158622143 ad='b8a1bcdc' sqlid='5h2yvx92hyaxz'
    select 'hello world' from dual
    END OF STMT
    PARSE #3:c=0,e=130,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1388734953,tim=1581355246984
    EXEC #3:c=0,e=40,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1388734953,tim=1581355247154
    WAIT #3: nam='SQL*Net message to client' ela= 7 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=1581355247252
    FETCH #3:c=0,e=18,p=0,cr=0,cu=0,mis=0,r=1,dep=0,og=1,plh=1388734953,tim=1581355247324
    STAT #3 id=1 cnt=1 pid=0 pos=1 obj=0 op='FAST DUAL  (cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)'
    WAIT #3: nam='SQL*Net message from client' ela= 193 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=1581355247735
    FETCH #3:c=0,e=2,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,plh=1388734953,tim=1581355247800
    WAIT #3: nam='SQL*Net message to client' ela= 5 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=15813552478552) Is there any possibility to view data provided by each fetch?
    Thanks in advance!
    P.S.
    SQL> sho arraysize
    arraysize 15

    Thanks.
    I have tested two statements.
    select 'hello world' from dual where 1=1;
    select 'hello world' from dual where 1=0;When query returns no data, there is only one SQL*Net roundtrip (and one fetch)
    SQL> set autot on statistics
    SQL> select 'hello world' from dual where 1=1;
    'HELLOWORLD
    hello world
    Statistics
              0  recursive calls
              0  db block gets
              0  consistent gets
              0  physical reads
              0  redo size
            528  bytes sent via SQL*Net to client
            492  bytes received via SQL*Net from client
              2  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              1  rows processed
    SQL> select 'hello world' from dual where 1=0;
    no rows selected
    Statistics
              0  recursive calls
              0  db block gets
              0  consistent gets
              0  physical reads
              0  redo size
            329  bytes sent via SQL*Net to client
            481  bytes received via SQL*Net from client
              1  SQL*Net roundtrips to/from client
              0  sorts (memory)
              0  sorts (disk)
              0  rows processedBut in both cases i found in client trace this sequence of bytes:
    ] nsprecv: 00 00 36 01 00 00 00 00  |..6.....|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 90 19 43 13 00 00  |....C...|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 00 00 00 00 00 00  |........|
    ] nsprecv: 00 00 19 4F 52 41 2D 30  |...ORA-0|
    ] nsprecv: 31 34 30 33 3A 20 6E 6F  |1403:.no|
    ] nsprecv: 20 64 61 74 61 20 66 6F  |.data.fo|
    ] nsprecv: 75 6E 64 0A              |und.    |In first case - it was in 2nd packet and in second case (query returns no data) - part of 1st packet.

  • Two item renderer for one datagrid column?

    hi
    i have one doubt
    can we use two item renderer for one datagrid column
    any possibilities
    why i am asking this because
    during drag and drop i need one itemrenderer and during application initialization i need another itemrenderer
    any possibilities
    karthik.k

    Hi,
    I think your requirement can be completed by using ViewStack you can pass selected index to it according to requirement.
    See:
    <itemRenederer ...
         <viewstack selectedIndex = 0 ...>
              <vBox id="vBox1" >
                        Your 1st itemrenderer will come here....
              </vBox>
              <vBox id="vBox2" >
                        Your 2nd itemrenderer will come here....
              </vBox>
         </viewStack>
    </itemRenederer>
    You have to just toggle selectedIndex.
    Thanks

  • Is there a way to delet one call from my

    Is there a way to delect one call instead of all my call. Like I can delet one text message or even clear the conversation, but all of my other text message will be there. Can I do the same with my call list if so how?

    tara_nash,
    At this time, there is no way to delete just one call from the recents list. It's all or nothing.
    Hope this helps,
    Jennifer B.

  • Trouble with two way calendar sync

    Recently my two way calendar sync stopped working?  Any ideas why?

    Its hard to tell.. Maybe some setting got thrown off during the update
    Please click the Thumbs Up icon if this comment has helped you!
    If your issue is resolved, please click the solution button on the resolution!
    Every BlackBerry should have BlackBerry Protect, get it now! | Follow me on Twitter | Bring Back BBM Music!

  • I have two apple accounts and one of which has my music on. I would like to move this music to the other account. Is there a simple way of doing this?

    I have two apple accounts and one of which has my music on. I would like to move this music to the other account. Is there a simple way of doing this?

    There is currently no way to merge accounts.  The best option is to pick one, and use it consistantly.
    HTH.

  • Is there a way to share one music library with two seperate icloud accounts?

    Is there a way to share one music library with two seperate icloud accounts? I have over 12,000 songs in my library and my son likes the same music, but recently his ipod touch is picking up the texts from my wife's and my phone? I was told the only way to stop this is by giving him his own icloud account which would mean he wouldn't have access to my music library. Any ideas?

    He can still use your Apple ID for iTunes content, no issues. He just gets a separate ID for everything else.

  • Is there a way to have two payment cards under one apple id

    Is there a way to have two payment cards under one apple id? 

    You're confusing icloud and itunes store accounts.  Individual users should have their own icloud accounts (using their Apple ID) but multiple users can share the same ID for logging into the itunes store account.

  • Is there a way to have two different iTunes for two different iPhones on one Windows User account?

    Using Windows 7, iphone 4.
    I've read as many threads on these forums and as many kb's as I could find, but I sttill can't figure it out. I have 2 iPhones. Let's call them, "wife" and "hubby". I want to have two separate iTunes, one for each of the phones. Hubby is the Windoows User. I don't want to set up a different Windows User for wife.
    Hubby was the original iPhone. When I plug it in, iTunes recognized it has Hubby's iPhone. Then I unplug Hubby and close iTunes. I plug in Wife but iTunes stll comes up with Hubby under Devices and syncs Hubby's iTunes to Wife's iphone.
    I've tried using the shift key when I open iTunes to set up two separate .itl files to no avail.
    Is there a way to have two different iTunes for two different iPhones on one Windows User account?
    Thanks!

    What happens if you rename the iPhone "Wife" when it shows up as "Hubby", then choose a different set of apps/playlists to sync with? iTunes is supposed to be able to manage multiple devices, each with their own selection of content. Perhaps you "restored" "Wife" with a backup from "Hubby" when you first set things up which is now causing confusion.
    To create a new library press and hold down the shift key as you click the icon to start iTunes and keep holding shift until asked to choose or create a library. You need to use the same technique to switch back.
    tt2

  • I live in a home with two other people, and one housemate tried to sync up his content from iTunes and iCloud onto another housemate's new iPad. the iTunes library only contains my content. is there any way to retrieve the there person's iCloud?

    i live in a home with two other people, and one housemate tried to sync up his content from iTunes and iCloud onto another housemate's new iPad. the iTunes library only contains my content. is there any way to retrieve the other person's iCloud? Can they go out of my account? Their content is saved on their iPads, but can another iCloud be on the same home computer?

    The syncing of music is one way, computer to phone. See this helpful document from a fellow user. Credit goes to the author.
    https://discussions.apple.com/docs/DOC-3141

  • I accidentally ended up with two versions of Photoshop Elements in my cart and can't find a way to delete one.  Also, I am living in Peru and want to purchase the US version.  Will it still download?

    I accidentally ended up with two versions of Photoshop Elements in my cart and can't find a way to delete one.  Also, I am living in Peru and want to purchase the US version.  Will it still download?

    Karenl33987234 I am sorry that you are facing difficulty contacting our support team. You should be able to chat with a member of our support team at Contact Customer Care.  If this link does not work then I would recommend using a different web browser, smart phone, tablet, or computer to visit the page.
    I did review the account which you utilized to post to this public forum but I did not see any orders or Adobe software titles registered.  Please make sure to sign in with the Adobe ID/e-mail address tied to the order you are facing difficulties with.

Maybe you are looking for

  • Create pdf-files trough prn-files in a windows service applicatio

    Hi, i have also the problem to create pdf-files from .prn-files. in normall windows aplication we ar using the distiller but we would like to create the pdf's by running our application as windows service. in this case it is not possible to use the d

  • I would like to have the new license file for version 2010

    Can you deliver me the new license file, compatible with Labview 2010 ? We receive an error, as shown in attachment Attachments: 01-12-2010_155054.jpg ‏84 KB

  • FI Text in MIGO Posting

    HI, At the the of MIGO posting .One FI document will create. Please let me know how will appear the text in FI document. Where we have to put text in MIGO screen and any other setting from FI side . I have tried all MIGO screen text but in FI documen

  • Refund itune purchase

    How do I get a refund on the wrong purchase from the App Store

  • What camera would you recommend

    What a great source of information this group is. In my quest for knowledge on iMovie HD 6, I have been lurking and reading just about everything posted. I can't help but notice the variety of cameras, and formats that are being used. Since I'm at a