LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices


Reply
  Search this Thread
Old 07-02-2011, 01:59 PM   #16
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411

Quote:
Actually when i do startx a do have some errors. I will copy them here.
Aha! I bet there is a wrong entry uncommented in the xinitrc...wanna bet?
 
Old 07-02-2011, 02:08 PM   #17
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by Ubuntu Shark View Post
Actually when i do startx a do have some errors but cannot find them in /var/log, even if i do:

can't get that error. It is something about stdin and X, i think.
Use "&>". ">" gets normal output only, not errors.
 
Old 07-02-2011, 02:20 PM   #18
Shark82
Member
 
Registered: Sep 2010
Posts: 90

Original Poster
Rep: Reputation: 3
@MTK358
MY error is:
Quote:
xauth: (stdin):2: unknown command "1cadab1f1b0d45a75624788cdf44254d"

@Thor
My .xinitrc:
Quote:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi

# exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

exec ck-launch-session dbus-launch --exit-with-session startxfce4

Last edited by Shark82; 07-02-2011 at 02:21 PM.
 
Old 07-02-2011, 02:20 PM   #19
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
@ MTK358

You got me thinking...xinitrc gets read out, there are no execute flags up in the listing...

But...that's besides OP's point...so I'll let this be...

Sorry
 
Old 07-02-2011, 02:27 PM   #20
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
@ Ubuntu Shart

Eek! All mine has (Arch here) is one uncommented line, the one stat starts gnome. Could I tempt you to adapt the contents?

How about this:
Quote:
#!/bin/sh
#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)

# if [ -d /etc/X11/xinit/xinitrc.d ]; then
# for f in /etc/X11/xinit/xinitrc.d/*; do
# [ -x "$f" ] && . "$f"
# done
# unset f
# fi

exec gnome-session
# exec startkde
# exec startxfce4
# ...or the Window Manager of your choice

exec ck-launch-session dbus-launch --exit-with-session startxfce4
And see what hapens?
 
Old 07-02-2011, 02:27 PM   #21
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Quote:
xinit(1) is the program that actually starts X; it is called by startx(1), so you may not have noticed it (and probably don't really need to). Its configuration file, however, determines which programs (including and especially the window manager) are run when X starts up. xinit first checks your home directory for a .xinitrc file. If the file is found, it gets run; otherwise, /var/X11R6/lib/xinit/xinitrc (the systemwide default) is used.
http://www.slackbook.org/html/x-wind...m-xinitrc.html

Kind regards
 
1 members found this post helpful.
Old 07-02-2011, 02:29 PM   #22
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
it gets run
Thanks repo, I learned something
 
Old 07-02-2011, 02:31 PM   #23
Shark82
Member
 
Registered: Sep 2010
Posts: 90

Original Poster
Rep: Reputation: 3
Quote:
Originally Posted by Thor_2.0 View Post
@ Ubuntu Shart

Eek! All mine has (Arch here) is one uncommented line, the one stat starts gnome. Could I tempt you to adapt the contents?

How about this:



And see what hapens?
Why did you uncomment gnome-session?
 
Old 07-02-2011, 02:35 PM   #24
Shark82
Member
 
Registered: Sep 2010
Posts: 90

Original Poster
Rep: Reputation: 3
I tried it but the error persist. (i tried without uncommented gnome-session, because i have xfce4)
 
Old 07-02-2011, 02:37 PM   #25
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723Reputation: 723
Quote:
Originally Posted by Thor_2.0 View Post
@ Ubuntu Shart

Eek! All mine has (Arch here) is one uncommented line, the one stat starts gnome. Could I tempt you to adapt the contents?
So you want to make the OP use a different desktop?!?
 
Old 07-02-2011, 02:40 PM   #26
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
This is a guess, here, but siince you use Ubuntu, I suspect it to use Gnome. On Arch, if I wanted an other DE (at install), I'd have to uncomment the proper line for that DE...

From the install instructions:
Quote:
Using this template you can simply uncomment your choice
So...that's why I took that guess...ready to give it a whack?

By the way...the title does'nt do this thread any credit...that's not a dumb question at all
 
Old 07-02-2011, 02:43 PM   #27
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
@ MTK258

Quote:
So you want to make the OP use a different desktop?!?
No, of course not...but the line

Quote:
xauth: (stdin):2: unknown command "1cadab1f1b0d45a75624788cdf44254d"
got me thinking that the whole loop in the xinitrc stumbles on something it does'nt like...

I do suspect Gnome to be used...
 
Old 07-02-2011, 02:44 PM   #28
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
Try to rename the
Code:
~/.serverauth*
and
Code:
~/.Xauth*
files and try again.

Kind regards
 
Old 07-02-2011, 02:45 PM   #29
Shark82
Member
 
Registered: Sep 2010
Posts: 90

Original Poster
Rep: Reputation: 3
Guys, i have ARCH LINUX )))
At the time i registered here i had Ubuntu but now i have Arch Linux. And i have XFCE4
 
Old 07-02-2011, 02:47 PM   #30
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
Guys, i have ARCH LINUX )))
At the time i registered here i had Ubuntu but now i have Arch Linux. And i have XFCE4
Aaargh! Sigh, ROFL...

Okay, then you uncomment the XFCE line insead...how about it....sorry to have you running in circles

Or, better yet, go with repo...he seems to be on to something...

Oh and by the way...did XFCE ever run? Are you switching over?

Last edited by ButterflyMelissa; 07-02-2011 at 02:48 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I have a question about ~/.xinitrc planetsheinker Slackware 10 09-07-2005 09:20 AM
.xinitrc-question theonebeyond Linux - General 5 11-24-2004 10:10 AM
.xinitrc fluxbox question Abe_the_Man Linux - General 13 06-28-2004 07:25 AM
editing .xinitrc question bosewicht Linux - Newbie 1 04-04-2004 01:58 AM
.xinitrc question. Just trying to get one program to run hindenbergbaby Linux - General 2 02-21-2004 06:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop

All times are GMT -5. The time now is 05:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration