ubuntu-users Digest, Vol 39, Issue 238 ssh question?

tsai tsairox at gmail.com
Sat Nov 24 23:50:14 UTC 2007


Hi when I conect with ssh, I can't seem to play files locally even though I use -X or -d.  Anyone know why?  I'm using Ubuntu 7.10 x86

Thanks
Tsai
Sent via BlackBerry by AT&T

-----Original Message-----
From: ubuntu-users-request at lists.ubuntu.com

Date: Wed, 21 Nov 2007 13:38:02 
To:ubuntu-users at lists.ubuntu.com
Subject: ubuntu-users Digest, Vol 39, Issue 238


Send ubuntu-users mailing list submissions to
	ubuntu-users at lists.ubuntu.com

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
or, via email, send a message with subject or body 'help' to
	ubuntu-users-request at lists.ubuntu.com

You can reach the person managing the list at
	ubuntu-users-owner at lists.ubuntu.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of ubuntu-users digest..."


Today's Topics:

   1. Re: 7.04: X11 remote display problem (bill purvis)
   2. Re: LAMP (TEREZA SIMCIC)
   3. Question on the "superuser" (lu sy)
   4. Re: Question on the "superuser" (Joel Goguen)
   5. Re: 7.04: X11 remote display problem (Smoot Carl-Mitchell)
   6. Re: Question on the "superuser" (Owen Townend)
   7. Re: Laptop sleep gone bad in Gutsy (Paul S)
   8. Re: Question on the "superuser" (Leonard Chatagnier)
   9. More Mutt, Root Mail, No Mailbox Stuff (Leonard Chatagnier)


----------------------------------------------------------------------

Message: 1
Date: Wed, 21 Nov 2007 12:18:13 +0000
From: bill purvis <bil at beeb.net>
Subject: Re: 7.04: X11 remote display problem
To: "Ubuntu user technical support,	not for general discussions"
	<ubuntu-users at lists.ubuntu.com>
Message-ID: <200711211218.13894.bil at beeb.net>
Content-Type: text/plain;  charset="iso-8859-1"

I'm still having no joy with getting anything to open a remote X11
window on my laptop since I changed to Ubuntu from Mandrake.

I'm using ssh to log in to my server (and yes I've tried using ssh -X
but that makes no difference). Once I'm logged in I try to start an
emacs window on the laptop:

server$ echo $DISPLAY
felix:0.0
server$ emacs &
server$ emacs: Cannot connect to X server felix:0.0.
Check the DISPLAY environment variable or use `-d'.
Also use the `xhost' program to verify that it is set to permit
connections from your machine.


[1]+  Exit 1                  /usr/bin/emacs -geometry 80x48 -font 9x15

running 'xhost +' on the laptop (and yes, I know it's not that
secure, but I'm relying on the firewall on the server to prevent
anyone from outside logging in via X11)
says:

felix$ xhost +
access control disabled, clients can connect from any host
felix$

I've been looking in the /etc/X11 directory and found Xwrapper.config.
This states that Ubuntu has a security wrapper around the X server.
I have tried changing this from 'allowed_users=console' to
'allowed_users=anyone', ran 'dpkg-reconfigure x11-common'
and logged off and on again, but still no improvement.

Does anyone know anything about this security wrapper?

Bill
-- 
+---------------------------------------+
| Bill Purvis, Amateur Mathematician    |
|  email: bil at beeb.net                  |
|  http://bil.members.beeb.net          |
+---------------------------------------+



------------------------------

Message: 2
Date: Wed, 21 Nov 2007 13:22:17 +0100
From: "TEREZA SIMCIC" <tereza.simcic at gmail.com>
Subject: Re: LAMP
To: "Ubuntu user technical support,	not for general discussions"
	<ubuntu-users at lists.ubuntu.com>
Message-ID:
	<ba565ffa0711210422p2d5ae13fo9d7eca671c3d9514 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

thanks NoOp, for next time I will know how to do it ... it's so obvious that
I'm a complete beginner :)
Cheers, Tereza


2007/11/20, NoOp <glgxg at sbcglobal.net>:
>
> On 11/20/2007 04:42 AM, TEREZA SIMCIC wrote:
> > Hi Darryl Tidd,
> > I have the same problem today. As I'm a complete beginner in Ubuntu, as
> well
> > as in Linux, but I worked before in WinXP environment well with LAMP, I
> > didn't know how to solve the problem.
> > I tried once again installing apache2 and PHP as it is suggested here:
> > http://www.mysql-apache-php.com/,
> > but I installed also Mysql before testing everything. Afterwards the
> problem
> > gone?! I'm experimenting with Ubuntu and I've reinstalled it in last few
> > days few times, and this problem with LAMP appeared only today. Thus I
> > really don't know why this happened.
> >
> > Cheers, Tereza
> >
>
> If you have Gnome desktop & synaptics on the system, reinstall from
> Synaptics:
>
> System|Administration|Synaptic...|Edit|Mark Packages by Task|Lamp Server
>
> Alternately, from the command line:
>
> sudo tasksel install lamp-server
>
> That will install all of the lamp server meta packages. See:
>
> https://help.ubuntu.com/community/ApacheMySQLPHP
>
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>



-- 
-- 
...veliko lepih trenutkov...
Tereza
http://za-te.net

"A Dream is a Wish...
Much better than any Fantasy...
The only problem...
Is the time it takes to become
a Reality"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071121/681103fe/attachment-0001.htm 

------------------------------

Message: 3
Date: Wed, 21 Nov 2007 20:35:37 +0800 (CST)
From: lu sy <bakut2002 at yahoo.com.sg>
Subject: Question on the "superuser"
To: ubunto <ubuntu-users at lists.ubuntu.com>
Message-ID: <764112.83204.qm at web57712.mail.re3.yahoo.com>
Content-Type: text/plain; charset="iso-8859-1"

Hi 
   
  During the installation of ubuntu, i was asked to set my username and password. Does this mean that this is the password for the "superuser"? 
   
  Every time I log in using this username and password, does this make me the superuser? Does this mean that when i am in the Terminal, i am already at the "root" ?
   
  I am the only person using this computer.
   
  Thanks
   
  bakut
   
   

       
---------------------------------
 
 Real people. Real questions. Real answers. Share what you know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-users/attachments/20071121/eb68e53f/attachment-0001.htm 

------------------------------

Message: 4
Date: Wed, 21 Nov 2007 08:42:08 -0400
From: Joel Goguen <jgoguen at jgoguen.ca>
Subject: Re: Question on the "superuser"
To: "Ubuntu user technical support,	not for general discussions"
	<ubuntu-users at lists.ubuntu.com>
Message-ID: <6cf66f1ee6d4cdb8a6dd49cd0720357d at jgoguen.ca>
Content-Type: text/plain; charset="UTF-8"



On Wed, 21 Nov 2007 20:35:37 +0800 (CST), lu sy <bakut2002 at yahoo.com.sg>
wrote:
> Hi
> 
>   During the installation of ubuntu, i was asked to set my username and
> password. Does this mean that this is the password for the "superuser"?
> 
>   Every time I log in using this username and password, does this make me
> the superuser? Does this mean that when i am in the Terminal, i am
already
> at the "root" ?
> 
>   I am the only person using this computer.
> 
>   Thanks
> 
>   bakut
> 
> 
> 
> 
> ---------------------------------
> 
>  Real people. Real questions. Real answers. Share what you know.
No, that's your user password.  You aren't logged in as root, you're logged
in as you.  Ubuntu disables root by default and sets the first user created
as allowed to use sudo for all commands.  See
https://help.ubuntu.com/community/RootSudo for more info.

-- 
Joel Goguen
http://jgoguen.ca/
The goal of Computer Science is to build something that
will last at least until we've finished building it.




------------------------------

Message: 5
Date: Wed, 21 Nov 2007 05:43:37 -0700
From: Smoot Carl-Mitchell <smoot at tic.com>
Subject: Re: 7.04: X11 remote display problem
To: "Ubuntu user technical support,	not for general discussions"
	<ubuntu-users at lists.ubuntu.com>, bil at beeb.net
Message-ID: <1195649018.19807.6.camel at smoot.tic.com>
Content-Type: text/plain


On Wed, 2007-11-21 at 12:18 +0000, bill purvis wrote:
> I'm still having no joy with getting anything to open a remote X11
> window on my laptop since I changed to Ubuntu from Mandrake.
> 
> I'm using ssh to log in to my server (and yes I've tried using ssh -X
> but that makes no difference). Once I'm logged in I try to start an
> emacs window on the laptop:
> 
> server$ echo $DISPLAY
> felix:0.0
> server$ emacs &
> server$ emacs: Cannot connect to X server felix:0.0.
> Check the DISPLAY environment variable or use `-d'.
> Also use the `xhost' program to verify that it is set to permit
> connections from your machine.

Turn on X11 port forwarding on your ssh client and server. The X session
will be port forwarded over the SSH connection which is a more secure
way to run X remotely. The relevant configuration files
are /etc/ssh/ssh_config and /etc/ssh/sshd_config.
-- 
Smoot Carl-Mitchell
System/Network Architect
email: smoot at tic.com
cell: +1 602 421 9005
home: +1 480 922 7313



------------------------------

Message: 6
Date: Wed, 21 Nov 2007 23:46:56 +1100
From: Owen Townend <bowbowbow at optushome.com.au>
Subject: Re: Question on the "superuser"
To: "Ubuntu user technical support,	not for general discussions"
	<ubuntu-users at lists.ubuntu.com>
Message-ID: <1195649216.6666.9.camel at mattimeo.aehgts.homeip.net>
Content-Type: text/plain


On Wed, 2007-11-21 at 20:35 +0800, lu sy wrote:
> Hi 
>  
> During the installation of ubuntu, i was asked to set my username and
> password. Does this mean that this is the password for the
> "superuser"? 
>  
> Every time I log in using this username and password, does this make
> me the superuser? Does this mean that when i am in the Terminal, i am
> already at the "root" ?
>  
> I am the only person using this computer.
>  
> Thanks
>  
> bakut
>  
>  
> 
> ______________________________________________________________________
> 
> Real people. Real questions. Real answers. Share what you know.

Hey,
  The username and password you gave were not for the super user. They
are for an ordinary user account. Ubunt uses `sudo` (super-user do) to
allow you to have superuser access when it is needed. For example if you
go to open an administrative task from the menu it will ask for a
password, this is to allow that task to run as the superuser.

cheers,
Owen.




------------------------------

Message: 7
Date: Wed, 21 Nov 2007 08:04:18 -0500
From: Paul S <paulatgm at gmail.com>
Subject: Re: Laptop sleep gone bad in Gutsy
To: "Ubuntu user technical support,	not for general discussions"
	<ubuntu-users at lists.ubuntu.com>
