[prev in list] [next in list] [prev in thread] [next in thread]
List: unison-users
Subject: Re: [unison-users] Unison GUI not loading, loads text instead
From: Benjamin Pierce <bcpierce () cis ! upenn ! edu>
Date: 2008-06-14 16:11:44
Message-ID: 4837F8E6-B5DE-4E76-8CB2-72AF69C53BE1 () cis ! upenn ! edu
[Download RAW message or body]
Don't know what might be happening with your script, but at least I
can confirm that Unison does *not* fork a separate process for the
GUI -- the main process just starts up, has a look at the command
line, and depending on what it sees either starts the gui or starts
the text-mode interaction.
- Benjamin
On Jun 13, 2008, at 4:41 PM, yulmutchuh wrote:
> Hi all~! Running Unison 2.27.57 on SLES 10 SP 1. It's running great.
> Love it. Problem I'm having is I'm trying to create a user object that
> can load the Unison GUI so the department users can check and resolve
> any conflicts that may arise. Needless to say, I didn't give them root
> rights. Instead, I set up sudo to allow them to run a script that
> calls unison with all the proper variables for it to run and to run in
> GUI mode. The script works fine when I run it as root, however when I
> try to run it as the user, it only runs in text mode. It will not load
> the GUI.
>
> My guess is that when you tell unison to launch the GUI, it calls
> another file, and sudo permissions aren't passing root permission over
> to run it? I'm not a linux guru, so that's the only thing I can guess
> at. Anybody know a way around this or how I can get my user to run the
> Unison GUI w/o giving them the root password?
>
> Thanks in advance!
>
> Howard
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
[Attachment #3 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" \
"http://www.w3.org/TR/html4/strict.dtd"> <html>
<head>
</head>
<body style="background-color: #ffffff;">
<!--~-|**|PrettyHtmlStartT|**|-~-->
<div id="ygrp-mlmsg" style="width:655px; position:relative;">
<div id="ygrp-msg" style="width: 470px; margin:0; padding:0 25px 0 0; float:left; \
z-index:1;"> <!--~-|**|PrettyHtmlEndT|**|-~-->
<div id="ygrp-text">
<p>Don't know what might be happening with your script, but at least I \
<br> can confirm that Unison does *not* fork a separate process for the <br>
GUI -- the main process just starts up, has a look at the command <br>
line, and depending on what it sees either starts the gui or starts <br>
the text-mode interaction.<br>
<br>
- Benjamin<br>
<br>
On Jun 13, 2008, at 4:41 PM, yulmutchuh wrote:<br>
> Hi all~! Running Unison 2.27.57 on SLES 10 SP 1. It's running great.<br>
> Love it. Problem I'm having is I'm trying to create a user object that<br>
> can load the Unison GUI so the department users can check and resolve<br>
> any conflicts that may arise. Needless to say, I didn't give them root<br>
> rights. Instead, I set up sudo to allow them to run a script that<br>
> calls unison with all the proper variables for it to run and to run in<br>
> GUI mode. The script works fine when I run it as root, however when I<br>
> try to run it as the user, it only runs in text mode. It will not load<br>
> the GUI.<br>
><br>
> My guess is that when you tell unison to launch the GUI, it calls<br>
> another file, and sudo permissions aren't passing root permission over<br>
> to run it? I'm not a linux guru, so that's the only thing I can guess<br>
> at. Anybody know a way around this or how I can get my user to run the<br>
> Unison GUI w/o giving them the root password?<br>
><br>
> Thanks in advance!<br>
><br>
> Howard<br>
><br>
><br>
> ------------<wbr>---------<wbr>---------<wbr>------<br>
><br>
> Yahoo! Groups Links<br>
><br>
><br>
><br>
<br>
</p>
</div>
<!--~-|**|PrettyHtmlStart|**|-~-->
<span width="1" style="color: white;">__._,_.___</span>
<!-- Start the section with Message In topic -->
<div id="ygrp-actbar">
<span class="left">
<a href="http://groups.yahoo.com/group/unison-users/message/7315;_ylc=X3oDMT \
MzNm5hZ21zBF9TAzk3MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEbXNnSWQDNzMxNgRzZWMDZnRyBHNsawN2dHBjBHN0aW1lAzEyMTM0NTk4MzkEdHBjSWQDNzMxNQ--">
Messages in this topic </a> (<span class="bld">2</span>)
</span>
<a href="http://groups.yahoo.com/group/unison-users/post;_ylc=X3oDMTJvMzBkNTBx \
BF9TAzk3MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEbXNnSWQDNzMxNgRzZWMDZnRyBHNsawNycGx5BHN0aW1lAzEyMTM0NTk4Mzk-?act=reply&messageNum=7316">
<span class="bld">
Reply </span> (via web post)
</a> |
<a href="http://groups.yahoo.com/group/unison-users/post;_ylc=X3oDMTJka3JkaGdy \
BF9TAzk3MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA2Z0cgRzbGsDbnRwYwRzdGltZQMxMjEzNDU5ODM5" \
class="bld"> Start a new topic </a>
</div>
<!------- Start Nav Bar ------>
<!-- |**|begin egp html banner|**| -->
<div id="ygrp-vitnav">
<a href="http://groups.yahoo.com/group/unison-users/messages;_ylc=X3oD \
MTJkYTFzcmFrBF9TAzk3MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA2Z0cgRzbGsDbXNncwRzdGltZQMxMjEzNDU5ODM5">Messages</a> \
| <a href="http://groups.yahoo.com/group/unison-users/database;_ylc=X3o \
DMTJianA2Z3ExBF9TAzk3MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA2Z0cgRzbGsDZGIEc3RpbWUDMTIxMzQ1OTgzOQ--">Database</a> \
</div>
<!-- |**|end egp html banner|**| -->
<div id="ygrp-mkp">
<div id="hd">MARKETPLACE</div>
<div id="ads">
<div class="ad">
<a href="http://us.ard.yahoo.com/SIG=13r5dc9mn/M=624381.12730922.13032918. \
10835568/D=groups/S=1705004726:MKP1/Y=YAHOO/EXP=1213467039/L=/B=I7dfB0LaX.Y-/J=1213459 \
839945093/A=5368226/R=0/SIG=14erof5si/*http://media.adrevolver.com/adrevolver/href?ban \
ner=189161&place=26143&url_=http://tc.deals.yahoo.com/tc/blockbuster/display.com?cid=bbi00028">You \
rock! Blockbuster wants to give you a complimentary trial of Blockbuster Total \
Access.</a> <!--AdRevolver code begin-->
<script type="text/javascript">
<!--
var title = 'TITLE';
try {
if (title == unescape('%u0054%u0049%u0054%u004C%u0045') && document.title) title = \
document.title; var https = false; try {https = \
document.location.href.indexOf('https')==0}catch(e){} document.write('<img width="0" \
height="0" border="0" src="http' + (https ? 's' : '') + \
'://media.adrevolver.com/adrevolver/trace?adpath=11959&title=' + escape(title) + \
'&ref=' + escape(document.referrer) + '&rnd=' + Math.round(Math.random() * 10000000) \
+ '">'); } catch(e){}
//-->
</script>
<noscript>
<img width="0" height="0" border="0" \
src="https://media.adrevolver.com/adrevolver/trace?adpath=11959"> </noscript>
<!--AdRevolver code end--> </div>
</div>
</div>
<!-- yahoo logo -->
<!-- |**|begin egp html banner|**| -->
<div id="ygrp-ft">
<a href="http://groups.yahoo.com/;_ylc=X3oDMTJjYTRlbHBsBF9TAzk3MzU5NzE0BGdycElkA \
zQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA2Z0cgRzbGsDZ2ZwBHN0aW1lAzEyMTM0NTk4Mzk-">
<img src="http://us.i1.yimg.com/us.yimg.com/i/yg/img/logo/ma_grp_160.gif" \
height="15" width="106" border="0" alt="Yahoo! Groups"></a> <br> <a \
href="http://groups.yahoo.com/group/unison-users/join;_ylc=X3oDMTJla3ZjMG9pBF9TAzk3MzU \
5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA2Z0cgRzbGsDc3RuZ3MEc3RpbWUDMTIxMzQ1OTgzOQ--">Change \
settings via the Web</a> (Yahoo! ID required) <br> Change settings via email: <a \
href="mailto:unison-users-digest@yahoogroups.com?subject=Email Delivery: \
Digest">Switch delivery to Daily Digest</a> | <a href = \
"mailto:unison-users-traditional@yahoogroups.com?subject=Change Delivery Format: \
Traditional">Switch format to Traditional</a> <br>
<a href="http://groups.yahoo.com/group/unison-users;_ylc=X3oDMTJjZTRsN3FmBF9TAzk \
3MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA2Z0cgRzbGsDaHBmBHN0aW1lAzEyMTM0NTk4Mzk-">
Visit Your Group
</a> |
<a href="http://docs.yahoo.com/info/terms/">
Yahoo! Groups Terms of Use </a> |
<a href="mailto:unison-users-unsubscribe@yahoogroups.com?subject=">
Unsubscribe </a>
</div> <!-- |**|end egp html banner|**| -->
</div> <!-- ygrp-msg -->
<!-- Sponsor -->
<!-- |**|begin egp html banner|**| -->
<div id="ygrp-sponsor" style="width:160px; float:right; clear:none; margin:0 0 25px \
0; background:white;"> <!-- Network content -->
<!-- Start Recommendations -->
<div id="ygrp-reco">
</div>
<!-- End Recommendations -->
<!-- Start vitality -->
<div id="ygrp-vital">
<div id="vithd">Recent Activity</div>
<ul style="list-style-type:none; padding: 0; margin: 2px 0;">
<li style="clear: both;">
<div class="ct" style="float: right;"><span \
style="display:none"> </span>4</div> <div class="cat"><a \
href="http://groups.yahoo.com/group/unison-users/members;_ylc=X3oDMTJlbGEwM25yBF9TAzk3 \
MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA3Z0bARzbGsDdm1icnMEc3RpbWUDMTIxMzQ1OTgzOQ--">New \
Members</a></div> </li>
</ul>
<a href="http://groups.yahoo.com/group/unison-users;_ylc=X3oDMTJkaDNmMG1 \
tBF9TAzk3MzU5NzE0BGdycElkAzQ3OTc2NwRncnBzcElkAzE3MDUwMDQ3MjYEc2VjA3Z0bARzbGsDdmdocARzdGltZQMxMjEzNDU5ODM5">
Visit Your Group </a>
</div>
<!-- Network content -->
<div id="nc">
<div class="ad">
<div id="hd1">Yahoo! Finance</div>
<p><a href="http://us.ard.yahoo.com/SIG=13oumgcf4/M=493064.12016257.12445664.8674578/D \
=groups/S=1705004726:NC/Y=YAHOO/EXP=1213467039/L=/B=JLdfB0LaX.Y-/J=1213459839945093/A= \
4507179/R=0/SIG=12de4rskk/*http://us.rd.yahoo.com/evt=50284/*http://finance.yahoo.com/personal-finance">It's \
Now Personal</a></p> <p>Guides, news,</p>
<p>advice & more.</p> </div>
<div class="ad">
<div id="hd1">New business?</div>
<p><a href="http://us.ard.yahoo.com/SIG=13o9rpth1/M=493064.12016308.12445700.8674578/D \
=groups/S=1705004726:NC/Y=YAHOO/EXP=1213467039/L=/B=JbdfB0LaX.Y-/J=1213459839945093/A= \
3848640/R=0/SIG=131an6mds/*http://searchmarketing.yahoo.com/arp/srchv2.php?o=US2002&cmp=Yahoo&ctv=Groups1&s=Y&s2=&s3=&b=50">Get \
new customers.</a></p> <p>List your web site</p>
<p>in Yahoo! Search.</p> </div>
<div class="ad">
<div id="hd1">Y! Messenger</div>
<p><a href="http://us.ard.yahoo.com/SIG=13o173q76/M=493064.12016274.12445679.8674578/D \
=groups/S=1705004726:NC/Y=YAHOO/EXP=1213467039/L=/B=JrdfB0LaX.Y-/J=1213459839945093/A= \
3848577/R=0/SIG=12e714ic8/*http://us.rd.yahoo.com/evt=42403/*http://messenger.yahoo.com/feat_photos.php">Instant \
smiles</a></p> <p>Share photos while</p>
<p>you IM friends.</p> </div>
</div>
</div> <!-- |**|end egp html banner|**| -->
<div style="clear:both; color: #FFF; font-size:1px;">.</div>
</div> <img src="http://geo.yahoo.com/serv?s=97359714/grpId=479767/grpspId=1705004726/msgId=7316/stime=1213459839/nc1=4507179/nc2=3848640/nc3=3848577" \
width="1" height="1"> <br>
<span style="color: white;">__,_._,___</span>
<!--~-|**|PrettyHtmlEnd|**|-~-->
</body>
<!--~-|**|PrettyHtmlStart|**|-~-->
<head>
<style type="text/css">
<!--
#ygrp-mkp{
border: 1px solid #d8d8d8;
font-family: Arial;
margin: 14px 0px;
padding: 0px 14px;
}
#ygrp-mkp hr{
border: 1px solid #d8d8d8;
}
#ygrp-mkp #hd{
color: #628c2a;
font-size: 85%;
font-weight: bold;
line-height: 122%;
margin: 10px 0px;
}
#ygrp-mkp #ads{
margin-bottom: 10px;
}
#ygrp-mkp .ad{
padding: 0 0;
}
#ygrp-mkp .ad a{
color: #0000ff;
text-decoration: none;
}
-->
</style>
</head>
<head>
<style type="text/css">
<!--
#ygrp-sponsor #ygrp-lc{
font-family: Arial;
}
#ygrp-sponsor #ygrp-lc #hd{
margin: 10px 0px;
font-weight: bold;
font-size: 78%;
line-height: 122%;
}
#ygrp-sponsor #ygrp-lc .ad{
margin-bottom: 10px;
padding: 0 0;
}
-->
</style>
</head>
<head>
<style type="text/css">
<!--
#ygrp-mlmsg {font-size:13px; font-family: \
arial,helvetica,clean,sans-serif;*font-size:small;*font:x-small;} #ygrp-mlmsg table \
{font-size:inherit;font:100%;} #ygrp-mlmsg select, input, textarea {font:99% \
arial,helvetica,clean,sans-serif;} #ygrp-mlmsg pre, code {font:115% \
monospace;*font-size:100%;} #ygrp-mlmsg * {line-height:1.22em;}
#ygrp-text{
font-family: Georgia;
}
#ygrp-text p{
margin: 0 0 1em 0;
}
#ygrp-tpmsgs{
font-family: Arial;
clear: both;
}
#ygrp-vitnav{
padding-top: 10px;
font-family: Verdana;
font-size: 77%;
margin: 0;
}
#ygrp-vitnav a{
padding: 0 1px;
}
#ygrp-actbar{
clear: both;
margin: 25px 0;
white-space:nowrap;
color: #666;
text-align: right;
}
#ygrp-actbar .left{
float: left;
white-space:nowrap;
}
.bld{font-weight:bold;}
#ygrp-grft{
font-family: Verdana;
font-size: 77%;
padding: 15px 0;
}
#ygrp-ft{
font-family: verdana;
font-size: 77%;
border-top: 1px solid #666;
padding: 5px 0;
}
#ygrp-mlmsg #logo{
padding-bottom: 10px;
}
#ygrp-reco {
margin-bottom: 20px;
padding: 0px;
}
#ygrp-reco #reco-head {
font-weight: bold;
color: #ff7900;
}
#reco-grpname{
font-weight: bold;
margin-top: 10px;
}
#reco-category{
font-size: 77%;
}
#reco-desc{
font-size: 77%;
}
#ygrp-vital{
background-color: #e0ecee;
margin-bottom: 20px;
padding: 2px 0 8px 8px;
}
#ygrp-vital #vithd{
font-size: 77%;
font-family: Verdana;
font-weight: bold;
color: #333;
text-transform: uppercase;
}
#ygrp-vital ul{
padding: 0;
margin: 2px 0;
}
#ygrp-vital ul li{
list-style-type: none;
clear: both;
border: 1px solid #e0ecee;
}
#ygrp-vital ul li .ct{
font-weight: bold;
color: #ff7900;
float: right;
width: 2em;
text-align:right;
padding-right: .5em;
}
#ygrp-vital ul li .cat{
font-weight: bold;
}
#ygrp-vital a{
text-decoration: none;
}
#ygrp-vital a:hover{
text-decoration: underline;
}
#ygrp-sponsor #hd{
color: #999;
font-size: 77%;
}
#ygrp-sponsor #ov{
padding: 6px 13px;
background-color: #e0ecee;
margin-bottom: 20px;
}
#ygrp-sponsor #ov ul{
padding: 0 0 0 8px;
margin: 0;
}
#ygrp-sponsor #ov li{
list-style-type: square;
padding: 6px 0;
font-size: 77%;
}
#ygrp-sponsor #ov li a{
text-decoration: none;
font-size: 130%;
}
#ygrp-sponsor #nc{
background-color: #eee;
margin-bottom: 20px;
padding: 0 8px;
}
#ygrp-sponsor .ad{
padding: 8px 0;
}
#ygrp-sponsor .ad #hd1{
font-family: Arial;
font-weight: bold;
color: #628c2a;
font-size: 100%;
line-height: 122%;
}
#ygrp-sponsor .ad a{
text-decoration: none;
}
#ygrp-sponsor .ad a:hover{
text-decoration: underline;
}
#ygrp-sponsor .ad p{
margin: 0;
}
o{font-size: 0; }
.MsoNormal{
margin: 0 0 0 0;
}
#ygrp-text tt{
font-size: 120%;
}
blockquote{margin: 0 0 0 4px;}
.replbq{margin:4}
-->
</style>
</head>
<!--~-|**|PrettyHtmlEnd|**|-~-->
</html><!--End group email -->
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic