You are not logged in.

#1 2011-01-31 14:05:56

legolas558
Member
Registered: 2009-09-08
Posts: 97

How can I correctly start an XFCE session from a VT?

Hello,

let's put the removable devices problem under a different light.

I am not using any login manager, so I directly login to the 1st VT and run startx, which in turn will run (.xinitrc):

exec dbus-launch ck-launch-session xfce4-session

No removable device is ever seen and I have to manually mount every mass storage device.

Is there any way to get this working? Can somebody provide useful troubleshooting pointers?

Thanks


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#2 2011-01-31 14:20:25

ChoK
Member
From: France
Registered: 2008-10-01
Posts: 346

Re: How can I correctly start an XFCE session from a VT?


Ah, good taste! What a dreadful thing! Taste is the enemy of creativeness.
Picasso
Perfection is reached, not when there is no longer anything to add, but when there is no longer anything to take away.
Saint Exupéry

Offline

#3 2011-01-31 14:23:05

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: How can I correctly start an XFCE session from a VT?

I have this in my .xinitrc and everything works fine.

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

Also make sure you are in the storage group, I think you need to belong to that group for some things.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#4 2011-02-01 21:01:57

legolas558
Member
Registered: 2009-09-08
Posts: 97

Re: How can I correctly start an XFCE session from a VT?

I am in the storage group as well, and I am using the same .xinitrc as yours but still I can't see any removable device.

I have also tried with root user but nothing is displayed. Maybe some configuration fine-tuning is necessary?


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#5 2011-02-01 22:23:46

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: How can I correctly start an XFCE session from a VT?

I didn't need to fine tune anything, did you read the thread ChoK mentioned?


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#6 2011-02-02 15:50:28

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: How can I correctly start an XFCE session from a VT?

Did you check that the dbus Daemon is running?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#7 2011-02-03 10:32:21

legolas558
Member
Registered: 2009-09-08
Posts: 97

Re: How can I correctly start an XFCE session from a VT?

The dbus daemon is running since boot, it is in rc.conf right after syslog-ng

I couldn't find anything useful in the other topic.

Can somebody please explain me how the whole stack works so that I can narrow down the issue?


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#8 2011-02-03 14:16:50

gradgrind
Member
From: Germany
Registered: 2005-10-06
Posts: 921

Re: How can I correctly start an XFCE session from a VT?

It looks like the correct way to launch xfce4.8 (e.g. in .xinitrc) is:

exec ck-launch-session startxfce4

The 'dbus-launch' part mentioned above is not necessary as it is done in the startxfce4 script (I was having trouble, too, so I had a look at this script). And 'xfce4-session' is likely to be the wrong call because some of this start-up stuff is missing. This seems to be a change from 4.6. So the wiki is at present mostly correct (there is still one place where 'xfce4-session' is mentioned).
Of course there may well be other teething troubles in this still young software.

Offline

#9 2011-02-04 09:03:31

legolas558
Member
Registered: 2009-09-08
Posts: 97

Re: How can I correctly start an XFCE session from a VT?

thank you gradgrind, I have removed dbus-launch as I have it running as a daemon.

I am now using again startxfce4 but still no solution.

Maybe all troubles are caused by wrong udev rules?


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

#10 2011-02-05 12:39:08

legolas558
Member
Registered: 2009-09-08
Posts: 97

Re: How can I correctly start an XFCE session from a VT?

There's no point at continuing this discussion here, I have seen much unconfirmed information coming through as "true". I have started the discussion at XFCE forums, they possibly have more knowledge of the internals:

http://forum.xfce.org/viewtopic.php?pid=20774

My raw feeling is that it won't be possible to have back this feature without gvfs or hal


.-.   ,---,---.--.
| |__  \ \ \ \`//.
`----'`--'`--'`--'

Offline

Board footer

Powered by FluxBB