Message-ID: <47442CD2.8050407 at gmail.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Avi Schwartz said the following on 11/21/2007 12:45 AM:
> Paul S wrote:
>> Avi Schwartz said the following on 11/19/2007 07:29 PM:
>>   
>>> I upgraded my Dell D820 yesterday from Feisty to Gutsy and since the 
>>> upgrade, waking the laptop from a sleep is iffy at best.
>>> With Feisty, waking the laptop from sleep was almost 100% reliable.  
>>> With Gutsy, the chance of the laptop properly waking up is about 50%.  
>>> Sometimes it wakes up and in other times it starts waking and then 
>>> suddenly it powers down.  I can no longer trust putting the laptop to 
>>> sleep which is a shame since it used to work so well.
>>>
>>> Any ideas what should I look for?
>>>     
>> I have very similar experience, and I found that going to sleep by 
>> hitting Alt-F2 and entering the command "sudo pmi action sleep" will 
>> resume better than hitting the sleep button.  I do not understand why, 
>> but it works better here (Dell E1505).
>>
>> HTH
>>   
> Keyboard induced sleep did not solve my problem.
> 
> Do you happen to use the "new" desktop effects?  I cannot prove it yet, 
> but it seems that once I turned the effects off, the laptop wakes up 
> from sleep as it should.  I will give it few more days to see if this is 
> indeed the problem before I file a bug report.  If it is, then it maybe 
> a problem with X Windows or the nvidia driver.

Yes, I also have success with "Desktop Effects" off, but I wanted to be 
able to use them.  So, at least here, the "sudo pmi action suspend" 
continues to work with compiz running.

regards,




------------------------------

Message: 8
Date: Wed, 21 Nov 2007 05:09:43 -0800 (PST)
From: Leonard Chatagnier <lenc5570 at sbcglobal.net>
Subject: Re: Question on the "superuser"
To: "Ubuntu user technical support,	not for general discussions"
	<ubuntu-users at lists.ubuntu.com>
Message-ID: <929067.39800.qm at web82811.mail.mud.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1


--- lu sy <bakut2002 at yahoo.com.sg> wrote:

> Hi 
>    
>   During the installation of ubuntu, i was asked to
> set my username and password. Does this mean that
> this is the password for the "superuser"? 
>    
>   Every time I log in using this username and
> password, does this make me the superuser? Does this
> mean that when i am in the Terminal, i am already at
> the "root" ?
>    
>   I am the only person using this computer.
> 
Hi lu sy,
No, it's not your su, superuser, password. You don't
have a default su account in Ubuntu unless you setup
one.  However, the username and password you gave in
the install process allows you default admin and su
privileges via sudo. To get this su privilege you type
sudo before any command needing root privilege and it
will ask for your password before executing the
command, ie., the password you gave for install.
You can always tell, from a CLI, if you are in a user
or root account, by the prompt.  A user account has a
"$" at the end of the prompt whereas a root account
ends with a "#".
Remember whenever you log in with your username and
password as set in the install you are logging in as
that user, not root. To be logged in as root you have
to setup a root account and give a different password
which Ubuntu discourages for safety reasons. 
Otherwise use the sudo command(man sudo) to gain
temporary root privilege.
HTH,

Leonard Chatagnier
lenc5570 at sbcglobal.net



------------------------------

Message: 9
Date: Wed, 21 Nov 2007 05:33:59 -0800 (PST)
From: Leonard Chatagnier <lenc5570 at sbcglobal.net>
Subject: More Mutt, Root Mail, No Mailbox Stuff
To: User Mail List-Ubuntu <ubuntu-users at lists.ubuntu.com>
Message-ID: <345264.7225.qm at web82803.mail.mud.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1

Just finished installing gutsy and up to date. After
bootup and logging into terminal, messages say I have
mail(there should be as there were many messages from
the upgrade that root should get) so I open mutt and
the status bar at bottom say "no mailbox". However,
there are two such mailboxes in /var/mail and
/var/spool/mail.
This is a long standing issue with me as most will
remember and I would like very much to get it resolved
very much so. I elected to use the maintainers conf on
everything so as not to carry over any feisty setup
conf. I still suspect this issue involves elements of
not having a FQDN, Muttrc and main.cf but after much
googling and reading, I haven't a clue what to do.
Would appreciate any help in the solution.
TIA,

Leonard Chatagnier
lenc5570 at sbcglobal.net



------------------------------

-- 
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users


End of ubuntu-users Digest, Vol 39, Issue 238
*********************************************


More information about the ubuntu-users mailing list