Follow us on these Social Sites

Entries in desktop linux (14)

Monday
Apr022012

Episode 67 - Bring out your dead Linux Desktops...

Running Time: 00:48:52

1) Introduction

Joe explains how awesome Puppet and automated builds
MS makes a stupid contest, looses, refuses to make good on the loss, then decides it should pay up


2) News

Why Linux on the Desktop is Dead...Oh yeah and the rest of the story...
HP Doubles down on a Linux Future...
Are you using insecure open source components
Sharing patents encourages innovation


3) Conclusion

Recommendations for People to interview
E-Mail us at podcast@linuxinstall.net
Facebook Fan Page
Follow us on Twitter and Identica as @linuxinstall
Google +
Look for us and comment on iTunes, odeo

 

Saturday
Nov122011

Does Desktop Linux Need a Steve Jobs?

What an interesting question.  Apple had Jobs and Windows had Gates.  Do we really need a persona like that to get linux on the desktop rolling?  Answering that question is the attempt of this article over at Datamation.com.  The concept seems to completely fly in the face of the community focus that the Open Source strives to be.  At the same time the kernel has Linus.  That one person who everyone knows and associates with it.  One of the big challenges we have with that is that there isn't only one desktop.  Gnome, KDE, XFCE and most recently Unity are some of the biggest.  But there are more.  So which team should be that person?  Let us know.

 

What do you think?

Thursday
Sep222011

How do I get Xwindows to work when I am using an encrypted Drive?

My friend Mike Jansen pinged me this afternoon with an interesting problem.  

Here is the background:

He has setup a Linux VM and needs to get to it remotely from his PC running Windows.  He has xming(A great free XWindows server for Windows) and connects to the machine over SSH.  He decided he would take security to the next level and encrypted his personal directory.  Interesting fact is that when you do this on Ubuntu your home directory isn't decrypted or mounted until you actually login.  Why is that a problem?  Well as part of the login process SSH puts the magic-coookie XWindows needs to start into your /home/<UserID>/.Xauthority file.  The next thing that happens is that your encrypted directory is decrypted and mounted to /home/<UserID>/ which then hides /home/<UserID>/.Xauthority under the mount.  At that point it breaks X and stops you from running the XWindows Programs.  Unless you do something like what Mike pieced together.  What Mike has below should work system wide for all users.  You should as with all scripts test this out on a non-production system first.

Here is what he gave back to be to post to for everyone:

So I got my issue with encrypted home and ssh/xauth figured out. The solution is actually simple once it's figured out :)

The basic idea for xauth transfer was from http://froebe.net/blog/2008/11/14/getting-xlib-putty-x11-proxy-wrong-authentication-protocol-attempted-i-have-the-answer/

SSHRC

The idea for this came from the man page for SSH. 

I got rid of ~/.ssh/rc and put this in /etc/ssh/sshrc:


if read proto cookie && [ -n "$DISPLAY" ]; then
if [ `echo $DISPLAY | cut -c1-10` = 'localhost:' ]; then
# X11UseLocalhost=yes
echo add unix:`echo $DISPLAY | cut -c11-` $proto $cookie
else
# X11UseLocalhost=no
echo add $DISPLAY $proto $cookie
fi | xauth -q -
MYXAUTH=/home/.ecryptfs/`id -un`/.xauth
xauth list > $MYXAUTH
chmod go-r $MYXAUTH
fi

Mount encrypted home

The idea's behind this section came from this page http://ubuntuforums.org/showpost.php?p=8452729&postcount=7

In /etc/profile, I mount encrypted home (if it's not already mounted):


if test -e $HOME/.ecryptfs/auto-mount; then
mount | grep "$HOME type ecryptfs"
if test $? != 0; then
ecryptfs-mount-private
fi
fi

BASHRC


I got rid of ~/.bash_login and put this in /etc/bash.bashrc:


# Load xauth information from pre-encrypt mounting ssh initialiation
MYXAUTH=/home/.ecryptfs/`id -un`/.xauth
if [ -e "$MYXAUTH" ]; then
xauth add `cat $MYXAUTH`
rm $MYXAUTH
fi

Sample SSH LOGIN after Implementation



Here's what my ssh login looks like now (I have a bunch of outputs to understand the flow and make sure my real and effective uid's are what I expect):


Using username "mike-jansen".
Authenticating with public key "REALLY_COOL_DEV_SERVER" from agent
Welcome to Ubuntu 11.04 (GNU/Linux 2.6.38-11-generic-pae i686)

* Documentation: https://help.ubuntu.com/

56 packages can be updated.
29 updates are security updates.

Last login: Thu Sep 22 15:48:24 2011 from myworkstation.mynetwork.com
------ BEGIN /etc/ssh/sshrc Real [mike-jansen] Effective [mike-jansen]
------ END /etc/ssh/sshrc Real [mike-jansen] Effective [mike-jansen]
------ BEGIN /etc/profile Real [mike-jansen] Effective [mike-jansen]
Enter your login passphrase:
Inserted auth tok with sig [c46ead8832a353d7] into the user session keyring

INFO: Your private directory has been mounted.
INFO: To see this change in your current shell:
cd /home/mike-jansen

------ BEGIN /etc/bash.bashrc Real [mike-jansen] Effective [mike-jansen]
------ END /etc/bash.bashrc Real [mike-jansen] Effective [mike-jansen]
------ END /etc/profile Real [mike-jansen] Effective [mike-jansen]
------ BEGIN ~/.profile Real [mike-jansen] Effective [mike-jansen]
------ BEGIN ~/.bashrc Real [mike-jansen] Effective [mike-jansen]
------ END ~/.bashrc Real [mike-jansen] Effective [mike-jansen]
------ END ~/.profile Real [mike-jansen] Effective [mike-jansen]

 

 

Notes:  

*For those who don't know ~ is a shortcut to the current users home directory as recorded in the user repoistory for the system.

 

 

 

 

 

 

Sunday
Aug212011

Microsoft isn't really afraid of Linux

According to their latest fillings with the SEC Microsoft claims that Linux is no longer a threat on the desktop.  This story over at Business Insider tries to make more of it than it really is. I personally love seeing Linux getting the Apple treatment.  After playing with PinguyOS for the last couple of weeks I am starting to change my opinion on Desktop Linux.  I am running Windows apps in VMWare just like I have always done with Linux when I am forced to use Windows.  While there are only a few things I need to do in Windows I still can't live without it at work.  So let Microsoft and others keep thinking that Linux can't do the desktop.  Remember they thought the Internet was a FAD also.

Thursday
Feb032011

Application Installers Unite.....

According to this article we found, meetings are starting to happen and people are trying to move towards a common Application Installer. So their could be the end of the "My package manager is better than yours is" debates?  Well it's a bit early to tell but it does sound like the big distros are talking about settling on a common package format.  If they do go forward with this we can only hope that it's adoption moves faster than LSB(Linux Standards Base).  It would definitely go a long way to help adoption of Linux as a platform.  For instance, only seeing one line on download pages like Windows and Mac have would help newbies or people thinking about trying linux be less afraid.  When you can create app stores that only have to carry one type of package they become a lot easier to create.  We here at linuxinstall.net hope that every linux install will get easier over time.

What do you think?  What problems will one package format have?  What hidden benefits are there?  What hidden problems?